Number of requests per second chart count

156 views
Skip to first unread message

zhangc82

unread,
Dec 7, 2021, 10:02:17 AM12/7/21
to Gatling User Group
Hi,

In my run I have 200 requests, which shows correctly on the table, I am trying to see how many requests per min by looking at the chart, but the number of requests per second chart does not seem to add up to 200, you can see visually that the chart is less than 200 for sure. 


table.jpg

chart.jpg

Stéphane LANDELLE

unread,
Dec 7, 2021, 10:03:21 AM12/7/21
to gat...@googlegroups.com
Please share your simulation.log so we can investigate.
--

Stéphane Landelle

Chief Technical Officer

   

slan...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/df6c284a-6ab6-4067-abca-b3058ae5d3fen%40googlegroups.com.

Zhang, Chen

unread,
Dec 7, 2021, 11:18:55 AM12/7/21
to gat...@googlegroups.com
Hi Stephane, I've attached the simulation log.  Appreciate your help.

You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/vEwVelUZbm4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/CAJw%3DiaRQ5Lr3Thw6H8XwUH%3DGHAmcdROwhdLxvfR6uT1VkbGwmA%40mail.gmail.com.
simulation.log

Stéphane LANDELLE

unread,
Dec 7, 2021, 11:44:39 AM12/7/21
to gat...@googlegroups.com
The charts are correct.
You've assumed you had a 1s resolution so you could sum the req/s plot to get the total number of requests.

But that's wrong, you're not guaranteed to have a 1s resolution.
There's a gatling.charting.maxPlotsPerSeries that controls the bucket size. The default value is 1,000, so here, your bucket size is ~2 seconds.

--

Stéphane Landelle

Chief Technical Officer

   

slan...@gatling.io
gatling.io
   
facebook twitter linkedin 

Zhang, Chen

unread,
Dec 7, 2021, 12:25:10 PM12/7/21
to gat...@googlegroups.com
Hi Stephane,  thanks for the reply.  I am not sure I understand.  If my goal is to look at how many requests per minute, what changes do I need to make to have an accurate reading?

This is my charting config:

charting {
#noReports = false # When set to true, don't generate HTML reports
#maxPlotPerSeries = 1000 # Number of points per graph in Gatling reports
useGroupDurationMetric = true # Switch group timings from cumulated response time to group duration.
indicators {
#lowerBound = 800 # Lower bound for the requests' response time to track in the reports and the console summary
#higherBound = 1200 # Higher bound for the requests' response time to track in the reports and the console summary
#percentile1 = 50 # Value for the 1st percentile to track in the reports, the console summary and Graphite
#percentile2 = 75 # Value for the 2nd percentile to track in the reports, the console summary and Graphite
#percentile3 = 95 # Value for the 3rd percentile to track in the reports, the console summary and Graphite
#percentile4 = 99 # Value for the 4th percentile to track in the reports, the console summary and Graphite
}

Reply all
Reply to author
Forward
0 new messages