Skip to content

This Jenkins plugin allows to run Apache Jmeter performance testing tool and monitor hardware resource of target servers using Jenkins. It can also generate various kinds of performance testing reports using perfcharts (https://github.com/vfreex/perfcharts) for performance analysis.

Notifications You must be signed in to change notification settings

vfreex/performance-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Performance Testing Plugin

This Jenkins plugin adds the ability of running common performance testing tools and monitoring hardware resources to Jenkins.

As of v1.0.1, Jenkins Performance Testing Plugin supports Jenkins pipeline.

Usage

Use NMON to monitor hardware resources when running some tasks

sh 'mkdir -p output logs'
withMonitoring([
  nmon(dir: 'output', target: sshTarget(user: 'user1', host: 'host1.example.com', password: 'password1')),
  nmon(dir: 'output', target: sshTarget(user: 'user2', host: 'host2.example.com', password: 'password2')),
])
{
  echo 'doing some tasks...'
  sh 'jmeter -Djmeter.save.saveservice.output_format=xml -n -t test-plan-1.jmx -l output/test-result-1.jtl -j logs/test-log-1.log'
  sh 'jmeter -Djmeter.save.saveservice.output_format=xml -n -t test-plan-2.jmx -l output/test-result-2.jtl -j logs/test-log-2.log'
}
performanceReport 

Run Jmeter to do a stress test to remote hosts:

jmeter file: 'somefile.xml', out: 'somefile.jmx'

About

This Jenkins plugin allows to run Apache Jmeter performance testing tool and monitor hardware resource of target servers using Jenkins. It can also generate various kinds of performance testing reports using perfcharts (https://github.com/vfreex/perfcharts) for performance analysis.

Resources

Stars

Watchers

Forks

Packages

No packages published