Install and configure an OPLG on Windows
Install and configure an on-premises load generator (OPLG) on Windows to run load tests from your local network.
Caution: Installing an OPLG on a machine running other OpenText performance or functional testing products is not supported.
System requirements
For Windows OPLG system requirements, see Support Matrix.
Prerequisites and limitations
The following prerequisites and limitations apply to OPLGs.
| Item | Details |
|---|---|
| .NET 3.5 |
If your scripts require .NET 3.5, manually install or enable it on the OPLG machine. |
| WSE |
If your scripts require Web Services Enhancements (WSE), manually install WSE 2.0 SP3 and WSE 3.0 for Microsoft .NET. Both require .NET 3.5. |
| Axis |
If your Web Services scripts require the obsolete Axis toolkit, manually copy the Axis files to |
| Date and time |
Make sure the date and time on the OPLG are correct. Tip: Synchronize the machine clock with an Internet time server. |
| Connectivity |
The OPLG machine must be able to access the OpenText Core Performance Engineering SaaS servers and cloud machines. Enable outbound HTTPS communication over port 443. If your company's security or firewall requires static IP addresses for allowed lists, submit a service request to obtain the IP addresses. For details, see Dedicated IP addresses. |
| One test per OPLG |
An OPLG can run only one test at a time. |
| Vusers |
The number of Vusers in an on-premises load test cannot exceed the maximum allowed by your license. |
| Security |
Make sure the operating system and protocol prerequisites, such as JDK and .NET, have the latest security updates. |
| Multiple IP addresses |
Make sure that the required number of valid IP addresses have been allocated on the relevant OPLG. For details on working with multiple IP addresses, see Enable multiple IPs for cloud and on-premises load generators. |
Install an OPLG
OneLG is the load generator installer for OpenText Performance Engineering products. During installation, select OpenText Core Performance Engineering to apply the appropriate configuration.
Before installation, prepare the OPLG and copy its key as described in Prepare an OPLG.
To install an OPLG:
-
On each machine where you want to install an OPLG, go to Tools and integrations > Agents > OPLG and download the installation package.
-
Extract SetupOneLG.zip.
- Make sure Windows Script Host access is enabled on the OPLG machine.
-
Run SetupOneLG.exe as an administrator.
-
Follow the installation wizard:
-
Extract the installation packages to a temporary folder.
-
Install the required prerequisites when prompted.
-
Accept the license agreement and specify the installation location.
-
In OneLG Configuration, select OpenText Core Performance Engineering, and click Install.
-
-
When installation is complete, the installer creates the Configure Load Generator and Start Load Generator shortcuts and opens the configuration tool. To configure the OPLG later, close the tool.
-
Configure the OPLG. For details, see Configure an OPLG.
-
Start the OPLG from Start > ... > Start Load Generator. For best results, run the OPLG as an administrator.
Note:
-
The OPLG and OpenText Core Performance Engineering server can communicate only after the OPLG is configured.
-
To run JMeter or Gatling scripts, select Install JMeter/Gatling after installation during installation.
-
If installation fails because of insufficient disk space, see Troubleshoot OPLGs.
Configure an OPLG
The OPLG configuration tool lets you configure Windows on-premises load generators.
The configuration tool opens automatically when you install an on-premises load generator. If you skip the configuration, open the tool manually by selecting Configure Load Generator from the Start menu on the load generator machine.
General tab
Enter the load generator key, tenant ID, and credentials. For details on creating credentials, see Create access keys.
After you enter the required settings, click Save & Test to save the configuration and test the connection.
The following table describes the settings on the General tab.
| Item | Description |
|---|---|
| Key |
An on-premises load generator key is created when you add an on-premises load generator in Assets > Load Generators.
|
| Credentials |
Your OpenText Core Performance Engineering client ID and client secret. Note: For tenants created in version 24.3 or earlier, username and password authentication continues to work, although this method has been deprecated and will no longer be valid once enforcement begins in a future release. |
| Tenant | Your tenant ID. |
The following table describes the server, proxy, and logging settings on the Misc tab.
| Item | Description |
|---|---|
| Proxy |
Specify the proxy URL. The URL should include the protocol, host name, and port number. Example: |
| Server |
Specify the URL of the server used to access OpenText Core Performance Engineering. Copy the server URL from the browser address bar. For example, if the browser URL is |
| Log level |
Specify the level of log reporting.
|
| Advanced |
If your proxy requires authentication, select the Advanced tab to enter your credentials. |
Environment tab
The Environment tab shows a list of the versions of agent components.
Update tab
The following table describes the version information and update controls on the Update tab.
| Item | Description |
|---|---|
| Current version | The version of the OPLG configuration tool currently installed. |
| Check for updates | Check for available updates to the OPLG configuration tool. |
| Download | Download the latest version of the OPLG configuration tool. |
The Options tab lets you define parameters and their values for customization and debugging.
The following table lists common configuration options.
| Configuration option | Description | Values |
|---|---|---|
| SRL_AGENT_KEEP_VUSER_LOGS |
Retain Vuser log files. The logs are stored on the load generator machine, in a subfolder with the inj_o_ prefix under the %TEMP% folder. Note: Retaining these log files uses a lot of disk space. Deactivate this option when it is no longer needed. |
True/False |
| SRL_AGENT_LOAD_EXTRA_CERTS |
Load additional security certificates. For details, see Certificate issues. |
True/False |
| SRL_AGENT_DISABLE_TLS_1_3 | Deactivate TLS 1.3. For details, see TLS 1.3. | True/False |
| no_proxy | If you have configured the use of a proxy in the Misc tab, you can define specific hosts to be bypassed by the proxy. You can enter multiple values separated by commas. |
Domain name or IP address For example:
|
To apply your changes, save the configuration and restart the agent.
For more information, see Troubleshoot OPLGs.
Run the OPLG as a service
This section describes how to run an OPLG as a service.
To run the OPLG as a service:
-
Open Windows Task Scheduler (Control Panel > Administrative Tools > Schedule tasks).
-
Create a task that automatically starts the OPLG agent at system startup. The agent executable is
%LG_PATH%\testexec.server\stormagent\bin\start_stormagent.cmdYou can also find the file location from the desktop shortcut.
Update an OPLG
This section describes how to update an OPLG to the latest version.
| Upgrade from version | Description |
|---|---|
| 2020.07 or later |
If the machine already has OPLG version 2020.07 or later:
|
| 2020.05 or earlier |
If the machine already has OPLG version 2020.05 or earlier:
|
Tip: Check Tools and integrations > Agents for available patches for the current OPLG version.
Silent installation
A silent installation lets you automate OPLG installation and updates on multiple remote machines without signing in to each machine and installing the OPLG manually.
Prerequisites
The following are the prerequisites for performing a silent installation.
| Prerequisite | Details |
|---|---|
| NET 4.8 |
If .NET 4.8 is not installed on the OPLG machine, install it before performing a silent installation. Otherwise, you must restart the machine and run the silent installation again. |
| Termination of existing processes |
Close the existing OPLG agent and make sure all agent processes are terminated. Running agent processes may prevent the installer from updating the agent. |
To perform a silent OPLG installation:
-
Open a Windows command line as an administrator.
-
Enter the command for your installation type.
Installation type Command Silent installation For a basic silent installation only, enter the command:
SetupOneLG.exe -s -sp"/s INSTALLDIR=C:\LoadRunnerCloudOneLG IS_RUNAS_SERVICE=2 NVINSTALL=N"Silent installation to a location path that includes a space To perform a silent installation in a location where the path name includes a space, enclose the path name with double quotes.
SetupOneLG.exe -s -sp"/s INSTALLDIR=""C:\Program Files (x86)\LoadRunnerCloudOneLG"" IS_RUNAS_SERVICE=2 NVINSTALL=N"Silent installation and configuration
To configure an OPLG as part of the silent installation, you can set the
LRC_PARAMSparameter to the full path of a YAML file that contains the configuration options. For details, see YAML file configuration options.SetupOneLG.exe -s -sp"/s INSTALLDIR=C:\LoadRunnerCloudOneLG IS_RUNAS_SERVICE=2 NVINSTALL=N LRC_PARAMS=C:\Temp\config.yml"Enable JMeter or Gatling To run JMeter or Gatling scripts on the OPLG, you can install JMeter or Gatling as part of the installation by adding
INSTALL_JMETER=1orINSTALL_GATLING=1to the installation command.SetupOneLG.exe -s -sp"/s INSTALLDIR=C:\LoadRunnerCloudOneLG IS_RUNAS_SERVICE=2 INSTALL_JMETER=1 INSTALL_GATLING=1 NVINSTALL=N" -
(Optional) Configure the OPLG automatically after installation.
-
If the machine did not have an OPLG installed prior to the silent installation, copy sample_conf.json you previously saved to
%LG_PATH%\testexec.server\stormagent\. If you copy the configuration file from an existing machine with a configured OPLG, modify the key field accordingly, because the same key cannot be used by multiple OPLGs. -
If the machine had an OPLG installed prior to the silent installation, no action is required. The installer automatically upgrades the existing OPLG and backs up the
%LG_PATH%\testexec.server\stormagent\sample_conf.jsonfile. At the completion of the silent installation, the OPLG configurations are automatically stored.
-
YAML file configuration options
The following configuration options are defined in the YAML file.
| Field | Description | Example |
|---|---|---|
| tenant | Tenant ID | ‘123456789’ |
| key | OPLG key | ‘2fc1f0632fa263f9bd49’ |
| username | Client ID | ‘<client_ID>’ |
| password | Client secret | ‘<client_secret>’ |
| server | Your OpenText Core Performance Engineering server. | https://loadrunner-cloud.saas.microfocus.com |
| proxy | Proxy server address and port | ‘http://<your proxy server>:<port>’ |
| logLevel | Log level (info, error, debug, warn) | ‘info’ |
| options | Additional options |
option1: true option2: true |
You can copy the following code into your YAML file and then change the values for your OPLG:
tenant: '123456789'
key: '2fc1f0632fa263f9bd49'
username: '<client_ID>'
password: '<client_secret>'
server: 'https://loadrunner-cloud.saas.microfocus.com'
proxy: 'http://<your proxy server>:<port>'
logLevel: 'info'
options:
option1: true
option2: true
Uninstall an OPLG
In Windows > Add or remove programs, locate the OPLG version you want to remove and uninstall it.

