Pre-preparation
Computer installation JMeter; mobile ; wifi;
Operation Steps:
1. Start JMeter
2. Add "thread group" in " Test plan";
3. Add "HTTP proxy server" to " work Station";
4, configure the proxy server: Global settings The following port configuration:9988, HTTPS domains configuration:Http://192.168.1.X
5. Target controller: Test plan-"thread Group"
6, HTTP proxy Server-click the "Start" button to start the HTTP proxy server;
7, the mobile phone configuration wifi-"Modify the network" setting as follows (the following drawings also have this setting)
The agent---Select the Manual ";
"proxy host name"---" 192.168.1.X "
"Proxy Server port"----" 9988 "
8. IE settings
IE option--connect--LAN Settings--check for LAN using Proxy Server-Advanced (http:127.0.0.1; port: 9988) Modify Port
9, the mobile phone connection just configured WiFi; (usually this time even success, the thread group can see caught a lot of requests)
10. Start the app that needs to be tested on the phone, and do business operations; (this time you can see that the thread group caught the request on **p)
11, the business operation is finished, immediately shut down the "HTTP proxy server" on the Jemter (or not always catch the useless package to the thread group);
12, in the "thread group" delete irrelevant requests;
13, save the JMX script;
14. Playback
JMeter Recording App Scripts