以下は、pom ファイルの関連セクションです。
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.8.1</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>install</phase>
<goals>
<goal>jmeter</goal>
</goals>
<configuration>
<propertiesUser>
<testData>test.csv</testData>
<threadNum>1</threadNum>
<rampUpPeriodSecs>5</rampUpPeriodSecs>
<loopCount>2</loopCount>
</propertiesUser>
</configuration>
</execution>
</executions>
<configuration>
<testFilesDirectory>test</testFilesDirectory>
<testResultsTimestamp>false</testResultsTimestamp>
</configuration>
</plugin>
コマンドを実行するとmvn install
; propertiesUser
要素で指定されたプロパティがすべて正常に機能し、設定されて機能します。
しかし、実行するmvn jmeter:jmeter
と、ユーザー プロパティは設定されません。何か不足していますか?