-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Full k6 control from API #11
Comments
Martin Fijal Daniel Brandt Emily Ekberg The big thing is that this would avoid introducing more complexity in the already quite complex engine/runner system, and allow instances to be reused in a clean fashion. Daniel Brandt Regarding the self-destruct endpoint, this might not be strictly necessary. I could just terminate the instance when the test is scaled down... Emily Ekberg k6 run NULL Somehow, I figured we'd just fire up k6 instances on nodes over SSH or through another program that spawns k6 in a subprocess, rather than have it worry about its own life cycle. Daniel Brandt Robin Gustafsson Is there description of the current control API anywhere or does one have to dig into the code (https://github.com/loadimpact/k6/blob/master/api/api.go)? David Rosen Daniel Brandt David Rosen If not, what's the level of effort to get this implemented? What upcoming planned work will have to be pushed out if we wanted to get to this as the next task in line for k6? |
Okay so, picking this back up; I don't know where we discussed it, but the most recent proposal is to use a
|
@ragnarlonn Could we close this issue? |
This should just be a part of #140 |
After playing around with remote controlling k6 from another process I've discovered some things that's missing or would ease the integration considerably.
v1/quit
?) to kill speedboat when it's time to stop the test and tear down output plugins and similar.v1/run
endpoint that would work as we discussed earlier. This would be the way to send the javascript scenario + config in a POST-request to a process started in a way as described above.These are thoughts based on last weeks testing/discovery coding and are not finalized suggestions. Hoping for a good discussion.
Imported from https://trello.com/c/G5sdTlC4/86-full-k6-control-from-api
The text was updated successfully, but these errors were encountered: