How does Fiddler capture mobile APP data packets?

Source: Internet
Author: User

How does Fiddler capture mobile APP data packets?

Fiddler, a must-have for all software developers! This tool not only captures data packets during web development on PCs, but also captures mobile terminals (Android, Iphone, WindowPhone, etc ).

Step 1: Download the Fiddler. Download link:

Http://w.x.baidu.com/alading/anquan_soft_down_ub/10963

After the download is complete, install it in a silly way!

Step 2: set Fiddler

Open Fiddler, Tools-> Fiddler Options (remember to restart Fiddler after configuration)
Select "Decrpt HTTPS traffic", and Fiddler can intercept HTTPS requests.
Select "Allow remote computers to connect" to Allow other machines to send HTTP/HTTPS requests to Fiddler.

Remember that the port number is 8888.

Step 3: Set the Android mobile phone

First, obtain the IP address of the PC. Enter ipconfig in the command line to obtain the IP address.

Okay, now I get the IP address and port number.

The following describes how to configure proxy settings for Android phones.

Make sure that the mobile phone and PC are connected to the same LAN.

Choose settings on the phone and click Enter WLAN settings. Then, select the connected wireless network and press the displayed dialog box ::

Set the proxy to manual, enter the obtained IP address and port number, and click Save. In this way, our cell phone is successfully set.

Step 4: Download the Fiddler Security Certificate

Open http: // 192.168.1.96: 8888 In the Android browser, click "FiddlerRoot certificate", and then install the certificate ,:

Now we have set all the values. Let's test it and open the super course list APP on the mobile phone.

In this way, the Android mobile terminal data packet is successfully captured. This is of great help for debugging network data requests. We can use this method to determine whether the request network is successful!

Articles you may be interested in:
  • Python crawlers capture data transmitted by mobile apps

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.