Yves Martin
Yves Martin

Reputation: 10381

How to generate a custom JMeter report from aggregate report statistics?

JMeter produces detailed report as dashboard but I would like to create my own summary as a simple HTML page with relevant execution parameters and few samplers statistics in a table. As a global summary, this generation may be triggered once at the end of test plan execution.

Inspired from JMeter JSR223 Listener for ExtentReports needs improvement it looks like possible to integrate such report generation as a JSR223 listener.

If such a listener is the correct option, how to retrieve (or compute again) samplers statistics already available in Aggregate Report listener like count, avarage, min, max, percentil?

Any alternative way is welcomed too. Many thanks in advance

Upvotes: 0

Views: 426

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

You can generate a CSV version of the Aggregate Report using JMeter Plugins Command Line Tool like:

JMeterPluginsCMD.bat --generate-csv AggregateReport.csv --input-jtl /path/to/your/test/result.jtl --plugin-type AggregateReport 

Then you can create a simple HTML page from it using i.e. CSV to HTML Table project or the same FreeMarker engine which JMeter uses for the HTML Reporting Dashboard

Upvotes: 2

Related Questions