Get started with performance testing
Use TruClient technology together with your performance testing tool to record and run performance tests for mobile apps on devices hosted by UFT Mobile.
This section describes how to configure TruClient's General settings specific to UFT Mobile. For general TruClient information, see the TruClient Help Center.
Prepare your environment
To prepare your UFT Mobile environment for running a LoadRunner/TruClient test:
- Make sure you have access to a machine with UFT Mobile.
- Ensure that your version of TruClient supports your UFT Mobile version. For details, see My product matrix.
-
Ensure that cookies are enabled on your Internet browser.
Open the General settings
The TruClient General Settings dialog box lets you set the UFT Mobile server preferences globally, so that you do not need to configure them separately for each test.
To open the TruClient General Settings dialog box:

- Select File > New Script and Solution.
- In the Create a New Script dialog box, under the Single Protocol or Mobile category, select TruClient – Native Mobile and click Create.
- Select Tools > TruClient General Settings. Wait several seconds. If you cannot see the Settings dialog box, click the Show TruClient General Settings button in the notification window to bring it into focus.
-
Click the UFT Mobile Settings tab.

- In the TruClient Launcher, click Native Mobile.
- Select TruClient Browser.
- Click the General Settings button
on the toolbar.
-
Click the UFT Mobile Settings tab.
TruClient General settings for UFT Mobile
All settings you define in the TruClient General Settings dialog box (in the UFT Mobile tab) will be applied globally to all TruClient - Native Mobile scripts. You will only need to configure these settings once. All subsequently created scripts, will automatically inherit these settings, even after you close VuGen or TruClient. Server exceptions, however, must be configured for each script.
In VuGen, if you save your script while in TruClient's Interactive mode, the settings from the General Setting dialog box, overwrite the runtime settings values in the Solution Explorer.
Setting | Description |
---|---|
Server Connection |
The UFT Mobile login password and access key values are encrypted and displayed as asterisks so that their actual values cannot be seen (available in TruClient versions 2020 SP2 and later). Note:
|
Collect data on |
The data metrics to collect during replay: CPU on device, Free memory on device, and Consumed memory on device. You can also enable Device logs, for generating logs for each of the devices under test. The device log data is generated by Logcat for Android and Syslog for iOS. |
Application - Management |
Initial Replay: Whether to restart or install your applications before the first replay. Iteration. What to do with your applications before and after each iteration: Restart, Install, or Delete. Reinstalling apps ensures their compatibility with the current version of UFT Mobile. This option may not be available if you are using Amazon as a source lab. You can also set your preferences in the UFT Mobile wizard. For example, if your test runs multiple iterations, and you only want to install the apps for the first iteration, but not on subsequent iterations, configure the settings as follows: Initial Replay section: Iteration section: Tip: You can manually install the application after executing the configuration flow by selecting Reinstall the application from the Restart/Reinstall toolbar drop-down |
Application - Typing |
Typing Simulation Mode. How to simulate key strokes, as defined in the Type action for web elements.
|
Network Virtualization |
Lets you enable network virtualization, and select a predefined or user-defined network profile. For details, see Run tests with Network Virtualization. Beginning with UFT Mobile version 2.20, TruClient integration uses the NV 9.12 predefined network profiles. If your script uses profiles from previous versions, they may fail. For details, see Define NV profiles. |
Transactions |
Allows you to customize transaction names by adding a suffix to help you identify them after a test run. The suffix can be one or more of the following:
|
UFT Mobile Tab |
Run on start. Runs the entire configuration flow in the TruClient UFT Mobile tab when the TruClient browser opens. When disabled (default) , TruClient will automatically connect with the UFT Mobile server, but not execute any of the configuration steps. If you disable this option, you can execute the flow in the following ways:
|
Additional resources for performance testing
Best practices
UFT Mobile Performance Testing Best Practices
Help centers
- TruClient Help Center
- LoadRunner Professional Help Center
- LoadRunner Enterprise Help Center
- LoadRunner Cloud Help Center
See also: