Lusitha
Lusitha

Reputation: 370

Getting j.i.IOException: Premature close in Gatling

I have a few GET endpoints related to downloading files from the server. And when we try to simulate the download for smaller size it works perfectly fine ex : 500MB but for 1GB above files it starts the download in gatling and after some time it stopped with error j.i.IOException: Premature also I have verified that it is not something related to the application as it works perfectly fine in Loadrunner.

Observation: file download would take more than 1 minute. I was looking into the Gatling Config file and updated following but non of them helped to resolve the issue shutdownTimeout,connectTimeout,handshakeTimeout,pooledConnectionIdleTimeout

Upvotes: 2

Views: 4811

Answers (1)

Stéphane LANDELLE
Stéphane LANDELLE

Reputation: 6623

The timeout you have to increase is the requestTimeout.

Upvotes: 2

Related Questions