Reputation: 11
I have a JMX project with a "Sample Result Save Configuration" for "Sumary Report" as reported in the attached picture. And that JMX project is executed with Jmeter Maven plugin. Now I would handle dynamically the Configuration of report from maven. For example I would unset the option "Save URL" not by Jmeter GUI mode. But I would set it during the execution of project by maven. How it can be done? enter image description here
The related XML piece is as follows: enter image description here
Upvotes: 0
Views: 93
Reputation: 168207
Changing JMeter listeners configuration is not something you can do with the JMeter Maven plugin, at least not with the current version 3.7.0
What you can do is to remove your Listeners (moreover it's not recommended to use them for anything but test development and/or debugging) and use JMeter Properties which are responsible for what's being stored in the .jtl results file
In this case you will be able to override the default setup like:
<configuration>
<propertiesUser>
<jmeter.save.saveservice.url>false</jmeter.save.saveservice.url>
</propertiesUser>
</configuration>
Other properties can be overriden in exactly the same manner.
More information:
Upvotes: 0