JMeter Dashboard HTML 报告 - 排除完全不需要的请求
JMeter Dashboard HTML Report - exclude completely unwanted requests
我的测试有 20 个请求,但我使用过滤器 jmeter 排除了其中的 5 个 属性:
jmeter.reportgenerator.exporter.html.series_filter
然而,仪表板仍然计算 table headers 中的指标:
可以解决这个问题吗?
如果您想完全删除“不需要的”结果,最好将它们从 .jtl 文件中删除。
选项在:
将JSR223 PostProcessor as a child of the request(s) you don't "want" to see and put the following Groovy代码添加到“脚本”区域:
prev.setIgnore()
其中 prev
代表 previous SampleResult
使用具有 --include-labels
和 --exclude-labels
参数的 Filter Results Tool 允许您指定需要包含或排除在 .jtl 结果文件中的内容。
我的测试有 20 个请求,但我使用过滤器 jmeter 排除了其中的 5 个 属性: jmeter.reportgenerator.exporter.html.series_filter
然而,仪表板仍然计算 table headers 中的指标:
可以解决这个问题吗?
如果您想完全删除“不需要的”结果,最好将它们从 .jtl 文件中删除。
选项在:
将JSR223 PostProcessor as a child of the request(s) you don't "want" to see and put the following Groovy代码添加到“脚本”区域:
prev.setIgnore()
其中
prev
代表 previous SampleResult使用具有
--include-labels
和--exclude-labels
参数的 Filter Results Tool 允许您指定需要包含或排除在 .jtl 结果文件中的内容。