Performance benchmark for Pathfinder application
This repository contains performance / load tests for Pathfinder application, that have written in Scala for Gatling tool.
- Clone this repository via
git clone https://github.com/OpenMatchmaking/bench-pathfinder.git
- Override the
REMOTE_SERVER
and theJAVA_OPTS
environment variables on another values if you need it indocker-compose.yml
forgatling
service - Start up the minimal development cluster via
docker-compose up -d
from the root of the cloned repository - Connect to the container with Gatling via
docker-compose exec gatling bash
command. By default you will moved to/opt/gatling
as the base work directory - Start simulation tests with
./bin/gatling.sh
command - Select the simulated test from a list and wait for it completion
- The results will be saved in
/gatling/results
directory relatively to the root of this repository
gatling
stores a group of files for running simulationsconf
- a bunch of configuration files for Gatling tool, e.g. Gatling itself / logging / Akkaresults
- special folder which is used as a storage for Gatling reportsuser-files
- code with performance / load tests in Scala which are simulate a user's behaviour
microservice-echo
stores the code for a small microservice that returns data to the caller as is, without any changes
The bench-pathfinder code is published under BSD license. For more details read the LICENSE file.