Performance Testing Mobile Native App
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
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.
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 .
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.
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?
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.