Closed staticdev closed 4 years ago
I agree, this might be very useful. I added it to our backlog.
Your suggested alternative solution could work: just add a PAUSE instruction to the convo file in the first #me section:
...
#me
PAUSE 5000
text to send ...
#bot
...
This will wait 5 seconds before starting the conversation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@staticdev This was added in the latest Botium Core. https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/360603/Botium+Configuration+-+Capabilities#Rate-Limiting
Is your feature request related to a problem? Please describe. Some bots call APIs that has rate limits.
Describe the solution you'd like A parameter to execute tests with a maxium of X per second.
Describe alternatives you've considered Setting a delay between tests could be an alternative.
Additional context Executing tests too fast could make users blocked.