How can I increase the Gatling request timeout?

1,427 views
Skip to first unread message

Octavian Hasna

unread,
Feb 3, 2022, 4:09:46 AM2/3/22
to Gatling User Group
Hello,
I have an endpoint that could give a response in more than 30 seconds.
How can I configure Gatling to wait longer for the response?

Here is an example:
================================================================================
---- Global Information --------------------------------------------------------
> request count                                         50 (OK=15     KO=35    )
> min response time                                  12554 (OK=12554  KO=30575 )
> max response time                                  30827 (OK=29490  KO=30827 )
> mean response time                                 27836 (OK=21326  KO=30626 )
> std deviation                                       5502 (OK=6353   KO=46    )
> response time 50th percentile                      30600 (OK=22929  KO=30613 )
> response time 75th percentile                      30627 (OK=26636  KO=30640 )
> response time 95th percentile                      30683 (OK=28645  KO=30706 )
> response time 99th percentile                      30772 (OK=29321  KO=30789 )
> mean requests/sec                                  1.389 (OK=0.417  KO=0.972 )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                             0 (  0%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                           15 ( 30%)
> failed                                                35 ( 70%)
---- Errors --------------------------------------------------------------------
> status.find.in(200,201,202,203,204,205,206,207,208,209,304), f     35 (100.0%)
ound 503
================================================================================

Thanks,
Octavian

Stéphane LANDELLE

unread,
Feb 3, 2022, 4:17:31 AM2/3/22
to gat...@googlegroups.com
https://gatling.io/docs/gatling/reference/current/core/configuration/#gatling-conf

Note: the default request timeout is 60s.
Your errors are 503/Service Unavailable, which means your target endpoint is under maintenance/being rebooted, not request timeouts.
--

Stéphane Landelle

Chief Technical Officer

   

slan...@gatling.io
gatling.io
   
facebook twitter linkedin 


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/c88307f8-a3ba-46d7-bcef-6776099d6910n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages