LoadRunner and Performance Center
Showing results for 
Search instead for 
Do you mean 

HP LoadRunner Mobile Recorder – a short tutorial

Anonymous_User1 ‎07-10-2013 08:00 PM - edited ‎12-06-2015 06:08 AM

Update, 6 Dec 2015: The LoadRunner Mobile Recorder is now discontinued, and can no longer be downloaded from the Google Play Store. You can capture the network traffic of your app on your mobile device by installing tPacketCapture, which records traffic as a .pcap file. You can transfer the .pcap file to your computer, and open it with VuGen, which will generate a vuser script as described in step ‘4’ below.



This post was written by David Bekel from the LoadRunner R&D team


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:

  • You can only install the application on a rooted device
  • The application has been tested on a Samsung Galaxy device with the Android OS version 4.0.3 to 4.2.2

Here are four simple steps to create a VuGen script that you can use in your LoadRunner scenarios:


1. Download and install the application

Download and install the LoadRunner Mobile Recorder from the Google Play Store.


2. Record the business process

We recommend that you close all running applications before you begin a recording session. This will make the recorded script smaller and more manageable.

  1. Tap the application icon to open it.
  2. Start the recording session by tapping the  button.
  3. Open the application to record, and perform the steps of the business process.
  4. To stop the recording either:
  • Press the home button, tap the application icon, tap the  button to stop the recording session, or
  • Tap the LoadRunner Mobile Recorder icon in the notification bar. This automatically brings you to the LoadRunner Mobile Recorder home screen. Tap the  button to stop the recording session.

3. Send the recorded session by email

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:

  1. When you stop the recording session, the default .lrcap file is selected and displayed.
  2. You can tap  to select a previously recorded .lrcap file.
  3. Specify an email address in the send to box:

4. Tap 'Send'.


4. Create a vuser script


  1. On the computer where VuGen is installed, download the .lrcap file that was sent from the mobile device.
  2. When you double click it, VuGen will automatically open the .lrcap file, and create and generate the script.

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:




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. 


2. lrcap file format


Currently, .lrcap is a pcap file. The file can be viewed in Wireshark by renaming the .lrcap to a .pcap extension. 

3. WIFI vs 3G Link-layer header types


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



To learn more about mobile performance testing with LoadRunner, take a look at this previous blog post, Who’s up for some mobile performance testing?



Leave a comment in the box below to let us know how you’re using the HP LoadRunner Mobile Recorder.



Thanks to David for providing this post!

About the Author


on ‎07-12-2013 10:23 AM

Hello Load Runner Folks,


I am very new to Load Runner, In fact, I WILL BE using this in my future postion, however have not yet been exposed to LR at all. 


With that piece of info, I have a couple questions that I hope someone out there could answer as I have not been able to find any info on this from HP or Google searches.


1) Does anyone know if LoadRunner can be used to test Progress based applications?


2) Does anyone know if LoadRunner can be used to test Microsoft Dynamincs AX based applications?


I appreciate any info on these two questions.


Thank You

on ‎07-30-2013 07:17 AM


In answer to your question - LR support of certain application is determined by the technology that application uses. I'm not familiar with Progress or with MS Dynamics AX, but if these applications are using standard technologies, such as HTTP or SOAP, then there's a good chance that we support them.

I believe you could get more info if you post your question at LR customer forum, which is visited by many customers and support engineers.

on ‎08-06-2013 07:30 AM

What is the need to record the application in mobile?If this is for caturing the response in mobile, do we need to use mobile as a load agent?

Also, what does a rooted device mean?

will it support sony tipo?

on ‎08-07-2013 12:30 AM

HI Satzz,


I recommend that you read an earlier post on this blog, Who's up for some mobile performance testing?  There's a section called 'What support does LoadRunner offer for mobile applications?' where the different types of recording are described.  That should give you some more information.



on ‎08-22-2013 11:30 PM
You completed various good points there. I did a search on the subject and found a good number of persons will agree with your blog.
Prakash Patil
on ‎10-29-2013 11:40 AM



I am currently working on to conduct performance testing IVR application server. Please let me know does LR support VXML browser, if yes. How can we hook up LR tool with the VXML browser. Please help. Thanks

on ‎06-10-2014 02:08 AM

Hi Consultant,


I followed you procedure to try the HP LoadRunner Mobile Recorder apps, but I encountered a problem is the HP LoadRunner Mobile Recorder’s default working directory only can found the log file. No capture file in default working directory. So I encountered message "File not found! Probably not generated successfully" .

SuperUser has already granted to this apps.


Please advise.




on ‎10-13-2014 07:54 PM

Once I downloaded this app from playstore and installed in the nexus5 ,  this app throws an error saying "No root access. Please check your device"


Not sure what rooted device means and how to resolve it. Please advise on how to fix this and instructions to suucessfully install this app in Nexus 5

Gilles Ciret
on ‎10-29-2014 08:08 AM



I'm using the mobile recorder to record a native application for my customer which uses HTTPS.

As this is the first time I use this tool, I'm not sure I'm doing it the right way but I managed to record HTTP browser activity on my tablet (connected to a hotspot on my laptop) and to import the .lrcap file into VUGen. I can see the request in my script, which is good! Thanks for that usefull tool.


Now I'm trying to record HTTPS traffic the same way and I can only see the HTTP requests, the HTTPS requests are not generated in the script. I supposed that was because I had to set the server certificate in the traffic analyser before generating the script. 

So, I navigated to an HTTPS website and exported the certificate as a .cer file and used the SSL converter tool to create a .pem file. That done, I've got my .pem certificate and I can use it in the SSL configuration of the traffic analyser, setting the IP of the server, the 443 port, the .pem file and no password as I did not set one in the converter.


But when I try to generate the script using that ssl configuration, nothing is generated.

If I look at the recording log, I can see the message :

"[Traffic Analyzer (1bc4:1430)] Internal Error - invalid PEM file password or bad format.

[Traffic Analyzer (1bc4:1430)] An error occurred while analyzing the traffic file.Not all data was analyzed.(bad PEM file)"


What am I doing wrong? 

I'm not using a password either when I export the file from the browser or when I convert the certificate.

I tried to convert my certificate with online converter or openssl but it doesn't help.


Thank you for your help.



on ‎12-12-2014 05:57 AM

Hello All,


Any one is able to generate script succesfully .  While exporting i am seeing error as

"File not found! Probably not generated successfully" .

SuperUser has already granted to this apps


Can anyone please help me !!


Thanks in advance



on ‎02-05-2015 09:35 AM

Very Helpful.  Having to install at the ROOT of the device is a problem.  

My company won't allow it.  

Can future vesions of the tool not include that requirement?

on ‎06-18-2015 01:31 AM



Can i use load runner to measure end to end Mobile print performance? I am trying to measure click to clunk which is the time taken from Hit print button on a mobile device till the last page of a document is printed on the actual device.


Is there any demo that i look at?


Also i am stuck with Rooting issue on Nexus 7 where i installed load runner. How do i move forward?




on ‎05-27-2016 12:35 AM

Hi All,

Is there any application in I Tunes similar to Andriod's t-packet capture?



27 Feb - 2 March 2017
Barcelona | Fira Gran Via
Mobile World Congress 2017
Hewlett Packard Enterprise at Mobile World Congress 2017, Barcelona | Fira Gran Via Location: Hall 3, Booth 3E11
Read more
Each Month in 2017
Software Expert Days - 2017
Join us online to talk directly with our Software experts during online Expert Days. Find information here about past, current, and upcoming Expert Da...
Read more
View all