Fiddler is a Web page data analysis, crawling tools, which integrates the powerful features of the Web page, but also can be set up, so that its data on the phone can also be crawled
The principle of Fiddler is:
By creating a proxy server between the client and the server to monitor the interaction between HTTP, the default monitoring port is 8888, and the proxy server address is: 127.0.0.1
As shown in the following:
Open the Fiddler page as follows:
1: Add notes for the specified HTTP protocol
2. Replay the specified HTTP protocol for testing the returned status of the modified data
3, clear the specified request, can be a picture and other formats, you can also clear all
4, this instruction is used for debugging use, the usage is as follows
Select the HTTP protocol, set 16 to, that is, the HTTP protocol sent out to set breakpoints, after the breakpoint is set, the subsequent request will not run, to click the Go button will not continue to run
5. Buffer mode VS Stream mode:
Buffering Mode: The content is first cached by the fiddler and returned to the client.
Streaming Mode:fiddler receives the content and forwards it to the client immediately.
6, the decoding function of HTTP
7. Set the number of sessions to be saved, the more memory you consume
8. Specify the source of the data you want to listen to
9. Find the specified content
10, save the current content
11. Screen and Timer
12. Open the specified browser
13. Clear the browser's cache
14. Command Line Input
Help get instructions for all the command lines
Select Image selects all the pictures
Select HTML selects all the Web page files
Select JavaScript selects all JavaScript files
15, choose the type of monitoring, this is different from 8
For example, if you open two browsers at the same time, 8 can specify that only one of the browsers is monitored, but 15 cannot, because two browsers are of the same type and are browser
16. Set the type of breakpoint
17. Get the number of records
1, for viewing the HTTP protocol corresponding time, mainly through this tool for performance optimization
2, the user to view the HTTP request sent content, and the corresponding content
3. Used to redirect HTTP requests to the specified return type
4. Forgery of HTTP request content
5, this is a fiddler control, used to control HTTP through scripting, using the JScript language
6. log files
7, filter the specified content
8. Performance test tools, similar to Chrome tools
Basic functions of the Fiddler tool