Hello
I’m in the 3.9 version of Gatling. I don’t know if I’m doing well but with this scenario:
ScenarioBuilder scenarioBuild() {
return
scenario(SCENARIO_NAME)
.exec(
poll()
.every(5)
.exec(httpFilterRequest("Commodore"))
);
}
{
setUp(
scenarioBuild()
.injectClosed(
constantConcurrentUsers(1).during(Duration.ofMinutes(1))
)
)
.maxDuration(Duration.ofMinutes(1))
.protocols(httpBuilder().disableFollowRedirect());
}
My laptop finish to block. It creates many many requests. My goal was to exec a request every 5 secs during 1 minute. What I’m doing wrong?
Here a copy of the console report:
---- Requests ------------------------------------------------------------------
> Global (OK=12 KO=40929 )
> Computer filter Commodore (OK=12 KO=40929 )
---- Errors --------------------------------------------------------------------
> j.n.SocketException: No buffer space available (maximum connec 40929 (100.0%)
tions reached?): connect
Thanks in advance!