newman-action icon indicating copy to clipboard operation
newman-action copied to clipboard

Delay jitter

Open Lewiscowles1986 opened this issue 3 years ago • 0 comments

Just out of interest, have you considered a jitter for delay? https://github.com/anthonyvscode/newman-action/blob/master/src/runner.ts#L93

It would require a Number|JitterCalculator type and a modification when parsing number input, specific to delay. https://github.com/anthonyvscode/newman-action/blob/master/src/runner.ts#L55

I ask this because some API's don't like zero delay, but don't need a consistent say 2-4s. An example of this in other tooling for web requests / fetching can be.

wget --random-wait

Lewiscowles1986 avatar Sep 12 '21 09:09 Lewiscowles1986