-
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
Ability to display intermediate result while the test is running #1315
Comments
Now that we have #1768, this issue should be relatively easy to implement. Though we might need to refactor the Also, a keyboard letter like |
As has become apparent in the course of #1849, this feature has a lot of hidden complexity and deserves a lot of consideration before we implement it. Specifically, we either have to accept a poor UX, or we have to deal with a lot of terminal strangeness... 😞 |
I don't see why we can't compromise and allow this to work with |
My requirement of listening to |
Then doesn't it become too easy enough to trigger this accidentally? And very important that you don't accidentally pipe something to k6's stdin... Binding Mind you, I am not against this, I just want us to spend a bit more time thinking about it before we try again... 😅 It's not a very important feature, so I think we can let this lie for a while before we try again. |
There was an attempt to implement this issue (#1849), however, as it's obvious by the comments in the PR, there were some unexpectedly tricky issues around it (mostly in how the mid-test |
This is a suggestion for the k6 process to listen to user input and react to commands while the test is running.
Feature Description
Specifically, I would like to be able to press
R
and to get intermediate results while my test is running. This is especially useful for long-running soak tests, that can take several hours to complete.Currently, it's possible to get intermediate results by running a
k6 stats
command in another terminal window. This is however not ideal because the format is not human readable.I suggest the intermediate result to have the same format as the regular end-of-test output k6 normally generates.
The text was updated successfully, but these errors were encountered: