How to print 95 and 99 Percentiles in the jmeter aggregate report command line?
Solution 1
The functionality is available by default starting from JMeter version 2.13
The behavior is controllable via the following properties:
aggregate_rpt_pct1=90
aggregate_rpt_pct2=95
aggregate_rpt_pct3=99
If you don't see percentiles like at the above image in your Aggregate Report - add the above lines to user.properties file.
NB:
- The approach won't work on JMeter versions earlier than 2.13
- JMeter restart will be required to pick the properties up, dynamic changes won't work.
Solution 2
You can do it from CMD, First make the plan using GUI, then in the bin folder of Jmeter, open CMD and run the following command.
jmeter -n -t "[PATH-FOR-PLAN]\myplan.jmx" -l "[PATH-OF-RESULT]\results.csv" -e -o "[PATH-OF-OUTPUT]\output"
The output folder will have a webpage with the aggregate report
Related videos on Youtube
user6348718
Updated on June 04, 2022Comments
-
user6348718 almost 2 years
I am trying to print 95 Percentile and 99 Percentile response times in the jmeter aggregate report from the command line For this, I have tried the solution mentioned in here: Jmeter: Generating aggregate report through commnd line is not including 95% and 99% line in generated report but that didn't work. I have tried editing the
jmeter.properties
file too. Also, the other solution that I came across is to generate theResponseTimesPercentiles
graph usingCMDRunner.jar
in csv format but that gives all the values from0-99.9
which I don't need. So is there a way I can customize the csv file to just haveReponseTimesPercentiles
for desired values?Also tried this command:
java -jarCMDRunner.jar --tool Reporter --generate-csv test.csv --input-jtl results.jtl --include-labels aggregate_report_99%_line --plugin-type AggregateReport
which didn't work. So, is there any way that I can generate the 95% and 99 Percentiles in the aggregate report
-
user6348718 over 7 yearsThanks @Dmitri T I am able to view those percentiles in the GUI mode but I want to print them when I generate the aggregate report from the command line
-
user3038404 almost 4 years@user6348718 did you ever find an answer to this?