My pom.xml looks like this:
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>3.4.0</version>
<executions>
<!-- Generate JMeter configuration -->
<execution>
<id>configuration</id>
<goals>
<goal>configure</goal>
</goals>
</execution>
<!-- Run JMeter tests -->
<execution>
<id>jmeter-tests</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
<!-- Fail build on errors in test -->
<execution>
<id>jmeter-check-results</id>
<goals>
<goal>results</goal>
</goals>
</execution>
</executions>
<configuration>
<propertiesUser>
<csvPath>${basedir}/src/test/resources/testData.csv</csvPath>
<threads>${threads}</threads>
<rampUp>${rampUp}</rampUp>
</propertiesUser>
<generateReports>true</generateReports>
<propertiesJMeter>
<jmeter.save.saveservice.response_data>true</jmeter.save.saveservice.response_data>
<jmeter.save.saveservice.samplerData>true</jmeter.save.saveservice.samplerData>
<jmeter.save.saveservice.requestHeaders>true</jmeter.save.saveservice.requestHeaders>
<jmeter.save.saveservice.url>true</jmeter.save.saveservice.url>
<jmeter.save.saveservice.responseHeaders>true</jmeter.save.saveservice.responseHeaders>
</propertiesJMeter>
</configuration>
</plugin>
</plugins>
</build>
I have tried putting additional properties inside and tags too, but no luck. Rest/default details are getting fetched properly.
Please let me know if I do need change properties somewhere else too or in different way.
Thanks in advance!!