Highlighted
Honored Contributor.
Honored Contributor.
3161 views

Performance Testing Mobile Native App

Hello Experts,

I need some info on Scripting and Executing the load test for Mobile Native App. My Business process involves opening the app, login, click on certain tab and logoff.

Objective is to capture the Performance issue

Scrtiping:

I read online, we can proxy recording to capture the business process on Mobile device and convert it to LR script in Vugen.

For Scripting, should we have unlock device to record the events? Do we need to do any setting in order to capture the traffic? Can you please provide if any other alternative /easy approach to capture the traffice for Native Mobile App.

 

Execution:

Once script is recorded and enchaned, can we run the script in controller with multiple users ? 

How can we simulate different bandwidth and mobile device testing in controller?

Can you please help /advise .

0 Likes
3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Hi Nik,

For recording/scripting please follow the instructions on this online help page - http://lrhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/VuGen/t_HowToSelectAProtocol.htm

and since I assume you would like to record the traffic you should probably follow instructions here as well http://lrhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/VuGen/c_Recording_Methods.htm 

All alternatives are documented in  these two pages

Regarding replay, if you select the web http approach you do not need real device to run the scripts, it runs from a typical Controller/Load Generator. If you wish to emulate different bandwidth and network conditions you should either use integraton with Network Virtualization or configure the script run time settings to simulate that. The run time settings option is not as rich in functionality but free and might do the trick.

Regards,

Shlomi

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Hi All Experts,

I am still confused that if a native mobile app need to be tested and recorded with Loadrunner Vugen, HPE mobile center is mandatory? If not, how to record business process from the mobile device through Vugen?

Thanks,

Steven

 

0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Greetings,

Proxy recording will record the HTTP traffic, in this case, a Web HTTP/HTML script will be created that can be later on replayed in VuGen/Controller. The Web - HTTP/HTML emulates communication between a browser/mobile device and Web server on an HTTP or HTML level. For that purpose, Mobile Center does not seem to be relevant. Please see: https://admhelp.microfocus.com/lr/en/latest/help/WebHelp/Content/VuGen/t_HowToSelectAProtocol.htm

As written above, if you select the web http approach you do not need real device to replay the scripts after recording, and it runs from a typical Controller/Load Generator.

In case you require to record the native operations as well as the HTTP traffic, then the relevant protocol to choose from would probably be “TruClient - Native Mobile”. This protocol requires the installation of Mobile Center.
https://admhelp.microfocus.com/lr/en/latest/help/WebHelp/Content/VuGen/t_HowToSelectAProtocol.htm#hp-minitoc-item-0

Regards,
 Eyal Jakov

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.