Skip to content

Commit 05e84fd

Browse files
committed
remove thresholds on examples
1 parent faffb38 commit 05e84fd

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ import http from 'k6/http';
3232
import { check, group, fail } from 'k6';
3333

3434
export const options = {
35-
thresholds: {
36-
checks: [{
37-
threshold: 'rate == 1.00', abortOnFail: true,
38-
}],
39-
'http_req_duration': ['p(90)<25000', 'p(95)<30000'],
40-
'http_req_duration{name:Create}': ['avg<15000', 'max<25000'],
41-
},
42-
// for the example, let's run only 1 VU with 1 iteration
4335
vus: 1,
4436
iterations: 1
4537
};
@@ -159,13 +151,6 @@ import { Httpx } from 'https://jslib.k6.io/httpx/0.1.0/index.js';
159151
import { randomIntBetween, randomItem, randomString } from "https://jslib.k6.io/k6-utils/1.2.0/index.js";
160152

161153
export const options = {
162-
thresholds: {
163-
checks: [{
164-
threshold: 'rate == 1.00', abortOnFail: true,
165-
}],
166-
'http_req_duration': ['p(90)<25000', 'p(95)<30000'],
167-
'http_req_duration{name:Create}': ['avg<15000', 'max<25000'],
168-
},
169154
// for the example, let's run only 1 VU with 1 iteration
170155
vus: 1,
171156
iterations: 1,

0 commit comments

Comments
 (0)