Vuser Errors

This section describes troubleshooting for the following Vuser errors:

Initialization Problems - Online Process Failed to Initialize

Failed to create Online: 'process'

The online process has not been initialized.

Troubleshooting

  • Check that the Controller COM objects are registered in the Registry Editor: HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\CurrentVersion.

  • If they are not registered, run register_controller.bat from the <installdir>\bin directory to register the COM objects.

    Tip: To locate the installation directory, in Windows, click Start > Run and type wlrun.ini in the Open box to open the wlrun.ini file. Go to the [ProductEnv] section of the file and note the installation directory in the line M_ROOT=.

  • If this fails to solve the problem, contact customer support and provide them with an explanation of the problem, and the error message returned.

Vuser Error - Unable to Activate Additional Vusers

Controller cannot activate additional Vusers. Ensure that your load generators are available and that your scripts are valid.

Unable to activate additional. Possible causes: (i) Connectivity problems. (ii) Invalid script. (iii) Exceeding the number of licensed Vusers.

Troubleshooting

  • Check that your load generators are available: Open the Load Generators window (Scenario > Load Generators), and check the status of the load generator specified in the error message to see if there is a connection to the host machine. If the host has been disconnected, reconnect and run the scenario again.
  • Check that each script is valid: Open each script in VuGen (View Script), and run the script (Vuser > Run). Check for any error messages in the Execution Log.
  • Check that your license supports the number of Vusers and script types that you are trying to run.

Vuser Error - Unable to Create Vusers

Controller cannot create Vusers. Ensure that your load generators are available and that your scripts are valid.

Troubleshooting

  • Check that your load generators are available: Open the Load Generators window (Scenario > Load Generators), and check the status of the load generator specified in the error message to see if there is a connection to the host machine. If the host has been disconnected, reconnect and run the scenario again.
  • Check that each load generator does not exceed its Vuser limits: Open the Load Generators window (Scenario > Load Generators), click Details and select the Vuser Limits tab. Check that each load generator does not exceed the Vuser limits in the license.
  • Check that each script is valid: Open each script in VuGen (View Script), and run the script (Vuser > Run). Check for any error messages in the Execution Log.

Vuser Error - No Vusers in Scenario

There are no Vusers in the scenario.

Troubleshooting

  • Add a script or group to the scenario: In the Design view of the Controller, click Add Group or Add Script(s), and select a group or script to add to the scenario. Run the scenario again.

Vuser Error - Vuser Type Unsupported

Vuser type 'Vuser type' is not supported in this version.

Troubleshooting

  • Check that the script you are trying to open is a valid script.
  • Check your license to see which Vuser types are supported. If your version does not support this Vuser type, contact customer support to upgrade your version.