Jmeter:通过命令行生成汇总报告在生成的报告中不包括 95% 和 99% 行 [英] Jmeter: Generating aggregate report through commnd line is not including 95% and 99% line in generated report
问题描述
我使用的是 Jmeter 2.13.我们正在通过命令行
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-jtlmerged.csv --plugin-type AggregateReport
当通过 Jmeter UI 生成汇总报告时,我得到了 95% 和 99% 的行.
When the aggregate report is generated through Jmeter UI i am getting the 95% and 99% line.
推荐答案
在 /apache-jmeter-2.13/bin
文件夹中,jmeter.properties
文件声明为如下:
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
将此复制到 user.properties
文件并取消注释 aggregate_rpt_pct1=90
以获得生成的 Aggregate Report
中的第 90 个百分位数.
Copy this to user.properties
file and uncomment the aggregate_rpt_pct1=90
to get 90th percentile in the generated Aggregate Report
.
您可以添加例如 aggregate_rpt_pct3=70
以获取生成的汇总报告中的第 70 个百分位数.
You can add e.g aggregate_rpt_pct3=70
to get the 70th percentile in the generated Aggregate Report.
这篇关于Jmeter:通过命令行生成汇总报告在生成的报告中不包括 95% 和 99% 行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!