Jmeter: Generating aggregate report through commnd line is not including 95% and 99% line in generated report

别说谁变了你拦得住时间么 提交于 2019-12-08 00:13:51

问题


I am using Jmeter 2.13. We are generating the aggregate report through command line

java -jar CMDRunner.jar --tool Reporter --generate-csv aggregate.csv --input-jtl merged.csv --plugin-type AggregateReport

When the aggregate report is generated through Jmeter UI i am getting the 95% and 99% line.


回答1:


In the /apache-jmeter-2.13/bin folder, the jmeter.properties files states as follows:

#---------------------------------------------------------------------------
# Aggregate Report and Aggregate Graph - configuration
#---------------------------------------------------------------------------
#
# Percentiles to display in reports
# Can be float value between 0 and 100
# First percentile to display, defaults to 90%
# aggregate_rpt_pct1=90
# Second percentile to display, defaults to 95%
# aggregate_rpt_pct2=95
# Second percentile to display, defaults to 99%
# aggregate_rpt_pct3=99

Copy this to user.properties file and uncomment the aggregate_rpt_pct1=90to get 90th percentile in the generated Aggregate Report.

You can add e.g aggregate_rpt_pct3=70 to get the 70th percentile in the generated Aggregate Report.



来源:https://stackoverflow.com/questions/38659023/jmeter-generating-aggregate-report-through-commnd-line-is-not-including-95-and

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!