-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
evaluation neededproposal needs to be validated or tested before fully implementing it in k6proposal needs to be validated or tested before fully implementing it in k6feature
Description
Feature Description
Currently there is a Stop test HTTP call which allows to stop the test itself but does not terminate the k6 process. This is easily noticeable when using --linger option: even after using Stop test HTTP call, k6 process must be terminated with an interrupt. (Ctrl + C, SIGTERM, etc.)
It would be good to have a possibility to terminate a running k6 process with HTTP API as well.
The absence of this call is esp. noticeable when trying to implement distributed test while native distribution mode is not available yet.
Probably a rare case, but it might also come in handy in non-distributed setups that are relying on HTTP API as well.
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
This possibility was previously mentioned here:
#2804
Also, a related discussion is here:
#3217 (comment)
Metadata
Metadata
Assignees
Labels
evaluation neededproposal needs to be validated or tested before fully implementing it in k6proposal needs to be validated or tested before fully implementing it in k6feature