Closed Mac351 closed 4 years ago
Instead of a wait period I think, a maximal rate per second feels more natural. In general I like this idea. Do you want to implement this feature? A PR is very welcome.
I would like to try, but my initial attempts to build locally didn't work, due to not having a "make" installed. I'm not sure if I'm going to get the time to sort this out.
I also think the wait period would suit my needs better. It will emulate a sensor sending data to an IoT endpoint once a minute. How would I get this use case working using a maximal rate per second? I'd have to set it to 1/60 messages per second!
I've created a PR. I tried to link it to this issue, but that didn't work!
The docker support is really excellent. The build and run process in docker made life so simple!
I want to simulate a situation where we have many clients, sending a message once a minute.
I'd suggest a new parameter that accepts a wait time in seconds, like wait-period and then in the worker, add a thread sleep (or similar) to wait for the required period of time.
Awesome tool by the way, thanks!