


In JMeter, add _format=xml to the user.properties file (located in the /bin folder of your JMeter installation), to allow JMeter to publish the results in XML format.
#Jenkins external workspace manager update
Configure the property in JMeter and update the script in Jenkins.Ĭ:\apache-jmeter-4.0\bin\jmeter -n -t C:\Jenkins\blazedemo.jmx -Jthreads=2 -l C:\Jenkins\Report\result.jtlĥ. For example, Jthreads is a property that defines the number of threads. You can also update JMeter script values. The results will appear in your Result folder under the name you have set, in this example: result.jtl
#Jenkins external workspace manager how to
Learn more about how to run JMeter like this from this BlazeMeter blog).Ĭ:\apache-jmeter-4.0\bin\jmeter -n -t C:\Jenkins\blazedemo.jmx -l C:\Jenkins\Report\result.jtl (The JMeter test will be run in non-GUI mode. Add a command with a link to your extracted bin folder and the path to your script.

In Jenkins, go to the Build tab and add a build step: Execute Windows batch command or Execute shell if you are using Linux:Ĥ. In Jenkins: create a Freestyle project.ģ. We can integrate our JMeter load test directly into Jenkins by using the command line (Shell in Linux, or in my case, a batch command in Windows):Ģ. Integrating JMeter Directly into Jenkins: Option 1
