I'm testing an iPad application that requires an Internet connection. I'd want to simulate a situation when the connection isn't stable and can be suddenly lossed. If it's possible I'd want to control this process and "hit a button" that will abort the connection for a couple of seconds. I'd want to abort/resume connection quickly to test that app will resume it in case of connection abort.
How can I simulate non-stable Internet connection?
I know that it's possible to just turn Wi-Fi off on iPad but will it be the same for application as abortness of connection because of other reasons?