1
votes

I have jmeter version 5.2.1. I have recorded a blaze meter script. I opened jmeter from command prompt using the below syntax (jmeter -H proxy -P 80 -u username -a password)

Then on the GUI, I have given the proxy details in HTTPRequestDefault, also at the test level as shown in the screenshot.

But still I keep getting Response code:407 Response message:Proxy Authentication Required

enter image description here

enter image description here

2
Your authentication data might just be wrong? Unfortunately, the 407 status doesn't really distinguish between "no credentials" and "wrong credentials".user7655213
It is my domain credentials, using which I can access internet. SO the credentials are rightJackranda

2 Answers

0
votes

If you're using domain credentials you need to supply another property to let JMeter know about your network domain, in particular http.proxyDomain

So you need to launch JMeter as:

jmeter -Jhttp.proxyDomain=YOUR_DOMAIN_HERE

in order to make change permanent - add the next line to user.properties file (lives in "bin" folder of your JMeter installation)

http.proxyDomain=YOUR_DOMAIN_HERE

More information:

0
votes

Managed to find the issue. I had to change the implementation dropdown to Java

enter image description here