Record the script Configure runtime settings Enhance your script Run test Set up the environment

Run tests

This section describes how to run your recorded TruClient scripts on mobile devices.

Set the run logic

Before you run your test, you can set the run logic and runtime settings.

The Run logic tab enables you to set the order in which actions run, and the number of times to run them. The Mobile Center test steps are contained in the Mobile Center block.

The Runtime settings let you control the behavior of the script during replay.

Back to top

Run the test

In LoadRunner/Performance Center, in the TruClient toolbar, click Play . Mobile Center opens in the remote access window to the right of the TruClient sidebar, enabling you to watch the app's behavior as the test steps run.

Tip: Due to an Amazon's built-in limit, you cannot have more than 5 different devices running at the same time. To avoid this limitation, in the Controller's Design tab > Global Schedule section, set the Start Vusers to start the users at a nominal interval, such as 15 seconds.

Back to top

View the results

If you set up your runtime settings to display device metrics, they are displayed during script replay in interactive mode, to the left of the device emulator.

If you run your tests in the LoadRunner Controller, you can also view device metrics in the following TruClient - Native Mobile monitors and graphs:

Monitors Graphs
CPU Utilization Percentage User Defined Data Points
Total Free Memory In Device TruClient CPU Utilization Percentage
Total Memory Consumed by Application TruClient Free Memory In Device
 

TruClient Memory Consumed by Application

If you used Network Virtualization in your testing, open the NV Test Manager and generate the desired report. For details, see Analyze results.

Back to top

See also: