Highlighted
Micro Focus Expert
Micro Focus Expert
643 views

(PC) Support tip: In PC 12.53P4, replay throws error HTTP Status Code=407

Problem:

In PC 12.53P4,web scripts that require to go through a proxy using PAC file throws proxy authentication failures when using remote load generators. So the test keeps throwing errors like:

Error - 27772: Server "proxy4.bro.glic.com" has shut connection during attempt to negotiate SSL Session
Error - 26624: HTTP Status Code=407 [Proxy Authentication required] for "AUT url"

Solution:

We see this problem when someone tries to edit the proxy settings (like username/password fields) in the runtime settings section at the loadtest level. PC has a known limitation where the password does not get encrypted and gets sent in clear text when the loadtest RTS is edited. If the changes are made directly at the VuGen level before saving the script into PC, this should not be an issue

To get around the problem, apply the attached hotfix on all the PC Servers. Here are steps for applying the patch:

To Install:
1) Stop DataCollectionAgent service on the PC Server (since it uses HP.PC.Common.dll).
2) Copy the attached unzipped directory to the PC server installation folder. It should copy the files accordingly:
under <PC>\bin folder:
HP.PC.Common.dll
lwcryptonet.dll


Under <PC>\PCS\bin folder:
HP.PC.Common.dll
lwcryptonet.dll


Under <PC>\PCWEB\bin folder:
HP.PC.Common.dll
lwcryptonet.dll
HP.PC.RTS.dll
HP.PC.Web.UI.UserSite.dll

After this fix, the script should run fine from PC without any proxy failures

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
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.