JMeter 5.1 HTML仪表盘自定义:能否移除APDEX表及Statistics中Network模块?
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,sentKBPerSecNote: The
tablesline excludesapdexfrom the list of rendered tables, while thestatistics_table_columnsline 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:
- Locate the config file: Open
reportgenerator.propertiesin thebinfolder of your JMeter installation directory. - Remove the APDEX table: Find the line starting with
jmeter.reportgenerator.exporter.html.tables, and delete theapdexentry from the comma-separated list. - Remove Network columns from Statistics: Find the line starting with
jmeter.reportgenerator.exporter.html.statistics_table_columns, and removeconnectTimeandlatency(or any other network-related columns you want to hide) from the list. - 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

