JMeter – Installing Plugins Manager & Other Plugins through Command-line

In this short article, we will see how we could install the required plugins for JMeter 3.1 or above using Command-line / Ant.

Goal:

To install the required plugins for the JMeter test using Ant.

Ant Target:

Include below ant targets in your current project. [I assumed ‘jmeter.home’ property is set & pointing to JMeter folder]

 

Include below build properties for ant / pass these properties to ant. Update the required plugin name here. 

 

Now execute the below command to setup the plugins manager and all the required plugins to run your test.

ant install-plugins

 

Ant-Console Output:

pm001

Ant downloads all the required jars and places them in appropriate places for you to run the test without any dependency issues.

pm002

 

Happy Testing & Subscribe 🙂

 

 

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.