-
Notifications
You must be signed in to change notification settings - Fork 153
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 self-contained setup for load test #275
Add self-contained setup for load test #275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but some files are missing from this PR to be able to test it.
46e9db4
to
1bc0237
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with my local dev instance and the HA setup and it works pretty good (with a few updates for Windows, I'll update the doc), great work on this!
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
loadimpact/k6:master run \ | ||
--vus $vus \ | ||
--duration $duration \ | ||
$iterationsOption \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$iterationsOption \ | |
--iterations $iterations \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would cause the script to fail if $iterations
is not specified. And you want the ability to leave the option out entirely, so you can do things like "run as many iterations as possible over 5 minutes".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes you're right! OK, then, I guess you can merge 🙂
Create needed org, datasource, and dashboard automatically.