32. GATLING
An open-source load testing framework based on Scala,
Akka and Netty
High performance
Ready-to-present HTML reports
Scenario recorder and developer-friendly DSL
33. GATLING SCENARIO
Put in src/it/scala
class AddAndDeleteSingleTestSimulation extends Simulation {
val httpConf = http.baseURL("some.url")
val testScenario = scenario("AddAndGetSingleTest")
.exec(
http("PostNewTest")
.post("some/endpoint")
.header("ContentType", "application/json")
.body(StringBody("{body}"))
.check(status.is(201))
)
.exec(
http("GetCreatedTest")
.get("some/endpoint")
.check(status.is(200), jsonPath("$.testDef.name").is(testName))
)
.exec(
http("DeleteCreatedTest")