Tuesday, 16 February 2016

"HttpSendRequest" failed, Windows error code=12002 - Perf Center Error_load runner error

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?
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.
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.

3 comments:

  1. Thanks for sharing such informative article on Loadrunner Automation testing tool. This load testing tool will provide most precise information about the quality of software.Loadrunner Training in Chennai | Best Loadrunner training institute in Chennai

    ReplyDelete
  2. I use Performance Center for test execution and I face this error during the test execution.
    The script is running users as a thread and in Socket Level.
    Could you please help me in this issue?

    ReplyDelete
  3. Complete Reference On Loadrunner          Contact For Training - +91-8050148265: "Httpsendrequest" Failed, Windows Error Code=12002 - Perf Center Error_Load Runner Error >>>>> Download Now

    >>>>> Download Full

    Complete Reference On Loadrunner          Contact For Training - +91-8050148265: "Httpsendrequest" Failed, Windows Error Code=12002 - Perf Center Error_Load Runner Error >>>>> Download LINK

    >>>>> Download Now

    Complete Reference On Loadrunner          Contact For Training - +91-8050148265: "Httpsendrequest" Failed, Windows Error Code=12002 - Perf Center Error_Load Runner Error >>>>> Download Full

    >>>>> Download LINK 1z

    ReplyDelete