A Giter8 template for gatling performance test project
sbt new TinkoffCreditSystems/gatling-template.g8
Enter the name of your service in the name field.
Enter your domain in the package field to form the project structure, e.g. when the value of the package field is set to "ru.tinkoff.load" the project structure will be ru/tinkoff/load/
Parameters "name" and "package" are required. Leave them default or specify yours.
How to install sbt https://www.scala-sbt.org/1.x/docs/Setup.html.
In Gatling version 3.4.2, the typesafe.config library was updated, where, for security reasons, they removed the loading of all variables from ENV into the config. To override a variable from simulation.conf you need:
- By setting the JVM property
-Dconfig.override_with_env_vars=true
; - Pass the variable in the
CONFIG_FORCE_variablesName
format, for exampleCONFIG_FORCE_intensity=100
.
More details here.
At the moment, when working in Windows with using SBT version lower than 1.4.1 there is a problem - the temporary .gitignore file is not deleted. This does not affect project creation.
Written in 2020 by Chepkasov Sergey [email protected]
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.