How to simulate a network loss issue while Testing?



  • I am working on mobile applications. As we know every user shall have experienced network loss issues due to various reasons while using an app. Now my requirement is that how shall I guarantee an app that I have tested survive a network loss. In other words how shall I create that situation of network issues to handle the same.



  • Here's a few ideas I can think of: Can you connect the device via wi-fi and then kill the network? If you have access to the web server, can you turn it off from the other end so the app on the device doesn't get responses for a while, then turn it back on? Can you change the phone settings to use airplane mode?



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2