  @Test
  public void testSkipWhenRemoteJtlNotExists() {

  	
  	// Start jmeter report server.
  	// Testing plugin targeting remote jmeter report server, 
  	// then we need a running server.
  	JMeterReportServer server = new JMeterReportServer();
    server.start();
    try {
	    Thread.sleep(SERVER_START_TIME);
    } catch (InterruptedException e) {
    	// Server must be up at this point
    }
    
	  try {
	    	
	  	Settings settings = new Settings();
	    settings.setProperty(JMeterPluginConst.HOST_PROPERTY, "localhost");
	    settings.setProperty(JMeterPluginConst.CONFIG_PROPERTY, "A");
	    
	    JMeterSensor sensor = new JMeterSensor(settings);
	    Project project = new Project("mytestproject","","notexisting"); // Force "notexisting" as config name
	    
	    Assert.assertNull(sensor.getGlobalSummary(project));
	    
    } finally {
    	
    	// Stop server at the end
    	server.stop();
      try {
	      Thread.sleep(SERVER_STOP_TIME);
      } catch (InterruptedException e) {
	      // Server must be stopped at this point
      }
      
    }
    
  }