Configure runtime settings

Before you run a performance test, you can configure the behavior of the Vuser scripts in the test using runtime settings. You can configure general settings and protocol-specific settings.

General Settings

After you record a Vuser script, you can configure its runtime settings. The runtime settings define the way the script runs, such as delay between actions, the number of times to repeat an action, and the level of logging.

Configuring runtime settings allows you to emulate different kinds of user activity. For example, you can emulate a user who responds immediately to the server, or a user who stops and thinks before each response. You can also configure the runtime settings to specify how many times the Vuser should repeat a set of actions.

Back to top

Protocol-Specific Settings

Before replaying a Vuser script, you can configure its runtime settings. The runtime settings define the way the script runs, using settings that are specific for your particular environment.

Different combinations of runtime settings are available for each protocol. When you open the runtime settings, only the relevant nodes are displayed.

Protocol prerequisites

Below is a list of protocol prerequisites that are required when installing LoadRunner Enterprise hosts and load generators to avoid possible issues during runtime.

Protocol Prerequisites
.NET Appropriate .NET framework
Citrix ICA Appropriate Citrix client
Flex JRE
Java over HTTP JRE
Java Record Replay JRE
Java Vuser JRE
ODBC ODBC data source
Oracle - 2 Tier Oracle client
RDP RDP Client (installed by default on Windows machine)
RTE Ericom Terminal Emulation
SAP GUI SAP GUI Client with scripting API enabled
Siebel - Web Need to copy ssdtcorr.dll to the <Load Generator installation location>\bin folder (ssdtcorr.dll is a dll from the Siebel server)
SMP .NET and AUT configuration on load generator machine
TruClient Native Mobile Load Generator - None but requires Digital Lab installation
Web Services Either JRE or .NET with appropriate Web Services kit

Back to top

Configure runtime settings

This task describes how to open and configure runtime settings to define the way a script runs.

To configure the runtime settings in a Vuser script:

  1. In the LoadRunner Enterprise masthead, click the module name or the dropdown arrow and select Test Management (under Testing). Select a performance test in the test management tree and click Edit Test.

  2. In the Groups and Workload view, select a Vuser group and click Runtime Settings . The Runtime Settings dialog box opens.

  3. Select the runtime settings type to edit and define the required information.

    • Different combinations of runtime settings are available for each protocol. When you open the runtime settings, only the relevant nodes are displayed.

    • If you do not edit the runtime settings, the script runs using the default runtime settings, or the last saved runtime settings if the script was recorded in VuGen.

    • For information about each of the runtime settings, see the mouse over hints by each field in the Description pane of the Runtime Settings window.

  4. Vuser scripts have individual runtime setting defaults for VuGen and the Controller, to support the debugging environment of VuGen and the performance testing environment of the Controller. To revert to the default settings, go to the relevant runtime settings node and click Use Defaults. Only the defaults for the displayed node are changed.

Back to top

See also: