How to start a new request every .5 seconds?

I am looking for a simple http test tool that can start a new request every .5 seconds (even if every single request takes longer), and then shows a summary how many were successful and how many failed. This is intended to test “zero downtime deployments”.

Original imaginary command line usage:

check-service-availability \
  --new-request-every 0.5s \
  --wait-for-response 10s \
  --duration 60s \

I was recommended k6 and I checked the docs, but I am still unclear if it is possible to generate (potentially overlapping) requests every 0.5s and then get a summary of successful and failed requests.

I think you can use Constant arrival rate for creating a similar scenario.


Awesome, exactly what I was looking for, thank you!

1 Like