# Reports with Groups

**URL:** <https://community.gatling.io/t/reports-with-groups/6044>\
**Category:** Gatling (Open-Source)\
**Created:** [April 2, 2021, 4:05pm UTC](https://community.gatling.io/t/reports-with-groups/6044 "2021-04-02T16:05:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkallergis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gkallergis/32/863_2.png) [@gkallergis](https://community.gatling.io/u/gkallergis)\
**Post date:** [April 2, 2021, 4:05pm UTC](https://community.gatling.io/t/reports-with-groups/6044/1 "2021-04-02T16:05:57Z")

</div>

Hello 🙂

I am running a simulation that has three groups within it. The report is shown below:

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

I read the docs on these, but I think I am missing something. The response times at the Global Information row are calculated by taking all HTTP requests adding up their response times and dividing with the total number of requests. The same is true for the leaf nodes under the group nodes, but at the specific request level instead.

How is the response time calculated at the group level? The docs say that it is a cumulated response time meaning that if there is a request A that also has 10 inferred resources (I am using inferred resources above) the response time will be from the beginning of request A until the last resource response is received. The docs also mention that pauses are included which confuses me even more as the requests in Scenario #1 have a pause(220, 260) and the mean values are way below!

Would saying that Scenario #1 has a mean response time of 847ms be correct?

I think I completely don’t understand the response times at the group level. Any more detailed clarifications would be much appreciated.

Note that the useGroupDurationMetric is at its default value.

Regards,  
George

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [April 2, 2021, 4:17pm UTC](https://community.gatling.io/t/reports-with-groups/6044/2 "2021-04-02T16:17:35Z")

</div>

Cumulated response times is not the sum when it comes to resources fetched in parallel.  
It’s the time to fetch the whole resource block.

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![gkallergis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gkallergis/32/863_2.png) [@gkallergis](https://community.gatling.io/u/gkallergis)\
**Post date:** [April 2, 2021, 4:25pm UTC](https://community.gatling.io/t/reports-with-groups/6044/3 "2021-04-02T16:25:25Z")

</div>

Hello,

Thanks for the quick response!

Are cumulative values calculated from the start of the first request to the finish of the last in the whole group or just the request along with its inferred resources only (assuming the group contsims more than a single HTTP request)?

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [April 2, 2021, 4:28pm UTC](https://community.gatling.io/t/reports-with-groups/6044/4 "2021-04-02T16:28:48Z")

</div>

group(“group”) {  
exec(request1.resources(request1\_resources))  
.exec(request2.resources(request2\_resources))  
}

group cumulated response time = request1 + request1\_resources (from start to end) + request2 + request2\_resources (from start to end)

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![gkallergis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gkallergis/32/863_2.png) [@gkallergis](https://community.gatling.io/u/gkallergis)\
**Post date:** [April 2, 2021, 4:38pm UTC](https://community.gatling.io/t/reports-with-groups/6044/5 "2021-04-02T16:38:52Z")

</div>

Perfect!

So pauses of the main requests (i.e., non inferred resources) are not calculated, right?

Thanks again for your help!

Kind regards,  
George

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [April 2, 2021, 4:40pm UTC](https://community.gatling.io/t/reports-with-groups/6044/6 "2021-04-02T16:40:34Z")

</div>

Exactly. In short: group cumulated response times = group duration - pauses

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![gkallergis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gkallergis/32/863_2.png) [@gkallergis](https://community.gatling.io/u/gkallergis)\
**Post date:** [April 2, 2021, 5:00pm UTC](https://community.gatling.io/t/reports-with-groups/6044/7 "2021-04-02T17:00:56Z")

</div>

Brilliant! 🙂 Thanks!

Just one suggestion, if this is the correct place to suggest that, maybe the wording:

_…cumulated time of a group is the elapsed time from the start of the group’s first request to the end of the group’s last request, including pauses…_

in the section, Cumulated Time of [https://gatling.io/docs/current/general/timings](https://gatling.io/docs/current/general/timings) could change to “not including”?

Thanks again!

Cheers,  
George

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [April 2, 2021, 5:06pm UTC](https://community.gatling.io/t/reports-with-groups/6044/8 "2021-04-02T17:06:26Z")

</div>

Indeed, the wording is poor, that’s why I didn’t link the documentation 🙂  
I’ll fix it ASAP.

Cheers,

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)

---

<div class="post-metadata">

**Author:** ![gkallergis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gkallergis/32/863_2.png) [@gkallergis](https://community.gatling.io/u/gkallergis)\
**Post date:** [April 4, 2021, 7:53pm UTC](https://community.gatling.io/t/reports-with-groups/6044/9 "2021-04-04T19:53:05Z")

</div>

Hello again, in case it helps convey the information in the docs in any way this is a note/diagram I have to remember/communicate this.

 ![cumulative.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/a3e8b249dc1db9e96eb11967df43a0e3ff6ac22c.png)

Regards,  
George

 ![report.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/cbfd3996fd753fd8c8101a71013de94c5683916b.png)
