Skip to content

Commit

Permalink
Implement Gatling stress tests :wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Sep 28, 2024
1 parent cc0cdcf commit 2dcedf6
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ public class GatlingSimulation extends Simulation {
private ChainBuilder appointmentsCrud = exec(
http("Create")
.post("/appointments")
.body(StringBody(""))
.body(StringBody("""
{
"users": [],
"startTimestamp": "2024-09-28T21:28:00.419367341",
"endTimestamp": "2024-09-28T21:28:00.4193957"
}
"""
))
.check(status().is(201))
.check(jmesPath("id").saveAs("id")),
pause(1),
Expand Down

0 comments on commit 2dcedf6

Please sign in to comment.