Example of a Maven pom.xml file for execution of Jmeter tests that will automatically generate HTML reports and historical trends with pretty graphs with the help of a Chronos plugin.
- Create some testmyapp.jmx Jmeter script and put it into ${basedir}/tests/ directory
- Unpack the latest version of Jmeter into jmeter.home directory
- And finally you execute the following commands (-Dbuild.number parameter can be your build number and you can set it dynamically in your continuous integration system, this is just for convenience and even greater coolness of the script):
- Install Maven and make sure it works
- Create some testmyapp.jmx Jmeter script and put it into ${basedir}/tests/ directory
- Unpack the latest version of Jmeter into jmeter.home directory
- And finally you execute the following commands (-Dbuild.number parameter can be your build number and you can set it dynamically in your continuous integration system, this is just for convenience and even greater coolness of the script):
Enjoy amazing HTML reports generated by Chronos!