JMeter Maven Plugin
Introduction
The JMeter Maven Plugin allows you to run your automated JMeter tests through Maven.
Current Version: 1.8.1. See the release notes for change information.
Basic Usage
Add the plugin to your project
Add the plugin to the build section of your pom's project :
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.8.1</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
</plugin>
Reference JMX files
Create your JMeter tests in .jmx format and then copy the ones that you want to run to:
${basedir}/src/test/jmeter
Run the tests
Open a terminal window, go to the base directory of your project and type:
mvn verify
Documentation
All project documentation is available on the project wiki. If you are just staring out you will probably want to have a look at the basic configuration section, if you have been using the plugin for a while you will probably be more interested in the advanced configuration section.
Community
Users Group
A place to discuss usage of the maven-jmeter-plugin, let people know how you use it here.
- Homepage: http://groups.google.com/group/maven-jmeter-plugin-users
- Group Email: maven-jmeter-plugin-users@googlegroups.com
Developers Group
A place to discuss the development of the maven-jmeter-plugin, or ask about features you would like to see added.
- Homepage: http://groups.google.com/group/maven-jmeter-plugin-devs
- Group Email: maven-jmeter-plugin-devs@googlegroups.com