I’d like to increase the time it takes the ajax to return in order to test various animations. By default it takes ~3-5ms. Is there a way to force a delay?
I’m using java.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ll ask the techs to go get you a coffee – if you’re getting response times of 3-5ms, you must be camping out in one of our datacenters!
More seriously, assuming you’re talking about the time taken to return an HTTP response (I’m not sure where the plugin figures in in all this?), simply use Thread.sleep() to pause execution for a while. Don’t use it in production, though, as slow responses will limit your app’s scalability!