Skip to main content
7 events
when toggle format what by license comment
Oct 4, 2021 at 10:27 vote accept IAmMilinPatel
Oct 4, 2021 at 10:11 comment added Dmitri T It was a copy-paste issue, try new ReportGenerator("/Path/results.jtl", null);
Oct 4, 2021 at 10:11 history edited Dmitri T CC BY-SA 4.0
added 7 characters in body
Oct 4, 2021 at 9:33 comment added IAmMilinPatel at org.apache.jmeter.report.processor.CsvFileSampleSource.<init>(CsvFileSampleSource.java:113) at org.apache.jmeter.report.dashboard.ReportGenerator.generate(ReportGenerator.java:211) at JmeterJava.Jmeter.main(Jmeter.java:54) Caused by: java.lang.IllegalArgumentException: File is empty at org.apache.jmeter.report.core.CsvSampleReader.readMetadata(CsvSampleReader.java:144)" (Part 2/2)
Oct 4, 2021 at 9:32 comment added IAmMilinPatel I changed null to logger in: "ReportGenerator generator = new ReportGenerator("index.html", logger);" and got this error, "Exception in thread "main" org.apache.jmeter.report.core.SampleException: Could not read metadata ! at org.apache.jmeter.report.core.CsvSampleReader.readMetadata(CsvSampleReader.java:174) at org.apache.jmeter.report.core.CsvSampleReader.<init>(CsvSampleReader.java:119) at org.apache.jmeter.report.core.CsvSampleReader.<init>(CsvSampleReader.java:87) (Part 1/2)
Oct 4, 2021 at 9:32 comment added IAmMilinPatel Thank you Dmitri. I tried your code and got this error: "Exception in thread "main" java.lang.IllegalArgumentException: Cannot read test results file : index.html at org.apache.jmeter.report.dashboard.ReportGenerator.<init>(ReportGenerator.java:134) at JmeterJava.Jmeter.main(Jmeter.java:53)"
Oct 4, 2021 at 9:03 history answered Dmitri T CC BY-SA 4.0