Use Fiddler to grab a bag for Android apps

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.