I am writing a scenario wherein I strive to achieve maximum throughput- simulating as many users as necessary to this create as many requests per second as possible.
In my simulation I am using repeat(count)
with a feeder that provides a continuous stream of data.
My simulation looks like this:
val scn = scenario("xxx")
.repeat(records) {
feed(jw)
.exec(
http("request").
post("/api/").
header("Content-Type", "application/json").
check( bodyString.saveAs( "RESPONSE_DATA" )).
body(StringBody("${quad}")).asJSON.
check(status.is(200))
)
}
setUp(
scn.inject(atOnceUsers(100))
).protocols(httpConf)
So far, with my laptop running the api and gatling, I have not been able to generate more than 100 requests per second. On this mailing list I am seeing evidence of 30k requests per second. I have not found documentation addressing this issue specifically. What techniques should I use to increase the requests initiated per second?