Jeson
Jeson

Reputation: 3

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

Upvotes: 0

Views: 3698

Answers (2)

kate_zalozna
kate_zalozna

Reputation: 1

@Dmitri T shared the right link. One thing I want to add that you can choose what info to write to the logs through the Results tree settings. See the screenshot here

Upvotes: 0

Dmitri T
Dmitri T

Reputation: 168002

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:

Upvotes: 2

Related Questions