502 Proxy Error during the Execution in LoadRunner (1181 Views)
Reply
Occasional Visitor
Saranmai
Posts: 1
Registered: ‎12-27-2012
Message 1 of 4 (1,181 Views)

502 Proxy Error during the Execution in LoadRunner

Hi all,

We are working on a project which is a web application. We are facing issue during execution. The error message is displayed as below.

Error -26610: HTTP Status-Code=502 (Proxy Error) for "_https://url"

 

We are getting this error at the end of the execution irrespective of number of users. We had tried the following options.

1. With proxy and without proxy in runtime settings.

2. Inserted web_cache_cleanup() function

3. Tried with both the versions of Load runner (9.5 and 11.0).

4. Tried with different Load generators

5. Run Vuser as a Process and thread.

6. Checked the IP spoofing.

 

Please suggest on this,if faced the similar issue.

 

Attached the snapshot of the error got during  the test.

 

Thanks,

Saranmai

Honored Contributor
shiv_p
Posts: 2,860
Registered: ‎04-23-2008
Message 2 of 4 (1,173 Views)

Re: 502 Proxy Error during the Execution in LoadRunner

is it http or https application?

 

 

add this and try:

 web_set_sockets_option("PROXY_INITIAL_BASIC_AUTH","0");

Honored Contributor
shiv_p
Posts: 2,860
Registered: ‎04-23-2008
Message 3 of 4 (1,171 Views)

Re: 502 Proxy Error during the Execution in LoadRunner

I see it as proxy issue.

try this as well:

Make sure that the correct domain/username/password is set in the Proxy Run-Time Settings. Here are the steps to do this:

In VuGen go to the Vuser -> Run-Time Settings
Go to the Internet Protocol -> Proxy tab
Set the way LoadRunner should pick up the proxy information. Available options are
Obtain the proxy settings from the default browser
Use a custom proxy
Use automatic script configuration
Click on the Authentication tab
Type in the username/password to be used with the proxy. If you need a domain user, type "DomainUsername" in the username field

Run the script, the error should not occur
Valued Contributor
Ajay_U
Posts: 108
Registered: ‎04-30-2012
Message 4 of 4 (1,167 Views)

Re: 502 Proxy Error during the Execution in LoadRunner

have you observed atleast a single passed full iteration in controller?, which would give us a confidence that it's not a issue from the scripting side/controller

Regards, Aj

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.