If the function of the app is normal use under the weak network environment, will it happen crash and so on?
1.IOS
iOS systems typically have a weak-network environment test, which can be simulated by setting up a variety of network environments, such as 3g,wifi,very bad network or a custom network environment.
The settings on the Apple phone are as follows: Settings > Developer Options >status:on, select the network environment you want to test, and you can test the app in that environment.
The setting parameters under the weak network environment are as follows:
In bandwidth downlink bandwidth
In packet loss packet drop rate
In delay downlink Latency
Out bandwidth Upstream bandwidth
Out packet loss uplink packet loss rate
Out delay Uplink latency
DNS Delay DNS resolution latency
Protocol protocol
Note: Remember to change status to off when the test is complete.
2.Andorid
The Andorid does not have the same settings as the iOS system with its own weak network environment, and we can use the Fiddler's grab kit to help with the settings.
(1) Download the Fiddler tool, the specific download and study tutorial see Fiddler using the Tutorial blog, I will not explain in detail here.
(2) Open the Fiddler tool and select Rules>customize Rules on the toolbar
(3) Ctrl+f Search in an open script file simulate
Locate in the location as shown:
Request-trickle-delay: Delay Time of request
Response-trickle-delay: Response delay time
The default is typically 300 milliseconds and 150 milliseconds, the analog network delay setting is generally modified in these two places, the delay time is modified to the required delay time to test, in this I set for 2500 milliseconds
Then Ctrl+s save, close the script file.
(4) Check rules>performance in the simulate Modem Speeds, you can start to set the network delay in the environment test
iOS and Android weak web environment test