@Test public void testGenerateSample() { System.out.println("generateSample"); double value = 0.0; String label = ""; JMXMonCollector instance = new JMXMonCollector(); instance.generateSample(value, label); }
@Override public void generateSample(double value, String label) { JMXMonSampleResult res = new JMXMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, JMXMON); jmxMonSampleOccurred(e); }
JMXMonCollector extends CorrectedResultCollector implements Runnable, JMXMonSampleGenerator { @Override public void generateSample(double value, String label) { JMXMonSampleResult res = new JMXMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, JMXMON); jmxMonSampleOccurred(e); } }
JMXMonCollector extends CorrectedResultCollector implements Runnable, JMXMonSampleGenerator { @Override public void generateSample(double value, String label) { JMXMonSampleResult res = new JMXMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, JMXMON); jmxMonSampleOccurred(e); } JMXMonCollector(); }
JMXMonCollector extends CorrectedResultCollector implements Runnable, JMXMonSampleGenerator { @Override public void generateSample(double value, String label) { JMXMonSampleResult res = new JMXMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, JMXMON); jmxMonSampleOccurred(e); } JMXMonCollector(); void setData(CollectionProperty rows); JMeterProperty 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(); }
JMXMonCollector extends CorrectedResultCollector implements Runnable, JMXMonSampleGenerator { @Override public void generateSample(double value, String label) { JMXMonSampleResult res = new JMXMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, JMXMON); jmxMonSampleOccurred(e); } JMXMonCollector(); void setData(CollectionProperty rows); JMeterProperty 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; }