Highlighted
Absent Member.
Absent Member.
243 views

proxies error when running scenario

Hi,

I sometimes get a proxy error i.e. cannot connect to proxy when trying to run my scenario.

I can try multiple times and probably 1 out of 4 times the scenario will run without getting this error.

Can I ask has anyone ever come across this before and is it specific to starting a large amount of users at the same time?

Thanks,
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

Re: proxies error when running scenario

Hi

did you use the web_set_proxy function ?
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: proxies error when running scenario

No I am not using this function - I have the proxy set in the run-times settings.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: proxies error when running scenario

add to your script the function web_set_proxy and web_set_user

they will force the vuser to use always the same proxy.

like:

web_set_proxy("proxy:8080");

web_set_user("domain\user","password"),"proxy:8080");

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: proxies error when running scenario

Thanks - I will add this to all of my scripts and hopefully this will work.

Assume that setting it within the run-time settings should stay as it is?

Thanks
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: proxies error when running scenario

in the RTS make sure that you are not using proxy
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.