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

Run test for a given time #2

Closed
viesti opened this issue Sep 26, 2014 · 3 comments
Closed

Run test for a given time #2

viesti opened this issue Sep 26, 2014 · 3 comments

Comments

@viesti
Copy link

viesti commented Sep 26, 2014

Would be neat to run requests for a given duration

@mhjort
Copy link
Owner

mhjort commented Sep 28, 2014

I just released version 0.1.2 that adds support for running multiple rounds. For example:

(run-simulation [scenario] 10 {:rounds 5})

That will start scenario with 10 parallel users and continue running requests until all scenario requests have been run 5 times. That is not exactly what you asked for but was faster to implement. Please give it a try.

I might add an option for the given duration later but I hope this rounds option already helps.

@viesti
Copy link
Author

viesti commented Sep 28, 2014

Neat! This a step into the right direction, I think it makes the library more usable. I'll try it out if I have time from current wrestling session with Gatling :)

@mhjort
Copy link
Owner

mhjort commented Nov 4, 2014

Version 0.2.0 adds support for :duration option that implements this feature.

@mhjort mhjort closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants