Fiddler is an HTTP debugging agent that can record all the HTTP traffic between your computer and the Internet, Fiddler can also allow you to check all HTTP traffic, set breakpoints, and fiddle all "in and out" data (referring to Cookie,html,js, CSS and other files, which can make you arbitrarily modify the meaning). Fiddler is simpler than other network debuggers because it exposes only HTTP traffic and provides a user-friendly format.
The most frustrating thing for a colleague from Android development is a real-life grab bag, and then fiddler can help you solve the problem, and here are the steps I use to use it:
1. Fiddler downloaded and installed on the computer.
2. Open the fiddler software.
3. Turn on Fiddler remote connection,Fiddler main Menu Tools, Fiddler options...-> connections tab, check allowremote computers To connect. As follows:
4. After the remote connection is turned on, restart Fiddler, or the remote configuration you just opened will not be updated
5. The following starts to set up the phone end, get the IP address of the PC , my IP address is:10.100.200.67
6. Open your phone's settings screen:
Note: Make sure that your phone IP can access your computer's IP address before setting it up. (can generally be set to the same network, but be sure to ensure that the IP address can be ping by using the CMD command-line tool)
7. Now it's time to start grabbing the bag: Open the fiddler software:
Generally we use--show only the following hosts: Enter the server address inside. Such as:
HTTP/mobiletest.yuanxin2015.com/landpartnerapi/api/landinfo/updatelandinfoaboutcode
Show only intranet hosts |
Show only intranet hosts |
Show only Internet Hosts |
Show only Internet Hosts |
Show only the following hosts |
Show only the following hosts |
Flag the following hosts |
Flags for the following hosts |
8. If the PC grab the package is better, the general browser Google has grabbed the bag, of course, you can also use the Capture tool, we save the steps to configure IP, directly set the capture server can, of course, do not set, that will intercept any request, the amount of data is larger.
Android phone Fildder Clutch-Monitor application request