How to print 95 and 99 Percentiles in jmeter aggregate report command line?

I am trying to print 95 percent and 99 percent responses in the jmeter aggregate report from the command line. For this, I tried the solution mentioned here: Jmeter: Generating a summary report via commnd line does not include 95% and 99% of the lines in the generated report, but this did not work. I also tried to edit the file jmeter.properties. Also, another solution I came across is to create a graph ResponseTimesPercentilesusing CMDRunner.jarcsv format, but this gives all the values ​​from 0-99.9that I don't need. So can I configure the csv file only ReponseTimesPercentilesfor the desired values ?

And 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 did not work. So, is there any way that I can generate 95% and 99 percentiles in the report to aggregate

+4
source share
2 answers

Functionality is available by default starting with JMeter version 2.13

JMeter 90, 95, 99 percentiles

The behavior is controlled using the following properties:

aggregate_rpt_pct1=90
aggregate_rpt_pct2=95
aggregate_rpt_pct3=99

If you do not see percentiles like the one above, in the Aggregated Report - add the above lines to the user.properties file.

Note:

  • This approach will not work in JMeter versions earlier than 2.13
  • You will need to restart JMeter to select properties; dynamic changes will not work.
+2
source

CMD. GUI, bin Jmeter, CMD .

jmeter -n -t "[PATH-FOR-PLAN]\myplan.jmx" -l "[PATH-OF-RESULT]\results.csv" -e -o "[PATH-OF-OUTPUT]\output" 

- aggregate report

+2

Source: https://habr.com/ru/post/1667220/


All Articles