Share this page

# Runtime settings

Runtime settings enable you to set the behavior of your script during replay.

In VuGen, you configure the settings from the Solution Explorer anytime before replay.

In OpenText Core Performance Engineering, you define runtime settings when you select a script for your test. For more information, see the Help Center.

In this topic:

## Set the General runtime settings

The runtime settings' General node allows you to control the pacing and iterations of your test. For general details about the runtime settings, hover over the setting and check the descriptive hint.

To allow you to run tests using parameters with multiple values for various users, we recommend that you enable the Simulate a new user for each iteration option, under the General > Replay runtime settings.

For example, you may want to run the same test on ten different devices. You can define the Device ID as a parameter, and provide ten Device IDs. When this option is enabled, your test substitutes a different Device ID for each iteration.

For details about using parameters in your script, see Enhance TruClient - Native Mobile scripts.

Back to top

## Set the runtime settings

To set the OpenText Functional Testing Lab-specific runtime settings for an individual script, double-click the Runtime Settings node in VuGen's Solution Explorer and select the Digital Lat Settings node.

Note: The settings you configure here affect Load mode. If you save the script in Interactive mode, the TruClient general settings overwrite VuGen's runtime settings. For details, see TruClient general settings.

Set the options according to the following table:

Setting | Description
--- | ---
Collect data on | The data metrics to collect during replay: CPU on device, Free memory on device, and Consumed memory on device. Enable Device logs, to generate logs for each of the devices under test. The device log data is generated by Logcat for Android and Syslog for iOS.
Application - Replay | 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 OpenText Functional Testing Lab. This option may not be available if you are using Amazon as a source lab. You can also set your preferences in the wizard. For details, see the Help Center. 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: Select Enable from the drop-down list for the Restart application and Install application options. Iteration section: Clear the Install application before execution option. Note that this option is only effective if the Simulate a new user for each iteration option is enabled in VuGen's Replay Runtime settings. 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. DOM Events. (default) Simulates typing at the web page level, without relying on the device keyboard. Device Events. Triggers a device level operation for each key stroke, more accurately simulating a user's action.
Network Virtualization | Enables NV. Select a predefined or user-defined network profile.
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: OS type Device ID or name Application identifier or name

Back to top

See also:

- Run tests
- Known issues for TruClient - Native Mobile protocol

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: