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.
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 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 |
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:
-
In the top banner, click the module name or the dropdown arrow and select Test Management > Tests & Scripts. Select a performance test in the test management tree and click Edit Test.
-
In the Groups and Workload view, select a Vuser group and click the Runtime Settings button . The Runtime Settings dialog box opens.
-
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.
-
-
Vuser scripts have 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.
See also:
- Design a test
- For protocol-specific tips, see Protocol specific runtime settings.
- For Internet protocol preferences, see Internet Protocol Preferences.
- For Internet protocol content check, see Internet Protocol Content Check.
- For the Multithreading runtime option, see Multithreading