Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default JMeter Property file is overwritten instead of merging the user defined properties #353

Closed
ganginenisarath opened this issue Dec 18, 2019 · 1 comment

Comments

@ganginenisarath
Copy link

  • Java version - 1.8.0_231

  • JMeter-Maven-Plugin - 3.0.0

  • When we do not specify jmeter.properties file under src/test/jmeter folder and run the test, then in the bin folder, we can see that there are some default jmeter.properties.

  • But when we create a file jmeter.properties* file under src/test/jmeter folder and specify some properties say summariser.name=summary, instead of merging this property into the default jmeter.properties in the bin folder it is overwriting all of the default properties.

Due to this the values though we specify some properties user.properties under src/test/jmeter or pom.xml the properties are not getting reflected.

@Ardesco
Copy link
Contributor

Ardesco commented Jan 10, 2020

If I'm understanding your report correctly, this is by design.

We always take the default jmeter.properties file supplied by Jmeter and then add to it if you do not supply a base jmeter.properties file.

If you supply a base jmeter.properties file, we make the assumption that you don't want to base your tests on the default one provided by JMeter because you have gone to the trouble of building your own version of the file. In this instance we throw away the default jmeter.properties file and use the one supplied by you instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants