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_SERVERand theJAVA_OPTSenvironment variables on another values if you need it indocker-compose.ymlforgatlingservice - Start up the minimal development cluster via
docker-compose up -dfrom the root of the cloned repository - Connect to the container with Gatling via
docker-compose exec gatling bashcommand. By default you will moved to/opt/gatlingas the base work directory - Start simulation tests with
./bin/gatling.shcommand - Select the simulated test from a list and wait for it completion
- The results will be saved in
/gatling/resultsdirectory relatively to the root of this repository
gatlingstores 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-echostores 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.