Hi,
I think that I found a bug in group statistics interpretation in Gatling 2.1.4 (same behavior is in 2.2.0-SNAPSHOT).
I have 2 groups defined as shown in this simulation class:
class GatlingTest extends Simulation {
val httpConf = http
.baseURL(“http://localhost:8080”)
.acceptHeader(“text/html,application/xhtml+xml,application/xml,application/json,text/javascript;q=0.9,/;q=0.8”)
.acceptLanguageHeader(“en-US,en;q=0.5”)
.acceptEncodingHeader(“gzip, deflate”)
.userAgentHeader(“Mozilla/5.0 (Windows NT 6.2; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0”)
.check(status.not(404), status.not(500))
val scn = scenario(“group redirect test”)
.group(“group with no redirects”) {
exec(http(“REQ300”)
.get("/noredirect300/test1"))
.exec(http(“REQ500”)
.get("/noredirect500/test2"))
}
.group(“group with redirect”) {
exec(http(“REQ with 500ms + 300ms redirect”)
.get("/"))
}
setUp(scn.inject(rampUsers(1) over (0 seconds)).protocols(httpConf))
}
Group1 (group with no redirects) consists of 2 requests taking 304ms and 501ms with no redirects. The sum of response times is 805ms which is also shown in Group1 Min column.
Group2 (group with redirects) consists of 1 request which is doing a redirect. The request takes 501ms and the redirect another 302ms. The sum is 803ms but the Group2 Min column shows 302. I think it should be 803ms. Am I correct ?
The only difference between these 2 groups is only the redirect.
Please see attached screenshot of statistics and simulation.log file.
Thank you.
Martin
simulation.log (1.01 KB)