This exception means that the server closed the connection when the client (Gatling) tried to write to it.
This may indicate that you need to configure the keep-alive timeout so that it does not correspond to the typical user timeout, but such an event will always occur.
But then the web browser retries the request in the event of such a failure.
Gatling can do this too, but now it's disabled (by default it will be enabled in 2.1.6). Until then, you can change the maxRetry value in the maxRetry file.
source share