use of kg.apc.jmeter.perfmon.PerfMonCollector in project jmeter-plugins by undera.
the class PerfMonGuiTest method testWork.
@Test
public void testWork() throws InterruptedException {
System.out.println("work");
PerfMonGui instance = new PerfMonGui();
PerfMonCollector collector = (PerfMonCollector) instance.createTestElement();
// collector.setListener(instance);
collector.testStarted();
// collector.testIterationStart(null);
Thread.sleep(2000);
collector.testEnded();
// assertEquals(5, instance.model.firstEntry().getValue().size());
}
use of kg.apc.jmeter.perfmon.PerfMonCollector in project jmeter-plugins by undera.
the class PerfMonGuiTest method testCreateTestElement.
@Test
public void testCreateTestElement() {
System.out.println("createTestElement");
PerfMonGui instance = new PerfMonGui();
TestElement result = instance.createTestElement();
assertTrue(result instanceof PerfMonCollector);
}
Aggregations