Environment Preparation: 1. Mobile phone 2.wifi3.jmeter
specific steps:1, start jmeter;2, "Test plan" add "thread Group", 3, "Workbench" Add "HTTP proxy Server", 4, configure Proxy server: Global Settings The following port configuration:9988, HTTPS domains configuration:http://10.200.52.88, Target controller configuration: test plan > Thread Group where
Port: Discretionary; IP: computer's IP, as set
5, Mobile WiFi settings agent: "Agent"---select " manual ", "Proxy server hostname"---"10.200.52.88" "Proxy server Port"----"9988" 6, Mobile phone connection just configured Wifi;7, HTTP proxy Server-click the "
Start " button to start the HTTP proxy server, 8, start the mobile phone needs to test the app, for business operations; This time you can see that the thread group caught the request sent by the app 9, Business Operation finished, immediately
stop the "HTTP proxy server" on the Jemter, otherwise, the thread group will have a lot of useless requests, 10, in the "thread group" delete unrelated requests, 11, save the Jmx script, 12, add view results tree; 12, playback. Complete structure such as:
"Original" JMeter Learning (37) JMeter recording mobile app script