Highlighted
Absent Member.
Absent Member.
2185 views

Unable to replay HTTP/HTML protocol.

Jump to solution

Hi,

Im using WinlNet replay and facing an error 'Error -27492: "HttpSendRequest" failed, Windows error code=12007 (server name not resolved) and retry limit (0) exceeded for URL'.

Application can be accessed manually through browser and the above error occurs during replay in VuGen.Tried with more rety limit,Still the same issue.

Appreciate your help!

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.
Super Contributor.

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Does the server name actually resolv?

Is your browser, the one you check with outside LoadRunner, able to resolv the hostname itself or does it rely on other services, maybe some proxy server? Can you replay your script if your change the servername in the script - so to an IPv4 address (like 123.234.34.45)? If you add the name used in the script to your Vugen or Loadgenerator machines "hosts" file?

View solution in original post

5 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Hi,

Can you try with WinSocket ? Is it the same ?

Regards

mB

Highlighted
Absent Member.
Absent Member.

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Yes..i recorded using Socket and WinlNet and replayed with WinlNet with 'use custom proxy',The following error occured

Error -26610: HTTP Status-Code=502 (notresolvable) for "https://greg684.e1.app.aexp.com/REG/search_init.do?pageAction=initialize"

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Does the server name actually resolv?

Is your browser, the one you check with outside LoadRunner, able to resolv the hostname itself or does it rely on other services, maybe some proxy server? Can you replay your script if your change the servername in the script - so to an IPv4 address (like 123.234.34.45)? If you add the name used in the script to your Vugen or Loadgenerator machines "hosts" file?

View solution in original post

Highlighted
Absent Member.
Absent Member.

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Server name was resolved manually.Added the URL in the 'Exception' list under proxy settings and checked 'Use proxy server' option.The script ran successfully in Vugen.

Thanks for the guidance!!

0 Likes
Highlighted
Respected Contributor.
Respected Contributor.

Re: Unable to replay HTTP/HTML protocol.

Jump to solution

Hi,

I also got  below error during script execution.

"Error -27492: "HttpSendRequest" failed, Windows error code=12007 (server name not resolved) and retry limit (0) exceeded for URL="

Then I did changes in  RunTime settings under Proxy. Previously "No Proxy" was selected then I selected "Use default browser's proxy settingsand it worked.

Thanks.

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.