プロジェクト構造は src/test/jmeter/regressionTests/jmx1,jmx2,jmx2 です。regressionTests フォルダーには異なる jmx ファイルがあります。これらのファイルは並行して実行できます (相互に依存関係はありません。各 jmx ファイルは独自のデータを作成し、最後に作成されたデータを削除します)。
現在、maven コマンドを使用して実行しています。
-Pprofile-jmeter jmeter:jmeter -DtestType=regressionTest -DskipTests=true
pom.xml 構成は次のとおりです。
<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>
jmxファイルが並行して実行されるように、pom.xmlのmavenコマンドまたはmaven構成に追加できるものはありますか?