Hi,
I wanted to understand how the group stats are being calculated in gatling since the documentation present on the website is not very clear.
Suppose i have two groups(“Group1” & “group2”) in my scenario with 5 users ramped up.
Group1 has following 2 requests with the following stats ( which were calculated by gatling in the html report )
1.Name - request1
Total requests -5
OK-5
KO -0
Mean resp. time - 5000 and so on…
2. Name - request 2
Total requests - 10
OK -5
KO-5
Mean Resp. Time - 4000 and so…
So i wanted to know how the group stats will be calculated by gatling?
I calculated the mean resp. time of the group using the formula- totalRequests*MeanResponseTime of the request/Sum of all the requests in the group
i.e (5 x 5000 + 10 x 4000)/(5+10)
and the numbers were not matching the mean response time of the group calculated by gatling.
I also checked with the formula = sum of MeanResponseTime of all the requests in a group/Sum of all the requests in the group
i.e (5000+4000)/(5+10)
and still the number was not matching the mean response time of the group calculated by gatling.
So can you please clarify and explain how gatling understands this and how the stats are calculated in a more detailed way (P:s- i have gone through the documentation and still it is very unclear about the actual calculation)
Gatling version being used - 3.7.6
cc- @slandelle