microservice_gatling

command
v0.0.0-...-d7ce89a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

README

Gatling Stress and Chaos Test

Instructions

  • To build the project you need to have SBT installed

To build the project locally

  • Clone the public project in:
    git clone https://github.com/bbeckerdarosa/devops_sandbox.git
  • To run the calculator, type in the terminal:
    go run calculator.go
  • To run the Gatling test defining the quantity of users and the time, type in the terminal:
    sbt -Dusers=${params.USERS} -Dduration=${params.DURATION} gatling:test
  • Replace params.USERS with quantity of users and params.DURATION with time in seconds

  • The results will be available accessing the following directories:

target/gatling/calculatorservicestresstest-{timestamp}/simulation.log

To build the project using Jenkins

  • You can to build the project with Jenkins, using the file Jenkinsfile

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL