DEV Community


How to run JMeter test from Jenkins?

raghwendrasonu profile image Raghwendra Sonu ・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.

Discussion (0)

Editor guide