@Test public void testGenerateSample() { System.out.println("generateSample"); double value = 0.0; String label = ""; MonitoringResultsCollector instance = new MonitoringResultsCollector(); instance.generateSample(value, label); }
@Override public void generateSample(double value, String label) { MonitoringSampleResult res = new MonitoringSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, getPrefix()); monitoringSampleOccurred(e); }
MonitoringResultsCollector extends CorrectedResultCollector implements Runnable, MonitoringSampleGenerator { @Override public void generateSample(double value, String label) { MonitoringSampleResult res = new MonitoringSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, getPrefix()); monitoringSampleOccurred(e); } }
MonitoringResultsCollector extends CorrectedResultCollector implements Runnable, MonitoringSampleGenerator { @Override public void generateSample(double value, String label) { MonitoringSampleResult res = new MonitoringSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, getPrefix()); monitoringSampleOccurred(e); } MonitoringResultsCollector(); }
MonitoringResultsCollector extends CorrectedResultCollector implements Runnable, MonitoringSampleGenerator { @Override public void generateSample(double value, String label) { MonitoringSampleResult res = new MonitoringSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, getPrefix()); monitoringSampleOccurred(e); } MonitoringResultsCollector(); void setData(CollectionProperty rows); CollectionProperty getSamplerSettings(); @Override synchronized void run(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void sampleOccurred(SampleEvent event); @Override void generateSample(double value, String label); @Override JMeterContext getThreadContext(); }
MonitoringResultsCollector extends CorrectedResultCollector implements Runnable, MonitoringSampleGenerator { @Override public void generateSample(double value, String label) { MonitoringSampleResult res = new MonitoringSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, getPrefix()); monitoringSampleOccurred(e); } MonitoringResultsCollector(); void setData(CollectionProperty rows); CollectionProperty getSamplerSettings(); @Override synchronized void run(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void sampleOccurred(SampleEvent event); @Override void generateSample(double value, String label); @Override JMeterContext getThreadContext(); static final String DATA_PROPERTY; }