Advertise with us

Need to test an ajax timeout condition

Posted by  marcel ethan
 2875  View(s)
Rate this:

Hi MindStickians!

As the title mentions, I have a timeout callback handler on an Ajax call, and I want to be able to test that condition but nothing is coming to mind

immediately on ways I can force my application to hit that state, any suggestions?

Thanks in advance 

  1. Re: Need to test an ajax timeout condition

    Hi Marcel!

    If you want to have the server-side code take a long time and you are using .NET, place below line od code in the method you call server-side: