incorrect group times when group contains request with redirect


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
.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”) {
.group(“group with redirect”) {
exec(http(“REQ with 500ms + 300ms redirect”)

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.


simulation.log (1.01 KB)

Wow, that was quick:

Thank you !


You’re welcome :slight_smile:

Thanks for reporting