You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding of the issue you are experiencing is that when defining thresholds over a specific group, those are evaluated as expected, but their value is not reflected in the .data.thresholds field of the JSON output, which is what you would expect. Did I understand it correctly?
If that's the case, I was able to reproduce this indeed.
with a script defining thresholds without filtering on a group
Regardless, I haven't touched thresholds in a rather long time, and I'm not certain whether this is a bug, or an undocumented behavior yet, I'll look into it.
Brief summary
I've got scenarios that may include several actions and I have the "target_group" which includes actions that I'd like to check thresholds on.
If I specify thresholds for this group specifically, I can see no thresholds info while using
--out json=metrics.json
k6 version
0.48,0.49
OS
macOs 14.13.1
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Copy folowing JS script into sample-test.js
run
and check
Expected behaviour
What I get without specifying group in thresholds
Actual behaviour
The text was updated successfully, but these errors were encountered: