Manual scripting

Run your Gatling Enterprise simulations from your CI.

Purpose of this script

This script has the same purpose as the Jenkins, Bamboo or Teamcity plugin. It enables you to launch a Gatling Enterprise simulation and display live metrics.

This script doesn’t create a new Gatling Enterprise simulation, you have to create it using the FrontLine Dashboard before.

Requirement

jq is needed to run this script. It is a JSON processor available for download here.

Use

You need to give 3 parameters to the script:

  • frontLine url: address of your Gatling Enterprise, for example: https://demo-beta.gatling.io
  • api token: Gatling Enterprise API token created with permission All. To fetch the API Token, refer to the section Managing API Tokens in the Gatling Enterprise User Guide.
  • simulation id: id of the simulation you want to start. You can get this id on the simulation table, with the icon.

Script

It can be found here

Edit this page on GitHub