I've read https://docs.gatling.io/reference/script/core/simulation/#global-pause-configuration but not sure where the pause(duration) element is. Can anyone give a full working example?
I've tried the following. Looking at the simulation result, there is not any pause between requests.
ScenarioBuilder scenario = scenario("scenario")
.pause(Duration.ofSeconds(5))
.exec(
http("...").get("..."),
http("...").get("..."),
...
);
{
setUp(
scenario.injectOpen(atOnceUsers(1))
.constantPauses()
).protocols(httpProtocol);
}