Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Learning summary of bag grabbing tool Charles

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report