I’m getting lot of such errors for my scenario/simulation. I need some help to understand each of these errors and the direction to take to find their root cause. Are they because of my system capability (will inject these load from bigger machine solve this?) OR the way my application is handling these requests?
Could you help and explain little bit in details so that i can take that as reference and initiate conversation with my team to solve this? Thanks in advance for all your help.
Increasing timeout from gatling side to 8mins brings the error down a bit but still for huge load this error such persists
Our application is hosted on GCP. Could you help me understand where(which section in generic) can I find these errors in GCP? There is no info in backend/application logs as the request doesn’t reach application itself.
Any other debugging idea is highly appreciated. Looking forward to your response.
Premature close means the remote peer closed the connection while the client was trying to write on it.This can happen legitimately on keep-alive timeout, as the network is not instantaneous.
when getting a premature close on a pooled keep-alive connection, modern versions of Gatling with automatically retry and open e new connection and you won’t see an error
when getting a premature close on a new freshly opened connection, you’ll see this failure => it’s indeed a failure of your SUT that crashes connections
j.n.c.ClosedChannelException
I don’t think you should still see those with modern version of Gatling.
Your SUT is saturated or loses requests. Increasing client timeout won’t help, your SUT (app, network, load balancers…) can’t withstand this load or is buggy.
Dear Stephane, I faced with an issue while doing a test on finding max performance. After some level of rps I encount errors such as “14:21:03.294 [DEBUG] i.g.h.e.r.DefaultStatsProcessor - Request ‘myReq’ failed for user 24409: j.n.c.ClosedChannelException”. As you wrote before it shouldn’t appaer in new versions of gatling, but I’m using the latest one (3.7.4 + openjdk:17-jdk-alpine). Could you please give a fresh advice on this situation?
вторник, 16 марта 2021 г. в 18:30:44 UTC+3, Stéphane Landelle:
The only way for us to investigate this kind of issue is that you provide a provide a Short, Self Contained, Correct (Compilable), Example (see http://sscce.org/).