I have network handling code in my app (using NSURLConnection/NSURLRequest) and I would like to test how its behaving when the timeout for the connection expires before its received a response.
Any there any techniques/tools for simulating this on the simulator and device?
(NSURLRequest apparently does not allow a very short time out to be set, i.e. one second, but I have yet to check if this is indeed the case)