File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
src/data/markdown/translated-guides/en/06 Test Types Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const options = {
53
53
};
54
54
55
55
export default () => {
56
- const urlRes = http .req (' https://test-api.k6.io' );
56
+ const urlRes = http .get (' https://test-api.k6.io' );
57
57
sleep (1 );
58
58
// MORE STEPS
59
59
// Here you can have more steps or complex script
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const options = {
77
77
};
78
78
79
79
export default () => {
80
- const urlRes = http .req (' https://test-api.k6.io' );
80
+ const urlRes = http .get (' https://test-api.k6.io' );
81
81
sleep (1 );
82
82
// MORE STEPS
83
83
// Here you can have more steps or complex script
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const options = {
69
69
};
70
70
71
71
export default () => {
72
- const urlRes = http .req (' https://test-api.k6.io' );
72
+ const urlRes = http .get (' https://test-api.k6.io' );
73
73
sleep (1 );
74
74
// MORE STEPS
75
75
// Here you can have more steps or complex script
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export const options = {
67
67
};
68
68
69
69
export default () => {
70
- const urlRes = http .req (' https://test-api.k6.io' );
70
+ const urlRes = http .get (' https://test-api.k6.io' );
71
71
sleep (1 );
72
72
// MORE STEPS
73
73
// Here you can have more steps or complex script
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export const options = {
64
64
};
65
65
66
66
export default () => {
67
- const urlRes = http .req (' https://test-api.k6.io' );
67
+ const urlRes = http .get (' https://test-api.k6.io' );
68
68
sleep (1 );
69
69
// MORE STEPS
70
70
// Add only the processes that will be on high demand
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const options = {
83
83
};
84
84
85
85
export default () => {
86
- const urlRes = http .req (' https://test-api.k6.io' );
86
+ const urlRes = http .get (' https://test-api.k6.io' );
87
87
sleep (1 );
88
88
// MORE STEPS
89
89
// Here you can have more steps or complex script
You can’t perform that action at this time.
0 commit comments