Install an on-premises load generator on Windows

Use LoadRunner Cloud (LRC) load generators to run load tests on-premises for applications that cannot be accessed over your firewall.

Caution: Installing the on-premises load generator package on a machine that is running any OpenText performance or functional products is not supported.


To help ensure the successful installation of an on-premises load generator, enable Windows Script Host on the load generator machine.

Back to top

System requirements

Memory, CPU, and free disk space requirements vary per protocol, system under test, and script characteristics.

We recommend that you always use the most current version of the on-premises load generator:

On-premises load generator version

24.1 - Using LoadRunner load generator 24.1

Supported operating systems
  • Microsoft Windows 10 64-bit versions Enterprise LTSC 2019, 21H2, 22H2

  • Microsoft Windows 11 64-bit versions 21H2, 22H2, 23H2

  • Microsoft Windows Server 2016

  • Microsoft Windows Server 2019 (Recommended)

  • Microsoft Windows Server 2022

Processor 8 core CPU
Memory 16 GB
Free disk space

100 GB; SSD drive

Note: During installation, the installer checks for space on the drive on which the temp directory is located (as configured in the user’s local environment variables).

Bandwidth A bandwidth of at least 1 GB is recommended for communicating with the LoadRunner Cloud servers.
  • The LoadRunner components used in the LoadRunner Cloud on-premises load generator may require certain Windows updates. Install the updates as needed. For more information about system requirements, refer to the LRP and LRE host requirements section of the Support Matrix, available in the LoadRunner Professional Help Center (make sure to select the correct version).

  • After LoadRunner Cloud is upgraded to version 24.2, the following on-premises load generator (OPLG) versions are supported: 24.1, 2023.07, and 2023.03.

Back to top

Notes and limitations

The following notes and limitations apply to on-premises load generators:

Limitation/Note Solution
.NET 3.5 If your scripts require .NET 3.5, you must manually install or activate them on the on-premises load generator machine.

If your scripts depend on Web Services Enhancements (WSE), you must manually install WSE 2.0 SP3 and WSE 3.0 for Microsoft .NET.

Note: Both WSE installations require .NET 3.5.


If your Web Services scripts depend on the obsolete Axis toolkit, you must manually copy the Axis files to %LG_PATH%bin\java\Axis. You can download the Axis files from the OpenText Support Portal.

Date and time

Ensure that the date and time on the load generator machine are correct.

Tip: Synchronize your computer clock with an Internet time server.

Connection between LGs and LoadRunner Cloud

The load generator machine needs to be able to access the LoadRunner Cloud servers in SaaS and the cloud machines. (Only outbound HTTPS connection on port 443 needs to be enabled.)

If there is no connection between LoadRunner Cloud servers and the Load Generator (on-premises load generator Status=Not Connected), an error message is reported when you try to run your test.

If you receive a system error -1030, check the network connectivity between your on-premises load generator and the cloud (AWS). Also ensure that outbound communication over port 443 is enabled.

If your company's security or firewall requires static IP addresses for allowed lists, submit a service request to request the IP addresses. For details, see Dedicated IP addresses.

One test per load generator

The load generator can run only one test at a time. If the required load generator is already in use by another test, an error message is reported when you try to run your test.


Vusers in your on-premises load test cannot exceed the maximum number of Vusers in your license.

Security Ensure that the OS, as well as any protocol prerequisites (for example, JDK and .NET), have the latest security updates.
Multiple IP addresses

If you have requested multiple IP addresses for a load test, ensure you have assigned all the valid IP addresses to the load generator machine so that LoadRunner Cloud can use them during the test.

For details on working with multiple IP addresses, see Enable multiple IPs for cloud and on-premises load generators.

Back to top

Set up an on-premises load generator

This section describes how to set up and install an on-premises load generator.

The installer package, OneLG, is a combined load generator installer for all of the LoadRunner family products: LoadRunner Professional, LoadRunner Enterprise, and LoadRunner Cloud. During the installation, you select the relevant product to allow the installation to make the appropriate configurations. After the load generator installation is complete, you can reconfigure the load generator to work with a different tool from the LoadRunner family.

