Hello all,
Recently we’ve upgraded to Gatling 3.0.0 and when running my baselines I’ve noticed that I’m getting a high volume of timeouts when ramping up. This behaviour is observed upon reaching 3 users and isn’t observed with a similar script on 2.3.0.
Anyone experiencing a similar behaviour? Did we run into a known bug?
The error:
REQUEST 1 SamplePage request_0 1540988593191 1540988653192 KO i.g.h.c.i.RequestTimeoutException: Request timeout to testdomain.com/***.***.***.**:443 after 60000 ms
The Load Injector:
Currently Gatling is being executed from an AWS EC2 instance (c5.large) and is going for a website hosted outside AWS.
The tests were executed from the same instance which has binaries for 2.3.0 and 3.0.0.
The script outline:
Main request gets approximately 40 assets through inferHtmlResources (1 js, 1 css, 38 images). Upon reaching 3 users we start getting timeouts with the latest version.
The same script (with due adjustments) runs without any timeouts. Even if I include all 5 scenarios (similar to the example one) with 11 users each.
`
val httpProtocol = http
.baseUrl(“https://www.testdomain.com”)
.inferHtmlResources(BlackList(), WhiteList(“https://..testdomain.com..”))
.acceptHeader(“image/webp,image/apng,image/,/*;q=0.8”)
.acceptEncodingHeader(“gzip, deflate”)
.acceptLanguageHeader(“en-US,en;q=0.9”)
.userAgentHeader(“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36”)
val SamplePage_0 = Map(
“Accept” → “text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8”,
“Upgrade-Insecure-Requests” → “1”)
val test_duration = 30 minute
val pacing = 0 second
val think_time = 10 second
val SamplePage = scenario(“SamplePage”)
.during(test_duration) {
pause(pacing)
.repeat(28) {
pause(think_time)
.exec(flushHttpCache)
.group(“SamplePage”) {
exec(http(“request_0”)
.get("/samplepage")
.headers(SamplePage_0))
}
}
}
setUp(
SamplePage.inject(rampUsers(11) during (10 minute)),
).protocols(httpProtocol)
`