You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

JMeter 5.1 HTML仪表盘自定义:能否移除APDEX表及Statistics中Network模块?

Customizing JMeter 5.1 HTML Dashboard: Remove APDEX Table & Network Module from Statistics

Absolutely! You can absolutely tailor JMeter 5.1's HTML dashboard to hide the APDEX table and the Network-related sections in the Statistics table. Here's a straightforward, step-by-step guide to get this done:

Option 1: Temporary Customization (Single Report Run)

This is perfect if you only want the changes to apply to one specific report, without altering global settings.

  • Create a custom properties file: Make a new file (e.g., custom_dashboard_config.properties) in your preferred location, and add these lines:

    # Remove the APDEX table entirely from the report
    jmeter.reportgenerator.exporter.html.tables=statistics,errors,top5errors,top5slowest,top5fastest,responseTimesOverTime,bytesThroughputOverTime,latenciesOverTime,connectTimeOverTime,hitsPerSecond,codesPerSecond,transactionsPerSecond,responseTimePercentiles,pageData,overTime
    
    # Remove Network-related columns (Connect Time, Latency) from the Statistics table
    jmeter.reportgenerator.exporter.html.statistics_table_columns=sampleCount,errorPct,average,median,p90,p95,p99,min,max,avgBytes,throughput,receivedKBPerSec,sentKBPerSec
    

    Note: The tables line excludes apdex from the list of rendered tables, while the statistics_table_columns line removes network-focused metrics like Connect Time and Latency.

  • Generate the report with your custom config: Run this command in your terminal, replacing the paths with your actual file locations:

    jmeter -g /path/to/your/test_results.jtl -o /path/to/output_report_folder -q /path/to/custom_dashboard_config.properties
    

Option 2: Permanent Customization (All Future Reports)

If you want this change to apply to every HTML dashboard you generate, modify JMeter's global configuration:

  1. Locate the config file: Open reportgenerator.properties in the bin folder of your JMeter installation directory.
  2. Remove the APDEX table: Find the line starting with jmeter.reportgenerator.exporter.html.tables, and delete the apdex entry from the comma-separated list.
  3. Remove Network columns from Statistics: Find the line starting with jmeter.reportgenerator.exporter.html.statistics_table_columns, and remove connectTime and latency (or any other network-related columns you want to hide) from the list.
  4. Save the file: All subsequent HTML reports will automatically use these updated settings.

Quick Verification

After generating the report, open the HTML file to confirm:

  • The APDEX table is no longer present in the report.
  • The Statistics table omits the Network-related columns you removed.

内容的提问来源于stack exchange,提问作者Seirra

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.14 08:55:20