我正在使用JMeter maven插件2.6.0,我有一个JMeter测试计划,其中包含一些测试。
我正在通过maven构建运行jmx计划。即使存在故障,maven构建也不会失败。
我希望maven构建失败。我正在使用假在j抄maven插件配置。
我的pom.xml的配置如下:
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.6.0</version>
<executions>
<execution>
<id>test</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<resultsFileFormat>jtl</resultsFileFormat> <resultsFileNameDateFormat>YYYY</resultsFileNameDateFormat>
<ignoreResultFailures>false</ignoreResultFailures>
</configuration>
</plugin>发布于 2018-03-01 16:29:55
据这位医生说:
在您的配置中缺少一个区域:
<execution>
<id>jmeter-check-results</id>
<goals>
<goal>results</goal>
</goals>
</execution>https://stackoverflow.com/questions/49050362
复制相似问题