【问题标题】:jmeter(5.0) load testing and reports generation [duplicate]jmeter(5.0)负载测试和报告生成[重复]
【发布时间】:2019-01-17 06:18:49
【问题描述】:

我已经用 jmeter 做过负载测试,我的 jmeter 版本是 5.0。

你能帮我如何生成结果报告吗?

【问题讨论】:

标签: jmeter jmeter-plugins jmeter-5.0


【解决方案1】:

给你executed JMeter in command-line non-GUI mode点赞:

jmeter -n -t /path/to/test.jmx -l /path/to/result.csv

您现在可以generate the HTML Reporting Dashboard from the result.csv file as follows:

jmeter -g /path/to/result.csv -o /path/to/dashboard/folder

您将生成报告的文件夹必须为空。

【讨论】:

  • 我已经在 GUI 模式下完成了测试
  • 您无法在 GUI 运行之外生成仪表板(除非您配置 Listener 以将结果存储到 CSV 文件中)。请注意,JMeter GUI 仅用于测试开发和调试,您应该在禁用所有侦听器的非 GUI 模式下运行负载测试。请参阅9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure 文章了解一些 JMeter 最佳实践
【解决方案2】:

请参阅此新博客(2019 年 1 月 16 日),其中解释了 while 过程:

另外,请参考参考文档:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-10-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多