GT-----How to do the Android app traffic test?

Source: Internet
Author: User

1, how to determine the flow of an application is too high?

If you look at the absolute value of the flow can not see the high and low, then look for a few of the same type of product comparison, if the same thing, the test application is much higher than similar products, it is higher, there may be optimized space.

2, how to find an effective optimization point?

The analysis of the different types of packets, according to the proportion of the total flow of packets, and the number of packets ordered, accounted for more, and the number of messages, a large optimization space, a reduction in the number of requests for a large opportunity.

2, the test encountered in the flow problem collation?

(1) non-expected large resources

(2) redundant content

Similar requests are executed at intervals, the content of the request contains some relatively static information, the correct processing is the first time the request contains static information, the same kind of request only contains the necessary instant change information , the error is handled by each request server return static information .

(3) Redundancy request

Sometimes it is found that the application makes multiple same requests within a short period of time, and the results are almost the same, which should be to minimize the number of requests, while keeping an eye on the program logic errors , perhaps the problem does not want to appear as simple as the surface

(4) Useless request

There are requests, and you will find that no one knows what it is, most likely a useless request from a previous version, or a sneak or even spy request from another code package referenced .

(5) A request that can never be answered

If you see a type of request for a permanent connection failure or a failure that returns 404 , it is not a redundant request from history, or a feature that is not noticeable has been invalidated.

(6) Too many failed requests

Have you seen a class or a group of requests, N succeeded in holding m failed?

(7) non-anticipated requests

For example, a common situation, application out of the background, some requests are not necessary , observe their own products, whether in the background really did not send these requests

For an example of traffic, see this link: https://gt.qq.com/docs/a/faq/HowTestNet.pdf

GT-----How to do the Android app traffic test?

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.