Upload and run VuGen scripts

This topic describes how to upload your scripts from VuGen to LoadRunner Enterprise to then run performance tests.

VuGen scripts overview

VuGen is Micro Focus's primary tool for creating testing scripts that emulate the behavior of real users on your system.

By including VuGen scripts in your LoadRunner Enterprise tests, you can run VuGen test scripts side-by-side with any other scripts, giving you a single entry point for executing your performance tests.

Measurements can be viewed online and offline (via LoadRunner Enterprise and Analysis), using the data points from the VuGen test scripts.

Back to top

Upload VuGen scripts to LoadRunner Enterprise

To upload scripts from VuGen to LoadRunner Enterprise:

  1. Prerequisites:

    Create a script in VuGen. For details, see the Virtual User Generator Help Center.

    Note: The file path inside a script folder must not exceed 260 characters.

  2. Upload the script to LoadRunner Enterprise

    You can upload the script in one of the following ways:

    • You can upload a script to LoadRunner Enterprise directly from VuGen. For details, see Upload scripts to LoadRunner Enterprise in the LoadRunner Professional Help Center.

    • Alternatively, you can manually upload a script as follows:

      1. Save the VuGen scripts locally. The scripts must be saved in ZIP format and must include all the files in the test scripts folder.

      2. From the LoadRunner Enterprise navigation toolbar, click and select Test Management (under Testing).

      3. Select a destination folder for the scripts, or create a new folder. For details on how to create a folder, see Design performance tests.

      4. Click the Upload Scripts button.

        Select the scripts to upload, and upload options.

        For details, see Upload scripts.

  3. Edit the script parameters - optional

    After you have uploaded a VuGen script to LoadRunner Enterprise, you can edit the script parameters. For details, see Edit script parameters.

  4. Create a LoadRunner Enterprise test, and assign the VuGen script to it.

    For details, see Design performance tests.

  5. Run the performance test.

    For details, see Run performance tests.

Back to top

See also: