The most detailed in the whole network, Fiddler packet capture practical tutorial - auxiliary interface test (2)


foreword

Fiddler's function panel

A1

Statistics: request performance indicators; worldwide performance tests;
RTP: the time from sending a request to returning;
Show chart can be seen as an example of the chart;

inspectors: unpack the request:
header: request header information. UA, cookie, send request source.
textView: you can see the returned data;
imageview: you can see the returned pictures (if any pictures are returned)
webforms: you can see the information passed by the request;
cookies: the cookie carried by the request;
response header: the header file of the response message

autoresponder: file proxy: You can use fiddler to customize the files returned by the request.
When we have a bug online, we can use the file returned online to make a modification locally to see if the bug is resolved.

Composer: joint debugging of front-end and back-end interfaces: items can be dragged to composer and then simulated execution; forged requests. Do not write js to achieve interaction with the server. Similar to postman.

log : log using fiddler;

filters: The filtering function can help to only display the requests we care about or hide the requests we don't care about.

timeline: website performance analysis, one website request multiple website requests, select to view timeline to view request details.

1. Statistics data statistics panel, performance analysis

A2

Focus: Mainly focus on RTT, which reflects the time from sending a request to returning a response. It
reflects the performance indicators of a request. The main thing to pay attention to is that RTT
will display the average data of requests worldwide
. The show chart button shows which resources are separated from the pie chart. The request takes the most time to optimize the access speed of the page access

2. Inspectors view requests and responses

A3

Headers: View Header
WebForms: View body values ​​and request parameter values ​​in table format
TextView/WebView: View data without formatting
Cookies: View cookie values ​​in header
Raw: View complete message structure
JSON: View data in JSON format (Similar to the format in which Charles displays response data by default)

3. Filters

User FiltersEnabled

A4

Action
Run Filterset now Run filter
Load Filterset Import filter rules
Save Filterset Save filter to local

A5

As shown below:

A6

Filter monitoring sessions, filter and mark sessions, or make some lightweight modifications; fiddler will check the host set in the http header by default, mark or hide some sessions, when you choose to hide, fiddler will still proxy the host of the communication, just will The corresponding session is hidden in the monitoring panel

(Enter the domain name that needs to be marked or filtered in the text box, use ";" semicolon to separate multiple domain names)

Practical application of the filter
Practical application of the filter 1: Filtering only based on the domain name

A7

Practical application of the filter 2: filter according to the domain name, and filter out the image type request

A8

The following is the most complete software test engineer learning knowledge architecture system diagram in 2023 that I compiled

1. From entry to mastery of Python programming

Please add a picture description

2. Interface automation project actual combat

Please add a picture description

3. Actual Combat of Web Automation Project

Please add a picture description

4. Actual Combat of App Automation Project

Please add a picture description

5. Resume of first-tier manufacturers

Please add a picture description

6. Test and develop DevOps system

Please add a picture description

7. Commonly used automated testing tools

Please add a picture description

Eight, JMeter performance test

Please add a picture description

9. Summary (little surprise at the end)

Cherish time, be meticulous and cautious, invest hard for yourself, not afraid of difficulties and obstacles, go forward bravely, adhere to principles, be down-to-earth, ambition determines success or failure, pursue truth and knowledge, establish heroic ambitions, work tirelessly, never give up ambition, where there is a will, there is a way!

Work hard for yourself, not afraid of obstacles. Cherish your time and make use of every second. Pursue dreams and stick to principles. Go forward and don't give up. Youth is sublimated by struggle, and it is meaningful to set off. Break through the adversity and show courage. Work hard to create beauty and become a shining dark horse. Not like stars, but twinkling stars. Work hard to break through the thorns and thorns, revealing the light.

Only with courage and perseverance can we struggle in the face of difficulties, only through struggle can we pursue our dreams, only through persistence can we create brilliance, and only through hard work can we surpass ourselves. Believe in yourself, go forward bravely, the future success will belong to you!

Guess you like

Origin blog.csdn.net/shuang_waiwai/article/details/131556456