When I try to run my Gatling test in Gatling Enterprise, the test is broken and in the logs, I can see this error message:
Too many requests metrics, you’re flooding the stats engine. Limit is set to 2000 but you have (Search PDPTest, , fc7d2fabcc2009e14569addfb4d739a4725c.jpg) … (and a bunch of other jpg files listed here)
I am using Gatling version 3.6.1 at the moment and I am also loading all the static resources:
.inferHtmlResources()
What could be the issue here? Thanks.
The message is explicit: we limit the number of metrics you can compute (all the aggregations they trigger are very CPU intensive).
- Do you really need to include those static resources in your load tests? This might not make sense, in particular if they are served from a dedicated infrastructure (caches, CDN), which they should. Your performance issues are likely to happen with your dynamic application, not your static content.
- Do you need the performance metrics on those static resources? If not, you can use
silentResources()
to make them silent: Gatling - HTTP Protocol
1 Like
Hey, Thanks for your quick reply.
I am not yet sure I need them, but maybe I will. We usually do not include them but there might be a case that we need for our specific scenario.
I will try to use your second proposal and see if it helps.
Thanks again ![:smiling_face_with_three_hearts: :smiling_face_with_three_hearts:](https://emoji.discourse-cdn.com/twitter/smiling_face_with_three_hearts.png?v=12)