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 = {
5353};
5454
5555export 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
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const options = {
7777};
7878
7979export 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
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const options = {
6969};
7070
7171export 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
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export const options = {
6767};
6868
6969export 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
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export const options = {
6464};
6565
6666export 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
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const options = {
8383};
8484
8585export 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
You can’t perform that action at this time.
0 commit comments