I am trying to use jmeter-plugins.
Does it have to be placed only under /lib/ext
folder?
Is there any way for me to refer to the plugin jar using some properties?
(like user.classpath
property to refer to my custom lib)
Asked
Active
Viewed 4,398 times
3

KitKarson
- 5,211
- 10
- 51
- 73
3 Answers
1
If you don't want to put JMeter plugin jars in the lib/ext
directory, then define the property search_paths
in jmeter.properties
.

RaGe
- 22,696
- 11
- 72
- 104
-
Thanks. I thought i thoroughly checked jmeter.properties!! :( – KitKarson Apr 23 '15 at 01:06
0
After placing the plugin manager jar in the /lib/ext/ you need to do the following to install a particular plugin.
Download the latest cmdrunner from this URL by changing the version.
wget http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
Copy the cmdrunner to jmeter/lib/ directory
mv cmdrunner-2.2.jar apache-jmeter-5.1.1/lib/
Execute the following command to generate script file PluginsManagerCMD
java -cp apache-jmeter-5.1.1/lib/ext/jmeter-plugins-manager-1.3.jar org.jmeterplugins.repository.PluginManagerCMDInstaller
After the script is generated, you can use it to install a particular plugin
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh status
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh available
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh install jpgc-tst=2.5

abbas
- 6,453
- 2
- 40
- 36
0
Download cmdrunner in lib folder
cd apache-jmeter-5.4/lib curl -O https://repo1.maven.org/maven2/kg/apc/cmdrunner/2.2.1/cmdrunner-2.2.1.jar
download-cmd
Download jmeter plugin Manager in lib/ext folder
cd ext/ curl -O https://repo1.maven.org/maven2/kg/apc/jmeter-plugins-manager/1.6/jmeter-plugins-manager-1.6.jar
Install plugins
cd .. java -jar cmdrunner-2.2.1.jar --tool org.jmeterplugins.repository.PluginManagerCMD install jpgc-webdriver

Linden X. Quan
- 584
- 5
- 18