2

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

Lusitha
  • 330
  • 1
  • 3
  • 19

1 Answers1

2

The timeout you have to increase is the requestTimeout.

Stéphane LANDELLE
  • 6,076
  • 2
  • 10
  • 12