使用jmeter Maven插件编辑jmeter saveservice.properties文件
当我使用Jmeter Maven插件调用Jmeter时,是否有方法编辑(向其中添加一些属性)Jmeter saveservice.properties文件 您可以将自己版本的saveservice.properties复制到:使用jmeter Maven插件编辑jmeter saveservice.properties文件,maven,maven-3,jmeter,jmeter-plugins,jmeter-maven-plugin,Maven,Maven 3,Jmeter,Jmeter Plugins,Jmeter Maven Plugin,当我使用Jmeter Maven插件调用Jmeter时,是否有方法编辑(向其中添加一些属性)Jmeter saveservice.properties文件 您可以将自己版本的saveservice.properties复制到: ${project.base.directory}/src/test/jmeter 或者,您可以使用如下配置设置覆盖特定属性: +---+ <project> [...] <build> <pluginMa
${project.base.directory}/src/test/jmeter
或者,您可以使用如下配置设置覆盖特定属性:
+---+
<project>
[...]
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<propertiesSaveService>
<HTTPSampler2>org.apache.jmeter.protocol.http.sampler.HTTPSampler2</HTTPSampler2>
</propertiesSaveService>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
[...]
</project>
+---+
+---+
[...]
${project.groupId}