Hi Gatling Users,
Seems my file upload take more than 1.30 minutes and my file upload works fine if I try from browser.
When I run my gatling script, It gives me following exception to my file_upload request.
at org.asynchttpclient.netty.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:43) [async-http-client-2.0.0-RC7.jar:na]
at org.asynchttpclient.netty.timeout.RequestTimeoutTimerTask.run(RequestTimeoutTimerTask.java:48) [async-http-client-2.0.0-RC7.jar:na]
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:581) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:655) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:367) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
14:28:23.861 [pool-1-thread-1] DEBUG io.gatling.http.ahc.AsyncHandler - Request 'file_upload' failed for user 1
at org.asynchttpclient.netty.timeout.TimeoutTimerTask.expire(TimeoutTimerTask.java:43) [async-http-client-2.0.0-RC7.jar:na]
at org.asynchttpclient.netty.timeout.RequestTimeoutTimerTask.run(RequestTimeoutTimerTask.java:48) [async-http-client-2.0.0-RC7.jar:na]
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:581) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:655) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:367) [netty-common-4.0.33.Final.jar:4.0.33.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
It also reports error on console like below -
---- Errors --------------------------------------------------------------------
> j.u.c.TimeoutException: Request timeout to t21.abc.com 1 (100.0%) ===============================================
To eliminate the TimeoutException I have changed following parameters to 2.30 minutes in gatling.conf file.
connectTimeout = 150000
readTimeout = 150000
requestTimeout = 150000
sslSessionTimeout = 150000
But it still shows Request timeout after 60000ms in last error. Am I changing right parameters? Can timeout be changed more than 60 seconds? Please guide.
Thanks,
Jay