Skip to content

shubhamsb25/gatling-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatling json feeder example

Main module

Main method has defined a simple http endpoint which just echos whatever json body it receives

  • uri: POST localhost:8080/user
  • body (raw json): { "id":"1", "user":"Joe" }

Gatling module

Defines two simulations

  • jsonFeederScenario: Using feeder values we create request body on the fly
  • jsonFeederScenarioWithTemplate: Using feeder values we create body using a template file which looks much more cleaner

How to run

  • Run main method in main module (starts web server)
  • In a terminal run ./gradlew gatlingRun

About

Json feeder example with gatling java plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages