Jmeter:通过命令行生成聚合报告不包括生成报告中的95%和99%行 [英] Jmeter: Generating aggregate report through commnd line is not including 95% and 99% line in generated report

查看:827
本文介绍了Jmeter:通过命令行生成聚合报告不包括生成报告中的95%和99%行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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=90to 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