Run LeanFT tests from Performance Center

This topic describes how to run LeanFT tests from Performance Center.


Below is a list of prerequisites that are required to run LeanFT tests from Performance Center.

  • Configure the load generator machine the same way as the machine that is used to record or prepare the script or test.

  • For LeanFT tests based on NUnit or JUnit:

    Test Type Description
    • The same version of NUnit Framework must be installed on the load generator and on the machine used for test creation (the one installed as NuGet package). If the versions are different, errors might occur during the test run.

    • Make sure that nunit.framework.dll resides in the same directory as the NUnit test.

    • Make sure JDK is installed on the machine used as the load generator.

    • If your test has dependencies, verify that they are available on the load generator machine with the same paths as defined under Runtime Settings > Classpath.

    • You must have the JAVA_HOME environment variable included in the PATH variable on the load generator and Controller machines were applicable (to avoid displaying an error that Java is not installed).

  • Create a LeanFT test, and save it on your file system.

    Note: You will need to convert the test to a VuGen script before uploading it to Performance Center (described in the steps below).

Back to top

Run a LeanFT test from Performance Center

  1. Download the VuGen Script Converter.

    For LeanFT tests based on NUnit or JUnit, the converter must be installed on a machine that has the same NUnit or JUnit Framework installed as the one used when creating the LeanFT test.

    1. From the Performance Center navigation toolbar, click and select Download Applications.

    2. Select VuGen Script Converter and click Download.

    3. Install the script converter and run VuGenScriptConverter.exe.

    Note: VuGen Script Converter can be run from Performance Center host machine. To do so, select Start > All Programs > Load Runner > Tools > VuGen Script Converter.

  2. Convert the test to a VuGen script.

    You can convert a test to a VuGen script using the script converter, or convert it automatically from a command prompt.

  3. Upload the converted VuGen script to Performance Center.

    1. From the Performance Center navigation toolbar, click and select Test Management.

    2. In the test management tree, select a folder in which you want to upload the script, and click the Upload Scripts button.

    3. Select the zip file created by the converter utility, and click Upload.

    For details, see Upload scripts.

  4. Create a test using the script.

    Assign as the load generator a machine that has LeanFT and the relevant prerequisites installed on it.

    For details, see Design a performance test.

  5. Run the test.

    For details, see Manage a performance test run.

Back to top

See also: