specific steps:1, start jmeter;2, add "thread group" in "Test Plan", 3, "Workbench" Add "HTTP proxy Server", 4, configure Proxy server: Global settings The following port configuration: 8887 (port customization), HTTPS domains Configuration: 192.168.30.239 (native IP), target controller configuration: Test plan > Thread group where, as set
5, enter the mobile network Settings page, set up mobile WiFi agent:
6, the mobile phone connection just configured Wifi;7, HTTP proxy Server-click on 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 the thread group caught the request on 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.
JMeter Recording mobile app script