JMeter Maven Plugin
A Maven plugin that provides the ability to run JMeter tests as part of your build
See the CHANGELOG for change information.
This plugin requires JDK 1.7 or higher.
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>2.1.0</version> <executions> <execution> <id>jmeter-tests</id> <phase>verify</phase> <goals> <goal>jmeter</goal> </goals> </execution> </executions> </plugin>
Reference JMX files
Once you have created your JMeter tests, you'll need to copy them to
<Project Dir>/src/test/jmeter. By default this plugin will pick up all the .jmx files in that directory, to specify which tests should be run please see the project documentation.
Run the tests
All your tests will run in maven!
All the documentation you need to configure the plugin is available on the github wiki.
Beginners should start with the Basic Configuration section.
For advanced POM configuration settings have a look at the Advanced Configuration section.
A place to discuss usage of the maven-jmeter-plugin, let people know how you use it here.
Group Email: firstname.lastname@example.org
A place to discuss the development of the maven-jmeter-plugin, or ask about features you would like to see added.
Group Email: email@example.com
The official website is available at http://jmeter.lazerycode.com
- Fork it.
- Create a branch (
git checkout -b my_plugin)
- Commit your changes (
git commit -am "Added feature")
- Push to the branch (
git push origin my_plugin)
- Create a new Issue with a link to your branch, or just make a Pull Request.
- Enjoy a refreshing Diet Coke and wait