1.fiddler settings
Find Tools→tiddler options→ tick allow remote computers to connect
2. Set up the phone agent
① get the ip:ipconfig of the computer
② Click connected WiFi details → and set the phone agent to manual, proxy to the corresponding host
This will allow you to start catching the HTTP request package on your mobile app: Here's a request and return when you open a shopping mall.
It is recommended to grab the package in the following cases:
1. The client does not display the data, cannot determine whether the client did not send the request, or the server did not return data
2. Client display content error, unable to determine whether the client sent the request error, or the service side returned data error
3. When the interface document is missing, the client interface can be recorded by grasping the packet
Some apps request HTTPS, you need the phone installation certificate, fiddler can catch the corresponding HTTPS request.
Install certificate step: In the browser address bar input: IP: Port number, such as: 192.168.3.197:8888 open the corresponding page according to the prompts to install the certificate can be
If you still cannot catch https, you can try restarting the Fiddler solution.
Note: Many students who use fiddler for the first time often encounter fiddler close, the browser on the computer and the mobile phone are not able to access the network, and appear similar screen
At this point, either you are driving fiddler, or you are doing the following:
Method 1: Turn off the Computer browser agent: Settings → advanced settings → change proxy settings → LAN settings → uncheck Proxy server
Method 2: Close the agent in Fiddler: tools→wininet options→ change proxy settings → LAN settings → uncheck Proxy server
Method 3: Turn off the phone agent
This essay mainly introduces some minor problems needing attention in using Fiddler agent to grab the packet on the mobile phone.
Use Fiddler to grab a bag for Android apps