LoadRunner using proxy mode to record phone scripts
Posted in: 2017-4-28 13:43 Hkylin Source: Pinterest
Font: Big Small | Previous post | Next | I want to contribute | Recommended Tags: performance test performance test tools software test Tools LoadRunner
Title:loadrunner using proxy mode recording
Mobile PhoneScript Categories:
Performance TestingTags: [performance test, LoadRunner] Grammar_cjkruby:true
LoadRunner using proxy mode to record phone scriptsLoadrunner12 has mobile version, you can record the script directly on the phone, but need root phone loadrunner11 and loadrunner12 computer version can also record mobile phone script, set up the agent can. <!--more-->
Settings for LoadRunnerHere's how the Loadrunner11 method first creates the script, select the Web (http/html) protocol pop-up recording options box, which you need to set up here, as shown here: Note that the program to record option needs to be reset, Select the Wplus_init_wsock.exe URL under the bin directory in the LoadRunner installation directory to not write and then click Options, as shown in: Select the port mapping option under Network, and then click New Entry, Enter the following interface: Target
Server: The domain name of the website to be accessed by the script to be recorded will not be accessible if the address is not the same as the one you filled out here. PORT:80 Service Id:http Traffic Forwarding: Select, then fill in a port number, this port number is for the mobile phone proxy. Note that the port number that you use is a port number that your computer is free to set up, and then click Update when you're done.
phone-side settingsMobile phone needs to set up a proxy, let the mobile phone traffic through your loadrunner computer, the principle or let LoadRunner act as a proxy server. To achieve this requires the following two conditions: 1, the mobile phone connected to the WiFi and the computer on the same LAN 2, mobile phone connected to the WiFi after setting the proxy mode. If it is a notebook, the first condition is very good, just need to open a hotspot to connect the phone to the line. Desktop, you need external devices such as portable WiFi. Phone Set proxy mode: note here, the hostname is the computer's IP, port number is traffic forwarding there set the port number. With the above settings, you can start recording. Click the Record Start button on your computer and you can see that the proxy server is started and then you can do it on your phone. Note The LoadRunner information hint, if there are any problems, make changes according to the information.
LoadRunner using proxy mode to record phone scripts