Giter VIP home page Giter VIP logo

gatling-template.g8's Introduction

Scala Steward badge Continuous Integration

A Giter8 template for the Gatling performance test project.

About

The Gatling-template.g8 is a handy tool that allows you to quickly create SBTs for Gatling. The template allows you to create projects for HTTP (default), JDBC, AMQP, and Kafka protocols. The template supports Windows and Unix OS.

How to use

sbt new Tinkoff/gatling-template.g8

Confirm your operating system in the os_windows field. Set this field to "y" if you use Windows OS. Default value for Unix OS is "n".

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 packaging field is set to "ru.tinkoff.load" the project structure will be ru/tinkoff/load/

Parameters "name" and "package" are required. Leave the default or specify yours.

How to install sbt https://www.scala-sbt.org/1.x/docs/Setup.html.

Parameters

Use the following parameters to create a template

Parameter Description Default value
os_windows If you are using Windows OS, set this parameter n
package Package name ru.tinkoff.load
name Service name myservice
http Protocol used in scripts y
jdbcPlugin Protocol used in scripts n
amqpPlugin Protocol used in scripts n
kafkaPlugin Protocol used in scripts n
scala_version Version dependencies in project 2.13.8
sbt_version Version dependencies in project 1.7.1
gatling_version Version dependencies in project 3.8.4
sbt_gatling_version Version dependencies in project 4.2.3
sbt_scalafmt_version Version dependencies in project 2.4.6
gatling_picatinny_version Version dependencies in project 0.11.2

By default, a project will be created with the ru.tinkoff.load package and the name myservice, for the HTTP protocol, with the specified dependency versions

Overriding variable environment

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:

  1. By setting the JVM property -Dconfig.override_with_env_vars=true;
  2. Pass the variable in the CONFIG_FORCE_variablesName format, for example CONFIG_FORCE_intensity=100.

More details here.

Other info

Known bugs

At the moment, when working in Windows 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.

Template license

Written in 2020 by Tinkoff.

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

gatling-template.g8's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gatling-template.g8's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.