Search code examples
javahtmlperformancejmeterreport

JMeter Dashboard HTML Report - exclude completely unwanted requests


My test has 20 requests, but 5 of them I've excluded using filter jmeter property: jmeter.reportgenerator.exporter.html.series_filter

However the dashboard still counts the metrics in table headers:

enter image description here

Is it possible to fix this?


Solution

  • If you want to completely remove the "unwanted" results it's better to remove them from the .jtl file.

    The options are in:

    1. Add JSR223 PostProcessor as a child of the request(s) you don't "want" to see and put the following Groovy code into "Script" area:

      prev.setIgnore()
      

      where prev stands for previous SampleResult

    2. Use Filter Results Tool which has --include-labels and --exclude-labels parameters allowing you to specify what needs to be included or excluded from the .jtl results file.