While running an internal application using the load runner Controller i was getting the "HttpSendRequest" failed, Windows error code=12002 - Perf Center Error .I solved these by following the below steps:
1.Check Vugen runs script as a process or running vusers asa thread?
1.Check Vugen runs script as a process or running vusers asa thread?
You can check this in Run time settings-General-Miscellaneous-Multithreading then uncheck the value
2.Are you working with WinInet, and the error itself comes from WinInet API not specifically Vugen.We can see in part of the replay errors comes from resources during the replay where they were timed out.
2.Are you working with WinInet, and the error itself comes from WinInet API not specifically Vugen.We can see in part of the replay errors comes from resources during the replay where they were timed out.
If we are forced to use WinInet then this will occur, but if you can use Sockets you may want to try that option instead or a Click and Script protocol.
you can uncheck the WinInet replay instead of sockets (Windows only) in the runtime settings-preferences.This will solve the problem.
3.And the another option is to use web_set_max_retries ("X") to increase the limit of 30 sec.You can place this before the action which is failing but I wouldn't recommend that.
HttpSendRequest time out only occurres when any transaction takes more than 30 sec to connect to server. This default 30 sec time is because of the use of WinInet Replay engine. Thus this error pops up when you are running script with winInet replay and transactions are taking more than 30 sec. Only thing to get rid of this error is to fine tune the whole system and check the backend and servers to see any request que has formed up.
HttpSendRequest time out only occurres when any transaction takes more than 30 sec to connect to server. This default 30 sec time is because of the use of WinInet Replay engine. Thus this error pops up when you are running script with winInet replay and transactions are taking more than 30 sec. Only thing to get rid of this error is to fine tune the whole system and check the backend and servers to see any request que has formed up.
11 comments:
nice post, very informative. Thanks you!
to eliminate this intermittent SSL and “not a socket” errors that occurs when replaying the LoadRunner scenario in the controller.
Modify your script(s) to include the following statements, these statement should be at the beginning of the script(s)
Vusert_int()
// Or
Action()
{
web_set_sockets_option("SSL_VERSION", "3");
web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");
The first line web_set_sockets_option("SSL_VERSION", "3"); forces the SSL connection to use SSL version 3 instead of letting the server suggest a version during the connection handshake.
The second line web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1"); forces a single TCP connection to stay live between the Load Generator to the AUT servers. Ending the possibility of errors when LoadRunner sends data across that connection, if the server try to prematurely shutting down an existing connection
I have to use WinInet replay to pass the windows authentication(if not script will fail at authentication only) and I tried by unchecking the Run time settings-General-Miscellaneous-Multithreading. I request got response for the first time but after that the same has been repeated .Can any one provide solution on this???
When tried in wininiet getting '"HttpSendRequest" failed' error. If i unchecked wininet i am getting 'the server xxx has shut down the connection prematurely'
Really very informative and creative contents. This concept is a good way to enhance the knowledge.thanks for sharing.
please keep it up.
ERP SAP Training in Gurgaon
Thanks for posting such amazing post. Well explained. Keep sharing
Loadrunner Training in Delhi
Very valuable info about the code error. If you looking for angularjs training in gurgaon wiht job placement support.
angularjs training in gurgaon wiht job placement support
This article very helpful at all
Windows 10 Update Error Code 0x8024a105 – Fixed
I am getting 500 error after detecting proxy on be half of application URL launch app request but same code working in another script by redirecting the URL can u help me to slove
Thanks for sharing wonderful article, i always love to read this type of content in digital space
best python training in noida
best machine learning training in noida
best java training in noida
best mean stack training in noida
best php training in noida
best web designing training in noida
best plc scada training in noida
Post a Comment