我使用的是 Jmeter 2.13。我们正在通过命令行生成汇总报告
java -jar CMDRunner.jar --tool Reporter --generate-csvaggregate.csv --input-jtl merged.csv --plugin-type AggregateReport
当通过 Jmeter UI 生成汇总报告时,我得到 95% 和 99% 线。
最佳答案
在/apache-jmeter-2.13/bin
文件夹中,jmeter.properties
文件状态如下:
#---------------------------------------------------------------------------
# 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
以在生成的聚合报告
中获取第 90 个百分位。
您可以添加例如 aggregate_rpt_pct3=70
以获取生成的聚合报告中的第 70 个百分位数。
关于Jmeter:通过命令行生成聚合报告不包括生成报告中的 95% 和 99% 行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38659023/