iOS and Android weak web environment test

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.