Group total is wrongly calculated

6 views
Skip to first unread message

umeshwaran v

unread,
Sep 18, 2021, 7:16:39 AM9/18/21
to Gatling User Group
Hi,

In our scenario group is added for the executions.  It looks group total is wrongly calculated.  The image is attached and highlighted the group total.  

Please kindly let me know how to fix this.  And also is there a setting to convert milliseconds values to seconds values for percentiles.

gatlingGrouping.jpg

Regards,
Umeshwaran.V

Sébastien BREVET

unread,
Sep 18, 2021, 7:32:56 AM9/18/21
to gat...@googlegroups.com

Hi,

What do you call wrongly calculated?
Things do not add up and this is perfectly fine, depending on your group definition.

For instance, if you have conditional branches in your group:

group("withCondition") {
  doIfOrElse(_ => Random.nextInt(10) > 5) {
    exec(http("if true").get("..."))
  } {
    exec(http("if false").get("..."))
  }
}

You will have values for "if true" and "if false" but the group won’t be the sum.

On other hands, pauses are not shown as requests.

Another concern will be the difference between averages and percentiles.
The metrics are not identical:

  • group: duration of the whole group
  • request: duration of one single request

Your group may be smaller, bigger,

If you continue to be convinced that are issues with calculation, please, be more specific and provide the injection logs.

Cheers!




--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/063ab263-7f2f-4032-960d-95388523d9f3n%40googlegroups.com.


--

Sébastien BREVET

Backend engineer

   
sbr...@gatling.io
gatling.io
   
facebook twitter linkedin 

slan...@gatling.io

unread,
Sep 18, 2021, 7:37:36 AM9/18/21
to gat...@googlegroups.com

Le 18 sept. 2021 à 13:32, Sébastien BREVET <sbr...@gatling.io> a écrit :



Hi,

What do you call wrongly calculated?
Things do not add up and this is perfectly fine, depending on your group definition.

For instance, if you have conditional branches in your group:

group("withCondition") {
  doIfOrElse(_ => Random.nextInt(10) > 5) {
    exec(http("if true").get("..."))
  } {
    exec(http("if false").get("..."))
  }
}

You will have values for "if true" and "if false" but the group won’t be the sum.

On other hands, pauses are not shown as requests.

Another concern will be the difference between averages and percentiles.
The metrics are not identical:

  • group: duration of the whole group
  • request: duration of one single request

Your group may be smaller, bigger,

If you continue to be convinced that are issues with calculation, please, be more specific and provide the injection logs.

Cheers!




On Sat, Sep 18, 2021 at 1:16 PM umeshwaran v <umes...@gmail.com> wrote:
Hi,

In our scenario group is added for the executions.  It looks group total is wrongly calculated.  The image is attached and highlighted the group total.  

Please kindly let me know how to fix this.  And also is there a setting to convert milliseconds values to seconds values for percentiles.

<gatlingGrouping.jpg>


Regards,
Umeshwaran.V

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/063ab263-7f2f-4032-960d-95388523d9f3n%40googlegroups.com.


--

Sébastien BREVET

Backend engineer

   
sbr...@gatling.io
gatling.io
   
facebook twitter linkedin 

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages