Gatling scripts

This topic provides an overview of how to upload and run Gatling scripts from LoadRunner Enterprise.

Note: This feature is currently available as tech preview.

Gatling scripts overview

Gatling is an open source load testing framework based on Scala, Akka, and Netty. If you are working with Gatling scripts, you can also use them in LoadRunner Enterprise tests.

By including Gatling scripts in your tests, you can run Gatling tests side-by-side with any other LoadRunner Enterprise tests, 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 Gatling tests.

Back to top

General requirements

  • For supported versions of Gatling, see the System and protocol requirements.

  • LoadRunner Enterprise supports Gatling scripts that use HTTP requests.

  • Upload a Gatling script to LoadRunner Enterprise in .zip format.

Back to top

Set up and run a Gatling test

This task describes how to upload Gatling scripts to LoadRunner Enterprise and configure runtime settings.

  1. Prerequisites:

    • Create scripts in Gatling and save the scripts locally. The scripts must be saved in .zip format and must include your .scala files and all other dependencies in the root folder of the .zip file.

    • We recommend that you delete any old or unnecessary files from the scripts folder to avoid them being uploaded to LoadRunner Enterprise.

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

  2. Upload Gatling scripts to LoadRunner Enterprise

    For details, see Upload a script.

    After uploading the Gatling script to LoadRunner Enterprise, the script is added to the test management tree (identified by the icon).

  3. Create a LoadRunner Enterprise test, and assign the Gatling script to it.

    For details, see Design a test.

  4. Edit the script parameters - optional

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

  5. Run the test.

    You can use LoadRunner Analysis to analyze test run data offline, from any computer on which Analysis is installed. For information on how to access your project from Analysis, see the LoadRunner Professional Help Center.

    For details on how to run a test, see Run performance tests.

Back to top

See also: