Continuous Integration: Running JMeter Test With Jenkins



Continuous Integration: Running JMeter Test With Jenkins

In this article, we will learn how we can integrate Our performance Test in JMeter with the help of Jenkins.


For Running our performance test in JMeter with we need to run all tests from the command line.

Below are the steps that we need to follow for integration :


1)  First We Need to Create new Jenkins Freestyle Project.

2)  Under Build Section à Execute Windows Batch command


3) Add the JMeter.save.saveservice.output_format=xml line to the user.properties file in the /bin folder of your JMeter installation.

4) Now Pass the property via the -J command-line argument, such as: C:\jmeter\bin\jmeter.bat -Jjmeter.save.saveservice.output_format=xml -n -t C:\jmeter\extras\Test.jmx -l Test.jtl



5) Click on Apply and OK to Save the Jenkins Job.





SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
May 15, 2019 at 6:30 PM

Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing. Need to learn
Test Automation Services
Regression Testing Services
Functional Testing Services
Performance Testing Services
Security Testing Services

Reply
avatar