学英语学压测:08 jmeter html测试报告&测试报告的3种生成方式

📢📢📢:先看关键单词,再看英文,最后看中文总结,再回头看一遍英文原文,效果更佳!!

关键词

|--------------|-------|-----------------|
| modular | 模块化的 | /ˈmɒdʒʊlə/ |
| percentile | 百分位数 | /pəˈsɛntaɪl/ |
| latency | 延迟 | /ˈleɪtənsi/ |
| configurable | 可配置的 | /kənˈfɪɡərəbəl/ |
| transaction | 事务,交易 | /trænˈzækʃən/ |

测试报告

The dashboard generator is a modular extension of JMeter. Its default behavior is to read and process samples from CSV files to generate HTML files containing graph views. It can generate the report at end of a load test or on demand.

This report provides the following metrics:

  • APDEX (Application Performance Index) table that computes for every transaction the APDEX based on configurable values for tolerated and satisfied thresholds
  • A request summary graph showing the Success and failed requests (Transaction Controller Sample Results are not taken into account) percentage:

A Statistics table providing in one table a summary of all metrics per transaction including 3 configurable percentiles:

Latencies Over Time (Includes Transaction Controller Sample Results):

Response times percentiles (Includes Transaction Controller Sample Results):

测试报告的三种生成方式

The report generation can be done as a stand alone process from a sample log file or automatically after running load test.

Generation from an existing sample CSV log file

Use the following command:

复制代码
jmeter -g <log file> -o <Path to output folder>

Generation after load test

Use the following command:

复制代码
jmeter -n -t <test JMX file> -l <test log file> -e -o <Path to output folder>

Generation using GUI Tools menu

You can generate the HTML report using menu item Tools → Generate HTML report:

总结

  1. Dashboard Generator:

    • 是JMeter的一个模块化扩展。
    • 默认行为是读取和处理CSV文件中的样本,生成包含图表视图的HTML文件。
    • 可以在负载测试结束后或按需生成报告。
  2. 报告提供的指标:

    • APDEX表:基于可配置的容忍和满意阈值计算每个事务的APDEX。
    • 请求摘要图:显示成功和失败请求的百分比(不包括事务控制器样本结果)。
    • 统计表:提供每个事务的所有指标摘要,包括3个可配置的百分位数。
    • 延迟随时间变化:包含事务控制器样本结果。
    • 响应时间百分位数:包含事务控制器样本结果。
  3. 报告生成方式:

    • 从现有样本CSV日志文件生成
      使用命令:jmeter -g <log file> -o <Path to output folder>
    • 在负载测试后自动生成
      使用命令:jmeter -n -t <test JMX file> -l <test log file> -e -o <Path to output folder>
    • 使用GUI工具菜单生成
      通过菜单项 Tools → Generate HTML report 生成HTML报告。
相关推荐
qq_452396232 小时前
第十四篇:《JMeter插件扩展:自定义函数与第三方插件》
开发语言·python·jmeter
qq_452396234 小时前
第十三篇:《分布式压测:JMeter Master-Slave集群》
分布式·jmeter
qq_452396231 天前
第十一篇:《性能压测基础:JMeter线程模型与压测策略设计》
java·开发语言·jmeter
沫沫-小白1 天前
JMeter 上传固定文件时,如何修改 Content-Disposition 的 filename
jmeter
汽车仪器仪表相关领域1 天前
HORIBA MEXA-584L 全功能汽车排放废气分析仪:便携精准排放检测 + 多参数同步测量 + 国六 / 欧 7 合规适配,汽车检测与调校的黄金标准
服务器·数据库·人工智能·功能测试·汽车·压力测试·可用性测试
小徐学编程-zZ2 天前
量产测试数据
python·压力测试·数据库架构
qq_452396232 天前
第六篇:《JMeter逻辑控制器:循环、条件和交替执行》
android·java·jmeter
Land03293 天前
2026年免费RPA选型踩坑实录:72小时压力测试对比
压力测试·rpa
qq_452396234 天前
第四篇:《JMeter参数化:CSV数据文件与用户变量》
jmeter
许彰午4 天前
# 政务系统压力测试实战——人脸识别离线版并发性能摸底
压力测试·政务