
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Krunal
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for the Reply.
Finally i came to conclusion 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.
Another option is to use web_set_max_retries ("X") to increase the limit of 30 sec. I wouldn't recommend that.
Thanks,
Krunal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Vugen runs script as a process, are you running your vusers as process or thread?
Regards,
Mario
If you are customer you can try posting on our internal forums for more personalized support.
LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum
Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer
How to:
http://www.youtube.com/watch?v=4ChlysWupWM
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I selected to run the vuser as a process in RTS.
Thanks,
Krunal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Did that fix the issue? If so please mark this thread as solved.
If you are customer you can try posting on our internal forums for more personalized support.
LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum
Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer
How to:
http://www.youtube.com/watch?v=4ChlysWupWM
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thabjs for the suggestion but I already did that before you suggested. Unfortunately even with that it gives me same error.
After doing some research on this error i came to know that this error has to do something with the WinInet replay. Some Requests are not going to server and they get time out (windows code = 12002) before they reach to server.
Thanks,
Krunal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If aybody has any kind of suggestions, they are welcome. I want to know the root cause of this error.
Thanks,
Krunal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Krunal,
As you mentioned this is particular to working with WinInet, and the error itself comes from WinInet API not specifically Vugen.
You can see in part of the replay you posted the errors come from resources during the replay where they timed out.
If you 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.
Regards,
Mario
If you are customer you can try posting on our internal forums for more personalized support.
LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum
Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer
How to:
http://www.youtube.com/watch?v=4ChlysWupWM
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for the Reply.
Finally i came to conclusion 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.
Another option is to use web_set_max_retries ("X") to increase the limit of 30 sec. I wouldn't recommend that.
Thanks,
Krunal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Me too faced the same issue, what Krunal suggesting is the reason.
I am able to resolve the issue using the below steps,
1. Disable "Use WinInet replay instead of Sockets (Windows only)" option from RTS - Internet Protocol - Preferences - Advanced
2. Set the SSL version using the below function in your script
web_set_sockets_option("SSL_VERSION", "TLS1.2");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
I am also getting the same error - "HttpSendRequest" failed, Windows error code=12002 while replaying in Winlet mode
- Since Socket option is not recprding , need to use Winlet
- finetunning the sever to have response time < 30 sec is not possible as of now
- web_set_max_retrioes("X"), also may not serve the purpose as just retries. If server response remains > 30 sec , it would keep on failing.
Could anyone suggest how to configure the script / winlet mode to wait for more than 30 sec pls ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Sivapctech,
could you pls elaborate on this..
I have recorded the script using winlet mode so can i still disable the "Use WinInet replay instead of Sockets (Windows only)" option and replay the script using web_set_sockets_option("SSL_VERSION", "TLS1.2"); ?
Thanks in anticipation!!


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks Siva .. It works...