We have project structure as src/test/jmeter/regressionTests/jmx1,jmx2,jmx2 The regressionTests folder has different jmx files. These files can execute in parallel.(They have no dependency on each other.Each jmx file creates its own data and then deletes the data created at last.)
Currently we run them using maven command :
-Pprofile-jmeter jmeter:jmeter -DtestType=regressionTest -DskipTests=true
The pom.xml config is as follow :
<profiles>
<profile>
<id>profile-jmeter</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.10.1</version>
<executions>
<execution>
<id>run-jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<testFilesDirectory>${basedir}/src/test/jmeter/scripts/${testType}</testFilesDirectory>
<overrideRootLogLevel>ERROR</overrideRootLogLevel>
<testResultsTimestamp>false</testResultsTimestamp>
<resultsFileFormat>xml</resultsFileFormat>
Is there anything we can add to the maven command or the maven config in pom.xml so that the jmx files run in parallel.