Skip to content

mfaisalkhatri/gatlingpoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love Github Workflows HitCount

❓ What is this Repository about?

  • This repo contains example codes for Performance testing using Gatling.
  • Rest APIs from https://reqres.in/ have been used for testing.
  • Maven is used as a Build Tool.
  • Run Time Parameters: USERS, RAMP_DURATION and DURATION are used in the code.
  • To run the test from command line use the following command:
  • mvn gatling:test -Dgatling.simulationClass=<Class Name to run test> -DUSERS<No of User> -DRAMP_DURATION<Ramp duration in seconds> -DDURATION<Total test duration in seconds>

E.g.: mvn gatling:test -Dgatling.simulationClass=simulations.ReqResEndToEndTests -DUsers=20 -DRAMP_DURATION=10 -DDURATION=30

🧬 Need Assistance?

🌟 What you do if you like the project?

  • Spread the word with your network.
  • Star the project to make the project popular.