rakyll / hey

HTTP load generator, ApacheBench (ab) replacement
Apache License 2.0
17.65k stars 1.17k forks source link

Add support for request URL randomization / shuffling #183

Open preslavrachev opened 4 years ago

preslavrachev commented 4 years ago

As requested in #35, the idea is to use regular expressions in various places, which will lead to different URLs being used when requests are spawned.

This current implementation only works with RegEx passed directly as part of the URL path or its parameters (wrapped within {{...}} ):

hey https://google.com/"{{[a-z]{10}}}"

Depending on your shell, the wrapping parentheses might or might not be needed.

Although this part can be merged, this is an ongoing effort and further changes would require the introduction of a local Request type first.

iKarthik commented 1 year ago

Any idea why this feature is pending merge? I can help if needed