Skip to content

Repository files navigation

Gatling-GRPC Build Status

An unofficial Gatling 2.3.1 stress test plugin for gRPC 1.11.0 protocol.

Usage

Cloning this repository

$ git clone https://github.com/macchiatow/gatling-grpc.git
$ cd gatling-grpc

Creating a jar file

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"

Running a stress test

Using Docker

  • 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 .
    

Using sbt

or via gatling-sbt plugin

$ sbt gatling:test

License

Apache License, Version 2.0

About

A Gatling stress test plugin for gRPC protocol

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages