In this short article, we will see how we could install the required plugins for JMeter 3.1 or above using Command-line / Ant.
To install the required plugins for the JMeter test using Ant.
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 downloads all the required jars and places them in appropriate places for you to run the test without any dependency issues.
Happy Testing & Subscribe 🙂