Professional Documents
Culture Documents
The recently-released HP LoadRunner Mobile Recorder is an Android application that enables you to record
all of the network traffic of your native, browser-based or hybrid mobile web applications to a capture file.
The file is then used to generate a LoadRunner script.
Before you use the LoadRunner Mobile Recorder, here are a few important notes:
Here are four simple steps to create a VuGen script that you can use in your LoadRunner scenarios:
Download and install the LoadRunner Mobile Recorder from the Google Play Store.
We recommend that you close all running applications before you begin a recording session. This will
make the recorded script smaller and more manageable.
The recorded session is on your mobile device, and it needs to be sent to the computer where VuGen is
installed. This is done via email, as follows:
a. When you stop the recording session, the default .lrcap file is selected and displayed.
b. You can tap Browse to select a previously recorded .lrcap file.
c. Specify an email address in the send to box:
d. Tap 'Send'.
Note: If the recorded traffic contains SSL communications, you’ll need to create a new Mobile
Application – HTTP/HTML script in Vugen first, and use the Analyze Traffic option of the recording
wizard to select the .lrcap file. You can then click on the ‘SSL Configuration’ button to add the server-
side certificates.
Tips and Tricks
1. Logging
Logs and capture files are saved to the HP LoadRunner Mobile Recorder’s default working directory on the
mobile device, usually located under:
/storage/sdcard0/Android/data/com.hp.mobileRecorder/cache/
The log file name is log.csv. When the application is uninstalled, these files will be deleted permanently. If you
want to save the .lrcap files, back them up in a safe place, or change the working directory in the HP
LoadRunner Mobile Recorder’s advanced settings page.
Currently, .lrcap is a pcap file. The file can be viewed in Wireshark by renaming the .lrcap to a .pcap extension.
The pcap file may be compressed by two compression methods that can be read by VuGen:
If recorded on a 3G interface, the header type will be LINKTYPE_LINUX_SLL (aka “Linux cooked”).
If recorded on a WIFI interface, the header type will be LINKTYPE_ETHERNET (IEEE 802.3).