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

Automatically stop when threshold is not met #1737

Closed
L-sing opened this issue Nov 25, 2020 · 3 comments
Closed

Automatically stop when threshold is not met #1737

L-sing opened this issue Nov 25, 2020 · 3 comments
Labels

Comments

@L-sing
Copy link

L-sing commented Nov 25, 2020

Automatically stop when threshold is not met Over a period of time

Feature Description

If the threshold is not met, subsequent testing is meaningless. So I think the test should stop automatically when the threshold is not met for a certain period of time. For example, RT p95 is greater than 500 ms for 10 seconds.

@L-sing L-sing added the feature label Nov 25, 2020
@na--
Copy link
Member

na-- commented Nov 25, 2020

Please take a look at https://k6.io/docs/using-k6/thresholds#aborting-a-test-when-a-threshold-is-crossed

Are the current abortOnFail and delayAbortEval threshold options the feature you want, or do require more functionality? If so, can you share your specific use case in more details, describing exactly what you want to happen? We have some ideas for future threshold improvements described in #1136 and other issues, so I'd like to know - if the current k6 capabilities are insufficient for your use case, whether the things we have already considered as future improvements will cover it.

@L-sing
Copy link
Author

L-sing commented Nov 26, 2020

wow,I didn't find this feature when I read the document. I was too careless.Thank you very much.

@L-sing L-sing closed this as completed Nov 26, 2020
@AmanuenRaphim
Copy link

#- - - {@``

@na-- na-- added question and removed feature labels Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants