rakyll / hey

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

add handlebars like tag for uuid insertion into bodies #141

Open markFromMST opened 5 years ago

markFromMST commented 5 years ago

Some kinds of requests need some kind of unique ID in the body of a request and need that to be unique no matter how many times in the body, and unique from request to request.

Something like:

{hey_uuid}

markFromMST commented 5 years ago

I've possibly implemented it here:

https://github.com/markFromMST/hey/commit/a55189f84c8447ba77cd16b57c99bd090fbb9b93

However, I haven't been able to test it yet and this is literally the first thing I have done in go and so I have no idea if it is the most efficient way or not yet.