How to add a pause or sleep before retry?

I find a retryMax() that can be used to retry a fail. But how could I add a sleep before retry?

If failed → sleep some time → then retry.

I solved my issue. Just add a pause() before exec().

tryMax(3){ pause(3) .exec(http('login')) }

在 2017年2月23日星期四 UTC+8下午2:26:50,Feng Yu写道: