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 IP, such 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 "
start "button to start the HTTP proxy server; 8. Start the app that needs to be tested on the phone, and do business operations; This time you can see the thread group caught the request issued by the app 9, the business Operation finished, immediately
stop the" HTTP proxy server "on Jemter, Otherwise, there will be a lot of useless requests in the thread group, 10. Delete unrelated requests in "thread group", 11, Save Jmx Script, 12, add view result tree, 12, replay. Complete structure such as:
"Turn" JMeter Learning (37) JMeter recording mobile app script