When developing mobile systems such as iOS and Android, the wifi environment is comfortable in development environments, which often overlooks abnormal system tests that can occur in real-world environments, such as slow 3G line environments and background interference from other apps.
What kind of techniques do these tests generally use?
Ideally,
It's a method.Please let me know.
android ios
The methods I know are as follows.
Use the Network Link Conditioner
that shipped with the Hardware IO Tools
.It comes with a set of communication states, such as cable modems and 3G with packet loss.It is also useful to set the packet loss rate.
It seems that XCode
is no longer included recently.Mac only is a bottleneck.
You can specify the bandwidth limit for the -netspeed
parameter and the latency width for -netdelay
.It also contains estimates for each communication standard, such as EDGE and HSCSD, but the data contained must be read at the standard level and replaced with the domestic communication standard.
For example, Fiddler2 has the ability to simulate modem lines
.By default, that's the only configuration that exists, and today's 56k modem is too slow, so you need to customize the configuration.
© 2024 OneMinuteCode. All rights reserved.