Tuesday 7 January 2014

Jmeter integration with Jenkin

Jmeter integration with Jenkin


Integration of jmeter with jenkin for performance testing on nightly build.

Following are configuration steps:

  1. Add the Performance Plugin.
  2. Click the Manage Jenkins link.
  3. Click the Manage Plugins link.
  4. Select the Available tab.
  5. Find the Performance Plugin, select it, then install it.

Scheduling job in jenkin:

  1. Go to the Jenkins main page.
  2. Click New Job.
  3. Give the job a name. test1
  4. Choose free-style software project.
  5. Click OK
  6. Under Advanced Project Options give the directory path of you framework as workspace. give it  some display name
  7. Add build step - Execute windows batch command
  8. Enter the command as  
    • perl newIn.pl -i SSOinputs.xml -c config.properties
  9. Add post build action Publish performance test result
    • Add jmeter report
Start the build schedule from jenkins home page.

An report will be email to the recipient.