With "Workbench" selected, right-click to add "HTTP proxy server", such as:
- 2
Configure the HTTP proxy server, the port can use the default 8080, the target controller select "Test plan > Thread Group", such as:
- 3
After completing the above configuration, start the HTTP proxy server, pop up the "Root CA ..." Prompt box and click "OK" to indicate that the HTTP proxy server is starting to work, such as:
END
Configure the mobile network agent
Go to mobile WiFi settings, select a WiFi, long press the WiFi name, in the pop-up prompt box, select "Modify Network", such as:
In the Modify Network page, tick "show advanced options", fill in the Proxy server hostname (the host IP address where the JMeter software resides ) and the proxy server port ( add HTTP proxy server configured port, default 8080), save the configuration, such as:
END
View JMeter recorded mobile app scripts
- 1
The app app on your phone will be recorded by JMeter at this time. Go back to the JMeter main screen and look at the script that was recorded under the thread group, such as:
JMeter link phone to record an app script