Mobile app script recording (LoadRunner 12)

Source: Internet
Author: User
Tags hp loadrunner

Recently, due to project needs, research the next mobile app script recording method, the need for children's shoes can refer to use!
Method 1:
Set up a network proxy in your mobile network and use LR12 to select Agent recording in the mobile application–http/html protocol

Use LoadRunner proxy to record phone (IPhone, Android) application HTTP scripts
Tools/Materials
? LoadRunner
? Smart phones

    1. 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.

    2. 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.

    3. 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.

    4. 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.

    5. Here, the script for the application on the phone is recorded by means of the LoadRunner proxy.

Method 2:
Locally installed Android emulator emulator (Android SDK), using LR12 to select the mobile application–http/html protocol in the simulator recording mode recording
Method 3:
1. Run mobile Recorder on your phone
2. Press "Start recording" to start recording
3. Switch to your mobile client and complete the normal procedure
4. Switch back to Mobile recorder, click "Stop Recording"
5. Send the captured packet by email or copy the data file (extension Lrcap) directly to the Vugen
6. New Mobile HTTP Script->record-> Select "Analyze traffic"->capture file to select the Lrcap files generated above, specify the server IP and port or the ip-> of the phone Finish
Note:
1. HP LoadRunner 12 Version installation package and installation instructions:

Get access to HP's website

    1. HP LoadRunner Mobile Recorder Grab kit (recommended, Android phone requires root):

Get access to HP's website

Phone:

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Mobile app script recording (LoadRunner 12)

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.