Skip to content

Commit

Permalink
Merge pull request #1175 from grafana/imma/api-crud-operations
Browse files Browse the repository at this point in the history
update advanced api flow example
  • Loading branch information
heitortsergent authored Sep 28, 2023
2 parents dc6943c + b2bc268 commit 5746f29
Show file tree
Hide file tree
Showing 6 changed files with 271 additions and 140 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into P
src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md
src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md
src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md

2 changes: 2 additions & 0 deletions .vale/Vocab/docs/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Capitan
charset
contentful
corejs
croc
crocs
cron
crypto
Ctrl
Expand Down
5 changes: 5 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,11 @@ const createRedirects = ({ actions }) => {
toPath: '/testing-guides/automated-performance-testing/',
isPermanent: true,
});
createRedirect({
fromPath: '/examples/advanced-api-flow/',
toPath: '/examples/api-crud-operations/',
isPermanent: true,
});

const redirects = {
'/javascript-api/k6-http/cookiejar-k6-http/':
Expand Down
8 changes: 4 additions & 4 deletions src/data/doc-examples/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"to": "/examples/data-uploads"
},
{
"title": "Advanced API example",
"description": "This example covers the usage of different k6 APIs for API load testing.",
"title": "API CRUD Operations",
"description": "This example covers the usage of different k6 APIs for API CRUD operations testing.",
"url": "",
"to": "/examples/advanced-api-flow"
"to": "/examples/api-crud-operations"
},
{
"title": "Generating UUIDs",
Expand Down Expand Up @@ -201,4 +201,4 @@
"url": "https://k6.io/blog/extending-k6-with-xk6"
}
]
}
}
135 changes: 0 additions & 135 deletions src/data/markdown/docs/05 Examples/01 Examples/10 advanced-api-flow.md

This file was deleted.

Loading

0 comments on commit 5746f29

Please sign in to comment.