@Test public void testGenerateSample() { System.out.println("generateSample"); double value = 0.0; String label = ""; PerfMonCollector instance = new PerfMonCollector(); instance.generateSample(value, label); }
@Override public void generateSample(double value, String label) { PerfMonSampleResult res = new PerfMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, PERFMON); super.sampleOccurred(e); }
PerfMonCollector extends CorrectedResultCollector implements Runnable, PerfMonSampleGenerator { @Override public void generateSample(double value, String label) { PerfMonSampleResult res = new PerfMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, PERFMON); super.sampleOccurred(e); } }
PerfMonCollector extends CorrectedResultCollector implements Runnable, PerfMonSampleGenerator { @Override public void generateSample(double value, String label) { PerfMonSampleResult res = new PerfMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, PERFMON); super.sampleOccurred(e); } PerfMonCollector(); }
PerfMonCollector extends CorrectedResultCollector implements Runnable, PerfMonSampleGenerator { @Override public void generateSample(double value, String label) { PerfMonSampleResult res = new PerfMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, PERFMON); super.sampleOccurred(e); } PerfMonCollector(); void setData(CollectionProperty rows); JMeterProperty getMetricSettings(); void sampleOccurred(SampleEvent event); @Override synchronized void run(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void generateSample(double value, String label); @Override void generateErrorSample(String label, String errorMsg); @Override void generate2Samples(long[] values, String label1, String label2); @Override void generate2Samples(long[] values, String label1, String label2, double dividingFactor); static LinkedList<String> getFiles(); static void clearFiles(); }
PerfMonCollector extends CorrectedResultCollector implements Runnable, PerfMonSampleGenerator { @Override public void generateSample(double value, String label) { PerfMonSampleResult res = new PerfMonSampleResult(); res.setSampleLabel(label); res.setValue(value); res.setSuccessful(true); SampleEvent e = new SampleEvent(res, PERFMON); super.sampleOccurred(e); } PerfMonCollector(); void setData(CollectionProperty rows); JMeterProperty getMetricSettings(); void sampleOccurred(SampleEvent event); @Override synchronized void run(); @Override void testStarted(String host); @Override void testEnded(String host); @Override void generateSample(double value, String label); @Override void generateErrorSample(String label, String errorMsg); @Override void generate2Samples(long[] values, String label1, String label2); @Override void generate2Samples(long[] values, String label1, String label2, double dividingFactor); static LinkedList<String> getFiles(); static void clearFiles(); static final String DATA_PROPERTY; }