How to capture the mobile phone APP

  • scenes to be used
  • Program and its use
    • The first step: Fiddler grab the phone App HTTP protocol request data
      • First, ensure that the phone and the same network as the host for the Fiddler
      • Fiddler turn on the remote device connection (confirmation Fiddler proxy host IP and port number)
      • End mobile phones to set up the network proxy Fiddler host (set Fiddler proxy host IP address and port number)
      • Authentication: Access Chi Chuan official website ( http://www.itcast.cn )
    • The first step: Fiddler grab the phone App HTTP protocol request data
      • First, ensure that the phone and Fiddler on the same network as the host, and can crawl HTTP protocol
      • Fiddler turned crawl HTTPS protocol
      • Mobile terminal offload configuration certificate
      • Authentication: Access learned valley official website ( https://www.boxuegu.com/ )
  • to sum up

scenes to be used

During the phone App application testing or debugging, often need to check the client-to-server data exchange between is correct, and may order to construct some fake data, special scene, often need to capture the operation of the mobile phone App application.

Program and its use

Use the packet capture tool is a common tool Fiddler (HTTP protocol debugging proxy tool), able to capture and analyze common operation
in which the operation involved, there are about two steps:

  1. Fiddler gripping phone App HTTP protocol request data
    (1) .Fiddler remote connection opening
    (2). Configuration Request Broker mobile terminal
  2. App gripping phone Fidder HTTPS protocol request data
    (1) .Fiddler open gripping HTTPS
    (2). Configured mobile terminal certificate (certificate cleared)

The first step: Fiddler grab the phone App HTTP protocol request data

Briefly describe the implementation process, and then refer to the crawling processes to achieve:

  • First, ensure that the phone and the same network as the host for the Fiddler
  • Fiddler turn on the remote device connection (confirmation Fiddler proxy host IP and port number)
  • End mobile phones to set up the network proxy Fiddler host (set Fiddler proxy host IP address and port number)
  • Authentication: Access Chi Chuan official website ( http://www.itcast.cn )
  1. First, ensure that the phone and the same network as the host Fiddler
    Fiddler host IP address:
    Here Insert Picture Description
    Phone IP address:
    Here Insert Picture Description
  2. Fiddler turn on the remote device connection (confirmation Fiddler proxy host IP and port number)
    into the Tools-> Options-> Connections-> Check Allow remote computers to connect
    default listening port number 8888 ()
    Here Insert Picture Description
  3. End mobile phones to set up the network proxy Fiddler host (set Fiddler proxy host IP address and port number)
    selected wireless network connection name corresponding long press -> Edit Network -> Advanced Options -> Manual proxy - Fill in the proxy IP address and port - Save
    Here Insert Picture Description
  4. Authentication: Access Chi Chuan official website ( http://www.itcast.cn )
    to access the HTTP protocol network address
    Here Insert Picture Description

Step two: Fidder grab the phone App HTTPS protocol request data

Briefly describe the implementation process, and then refer to the crawling processes to achieve:

  • First, ensure that the phone and Fiddler on the same network as the host, and can crawl HTTP protocol
  • Fiddler turned crawl HTTPS protocol
  • Mobile terminal offload configuration certificate
  • Authentication: Access learned valley official website ( https://www.boxuegu.com/ )
  1. First, ensure that the phone and Fiddler on the same network as the host, and can crawl HTTP protocol
    reference crawl HTTP protocol first step towards the realization of the operation
  2. Fiddler turned crawl HTTPS protocol
    into the Tools-> Options-> HTTPS-> Check Capture HTTPS CONNECTS-> Check the Decrypt HTTPS traffic -> Check the Ignore server certificate errors
    Here Insert Picture Description
  3. Mobile terminal offload configuration certificate
    Here Insert Picture Description
  4. Access learned valley official website (: Verify https://www.boxuegu.com/ )
    network address to access the HTTPS protocol
    Here Insert Picture Description

to sum up

With Fiddler capture tool, grab the phone App is mainly to solve the problem analysis application requesting the appropriate information on the different ends

  1. Operating -FIddler host with the phone's unique needs special attention at the same network segment

Guess you like

Origin blog.csdn.net/yanyihan16/article/details/90642819