Usage of fiddler packet capture tool and capturing mobile phone messages to locate bugs

Preface: The fiddler packet capture tool is a bug location tool commonly used in daily testing

1. Grab https message steps

Instructions:

First open the fiddler tool to export the certificate

Click TOOLS------Options------Https-----Actions---select the second option 

2   After exporting the certificate to the desktop, open Google Chrome Settings --- Advanced --- Manage Certificates --- Trusted Certificate Authority to import the certificate and close the browser

3   Open fidder again and click: TOOLS------Options------Https Check all (select from all processes in the first selection)

close fidder

4   Open the browser and fiddler, the browser can browse the webpage to grab https

Two methods of grabbing mobile APP messages and locating bugs

First send the above exported certificate to the mobile phone and install the sent certificate

Open the ip address of the computer's WiFi

Turn on the WiFi setting function of the mobile phone to set the proxy, and it will be automatically set as a manual proxy. Enter the port number and ip address (host name) of fidder

   

After the setting is completed, open the APP that needs to be tested on the mobile phone, and then open the fidder software, and you can see some request information of the app on the interface

Note: The interpretation of some flags is as follows:

View the request data and response data

View request parameters and return data (interface)

 

Three filter specific URL

Click Filters---use filters----the second choice at the beginning of show omly----enter the URL to be filtered

 

Four use fidder debugging interface

1 Click compose ----- drag the interface URL to be debugged ----- modify parameters ----- click Execute (run)

Finally, click on this message to view its request data and response data

 

Five view interface response time

 

Guess you like

Origin blog.csdn.net/MXB1220/article/details/132260847