Loadrunner11.0 How to record mobile app scripts

Source: Internet
Author: User

Use LoadRunner to record phone terminal app scripts

1. Description

At present, the function of mobile phone app is becoming richer and more and more demand for performance test of mobile phone application function. Company compared stingy did not pay to buy loadrunner, poor our work has been used in the cracked version, no Loadrunner11.52 above version, can not enjoy the convenience of recording mobile phones. You can only use your own online to gather some methods, using Loadruner11.0 to achieve recording phone application script method.

The following are two types of laptops and desktops that describe how to record mobile apps using LoadRunner.

1.1 Principles of recording

The principle of mobile app script recording (informal, personal understanding only): need to ensure that the mobile phone terminal and computer in the company's same wireless network, mobile phone terminal can be sent through the agent request information through the computer to forward.

1.2 Essential software and equipment

1. The address of the Loadrunner11.0,wplus_init_wsock.exe file, such as:

C:\Program Files (x86) \hp\loadrunner\bin\wplus_init_wsock.exe

2. Public WiFi or Wi-Fi using your computer (laptop as a hotspot or desktop using portable WiFi as hot spot)

3. Laptop or desktop with wireless Internet card (desktop can use portable WiFi as a wireless card)

4. Android or iphone

5. The server address that needs to be tested (I'm actually testing the app server address of the company's internal environment, and here I'm going directly to the CSDN, which I've accessed directly from my browser.) )

2. Get the local connection IP

2.1 Network connection has wireless network IP, please ignore, need to use local LP, as follows

Settings for 2.2 LoadRunner

1. Select Protocol Web (http/html) when recording:

2. Configuration at the start of recording:

Where program ToRecord selects the address of the Wplus_init_wsock.exe file previously obtained, such as:

C:\Program Files (x86) \hp\loadrunner\bin\wplus_init_wsock.exe

3. Settings for recording options:

A. Capture level sockets level data

B. New Entry Configuration

Description: Taregt server is the address that needs to be recorded, port is set to 80

Traffic Forwarding for proxy forwarding IP, need to be consistent with the phone side settings, set to the local non-conflicting port, such as 2008

4. Save after configuration is complete

2.3 Phone-side settings

Phone-Side settings:

1. Connect on public WiFi such as Office-adviser

2. Set up the WiFi agent as follows:

Where IP is the notebook IP, the proxy port is set to LoadRunner for the agent to the originating number:

Loadrunner11.0 How to record mobile app scripts

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.