Fiddler setting filter for Fiddler packet capture tool

fiddler set filter

The basic filtering operation process takes Baidu as an example

step:

1. Click Filters on the right advanced toolbar, check Use Filters, select Show only Internet Hosts and Show only the following Hosts, and enter the host address in the text box

2. Click "Changes not yet saved" and then click "Actions" Run Filterset now (execute)

3. Open the Baidu website, and check that only the Baidu interface is displayed in the session bar of fiddler

Only capture Baidu's request settings; as shown below:

1. Set use Fiters to enable

If use Filters is not checked, this function is not enabled; if use Filters is checked, this function is enabled

2. Action settings

Run Filterset now: Immediately execute the filter, and the filter will take effect immediately

Load Filterset: Load local filter files to fiddler

Save Filterset: Save fiddler filter conditions locally

3. Hosts filtering

-No Zone Filter: Do not set filtering; specify to display only the content of the intranet (Intranet) or the Internet (Internet);

  Show only Intranet Hosts: Specify to display only the content of the intranet (Intranet)

  Show only Internet Hosts: Specify to display only Internet (Internet) content

- No Host Filter: Do not filter
Hide the following Hosts: Hide related host requests in the text box

Show only the following Hosts: Display related host requests in the text box (multiple separated by semicolons)

Flag the following Hosts : mark (highlight) the host request in the text box

Enter multiple HOSTs, separated by commas or carriage returns;

Support wildcards: *, baidu.com;

Steps: select Hosts ---> input filter conditions single condition (rm.api.weibo.com) or multiple conditions (rm.api.weibo.com, www.weibo.com) or wildcard (*.weibo.com) - -->Changes not yet saved--->Select Run Filterset now in Actions;

Four, Client Process filtering

Client process filtering rules:

  Show only traffic from: You can specify which Windows process to capture only;

  Show only Internet Explorer traffic: only display requests sent by IE;

  Hide Windows RSS platform traffic: Hide requests from the Windows RSS platform;

Five, Request Headers filtering

Request header filtering rules:

  Often used: Show only if URL contains;

  Show only if URL contains only shows the Sessions whose URL contains the content in the input box. Regular expressions are supported. If you want to clarify the case, you can EXACT:xxx

  Hide if URL contains Hide the Sessions that contain the content of the input box in the URL

  Flag requests with headers: flag requests with specific headers;

  Delete request headers: Delete request headers;

  Set request header sets the header of the request;

6. Breakpoints

Breakpoint setting rules:

  Break request on HTTP POST: set a breakpoint for all POST requests;

  Break request on HTTP GET with QueryString: Set a breakpoint for all GET requests with parameters;

  Break response on Content-Type: Set a breakpoint for a specific Content-Type;

Seven, Response Status Code filtering

Response HTTP status filter rule:

  Hide success(202,204,206): Hide the successful session(202,204,206);

  Hide Authentication demands(401): Hide unauthorized rejected sessions(401);

  Hide redirects(300,301,302,303,307): Hide redirected session(300,301,302,303,307);

  Hide Not Modified (304): Hide unmodified session (304);

八、Response Type and Size

Response type and size filter rules:

  Show all Content-Type: display all response types;

  Hide smaller than? KB: Hide sessions smaller than the specified size;

  Hide larger than? KB: hide sessions larger than the specified size;

  Time HeatMap: Get instant data (Green shading means response time is within 50 ms; response entries over 50 ms but within 300 ms have no color; response times between 300 and 500 ms are colored yellow; over 500 ms are shown in red shading);

  Block script files: block script files, displayed as 404;

  Block image files: block image files;

  Block SWF files: Block SWF files;

  Block CSS files: block CSS files;

九、Response Headers

Response header filtering rules:

  Flag response that set cookies: the flag will set the cookie response;

  Flag response with headers: mark a response with a specific header;

  Delete response headers: delete response headers;

  Set response header: set the response header;

10. Session list: right click

Practical case

Optical theory is useless, you have to learn to follow along, and you have to do it yourself, so that you can apply what you have learned to practice. At this time, you can learn from some actual combat cases.

If it is helpful to you, please like and collect it to give the author an encouragement. It is also convenient for you to quickly find it next time.

If you don’t understand, please consult the small card below. The blogger also hopes to learn and progress with like-minded testers

At the right age, choose the right position, and try to give full play to your own advantages.

My road of automated test development is inseparable from the plan of each stage along the way, because I like planning and summarizing,

Test and develop video tutorials, study notes and receive portals! ! !

Guess you like

Origin blog.csdn.net/Liuyanan990830/article/details/130994599