# How is group total calculated?

**URL:** <https://community.gatling.io/t/how-is-group-total-calculated/2410>\
**Category:** Gatling (Open-Source)\
**Created:** [July 21, 2015, 7:47pm UTC](https://community.gatling.io/t/how-is-group-total-calculated/2410 "2015-07-21T19:47:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarrowwx](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jarrowwx](https://community.gatling.io/u/jarrowwx)\
**Post date:** [July 21, 2015, 7:47pm UTC](https://community.gatling.io/t/how-is-group-total-calculated/2410/1 "2015-07-21T19:47:14Z")

</div>

I am seeing strange totals in groups that are definitely not the sum of the constituent transactions. How are group counts calculated?

For convenience, I have attached a simulation.log where I am seeing the interesting results.

As a side note, this will also give you the benefit of seeing what it looks like with a whole bunch of concurrent scenarios, which we talked about a little while back. 🙂

BTW, I’m using 2.2 (build 266, about a month old - 6/23)

[simulation.log.bz2](https://community.gatling.io/uploads/short-url/63bwD9yFPWMuTkQVN10EXNbofV3.bz2) (2.86 MB)

---

<div class="post-metadata">

**Author:** ![Abhinav\_Gogna](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Abhinav\_Gogna](https://community.gatling.io/u/Abhinav_Gogna)\
**Post date:** [July 22, 2015, 1:27pm UTC](https://community.gatling.io/t/how-is-group-total-calculated/2410/2 "2015-07-22T13:27:40Z")

</div>

According to official 2.1.7 documentation, its cumulated.

[gatling.io/docs/2.1.7/general/timings.html#groups](http://gatling.io/docs/2.1.7/general/timings.html#groups)

I am also little confused about the group calculations.

---

<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:** [July 22, 2015, 1:33pm UTC](https://community.gatling.io/t/how-is-group-total-calculated/2410/3 "2015-07-22T13:33:57Z")

</div>

The group counts are the number of times the group was executed, not the sum of the counts of the requests: [https://github.com/gatling/gatling/issues/2775](https://github.com/gatling/gatling/issues/2775)

---

<div class="post-metadata">

**Author:** ![jarrowwx](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jarrowwx](https://community.gatling.io/u/jarrowwx)\
**Post date:** [July 22, 2015, 4:08pm UTC](https://community.gatling.io/t/how-is-group-total-calculated/2410/4 "2015-07-22T16:08:01Z")

</div>

That clears things up completely, thanks!
