Skip to main content

Posts

Showing posts from December, 2014

Automating JMeter test plans in Jenkins (aka A Jenkins plugin a day... Performance Plugin)

JMeter ( http://jmeter.apache.org/ ) is an Open Source tool written in Java to test system performance simulating different types of heavy load on the system under test using different protocols (HTTP, SOAP, JDBC, LDAP, JMS, etc.). This post is specific for people who want to understand how to automate JMeter test plans execution using Jenkins: I am assuming the reader has good knowledge of JMeter and Maven and omitting some JMeter and Maven features details. The JMeter release I am referring to in this post is the 2.12. Test plans in JMeter can be executed by command line or through its Java Swing GUI. Running through Jenkins doesn't require them both. You need to use just Jenkins (of course), Maven and the Performance Plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin ). You can use the JMeter GUI just to make changes to a test plan. Create the test plan. Let's create a simple test plan first. Suppose it is a HTTP test plan. You can start from Web