Now let's create a Jenkins job.
Executing a load test from Jenkins
Getting ready
Create a Freestyle project in Jenkins:
Add the build step Execute Windows batch command.
How to do it...
- Add the following command. Replace the location of jmeter.bat based on the installation directory and the location of the .jmx file too:
C:\apache-jmeter-3.0\bin\jmeter.bat -Jjmeter.save.saveservice.output_format=xml -n -t C:\Users\Mitesh\Desktop\PetClinic.jmx -l Test.jtl
- Add a Post-build Actions:
- In the Publish Performance test result report, add **/*.jtl file:
- Click...