Fiddler Introduction: Fiddler is one of the powerful and useful Web debugging tools that can record HTTP and HTTPS requests from clients and servers, allow you to monitor, set breakpoints, and even modify input and output data.
The operating mechanism of the Fiddler is actually the HTTP proxy that listens on the 8888 port on this machine. For PC-side fiddler startup, the default IE proxy is set to 127.0.0.1:8888, and other browsers need to be set manually, so if you need to listen to the PC-side Chrome network request, its agent to 127.0.0.1:8888 can listen to the data, The mobile terminal can complete the HTTP proxy of the whole system according to the following settings.
First step, download fiddler, download Link: [Url=]http://fiddler2.com/get/fiddler[/url]
After the download is complete, install.
Step Two, set fiddler
Open Fiddler,tools,fiddler Options (restart Fiddler after configuration is complete)
Select "Decrpt HTTPS traffic" Fiddler to intercept HTTPS requests
Selecting Allow remote computers to connect allows other machines to send HTTP/HTTPS requests to fiddler.
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/90/09/wKioL1ju6lTxo25KAACBtcbT43c596.jpg-wh_500x0-wm_ 3-wmp_4-s_1118997183.jpg "title=" 1.jpg "alt=" Wkiol1ju6ltxo25kaacbtcbt43c596.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/90/09/wKioL1ju6oexOApXAACUUqxZmsI455.jpg-wh_500x0-wm_ 3-wmp_4-s_4109493736.jpg "title=" 2.jpg "alt=" Wkiol1ju6oexoapxaacuuqxzmsi455.jpg-wh_50 "/>
Port number is: 8888
Step three: Set up Android phones
First get the IP address of the PC, command line input: ipconfig, get IP address
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/90/09/wKioL1ju6zjDNyL2AAA7z7JwALU427.png-wh_500x0-wm_ 3-wmp_4-s_1419925113.png "title=" 3.png "alt=" Wkiol1ju6zjdnyl2aaa7z7jwalu427.png-wh_50 "/>
Proxy settings for Android phones below (Xiaomi 4)
First make sure that the phone and PC are connected in the same LAN, enter the phone's settings, click into the WLAN settings, select the wireless network to connect to, point to the right arrow (some phones are long press the pop-up box),:
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/90/09/wKioL1ju7JKDecQdAABPspkzMtU798.jpg-wh_500x0-wm_ 3-wmp_4-s_3264184429.jpg "title=" 4.jpg "alt=" Wkiol1ju7jkdecqdaabpspkzmtu798.jpg-wh_50 "/>
Agent this line, select Manual.
Select Modify Network configuration:
1, configure the host name, and the host computer IP address to keep consistent;
2, port number: 8888
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/90/0B/wKiom1ju7Wmw-zVDAACD5wwzLp8261.png-wh_500x0-wm_ 3-wmp_4-s_3958882790.png "title=" 5.png "alt=" Wkiom1ju7wmw-zvdaacd5wwzlp8261.png-wh_50 "/>
Click Save and the phone settings are successful.
Fourth step: Open the app you want to test, then open the Fiddler interface on your computer, such as:
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/90/0A/wKioL1ju7caTFMp-AADQlQeCKrw998.jpg-wh_500x0-wm_ 3-wmp_4-s_138541088.jpg "title=" 6.jpg "alt=" Wkiol1ju7catfmp-aadqlqeckrw998.jpg-wh_50 "/>
This makes the Android mobile packet capture successful, which is useful for debugging subsequent network data requests, which can be used to determine if the requested network is successful.
Note: General HTTP requests, do not install the security certificate, if the HTTPS request, after setting up the agent, will not be able to access, this time need to install a security certificate.
Fifth step, download the Fiddler security certificate
Use your phone's browser to open, http://10.224.xx.xx:8888
Click "Fiddlerroot Certificate" to install the certificate. :
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/90/0A/wKioL1ju8JmApLUEAABvqLzAx1A377.jpg-wh_500x0-wm_ 3-wmp_4-s_3968000550.jpg "title=" 7.jpg "alt=" Wkiol1ju8jmaplueaabvqlzax1a377.jpg-wh_50 "/>
Grab the bag to succeed, in addition to grasping the package, but also to learn data analysis ... HTTP protocol!
App Clutch--fiddler Tool