@Test public void testGenerateSample() { System.out.println("generateSample"); double value = 0.0; String label = ""; DbMonCollector instance = new DbMonCollector(); instance.generateSample(value, label); }
@Override public void generateSample(double value, String label) { DbMonSampleResult res = new DbMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, DBMON); dbMonSampleOccurred(e); }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void generateSample(double value, String label) { DbMonSampleResult res = new DbMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, DBMON); dbMonSampleOccurred(e); } }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void generateSample(double value, String label) { DbMonSampleResult res = new DbMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, DBMON); dbMonSampleOccurred(e); } DbMonCollector(); }
DbMonCollector extends CorrectedResultCollector implements Runnable, DbMonSampleGenerator { @Override public void generateSample(double value, String label) { DbMonSampleResult res = new DbMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, DBMON); dbMonSampleOccurred(e); } 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 generateSample(double value, String label) { DbMonSampleResult res = new DbMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, DBMON); dbMonSampleOccurred(e); } 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; }