Fiddler is an HTTP protocol debugging proxy tool that can record and inspect all HTTP communications between your computer and the Internet.
Fiddler provides computer-side and mobile-side packet capture, including http protocol and https protocol, which can capture and analyze messages; you can set breakpoints for debugging, intercept messages for request replacement and data tampering, and request construction. You can set network packet loss and delay for APP weak network test, etc.
01. Install Fiddler
Official website: https://www.telerik.com/fiddler
Download URL: https://www.telerik.com/download/fiddler-everywhere
Visit the fiddler download website, and select the corresponding version of Windows, macOS, and Linux operating systems to download.
02. Introduction to Fiddler
Fiddler is mainly divided into three modules, the top menu bar, the packet capture panel on the left, and the packet capture data related panel on the right.
Introduction to Fiddler packet capture: use rewritten HTTP proxy to monitor and intercept data. Fiddler is very smart. When the user opens Fiddler, the proxy of the browser has been set up. The proxy address is 127.0.0.1 port 8888. When the user closes Fiddler, the restore agent will be automatically cleared, which is very considerate.
Fiddler has a packet capture switch, File –> Capture Traffic, which is displayed in the lower left corner after it is turned on, or you can directly click the icon in the lower left corner to turn off/on the packet capture function.
03. Fiddler configure HTTPS certificate
Fiddler can directly capture HTTP protocol requests. To capture HTTPS requests, you need to install a Fiddler certificate.
Specific steps:
a. Click Tools——>Options… in the toolbar
b. Switch to the HTTPS tab, check Capture HTTPS CONNECTs, check Decrypt HTTPS traffic
c. Restart Fiddler
04. Description of the fields on the left panel of Fiddler
After the user captures the data packet, it will be displayed in the list on the left, which contains many column names and icons. Next, select a few important explanations.
Left panel column names:
Left panel icons:
Finally: The complete software testing video tutorial below has been organized and uploaded, and friends who need it can get it by themselves【保100%免费】
Software Testing Interview Documentation
We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.