Notes:
JMeter + Jenkins
Step 1
Install Jenkins
(https://www.youtube.com/watch?v=89yWXXIOisk&list=PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG&index=1)
Step 2
Get Jenkins Performance Plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin)
performance.hpi file – put into Jenkins – Plugins folder
Restart Jenkins
You can also install this plugin form Jenkins – Plugin Manager.
Step 3
Goto Jmeter/bin
user.properties – add line :
jmeter.save.saveservice.output_format=xml
Step 4
Create a Jmeter test
Step 5
Run JMeter test from command line
cd /Users/raghav/Desktop/Tools/apache-jmeter-3.0/bin/
sh jmeter.sh -Jjmeter.save.saveservice.output_format=xml -n -t /Users/raghav/Desktop/JmeterJenkinsIntegrationTest.jmx -l /Users/raghav/Desktop/TestResult1.jtl
Step 6
Add a job in Jenkins – add jmeter commands in build step
Step 7
Add post build action – publish performance test reports
Step 8
Run and validate
JMeter Beginner Playlist : https://www.youtube.com/playlist?list…
JMeter Intermediate Playlist : https://www.youtube.com/playlist?list…
JMeter Advanced Playlist: https://www.youtube.com/playlist?list…
Send me your comments and feedback