Testing Techniques for Slow Line Timeouts in Mobile Development

Asked 2 years ago, Updated 2 years ago, 43 views

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,

  • OS independent
  • Complete with only a terminal

It's a method.Please let me know.

android ios

2022-09-30 16:39

1 Answers

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.


2022-09-30 16:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.