Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multiple requests option flag #134

Open
eds000n opened this issue Oct 20, 2022 · 1 comment
Open

add multiple requests option flag #134

eds000n opened this issue Oct 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@eds000n
Copy link

eds000n commented Oct 20, 2022

I wanted to use restish for some load testing, by importing an openapi definition and having some option like -l which would set the amount of requests per minute or second; the query params or payload could be randomly generated based on the definition, or maybe by providing some input. Have you thought of this kind of usage? I could do some pr as proof of concept.

@danielgtaylor danielgtaylor added the enhancement New feature or request label Nov 2, 2022
@danielgtaylor
Copy link
Owner

@eds000n I think this is an interesting idea and would be open to having a command which does this. Just be aware that with all the extra processing Restish does you won't generate the most load against the API possible, like you could with some dedicated tool e.g. wg/wrk.

I think the advantage of using Restish would be that you don't need to write a script for which endpoints to hit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants