@Test public void testTestEnded() { System.out.println("testEnded"); String host = ""; DbMonCollector instance = new DbMonCollector(); instance.testEnded(host); }
@Override public void testEnded(String host) { log.debug("Start testEnded"); if(workerThread == null) { log.debug("End testEnded workerThread == null"); return; } workerHost = null; workerThread.interrupt(); shutdownConnectors(); autoFileBaseName = null; counter = 0; super.testEnded(host); log.debug("End testEnded"); }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void testEnded(String host) { log.debug("Start testEnded"); if(workerThread == null) { log.debug("End testEnded workerThread == null"); return; } workerHost = null; workerThread.interrupt(); shutdownConnectors(); autoFileBaseName = null; counter = 0; super.testEnded(host); log.debug("End testEnded"); } }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void testEnded(String host) { log.debug("Start testEnded"); if(workerThread == null) { log.debug("End testEnded workerThread == null"); return; } workerHost = null; workerThread.interrupt(); shutdownConnectors(); autoFileBaseName = null; counter = 0; super.testEnded(host); log.debug("End testEnded"); } DbMonCollector(); }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void testEnded(String host) { log.debug("Start testEnded"); if(workerThread == null) { log.debug("End testEnded workerThread == null"); return; } workerHost = null; workerThread.interrupt(); shutdownConnectors(); autoFileBaseName = null; counter = 0; super.testEnded(host); log.debug("End testEnded"); } DbMonCollector(); void setData(CollectionProperty rows); JMeterProperty getSamplerSettings(); @Override synchronized void run(); void testStarted(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void sampleOccurred(SampleEvent event); @Override void generateSample(double value, String label); }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void testEnded(String host) { log.debug("Start testEnded"); if(workerThread == null) { log.debug("End testEnded workerThread == null"); return; } workerHost = null; workerThread.interrupt(); shutdownConnectors(); autoFileBaseName = null; counter = 0; super.testEnded(host); log.debug("End testEnded"); } DbMonCollector(); void setData(CollectionProperty rows); JMeterProperty getSamplerSettings(); @Override synchronized void run(); void testStarted(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void sampleOccurred(SampleEvent event); @Override void generateSample(double value, String label); static final String DATA_PROPERTY; }