Reputation: 81
I have a setup thread group to generate some test data and clear previously generated data from previous runs. This setup thread group contains hundreds of samplers. I have an issue that this setup thread group samplers appear in the generated dashboard report after the run completes. I want to hide them from the generated dashboard. How can I do that?
Upvotes: 0
Views: 706
Reputation: 168122
There are following options:
Add JSR223 PostProcessor to the setUp Thread Group (the same level as all your Samplers) and put the following code into "Script" area:
prev.setIgnore()
this will call SampleResult.setIgnore() function instructing JMeter to discard all Sample Results in the JSR223 PreProcessor's scope so they won't appear in the Listeners and .jtl result file
There is Filter Results Tool (installable via JMeter Plugins Manager) it provides possibility to remove sample results which names match certain pattern from the .jtl results file. Alternatively you can provide an offset in seconds to cut sample results from the beginning (or the end) of the .jtl results file
JMeterPluginsCMD Command Line Tool provides the same functionality, moreover you can generate various tables and charts in non-GUI mode
Upvotes: 1