Getting j.n.c.ClosedChannelException while running tests in Gatling Java

822 Views Asked by At

Getting j.n.c.ClosedChannelException while running tests in Gatling Java. Please let me know what things I should try to avoid this exception.

I have tried maxConnectionsPerHost(10) and shareConnections options as well in HTTP protocol but no help.

I am running 245 req/seconds for 5 minutes. Out of 73500 requests, 37150 failing because of this exception.

1

There are 1 best solutions below

4
On

Don’t blame the messenger. This error means your server is breaking the connection before sending the full response.