File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/data/markdown/translated-guides/en/02 Using k6 Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,18 @@ and k6 would exit with a non-zero exit code.
7575To use a threshold, follow these steps:
7676
77771. In the ` thresholds` property of the ` options` object, set a key using the name of the metric you want the threshold for:
78- ` ` `
78+ ` ` ` javascript
7979 export const options = {
8080 thresholds: {
81- ...
81+ /* ... * /
82+ }
8283 }
8384 ` ` `
84852. Define at least one threshold expression. You can do this in two ways:
8586 - The short format puts all threshold expressions as strings in an array.
8687 - The long format puts each threshold in an object, with extra properties to [abort on failure](# abort).
8788
88- ` ` `
89+ ` ` ` javascript
8990 export const options = {
9091 thresholds: {
9192 //short format
You can’t perform that action at this time.
0 commit comments