An unofficial Gatling 2.3.1 stress test plugin for gRPC 1.11.0 protocol.
$ git clone https://github.com/macchiatow/gatling-grpc.git
$ cd gatling-grpc
Install sbt 1.0 if you don't have. And create a jar file:
$ sbt assembly
If you want to change the version of Gatling used to create a jar file,
change the following line in build.sbt:
lazy val gatlingVersion = "2.3.1"-
How to run a stress test within docker container?
$ docker build -t gatling-grpc . $ docker run -it gatling-grpc:latest -
How to look test result?
# copy test result from container to results dir $ docker cp $(docker ps -a | grep 'gatling-grpc:latest' | head -n1 | awk '{print $NF}'):/opt/gatling/results .
or via gatling-sbt plugin
$ sbt gatling:test
Apache License, Version 2.0