0
votes

I need to use jmeter on a working machine without internet access. I installed Apache Jmeter 5.2.1 myself, downloaded plugins-manager.jar and put it into lib / ext directory, then restarted JMeter.

But when I try to go to Jmeter -> Options -> Plugins Manager, I see this error:

enter image description here

2

2 Answers

1
votes

If you need add Plugins(jars) to the system without Internet Connection you have to manually download them on another system with internet connect and then you can move the jars to

Jmeter (Folder) |->Lib (Folder) |->ext (Folder)

Paste the Jars into the ext folder and restart the Jmeter can solve the problem.

1
votes

UnknownHostException means that the Plugins Manager is not able to get the address of the plugins repository.

Most probably your machine doesn't have direct Internet connection and requires a proxy in order to reach to the external hosts.

You need to configure JMeter to use your corporate proxy address, port and in some cases username and password, it can be done in 2 ways:

  1. Via JMeter command-line arguments like:

    jmeter -E https -H my.proxy.server -P 8000 -u username -a password -N localhost
    
  2. Via system.properties file (located in "bin" folder of your JMeter installation):

    http.proxyHost=my.proxy.server
    http.proxyPort=8080
    https.proxyHost=my.proxy.server 
    https.proxyPort=8080
    

JMeter Plugins Manager respects JMeter's proxy settings so given you're able to successfully execute HTTP Request samplers you should be able to download the plugins as well.

References: