Charles Analog mobile App network timeout

Source: Internet
Author: User

Under normal circumstances, the network connection timeout may be due to the following points:

1, the network is disconnected, manually shut down the network connection

2, network congestion, you can not be in the program default wait time to get reply packets.

3, the network is not stable, the network can not complete the delivery of server information.

4, system problems, system resources are too low, can not provide sufficient resources for the program to process server information.

5, network system busy, unable to respond

The above all the situation together is the network has the problem, the app should do how to handle to prompt the user to know the current specific problem arises the reason is what, let the user can make their own decision according to the current situation, the network failure situation processing is often easy to ignore in the test test point, Because it involves the Web request page, we should all go to focus on testing, exclude some pages do not do the appropriate processing, general network problems, will have toast "network connection failed" or jump directly to the network failed page, similar to the following:

  

Therefore, the test can be used to test methods are: 1, manually turn off the data business or WiFi, open the network request again, 2, using Charles in the breakpoints set breakpoints to test. Charles Test steps:

    • Select the request to set timeout, right click, set breakpoints,

  

    • After breakpoints, depending on the steps required for the test, you can see whether the application page has the results we expect, Charles will appear as follows, click Cancel, again the path of the previous breakpoints, deselect it.

  

    • The following list I for the network time-out processing, using xmind finishing problems, including: module, function point/path, Reason (interface), here to add the interface in order to facilitate the development of search problems, the finished Xmind information pasted into the bug management system, the developers will be unified to modify, as follows:

  

   

Charles Analog mobile App network timeout

Related Article

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.