Action How to
Define your load generator in LoadRunner Cloud and note the key:
  1. In LoadRunner Cloud, select Assets > Load Generators.
  2. Select the load generator from the list, or click Create to add one. Give the load generator a meaningful name and description.

  3. Select the relevant operating system.

  4. Set the maximum number of Vusers for each supported protocol. Default values are displayed.

  5. Click Save.

  6. A key is generated for the load generator and is displayed in the details. Copy the Key value for later use.

Download the load generator installation package

On each machine on which you want to install a load generator, download the installation .zip file from LoadRunner Cloud banner > Tools and Integrations > Agents > OPLG, and extract the contents.

Note: To help ensure the successful installation of an on-premises load generator, enable Windows Script Host on the load generator machine.

Install the load generator components

If the machine on which you want to install the load generator already contains an on-premises load generator, refer to Update an on-premises load generator.

Manual installation

  1. Unzip the downloaded load generator installation package,
  2. Run the extracted file SetupOneLG.exe as an administrator.

    1. Extract the installation packages into a temporary folder.
    2. Install the required prerequisite programs when you are prompted to do so.
    3. Accept the license agreement and select the installation location. By default, the location is C:\Program Files (x86)\Micro Focus\LoadRunner OneLG. We recommend that you use the location: C:\LoadRunnerCloudLG.
    4. In the LoadRunner OneLG Configuration step, select LoadRunner Cloud and click Install to start the installation of the load generator and the other required applications.
  3. When the installation is complete, the setup program creates the LoadRunner Cloud - Configure Load Generator and LoadRunner Cloud – Start Load Generator shortcuts on the Desktop, and opens the load generator configuration tool.

    To skip the configuration at this point, close the tool. You can configure it later.


  • The load generator and the LoadRunner Cloud server can communicate only after the load generator is configured properly.

  • If you receive an error during the installation indicating that there is not enough disk space, refer to Troubleshooting for possible solutions.

  • To run JMeter, Gatling, and/or Silk Performer scripts on on-premises load generators, make sure to select the Install JMeter/Gatling/Silk Performer Agent after installation option during setup.

Configure the load generator
  1. On the General tab, enter:

    • The load generator key that you noted earlier
    • Your LoadRunner Cloud user name and password
    • Your Tenant ID
  2. On the Misc tab:

    • To use a different proxy other than the one shown, enter your proxy URL.

      If your proxy requires authentication, select the Advanced tab to enter your credentials.

      Note: This is necessary only if the Load Generator machine cannot directly access the Internet.

    • Select a Log level.
  3. Click Save & Test to save your settings and test your connection to the LoadRunner Cloud server.

    Tip: If you get an error, check that the configuration details that you provided are correct.

For more information on configuring the load generator, see On-premises load generator configuration tool.

Launch the load generator

Go to Start > Micro Focus > LoadRunner Cloud - Start Load Generator.

Tip: For best results, run the load generator as an administrator.

Back to top

Access the Load Generator Configuration tool

If you skipped the load generator configuration when you installed or updated the on-premises load generator, or if you need to update the configuration settings:

Go to Start > Micro Focus > LoadRunner Cloud - Configure Load Generator.

Back to top

Run the load generator as a service

To run an on-premises load generator as a service:

  1. Open the built-in Windows Task Scheduler (Control Panel > Administrative Tools > Schedule tasks).
  2. Schedule a task which automatically starts the LoadRunner Cloud - Load Generator Agent at system startup.

    • The executable file of the agent is
    • You can also find the file location through the Desktop shortcut.

Back to top

Multiple IP addresses on an on-premises load generator

You can configure a load test to use multiple IP addresses on an on-premises load generator.

Action How to
Enable multiple IP addresses in LoadRunner Cloud Contact your account manager or sales representative.
Enable multiple IP addresses for a load test From LoadRunner Cloud > Load tests > Test settings, select the Enable multiple IP addresses check box.
Allocate sufficient IP addresses

You must ensure that you have allocated the required number of valid IP addresses on the relevant on-premises load generator.

For more information, see Enable multiple IPs for cloud and on-premises load generators.

Back to top

Run a test using an on-premises load generator

The following table describes the steps for running a test using an on-premises load generator.

Action How to
Create a test

