locked
Time out Error RRS feed

  • Question

  • Hi All,

    I'm currently working on VSTS 2010. The problem is whenever I execute the load test for more than 50 users I am frequently receiving the Time out error in test window. Even we changed the time out values in webserver. Any advice would be greatly appreciated for this time out issue.

    Thanks

    Ram

    Tuesday, December 20, 2011 9:32 AM

Answers

  • Hi Jayam,

    I think there is some confusion. You should verify in the failed test that the failed request is timing out after actual duration 600 secs, which is set in time out property

    or

    is it timing out before 600 secs when executed. i.e the actual time after which the request is timing out. If it is timing out before 600 secs (and the time out property is set to 600), it is not the request time out due to this property but the server is not able to respond.


    -Tejas.
    Tuesday, December 20, 2011 1:10 PM

All replies

  • Jayam,

    Assuming that you are using web test as input to load test, try changing the WebTestRequest.Timeout property of the web request which is failing.

                            


    -Tejas.
    • Edited by TejasJ Tuesday, December 20, 2011 10:05 AM
    Tuesday, December 20, 2011 10:00 AM
  • Hi Tejas,

          Thanks for your reply. And i have some query how much seconds we can change for the particular request because I already changed to 600 seconds and executed the load test after that also I am facing the same time out error.

    Thanks,

    Ram

     

    Tuesday, December 20, 2011 10:11 AM
  • Have you verified that the request is timing out after 600 seconds? If yes, then you can increase the time out property. You can set the time out value to something that is acceptable in your performace criteria.

    If the request time out is occuring before 600 secs, it can be server side issue.


    -Tejas.
    Tuesday, December 20, 2011 10:25 AM
  • Yes after increasing 600 seconds also the time out occurs but I changed my server side for maximum of more than one hour. Is there any setting apart from the property time out  request in VSTS?

    Thanks,

    Ram

    Tuesday, December 20, 2011 10:55 AM
  • You will have to check on when is the time out occuring. Is it at 600 secs or before that?
    -Tejas.
    Tuesday, December 20, 2011 11:40 AM
  • Hi Tejas,

             For my scenario the time out occurs before and after change the time out value 600 seconds. But the users got passed even though the time out errors occurred in the load test. Is there any way to overcome this time out issue?

    Thanks,

    Ram


    Tuesday, December 20, 2011 12:16 PM
  • Hi Jayam,

    I think there is some confusion. You should verify in the failed test that the failed request is timing out after actual duration 600 secs, which is set in time out property

    or

    is it timing out before 600 secs when executed. i.e the actual time after which the request is timing out. If it is timing out before 600 secs (and the time out property is set to 600), it is not the request time out due to this property but the server is not able to respond.


    -Tejas.
    Tuesday, December 20, 2011 1:10 PM
  • Hi TejasJ,
    Thank you for your friendly assistance.
    Hi jayam1,
    Thank you for posting in the MSDN forum.
    Would you mind letting us know more information?
    Whether your individual requests are getting timed out or the test is getting timed out?

    As TejasJ’s opinion, if it is generated by individual requests, you should check how long the requests get the response from the server side.
    If it is generated by the test, you should change the timeout in the test setting to check it. For detailed steps and information, see Rubel’s suggestions in the following threads:
    http://social.msdn.microsoft.com/Forums/ar/vstswebtest/thread/247c19e2-f47d-4390-bee0-66d50863667a.
    http://social.msdn.microsoft.com/Forums/en-US/vstswebtest/thread/fb6e8848-cff3-4ad5-bac7-1b16d69bb9da

    If there's any concern, please feel free to let us know.

    Thanks,

     


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us
    Wednesday, December 21, 2011 7:54 AM
    Moderator
  • Hi Tejas and jack,

    Thanks Tejas and jack for your great solutions.

    For my case time out occurs while executing the load test with particular request in different scenarios.  I will check with jack suggestions and get back to you with my results.  

    Thanks,

    Ram

     

    Wednesday, December 21, 2011 12:15 PM
  • Hi Ram,

    I am writing to check the status of the issue on your side.
    What about this problem now?
    Would you mind letting us know the result of the suggestion?

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us
    Monday, December 26, 2011 3:45 AM
    Moderator