We base our integration of custom load test on the concept of Docker-images. Therefore, you need a Docker Hub user or a private Docker registry as prerequisite. After that, just follow the steps below to integrate your custom load test:
# Inherit existing image
# Provide custom test
COPY custom.scala /script.js
- 1.Build the docker image and tag it with your own Docker Hub user by running
docker build . --tag <your-docker-hub-huser>/action-gatling:latest.
- 2.Login to dockerhub via
- 3.Push the Docker image to Docker Hub Registry via
docker push <your-docker-hub-huser>/action-gatling:latest
- 4.In the experiment using the Gatling load test you have to specify
<your-docker-hub-huser>/action-gatling:latestas Docker Image parameter.
Experiment with Custom Gatling Load Test
In case the image is not public and requires authentication to be pulled you can configure the Pull-Secrets in the platform via Application Settings -> Agents -> Pull Secrets.
Tip: Instead of the dockerhub registry you can also use a custom one - you then need to use a prefixed image tag and the correct login