Download Plugins without using Plugins-manager

514 views
Skip to first unread message

Stanton Derry

unread,
Jul 27, 2023, 1:50:25 PM7/27/23
to jmeter-plugins
Our environment is restricted from accessing internet sites from our JMeter testing environment.  Prior you could download zip files.  Is there a way to have a local repository with all the plugins and by adding jpgc.repo.address with the urls pointing to our local repository to jmeter.properties.

Dmitri T

unread,
Jul 28, 2023, 4:00:35 AM7/28/23
to jmeter-plugins
Yes, it is possible, you just need a web server like Apache or Nginx which will host the JMeter Plugins Repository Descriptor file.

As of today the descriptor looks as the attached repo.json file

Once you have it up and running you can simply point JMeter to use your local repository by adding the jpgc.repo.address=http://path/to/your/repository line to user.properties file (lives in "bin" folder of your JMeter installation). See Apache JMeter Properties Customization Guide for more details.

But if you open the file you will see that it can go to the Internet for downloading plugin .jar files and their dependencies so you need to amend the URLs and point them to your local versions of the libraries instead of Maven Central, Github, etc. . For example JFrog Artifactory is a good candidate, or you can ask around, it might be the case your company already has some local mirror.
repo.json

Stanton Derry

unread,
Jul 31, 2023, 6:28:15 PM7/31/23
to jmeter-plugins
Hi Dimitri T,

Can certainly configure a web server as mentioned.  Question I have, is how do download all plugin jar files and dependencies to populate our local repository and keep them current.

roll...@gmail.com

unread,
Sep 5, 2023, 11:45:01 AM9/5/23
to jmeter-plugins
Hello Stan,
Hope you are well !

Try this - https://github.com/rollno748/Jmeter-local-plugins-manager/releases/tag/2.0

And set jpgc.repo.address to the http://<hostname>:<port>/<uri-path>/plugins

Hope this might help you 


Reply all
Reply to author
Forward
0 new messages