Skip to content
forked from denvazh/gatling

Docker image for Gatling load testing tool

License

Notifications You must be signed in to change notification settings

ladamalina/gatling

 
 

Repository files navigation

Docker image for Gatling load testing tool

Base Docker Image

amazoncorretto:22-alpine-jdk

Supported tags and respective Dockerfile links

Installation

  • Install Docker

  • Get automated build from public registry:

# Latest version:
docker pull ladamalina/gatling:latest

# All versions:
docker pull ladamalina/gatling

# Specific version:
docker pull ladamalina/gatling:3.12.0
  • [Alternatively] Build an image from Dockerfile:
docker build -t="ladamalina/gatling" github.com/ladamalina/gatling

Usage

Use image to run container

docker run -it --rm ladamalina/gatling

Mount configuration and simulation files from the host machine and run gatling in interactive mode

docker run -it --rm \
    -v $(pwd)/conf:/opt/gatling/conf \
    -v $(pwd)/user-files/resources:/opt/gatling/user-files/resources \
    -v $(pwd)/user-files/simulations:/opt/gatling/user-files/simulations \
    -v $(pwd)/user-files/lib:/opt/gatling/user-files/lib \
    -v $(pwd)/results:/opt/gatling/results \
    ladamalina/gatling

Use the -e switch to use JAVA_OPTS to pass parameters to gatling tests

docker run -e JAVA_OPTS="-Dusers=10" -it --rm ladamalina/gatling

About

Docker image for Gatling load testing tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dockerfile 100.0%