Skip to content

Commit 011e282

Browse files
SpiffyEight77mstoykov
authored andcommitted
fix: correct req to get
1 parent 5ba182c commit 011e282

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const options = {
5353
};
5454

5555
export default () => {
56-
const urlRes = http.req('https://test-api.k6.io');
56+
const urlRes = http.get('https://test-api.k6.io');
5757
sleep(1);
5858
// MORE STEPS
5959
// Here you can have more steps or complex script

src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const options = {
7777
};
7878

7979
export default () => {
80-
const urlRes = http.req('https://test-api.k6.io');
80+
const urlRes = http.get('https://test-api.k6.io');
8181
sleep(1);
8282
// MORE STEPS
8383
// Here you can have more steps or complex script

src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const options = {
6969
};
7070

7171
export default () => {
72-
const urlRes = http.req('https://test-api.k6.io');
72+
const urlRes = http.get('https://test-api.k6.io');
7373
sleep(1);
7474
// MORE STEPS
7575
// Here you can have more steps or complex script

src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const options = {
6767
};
6868

6969
export default () => {
70-
const urlRes = http.req('https://test-api.k6.io');
70+
const urlRes = http.get('https://test-api.k6.io');
7171
sleep(1);
7272
// MORE STEPS
7373
// Here you can have more steps or complex script

src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const options = {
6464
};
6565

6666
export default () => {
67-
const urlRes = http.req('https://test-api.k6.io');
67+
const urlRes = http.get('https://test-api.k6.io');
6868
sleep(1);
6969
// MORE STEPS
7070
// Add only the processes that will be on high demand

src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const options = {
8383
};
8484

8585
export default () => {
86-
const urlRes = http.req('https://test-api.k6.io');
86+
const urlRes = http.get('https://test-api.k6.io');
8787
sleep(1);
8888
// MORE STEPS
8989
// Here you can have more steps or complex script

0 commit comments

Comments
 (0)