Essential for functional testing: the use of the Charles filter of the packet capture tool

When reading this article, you can first look at the last article I posted

Essential for functional testing: Charles, the packet capture tool, introduces installation and specific case capture analysis - Programmer Sought

During the packet capture process, after enabling Charles, there will be a lot of packets as shown in the figure below, and you cannot focus on the packets you need. In this case, you need to use a filter.

 

If you only want to grab the specified address www.isTester.com/mp, follow the 4 steps below:

1. Select Proxy -> Recording Settings

 

2. Click Include -> Add

Included filters and excluded filters can be selected, and it is usually sufficient to select Include.

 

3. Add Protocol and Host to the edit page

 

ps: If the settings do not take effect, just restart the software.

4. Click to refresh the browser

You can see that the message in Charles is the address we specified.

 

 

 

Here you can verify again, open the Baidu address, refresh the Baidu page, and find that Charles did not grab the Baidu message.

 

The above is the content of today. I hope it will be helpful to you. If you have any questions, please leave a message~

Guess you like

Origin blog.csdn.net/qq_60168783/article/details/123997712