From LoadRunner Cloud > Load tests, select a load test or create a new test.

Select On-premises as the location

From the Load profile tab, select a script and then select On-premises from the Location dropdown.

Add a load generator

From the Load distribution tab, click On-premises and then click Add from Assets to select the on-premises LoadRunner Cloud Load Generators to use for your test.

For more information, see Manage load tests.

Back to top

Update an on-premises load generator

This section describes how to update an OPLG (on-premises load generator) to the latest version.

Tip: Check the Tools and Integrations > Agents section for patches for the current version's on-premises load generator.

Back to top

Perform a silent OPLG installation

A silent installation, also known as unattended install, has multiple benefits. If you installed the OPLG (on-premises load generator) with the latest OneLG installation, you can imbed a silent installation into the software installation process.

This capability allows you to automate installation and updates on multiple remote machines, instead of having to log in to each machine separately and manually installing the OPLG.


The following are the prerequisites for performing a silent installation:

  • .NET 4.8. If .NET 4.8 is not installed on the OPLG machine, install it before running the silent installation. Otherwise the machine requires a restart and you need to run the silent command again.

  • Termination of existing processes. Make sure the existing LoadRunner Cloud load generator agent on the machine has been closed, and all LoadRunner Cloud load generator agent processes have been terminated. Agent processes that are still running may prevent the installation from updating the agent during the silent installation.

Silent installation

Perform the following steps to run a silent installation on an OPLG:

  1. Open a Windows command line as an administrator.

  2. Enter the command for your installation type:

    • Silent installation

      For a basic silent installation only, enter the command:

      Copy code
      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. For example:

      Copy code
      SetupOneLG.exe -s -sp"/s INSTALLDIR=""C:\Program Files (x86)\LoadRunnerCloudOneLG"" IS_RUNAS_SERVICE=2 NVINSTALL=N"
    • Silent installation and configuration

      To configure a load generator as part of the silent installation, you can set the LRC_PARAMS parameter to the full path of a YAML file that contains the configuration options. For example:

      Copy code
      SetupOneLG.exe -s -sp"/s INSTALLDIR=C:\LoadRunnerCloudOneLG IS_RUNAS_SERVICE=2 NVINSTALL=N LRC_PARAMS=C:\Temp\config.yml"

      The following configuration options are defined in the YAML file:

      Field Description Example Mandatory/Optional
      tenant Tenant Id ‘123456789’ Mandatory
      key Load generator key ‘2fc1f0632fa263f9bd49’ Mandatory
      username Username or client Id ‘<username>’ Mandatory
      password Password or secret key ‘<password>’ Mandatory
      proxy Proxy server address and port ‘http://<your proxy server>:<port>’ Optional
      logLevel Log level (info, error, debug, warn) ‘info’ Optional
      options Additional options

      option1: true

      option2: true


      You can copy the following code into your YAML file and then change the values for your load generator:

      Copy code
      tenant: '123456789'
      key: '2fc1f0632fa263f9bd49'
      username: '<username>'
      password: '<password>'
      proxy: 'http://<your proxy server>:<port>'
      logLevel: 'info'
        option1: true
        option2: true
    • Enable JMeter or Gatling

      To run JMeter or Gatling scripts on the load generator, you can install JMeter or Gatling as part of the installation by adding INSTALL_JMETER=1 or INSTALL_GATLING=1 to the installation command. For example:

      Copy code
  3. (Optional) Automatically configure a load generator machine after the silent installation:

    • If the machine did not have an OPLG installed prior to the silent installation, copy the sample_conf.json you previously saved to the %LG_PATH%LRC\testexec.server\stormagent\ folder. If you copy the configuration file from an existing machine with a configured load generator, 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%LRC\testexec.server\stormagent\sample_conf.json file. At the completion of the silent installation, the OPLG configurations are automatically stored.

Back to top

Uninstall an on-premises load generator

Depending on the version of on-premises load generator you want to uninstall, locate the program in the Windows Programs and Feature list, and uninstall:

  • Micro Focus LoadRunner OneLG for version 2020.07 and later.

  • LoadRunner Cloud - Load Generator for version 2020.05 or earlier.

Back to top

See also: