Hi,
In 2.2.0, this test fail with a NullPointerException
@Rule
public ContiPerfRule rule = new ContiPerfRule(
new HtmlReportModule(),
new CSVSummaryReportModule(),
new CSVInvocationReportModule(),
new CSVLatencyReportModule());
@Test
@PerfTest(threads = 10, duration = 6000, rampUp = 100, warmUp = 900)
public void simpleTest() throws Exception {
Thread.sleep(100);
}
In org.databene.contiperf.report.CSVInvocationReportModule.invoked()
@Override
public synchronized void invoked\(String serviceId, int latency, long startTime\) \{
out.print\(latency\);
out.print\(','\);
out.println\(startTime\);
\}
The out is null and raise a NullPointerException
It's null because starting ifunction seems not executed
@Override
public void starting\(String serviceId\) \{
createFile\(serviceId\);
\}