JMeter Maven Plugin 1.8.0 Released


Posted by Mark Collin Wednesday March 13, 2013

I’m a bit late adding this here (I’ve been distracted updating the wiki for the plugin and doing a bit of running around closing off issues) but thought it would be a good idea to start posting stuff about the JMeter Maven plugin here as well. Version 1.8.0 of the JMeter Maven Plugin is now available in maven central.

The source code is available on Github and there is now also an up to date Wiki as well.

Release Notes

<properties>
    <skipTests>false</skipTests>
</properties>

<plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-maven-plugin</artifactId>
    <version>1.8.0</version>
    <executions>
        <execution>
            <id>jmeter-tests</id>
            <phase>verify</phase>
            <goals>
                <goal>jmeter</goal>
            </goals>
            <configuration>
                <skipTests>${skipTests}</skipTests>
            </configuration>
        </execution>
    </executions>
</plugin>

If you now run:

mvn verify –DskipTests=true

The performance tests will be skipped.

<appendResultsTimestamp>false</appendResultsTimestamp>
<resultsFileNameDateFormat >MMMM, yyyy</resultsFileNameDateFormat >
<overrideRootLogLevel>DEBUG</overrideRootLogLevel>
<resultsFileFormat>CSV</resultsFileFormat>
<remoteConfiguration>
	<startAndStopServersForEachTest>false</startAndStopServersForEachTest>
	<startServersBeforeTests>true</startServersBeforeTests>
	<stopServersAfterTests>true</stopServersAfterTests>
	<serverList>server1,server2</serverList>
</remoteConfiguration>

If you use “startAndStopServersForEachTest” it will override “startServersBeforeTests” and “stopServersAfterTests” if they have been configured as well.