Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Learning summary of bag grabbing tool Charles

Shulou Source: shulou.com Published: 2022-06-03 04:46:32 09月30日 Update

Recently, due to the need to test App, the function is fine, but there are some problems in network testing. Because the company's App uses https for communication, it grabs the packets directly on the router, and the packets are encrypted and cannot see the contents returned by the interface, which brings great difficulties to the BUG location of the test and affects the work efficiency.

With this problem in the Internet search, found that charles this tool can grab the https package and can see the specific content returned by the server, so according to the online tutorial configuration, successfully solved this problem. But when looking at charles's tutorials, I found that charles has many other functions besides grabbing packages, and the most useful one for me so far is charles's weak net test.

Because in the actual use scenario, the network speed is often slow (for example: subway stations or places where people are concentrated), the weak network environment is not available to me at present, and the weak network environment is also a problem that we ignore. Currently, the scenarios we can cover are when wifi is not enabled, or wifi does not have a public network, and wifi is switched to test.

However, in the Throttle Setting of charles, it is very convenient to set up the network environment, such as uplink and downlink bandwidth, MTU value, delay, packet loss rate and so on. If this piece of testing is introduced, it will greatly improve the user experience of App. Through the introduction of the tutorial, I also found other features of charles, such as rewrite,map,compose,breakpoint. After a simple check, I found that the function of charles is very powerful, but at present, my knowledge of network protocols is still relatively weak. I only know it after reading these contents, but I don't know why. But also opened a door, so that I have a clear learning direction in the network.

Finally, I would like to share with you the address of the course I studied: http://www.itestcat.com/go/study-charles.

Tags: Tests functions tutorials networks questions content that is aspects are in the environment tools learning scenarios work strong big weak difficult do not know why know what it is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Linux Docker NVidia OPPO Reno