Executing a load test from Jenkins
Now let's a Jenkins job.
Getting ready
Create a F 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 on
Build now
:

- Verify the
Performance Trend
on theProject
dashboard. - Click on
Performance Trend
:

- Verify performance breakdown:

- Click on the
Last Report
and get more on the load results:

- Done!