"Go" configuration issues about Loadrunner11 recording mobile app scripts

Source: Internet
Author: User

Http://www.cnblogs.com/qianjin100/articles/6293282.html

The company needs a performance test, the server is the Web, but the client uses the mobile app.

Because the latest online only loadrunner11 cracked, but 11 does not support mobile phone agent recording app script, so involved in how to use Loadrunner11 to record mobile app scripting problems, online find a lot of ways, all different degrees of problems, the final problem resolution, recorded as follows:

Raw materials:

1. Loadrunner11,:http://pan.baidu.com/s/1i4nhwtv

2. Loadrunner11 Patch Pack,: Http://pan.baidu.com/s/1ciUtYI

3. Loadrunner11 hack pack,: http://pan.baidu.com/s/1boYcVT1

Steps:

Reprinted from: http://www.cnblogs.com/mxqh2016/p/6016866.html

To use LOADRUNNER11 to record phone scripts, you need to first set up a test environment:
? A LoadRunner11 that can be used normally;
? Install a LR11 patch pack for mobile phone recording;
? The network on the PC side and the mobile phone is in the same network segment.
In particular, the computer needs to be able to provide hot spots (for mobile phone connections), if the desktop computer does not provide hot spots, then you can use the portable WiFi. Laptops can be used to provide hot spots by installing 360 free WiFi.
"Test environment Preparation"
First step: Install LR11
The second step: Install LR11 recording phone script patch package, Qfelr11patch4.msp, download good after, directly click Install, no special request.
Step three: If you see the mobile App (http/html) on the new script page, the patch pack is installed successfully.

"Test Demo"
First step: Create a script for the Mobile App (http/html) protocol;
Second step: Click, select the recording mode: select "Record and Analyze", such as the first one, click "Next";

Note: Choose 3Recording Wizard here, you can use the method of Android simulator to record, see method three


The third step: the Host URL to fill in "http://localhost", Port is a port number, you need to use the current not occupied port number, click "Connect". PS: You can use the command line "netstat" to view the unoccupied port, click "Connect", there may be error "unexpected error encountered with mobile snifferagent ...", Workaround: Download WinPcap and install

Fourth step: Select the Record network, you can see the record network has multiple, according to each computer, need to choose different, can only be recorded by each to select the corresponding, my computer is a third.

The fifth step: Select the record into,vuser_init\action\vuser_end three select one, the general choice Action, depending on the specific circumstances.
The sixth step: computer release hot spots, to ensure that the phone is connected to the computer hotspot, and only to this mobile phone connection this hotspot!!
Seventh step: After clicking "Start Recording", the status of recording changes to stop recording status, you can start the mobile phone operation.
Eighth step: After the mobile phone operation to record, click "Stop Recording", then the computer will pop up a crawl of a few packets, save it.

Nineth Step: Click "Next", Capture location Select just saved pcap file, IP host to fill in the phone at this time the IP address, this needs to be viewed in the phone, and ensure that the correct!

Tenth step: Click "Done", this will automatically generate the LR script, if the recorded script is empty, it may be the record network selection is wrong, go back to step fourth, select another network until the recording script is not empty!

"Go" configuration issues about Loadrunner11 recording mobile app scripts

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.