Integration with LoadRunner Enterprise

LoadRunner Enterprise uses scripts to emulate real user activities on your application. You can upload and download scripts from VuGen to LoadRunner Enterprise, and open and edit scripts that are in a LoadRunner Enterprise project.

2020 SP1 update: Opening and downloading LoadRunner Enterprise scripts is supported in VuGen 2020 SP1 and later.

For information about LoadRunner Enterprise, see the LoadRunner Enterprise Help Center.

In this topic:

Connect to LoadRunner Enterprise

When you connect to a LoadRunner Enterprise server, you must select the relevant domain, project, and folder.

After connecting, VuGen stays connected to LoadRunner Enterprise until you disconnect or end the session. You can connect to only one LoadRunner Enterprise server at a time.

Note: SSO login is not supported.

To connect to a LoadRunner Enterprise server:

  1. Select Integrations > LoadRunner Enterprise. The VuGen - LoadRunner Enterprise Integration window opens.
  2. On the Server account tab, enter the LoadRunner Enterprise server address, and your login credentials.
  3. Click Authenticate. If authentication succeeds, the Domain and Project fields are enabled.
  4. Select the required Domain and Project from the dropdown lists.
  5. Click Login. VuGen logs into the specified LoadRunner Enterprise project and displays the Script management tab.
  6. In the LoadRunner Enterprise folder field, select the required folder. The scripts contained in the folder are displayed in the script table.

Back to top

Edit LoadRunner Enterprise scripts inside VuGen

You can open scripts that are saved in a LoadRunner Enterprise project, and edit them with the VuGen script editor.

Tip: After opening a LoadRunner Enterprise script, it is included in the Recent Activity area on the Start Page, providing a shortcut to quickly reopen the script.

To edit LoadRunner Enterprise scripts:

  1. Connect to the relevant project and folder on the LoadRunner Enterprise server. See Connect to LoadRunner Enterprise.
  2. In the script table, select the check boxes for the scripts you want to open.
  3. Click Open scripts. The VuGen - LoadRunner Enterprise Integration window closes, and the scripts are displayed in Solution Explorer, below the currently open scripts.
  4. Edit the scripts in VuGen. When you save your changes, the changes are automatically uploaded to LoadRunner Enterprise.

    Note:

    • A warning message is displayed if the connection to the LoadRunner Enterprise server is lost. In this case, you can save the script locally until the connection is restored.
    • You must close all open LoadRunner Enterprise scripts before you disconnect from the server.

Back to top

Upload scripts to LoadRunner Enterprise

You can upload script files from VuGen to the selected project on the LoadRunner Enterprise server.

You can upload only zipped files to LoadRunner Enterprise; VuGen automatically zips the files before uploading.

To upload scripts to LoadRunner Enterprise:

  1. Open the script or scripts you want to upload in Solution Explorer.
  2. Connect to the relevant project and folder on the LoadRunner Enterprise server. See Connect to LoadRunner Enterprise.
  3. Click Upload scripts. The Upload scripts from Solution Explorer dialog box is displayed, listing the scripts you have open.
  4. Select whether to upload All files for each script, or only the Runtime files required by LoadRunner Enterprise.
  5. Select the check boxes for the scripts you want to upload.
  6. By default, the zip file will be given the same name as the script. If the zip file name already exists in the target folder, this is indicated in red, and the Overwrite check box is enabled. You have two options:

    • If you want to overwrite the script file on the target, select the Overwrite check box for that script (or select Overwrite for all scripts).
    • Alternatively, change the default name in the File name (zip) column.
  7. Click Upload. The dialog box indicates whether the upload to LoadRunner Enterprise succeeded for each script.
  8. Click Close. The uploaded scripts are added to the list of scripts on the Script management tab.

Back to top

Download scripts from LoadRunner Enterprise

You can download script zip files from LoadRunner Enterprise to the VuGen machine.

To download scripts from LoadRunner Enterprise:

  1. Connect to the relevant project and folder on the LoadRunner Enterprise server. See Connect to LoadRunner Enterprise.
  2. In the script table, select the check boxes for the scripts you want to download.
  3. Click Download scripts. The Browse for Folder dialog box is displayed.
  4. Browse to the required folder and click OK. (If a file with the same name already exists, VuGen asks whether to overwrite the file.)

    The dialog box indicates if the download succeeded for each script.

Back to top

See also: