Search code examples
testingjmeterperformance-testingjmeter-pluginsjmeter-5.0

Is there any way to customize the JMeter report?


I have my JMeter scripts (.jmx) ready to run a performance test. The script works fine and the HTML reports are generated, but the report does NOT have any information on which environment(ST/ET/QA) the tests was run against .

Is there any way to add environment/custom information to the report?

Command:

Jmeter -n -t -Jenv="ST"   test.jmx  -l output.jtl  -e -o Dashboard    

test.jmx = script which is auto-generated
output.jtl = user defined file for output
Dashboard = user defined directory to store HTML dashboards

Solution

  • I believe you're looking for the jmeter.reportgenerator.report_title property so if you run the report generation as:

    Jmeter -n -t -Jenv="ST" -Jjmeter.reportgenerator.report_title=ST -l output.jtl  -e -o Dashboard
    

    enter image description here

    More information: