Transferred from: http://jingyan.baidu.com/article/359911f566da0d57fe0306d0.html
Use LoadRunner proxy to record phone (IPhone, Android) application HTTP scripts
Tools/Materials
Method/Step
-
Use a laptop card or something like 360-pocket WiFi, share your network on a computer with LoadRunner installed, and connect to shared WiFi on your phone.
-
Configure the mobile WiFi connection HTTP proxy address and port, proxy address (server) for the computer's IP address, Port can write 1-65535, it is recommended to use infrequently used ports, such as: 8899.
-
Open the LoadRunner Script Editor, select the Recording protocol as the HTTP protocol, and set the recording mode for the agent, port to fill the port set on the phone, 1. The figure is set with Loadrunner12, and Loadrunner11 can also be set to the monitoring port on the Recording tab.
-
Click Record, then open the app that needs to be recorded on your phone, operate the business you want to record, and when you need to finish, click End Recording.
-
Here, the script for the application on the phone is recorded by means of the LoadRunner proxy.
END
Originalqq1058348733
Record mobile app scripts with LoadRunner proxy mode