0
votes

I placed plugin manager in "lib\ext" folder and tried to open it showed error:

java.io.IOException: Repository responded with wrong status code: 407

  • Jmeter version - 3.3
  • Plugin version - 0.16

Jmeter is invoked from command line by using the following parameters:

C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat -H Proxyserver -P 1234 -u princen -a ***

Parameters modified as suggested here

JVM_ARGS="-Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***" C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat

Above try gives the following error message

Windows cannot find "JVM_ARGS="-Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***

When I tried to changes command to the following:

C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat -Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***

I received an error:

java.io.IOException: Repository responded with wrong status code: 407

Can someone please correct parameters required to load the plugin manager?

3
Did you literally wrote *** in password or real password?user7294900
I can't put in a public forum.Enock Prince
What is your plugin manger version? There was an issue reported groups.google.com/forum/m/#!msg/jmeter-plugins/1q4llR4ffew/…user7294900
you specify proxyHost and and proxyPort parameters with https suffix, but proxyUser and proxyPass with http. Those should matchKiril S.
Its not working even after the suggested changes.Enock Prince

3 Answers

0
votes

Ensure you use last version of jmeter-plugins download manager.

Regarding your parameters, you're mixing different configurations, just set (for both http and https):

JVM_ARGS="-Dhttps.proxyHost=myproxy.com -Dhttps.proxyPort=8080 -Dhttps.proxyUser=john -Dhttps.proxyPass=password -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=john -Dhttp.proxyPass=password"

Where password is your real password.

0
votes

None of above methods working for me. Its really tough to work with Java(due to Loadrunner background). I added Ultimate thread alone and its working fine.

Thank you all for your inputs..

0
votes

JMeter is using the official proxy configuration from Oracle (like here: https://memorynotfound.com/configure-http-proxy-settings-java/)

The problem is that the jmeter documentation is wrong about the password parameter: it should be http.proxyPassword not http.proxyPass.

Also you must use the https. properties for secured urls you want to access using the proxy. And the http. properties for non secured.