You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
was posted by @mstoykov as a suggestion on how to implement it yourself as a user. i'm thinking that we could provide a generic retry function in the k6-util lib that takes an http request function as a callback and attempt count as arguments, like
retry(()=>http.get(url,params),retryCount,);// we could allow users to override the accepted status code by supplying an optional third argument:retry(()=>http.get(url,params),retryCount,[200,301]);
The text was updated successfully, but these errors were encountered:
Hi @simskij, this issue is marked as completed, but none of the Grafana K6 documentation mentions anything about a retry function. Was this function ever added to K6 itself?
https://community.k6.io/t/retry-http-requests/190 has gotten a bit of attention in the forums (230 views in roughly 8 months) which suggest it's something our users would like to have access to.
was posted by @mstoykov as a suggestion on how to implement it yourself as a user. i'm thinking that we could provide a generic retry function in the
k6-util
lib that takes an http request function as a callback and attempt count as arguments, likeThe text was updated successfully, but these errors were encountered: