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-jtl merged.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屋!