How to run JMeter test from Jenkins?

github logo ・1 min read

Step 1 : Install Jenkins

Step 2 : Install Performance Plugin in Jenkins from Manage Jenkins Options.

Step 3 : Goto Jmeter/bin folder open file and add line :

Step 4 : Create a Jmeter test

Step 5 : Add a job in Jenkins - add below jmeter commands in build step

cd C:\Automation\Softwares\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin
jmeter -n -t “location of the jmeter script” -l “location of result file”
-e -o “location of the output folder”


jmeter -n -t F:\DevelopmentPrograms\LoadTest\FTP_LoadTest.jmx -l
F:\DevelopmentPrograms\LoadTest\Results\result.csv -e -o F:\DevelopmentPrograms\LoadTest\Results

Step 6 : Add post build action - publish performance test reports

Step 7 : Run and validate

That's it.

twitter logo DISCUSS
Classic DEV Post from Apr 9

If I don't use React, am I still a developer?

A self-taught developer, more confident in his abilities than ever, feels he's just a hack because he doesn't understand anything anymore

Raghwendra Sonu profile image
Automation Testing expert with diverse tools and technologies. Expertise in Web Automation, Mobile Automation, Performance Testing, API (WebServices Testing), Automation Testing Frameworks.

A true community