From 7c4851860aff886097067de88211bdb8539acb28 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:21:17 +0200 Subject: [PATCH 01/16] Set `canonicalUrl` for non-markdown pages --- src/utils/seo-metadata.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/utils/seo-metadata.js b/src/utils/seo-metadata.js index 8c76c1dabd..57f3161a22 100644 --- a/src/utils/seo-metadata.js +++ b/src/utils/seo-metadata.js @@ -12,6 +12,7 @@ export default { 'javascript-api': { data: { title: 'k6 JavaScript API', + canonicalUrl: 'https://grafana.com/docs/k6', slug: '/javascript-api/', description: 'This page provides the documentation of the k6 JavaScript API.', @@ -20,13 +21,23 @@ export default { extensions: { data: { title: 'k6 Extensions', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'The extension ecosystem enables developers and testers to extend k6 to cover use cases not supported natively in the core. Explore the endless possibilities of k6 and xk6.', }, }, + 'explore-extensions': { + data: { + title: 'k6 Extensions', + canonicalUrl: 'https://grafana.com/docs/k6', + description: + 'Discover the k6 extensions available to meet your specific needs..', + }, + }, 'bundle-builder': { data: { title: 'k6 Bundle Builder', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'Easily create your own bespoke k6 binary with all the extensions you want to run using the bundle builder and xk6.', }, @@ -34,6 +45,7 @@ export default { examples: { data: { title: 'k6 Examples & Tutorials', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'The k6 Examples & Tutorials is a directory with common k6 examples and the most popular tutorials using k6.', }, @@ -41,6 +53,7 @@ export default { cloud: { data: { title: 'k6 Cloud Documentation', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'The k6 Cloud documentation helps you in your usage of the k6 Cloud. The k6 Cloud is the perfect companion to k6 with an aim to bring ease-of-use and convenience to scale your performance testing efforts.', }, @@ -48,6 +61,7 @@ export default { guides: { data: { title: 'k6 Documentation', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'The k6 Documentation helps you to use k6 to get your performance testing on the right track. Learn more about load and performance testing. Get started in minutes.', }, @@ -56,6 +70,7 @@ export default { data: { title: 'Documentación de k6 - Herramienta Open Source de Pruebas de Carga', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'La documentación de k6 le ayudará a ejecutar sus pruebas de rendimiento correctamente. Aprenda y comience rápidamente a efectuar sus tests de carga y rendimiento', }, @@ -63,6 +78,7 @@ export default { integrations: { data: { title: 'k6 Integrations', + canonicalUrl: 'https://grafana.com/docs/k6', description: 'The k6 Integrations page lists the most popular k6 integrations. Integrate k6 with CI tools, store results in different services, select different Grafana dashboards, or use converters for the auto-generation of your load test.', }, From aa1946d9f8b2ad998a28e089b4f3ab0e57e21b04 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Tue, 28 Nov 2023 11:07:26 -0600 Subject: [PATCH 02/16] Update canonicalUrl for non-markdown pages --- src/utils/seo-metadata.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/utils/seo-metadata.js b/src/utils/seo-metadata.js index 57f3161a22..3639b580c0 100644 --- a/src/utils/seo-metadata.js +++ b/src/utils/seo-metadata.js @@ -12,7 +12,7 @@ export default { 'javascript-api': { data: { title: 'k6 JavaScript API', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/k6/latest/javascript-api/', slug: '/javascript-api/', description: 'This page provides the documentation of the k6 JavaScript API.', @@ -21,7 +21,7 @@ export default { extensions: { data: { title: 'k6 Extensions', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/k6/latest/extensions/', description: 'The extension ecosystem enables developers and testers to extend k6 to cover use cases not supported natively in the core. Explore the endless possibilities of k6 and xk6.', }, @@ -29,7 +29,7 @@ export default { 'explore-extensions': { data: { title: 'k6 Extensions', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/k6/latest/extensions/explore/', description: 'Discover the k6 extensions available to meet your specific needs..', }, @@ -37,7 +37,6 @@ export default { 'bundle-builder': { data: { title: 'k6 Bundle Builder', - canonicalUrl: 'https://grafana.com/docs/k6', description: 'Easily create your own bespoke k6 binary with all the extensions you want to run using the bundle builder and xk6.', }, @@ -45,7 +44,8 @@ export default { examples: { data: { title: 'k6 Examples & Tutorials', - canonicalUrl: 'https://grafana.com/docs/k6', + // TODO: Point canonical to new URL once it's published + // canonicalUrl: 'https://grafana.com/load-testing/load-testing-examples/', description: 'The k6 Examples & Tutorials is a directory with common k6 examples and the most popular tutorials using k6.', }, @@ -53,7 +53,7 @@ export default { cloud: { data: { title: 'k6 Cloud Documentation', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/grafana-cloud/k6/', description: 'The k6 Cloud documentation helps you in your usage of the k6 Cloud. The k6 Cloud is the perfect companion to k6 with an aim to bring ease-of-use and convenience to scale your performance testing efforts.', }, @@ -61,7 +61,7 @@ export default { guides: { data: { title: 'k6 Documentation', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/k6/latest/', description: 'The k6 Documentation helps you to use k6 to get your performance testing on the right track. Learn more about load and performance testing. Get started in minutes.', }, @@ -70,7 +70,6 @@ export default { data: { title: 'Documentación de k6 - Herramienta Open Source de Pruebas de Carga', - canonicalUrl: 'https://grafana.com/docs/k6', description: 'La documentación de k6 le ayudará a ejecutar sus pruebas de rendimiento correctamente. Aprenda y comience rápidamente a efectuar sus tests de carga y rendimiento', }, @@ -78,7 +77,7 @@ export default { integrations: { data: { title: 'k6 Integrations', - canonicalUrl: 'https://grafana.com/docs/k6', + canonicalUrl: 'https://grafana.com/docs/k6/latest/misc/integrations/', description: 'The k6 Integrations page lists the most popular k6 integrations. Integrate k6 with CI tools, store results in different services, select different Grafana dashboards, or use converters for the auto-generation of your load test.', }, From cb99757d9153a586922aa87b253d540cce3fc45a Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:31:48 +0200 Subject: [PATCH 03/16] prepare `canonicalURLs` for `translated-guides/en` --- .../translated-guides/en/01 Get started/02 Installation.md | 1 + .../en/01 Get started/02 Installation/01 Troubleshooting.md | 1 + .../translated-guides/en/01 Get started/03 Running k6.md | 1 + .../translated-guides/en/01 Get started/04 Results Output.md | 1 + .../markdown/translated-guides/en/01 Get started/05 resources.md | 1 + .../translated-guides/en/02 Using k6/01 HTTP requests.md | 1 + src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md | 1 + .../translated-guides/en/02 Using k6/02 Metrics/000-reference.md | 1 + .../en/02 Using k6/02 Metrics/100 Create custom metrics.md | 1 + src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md | 1 + .../markdown/translated-guides/en/02 Using k6/04 Thresholds.md | 1 + .../markdown/translated-guides/en/02 Using k6/05 k6 Options.md | 1 + .../translated-guides/en/02 Using k6/05 k6 Options/01 How to.md | 1 + .../en/02 Using k6/05 k6 Options/02 Reference.md | 1 + .../translated-guides/en/02 Using k6/06 Test lifecycle.md | 1 + src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md | 1 + .../translated-guides/en/02 Using k6/08 Tags and Groups.md | 1 + src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md | 1 + .../markdown/translated-guides/en/02 Using k6/10 Protocols.md | 1 + .../translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md | 1 + .../en/02 Using k6/10 Protocols/02 WebSockets.md | 1 + .../translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md | 1 + .../translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md | 1 + .../04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md | 1 + .../10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md | 1 + .../10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md | 1 + .../translated-guides/en/02 Using k6/11 Environment variables.md | 1 + .../en/02 Using k6/12 Execution context variables.md | 1 + .../markdown/translated-guides/en/02 Using k6/14 Scenarios.md | 1 + .../translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md | 1 + .../en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md | 1 + .../en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md | 1 + .../14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md | 1 + .../14 Scenarios/00 Concepts/03 Dropped iterations.md | 1 + .../en/02 Using k6/14 Scenarios/01 Executors.md | 1 + .../14 Scenarios/01 Executors/01 shared-iterations.md | 1 + .../14 Scenarios/01 Executors/02 per-vu-iterations.md | 1 + .../en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md | 1 + .../en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md | 1 + .../14 Scenarios/01 Executors/05 constant-arrival-rate.md | 1 + .../14 Scenarios/01 Executors/06 ramping-arrival-rate.md | 1 + .../14 Scenarios/01 Executors/07 externally-controlled.md | 1 + .../en/02 Using k6/14 Scenarios/02 Advanced Examples.md | 1 + .../translated-guides/en/02 Using k6/17 HTTP debugging.md | 1 + .../en/02 Using k6/19 Javascript Compatibility Mode.md | 1 + .../en/02 Using k6/20 Workaround Iteration Duration.md | 1 + .../translated-guides/en/03 Using k6 browser/01 Overview.md | 1 + .../en/03 Using k6 browser/02 Running browser tests.md | 1 + .../translated-guides/en/03 Using k6 browser/03 Metrics.md | 1 + .../en/03 Using k6 browser/04 Migrating to k6 v0-46.md | 1 + .../en/03 Using k6 browser/100 Recommended Practices.md | 1 + .../100 Recommended Practices/01 Page object model pattern.md | 1 + .../100 Recommended Practices/02 Selecting elements.md | 1 + .../translated-guides/en/04 Results output/000-Overview.md | 1 + .../translated-guides/en/04 Results output/100 End-of-test.md | 1 + .../en/04 Results output/100 End-of-test/150-custom-summary.md | 1 + .../translated-guides/en/04 Results output/200 Real-time.md | 1 + .../en/04 Results output/200 Real-time/00 Amazon CloudWatch.md | 1 + .../en/04 Results output/200 Real-time/00 Apache Kafka.md | 1 + .../en/04 Results output/200 Real-time/00 CSV.md | 1 + .../en/04 Results output/200 Real-time/00 Cloud.md | 1 + .../en/04 Results output/200 Real-time/00 DataDog.md | 1 + .../en/04 Results output/200 Real-time/00 Dynatrace.md | 1 + .../en/04 Results output/200 Real-time/00 Elasticsearch.md | 1 + .../200 Real-time/00 Grafana Cloud Prometheus.md | 1 + .../en/04 Results output/200 Real-time/00 InfluxDB.md | 1 + .../en/04 Results output/200 Real-time/00 JSON.md | 1 + .../en/04 Results output/200 Real-time/00 Netdata.md | 1 + .../en/04 Results output/200 Real-time/00 NewRelic.md | 1 + .../200 Real-time/00 Prometheus remote write.md | 1 + .../en/04 Results output/200 Real-time/00 StatsD.md | 1 + .../en/04 Results output/200 Real-time/00 TimescaleDB.md | 1 + .../en/04 Results output/300 Grafana dashboards.md | 1 + .../translated-guides/en/05 Test authoring/01 test builder.md | 1 + .../en/05 Test authoring/02 Create tests from recordings.md | 1 + .../01 Using the browser recorder.md | 1 + .../02 Using the HAR converter.md | 1 + .../translated-guides/en/06 Test Types/00 Load test types.md | 1 + .../translated-guides/en/06 Test Types/01 Smoke Testing.md | 1 + .../translated-guides/en/06 Test Types/02 Load Testing.md | 1 + .../translated-guides/en/06 Test Types/03 Stress testing.md | 1 + .../translated-guides/en/06 Test Types/05 Soak Testing.md | 1 + .../translated-guides/en/06 Test Types/06-spike-testing.md | 1 + .../translated-guides/en/06 Test Types/07-breakpoint-testing.md | 1 + .../en/07 Testing Guides/01 API load testing.md | 1 + .../en/07 Testing Guides/02 Automated performance testing.md | 1 + .../en/07 Testing Guides/03 Load testing websites.md | 1 + .../en/07 Testing Guides/04 Running large tests.md | 1 + .../en/07 Testing Guides/05 Running distributed tests.md | 1 + .../markdown/translated-guides/en/08 Misc/01 Usage collection.md | 1 + .../markdown/translated-guides/en/08 Misc/02 IntelliSense.md | 1 + .../markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md | 1 + src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md | 1 + src/data/markdown/translated-guides/en/08 Misc/06 Archive.md | 1 + src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md | 1 + src/data/markdown/translated-guides/en/Test Types.md | 1 + src/data/markdown/translated-guides/en/Testing Guides.md | 1 + 97 files changed, 97 insertions(+) diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md index b00111f9ca..5cc34f984e 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md @@ -1,6 +1,7 @@ --- title: 'Installation' excerpt: 'k6 has packages for Linux, Mac, and Windows. As alternatives, you can also using a Docker container or a standalone binary.' +canonicalUrl: https://grafana.com/docs/k6 --- k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary. diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md index 22837d168a..6dd59cefe1 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md @@ -1,6 +1,7 @@ --- title: 'Troubleshooting' excerpt: 'Instructions to fix the most common installation issues.' +canonicalUrl: https://grafana.com/docs/k6 --- ## System lacks ca-certificates or gnupg2 diff --git a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md index d412740c1f..bef0f69e75 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md +++ b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md @@ -1,6 +1,7 @@ --- title: 'Running k6' excerpt: 'Follow along to learn how to run a test, add virtual users, increase the test duration, and ramp the number of requests up and down as the test runs.' +canonicalUrl: https://grafana.com/docs/k6 --- Follow along to learn how to: diff --git a/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md b/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md index c866756866..47fde7f21d 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md +++ b/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md @@ -1,6 +1,7 @@ --- title: 'Results output' excerpt: 'For basic tests, the top-level summary that k6 provides might be enough. For detailed analysis, you can stream all data your test outputs to an external source.' +canonicalUrl: https://grafana.com/docs/k6 --- As k6 generates load for your test, it also makes _metrics_ that measure the performance of the system. diff --git a/src/data/markdown/translated-guides/en/01 Get started/05 resources.md b/src/data/markdown/translated-guides/en/01 Get started/05 resources.md index 3982af6b41..4dff3c7b06 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/05 resources.md +++ b/src/data/markdown/translated-guides/en/01 Get started/05 resources.md @@ -2,6 +2,7 @@ title: k6 resources excerpt: 'An overview of the k6 resources beyond the k6 docs: videos, repositories, test servers, courses, and more' slug: '/get-started/resources/' +canonicalUrl: https://grafana.com/docs/k6 --- The docs aim to cover everything necessary to use the core k6 products in your daily operational work. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md b/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md index 19601419ee..ba7e326966 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md @@ -1,6 +1,7 @@ --- title: 'HTTP Requests' excerpt: 'Define the HTTP requests and methods you want to use. k6 adds tags to the requests, making it easier to filter results. You can customize tags as you wish.' +canonicalUrl: https://grafana.com/docs/k6 --- When testers create new load test, the first step is often to define the HTTP requests to test the system with. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md index df97041ce2..bbe13439ec 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md @@ -1,6 +1,7 @@ --- title: 'Metrics' excerpt: 'This section covers the important aspect of metrics management in k6. How and what kind of metrics k6 collects automatically (_built-in_ metrics), and what custom metrics you can make k6 collect.' +canonicalUrl: https://grafana.com/docs/k6 --- _Metrics_ measure how a system performs under test conditions. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md index dd59943344..38f2a3e956 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md @@ -2,6 +2,7 @@ title: Built-in metrics slug: '/using-k6/metrics/reference' excerpt: A reference of built-in metrics for different supported protocols. +canonicalUrl: https://grafana.com/docs/k6 --- Every k6 test emits built-in and [Custom metrics](/using-k6/metrics/create-custom-metrics). diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md index be6db753bc..116982dce5 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md @@ -1,6 +1,7 @@ --- title: Create custom metrics excerpt: How to build custom k6 metrics for each metric type. +canonicalUrl: https://grafana.com/docs/k6 --- Besides the [built-in metrics](/using-k6/metrics/reference), you can create custom metrics. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md index 11febe6bdb..345e6773e8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md @@ -1,6 +1,7 @@ --- title: 'Checks' excerpt: 'Checks are like asserts but differ in that they do not halt the execution, instead, they just store the result of the check, pass or fail, and let the script execution continue.' +canonicalUrl: https://grafana.com/docs/k6 --- Checks validate boolean conditions in your test. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md index e2fe89ceef..27bce682f8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md @@ -1,6 +1,7 @@ --- title: 'Thresholds' excerpt: 'Thresholds are a pass/fail criteria used to specify the performance expectations of the system under test.' +canonicalUrl: https://grafana.com/docs/k6 --- Thresholds are the pass/fail criteria that you define for your test metrics. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md index 266fc2da06..0a7b6f20e8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md @@ -2,6 +2,7 @@ title: 'Options' slug: '/using-k6/k6-options' excerpt: 'Options configure test-run behavior. You can set options in multiple locations. Examples for how to use options, and a complete reference.' +canonicalUrl: https://grafana.com/docs/k6 --- Options configure test-run behavior. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md index e0293d67de..367a158203 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md @@ -2,6 +2,7 @@ title: 'How to use options' slug: '/using-k6/k6-options/how-to' excerpt: 'How to set options in different places (with examples), how to override options, and how to access the value of an option as the test runs.' +canonicalUrl: https://grafana.com/docs/k6 --- k6 provides multiple places to set options: diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md index 0dd0145c26..27f3223353 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md @@ -2,6 +2,7 @@ title: 'Options reference' slug: '/using-k6/k6-options/reference' excerpt: 'A complete list of all k6 options, with descriptions, defaults, and examples of how to set the option in your script, config files, environment variables, or CLI.' +canonicalUrl: https://grafana.com/docs/k6 --- Options define test-run behavior. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md b/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md index da283e9424..2418d91689 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md @@ -1,6 +1,7 @@ --- title: 'Test lifecycle' excerpt: 'The four distinct lifecycle stages in a k6 test are "init", "setup", "VU", and "teardown".' +canonicalUrl: https://grafana.com/docs/k6 --- In the lifecycle of a k6 test, diff --git a/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md b/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md index c2b5d50506..e07096e0a0 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md @@ -2,6 +2,7 @@ title: 'Modules' excerpt: 'While writing test scripts, it is common to import different modules, or part of modules, for usage throughout the script. In k6, it is possible to import three different kinds of modules.' +canonicalUrl: https://grafana.com/docs/k6 --- ## Importing modules diff --git a/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md b/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md index f914d07659..d299a28412 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md @@ -2,6 +2,7 @@ title: 'Tags and Groups' excerpt: 'k6 provides the Tags and Groups APIs to help you during the analysis and easily visualize, sort and filter your test results.' +canonicalUrl: https://grafana.com/docs/k6 --- A load test usually targets a service with different subsystems and resources. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md b/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md index 1648cc6aa9..7347098a04 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md @@ -1,6 +1,7 @@ --- title: 'Cookies' excerpt: 'k6 will transparently manage the receiving, storage and sending of cookies as described above, so that testing of your cookie-based web site or app will just work.' +canonicalUrl: https://grafana.com/docs/k6 --- HTTP Cookies are used by web sites and apps to store pieces of stateful information on user devices. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md index dafc50704b..12a8072975 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md @@ -1,6 +1,7 @@ --- title: "Protocols" excerpt: "Out of the box k6 comes with support for a few protocols: HTTP / WebSockets / gRPC / ..." +canonicalUrl: https://grafana.com/docs/k6 --- Out of the box, k6 supports the following protocols: diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md index 4372703d22..57e323bf1d 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md @@ -1,6 +1,7 @@ --- title: 'HTTP/2' excerpt: 'When you make HTTP requests in k6 it will automatically upgrade the connection to HTTP/2.0 if the server supports it, just like your web browser would.' +canonicalUrl: https://grafana.com/docs/k6 --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md index 436883150e..efc06e9ad2 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md @@ -1,6 +1,7 @@ --- title: 'WebSockets' excerpt: 'Comparing HTTP based tests to WebSocket ones, there are some differences in the structure and inner workings of k6.' +canonicalUrl: https://grafana.com/docs/k6 --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md index cce87e5ff7..f809bf393e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md @@ -1,6 +1,7 @@ --- title: 'gRPC' excerpt: 'gRPC is a lightweight open-source RPC framework. Starting with k6 v0.29.0, we support unary gRPC requests.' +canonicalUrl: https://grafana.com/docs/k6 --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md index 723b4a213d..d09aa5ab44 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md @@ -1,6 +1,7 @@ --- title: 'SSL/TLS' excerpt: 'By default and without any special configuration, k6 will connect and talk to servers over TLS. You just need to make sure to specify your request URLs with the https scheme.' +canonicalUrl: https://grafana.com/docs/k6 --- Transport Layer Security (TLS), the successor of Secure Socket Layer (SSL), is the mechanism through diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md index de7d340e7a..f965785ac3 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md @@ -2,6 +2,7 @@ title: 'Online Certificate Status Protocol (OCSP)' excerpt: 'k6 supports OCSP stapling, receiving and parsing a stapled response as part of the TLS connection setup.' +canonicalUrl: https://grafana.com/docs/k6 --- ## What is OCSP? diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md index 13f6f22a99..8fd0e086d8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md @@ -1,6 +1,7 @@ --- title: 'SSL/TLS client certificates' excerpt: 'To use client certificates, you specify global that tell k6 how to map a public certificate and private key to the domains they are valid for.' +canonicalUrl: https://grafana.com/docs/k6 --- Discussion about TLS certificates is usually about how clients authenticate servers. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md index 788a202a8a..ffdbf482cd 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md @@ -2,6 +2,7 @@ title: 'SSL/TLS version and ciphers' excerpt: 'To support testing specific client configurations, you can set a specific version or range of versions of SSL/TLS that should be allowed for a connection.' +canonicalUrl: https://grafana.com/docs/k6 --- To support testing specific client configurations, you can specify a version or range of versions of SSL/TLS that are allowed for a connection. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md b/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md index e64ec8f8c5..e31e33fe00 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md @@ -1,6 +1,7 @@ --- title: 'Environment variables' excerpt: 'You can access any environment variables from your k6 script code and use this to supply your VUs with configuration information.' +canonicalUrl: https://grafana.com/docs/k6 --- Often, scripts need only minor tweaks to be reusable in different contexts. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md b/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md index f9dbbc66ea..9016a36192 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md @@ -1,6 +1,7 @@ --- title: 'Execution context variables' excerpt: 'k6/execution module provides the capability to get information about the current test execution state inside the test script' +canonicalUrl: https://grafana.com/docs/k6 --- In some cases, it's really useful to have information about the script's current test-execution state. For example, you might want to - Have different VUs run different test logic diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md index 6064459d63..054c1d16e4 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md @@ -2,6 +2,7 @@ title: Scenarios excerpt: 'Scenarios allow us to make in-depth configurations to how VUs and iterations are scheduled. This makes it possible to model diverse traffic patterns in load tests.' hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6 --- Scenarios configure how VUs and iteration schedules in granular detail. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md index 2dd3463d94..7b31d7bcee 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md @@ -1,6 +1,7 @@ --- title: "Concepts" excerpt: High-level explanations about how your executor configuration can change the test execution and test results +canonicalUrl: https://grafana.com/docs/k6 --- These topics explain the essential concepts of how scenarios and their executors work. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md index 3252fb57c5..af80641f7c 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md @@ -2,6 +2,7 @@ title: 'Open and closed models' slug: '/using-k6/scenarios/concepts/open-vs-closed/' excerpt: 'k6 has two ways to schedule VUs, which can affect test results. k6 implements the open model in its arrival-rate executors.' +canonicalUrl: https://grafana.com/docs/k6 --- Different k6 executors have different ways of scheduling VUs. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md index 0f5592f18b..f343f3f4d5 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md @@ -1,6 +1,7 @@ --- title: 'Graceful stop' excerpt: 'This option is available for all executors except externally-controlled and allows the user to specify a duration to wait before forcefully interrupting them.' +canonicalUrl: https://grafana.com/docs/k6 --- The `gracefulStop` is a period at the end of the test in which k6 lets iterations in progress finish. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md index 45bc9f1dce..6a7d124862 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md @@ -1,6 +1,7 @@ --- title: Arrival-rate VU allocation excerpt: How k6 allocates VUs in the open-model, arrival-rate executors +canonicalUrl: https://grafana.com/docs/k6 --- In arrival-rate executors, as long as k6 has VUs available, it starts iterations according to your target rate. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md index 419f695c2e..fa1fbf99b3 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md @@ -1,6 +1,7 @@ --- title: Dropped iterations excerpt: Explanations about how your scenario configuration or SUT performance can lead to dropped iterations +canonicalUrl: https://grafana.com/docs/k6 --- Sometimes, a scenario can't run the expected number of iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md index 19a425715c..d90537e370 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md @@ -1,6 +1,7 @@ --- title: 'Executors' excerpt: 'Executors control how k6 schedules VUs and iterations. Choose the executor to model traffic you want to model to test your services' +canonicalUrl: https://grafana.com/docs/k6 --- **Executors** control how k6 schedules VUs and iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md index 2d88187505..c1a7e15f82 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md @@ -1,6 +1,7 @@ --- title: 'Shared iterations' excerpt: 'A fixed number of iterations are "shared" between a number of VUs, and the test ends once all iterations are executed.' +canonicalUrl: https://grafana.com/docs/k6 --- The `shared-iterations` executor shares iterations between the number of VUs. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md index 79de6db613..fa3319220d 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md @@ -1,6 +1,7 @@ --- title: 'Per VU iterations' excerpt: 'Each VU executes an exact number of iterations.' +canonicalUrl: https://grafana.com/docs/k6 --- With the `per-vu-iterations` executor, each VU executes an exact number of iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md index 41c0523c50..89cfb7ceaf 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md @@ -1,6 +1,7 @@ --- title: 'Constant VUs' excerpt: 'A fixed number of VUs execute as many iterations as possible for a specified amount of time.' +canonicalUrl: https://grafana.com/docs/k6 --- With the `constant-vus` executor, a fixed number of VUs execute as many iterations as possible for a specified amount of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md index 7a730b3f73..f0ace82d6b 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md @@ -1,6 +1,7 @@ --- title: 'Ramping VUs' excerpt: 'A variable number of VUs execute as many iterations as possible for a specified amount of time.' +canonicalUrl: https://grafana.com/docs/k6 --- With the `ramping-vus` executor, a variable number of VUs executes as many iterations as possible for a specified amount of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md index 7e64c8216a..4772571b45 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md @@ -1,6 +1,7 @@ --- title: 'Constant arrival rate' excerpt: 'A fixed number of iterations are started in a specified period of time.' +canonicalUrl: https://grafana.com/docs/k6 --- With the `constant-arrival-rate` executor, k6 starts a fixed number of iterations over a specified period of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md index 7d0bf429e2..c1ae30a6c5 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md @@ -1,6 +1,7 @@ --- title: 'Ramping arrival rate' excerpt: 'A variable number of iterations are started in a specified period of time.' +canonicalUrl: https://grafana.com/docs/k6 --- With the `ramping-arrival-rate` executor, k6 starts iterations at a variable rate. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md index 298272ae65..0ed05ce794 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md @@ -1,6 +1,7 @@ --- title: 'Externally controlled' excerpt: 'Control and scale execution at runtime via k6 REST API or the CLI.' +canonicalUrl: https://grafana.com/docs/k6 --- Control and scale execution at runtime via [k6's REST API](/misc/k6-rest-api) or diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md index af06a43cae..15083a02b7 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md @@ -1,6 +1,7 @@ --- title: 'Advanced Examples' excerpt: 'Advanced Examples using the k6 Scenario API - Using multiple scenarios, different environment variables and tags per scenario.' +canonicalUrl: https://grafana.com/docs/k6 --- You can use multiple scenarios in one script, and these scenarios can be run in sequence or in parallel. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md b/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md index a304fde4c3..8307abe3ce 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md @@ -2,6 +2,7 @@ title: 'HTTP debugging' excerpt: "Things don't always work as expected. For those cases there is a handy CLI flag, --http-debug, that is good to be aware of." hideFromSidebar: true +canonicalUrl: https://grafana.com/docs/k6 --- Things don't always work as expected. For those cases, enabling the [--http-debug](/using-k6/k6-options/reference#http-debug) option will log HTTP requests and responses to help you debugging the script. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md b/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md index 5df66b3d2f..629bbdd60b 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md @@ -2,6 +2,7 @@ title: JavaScript Compatibility Mode excerpt: 'k6 supports running test scripts with different ECMAScript compatibility modes using --compatibility-mode' hideFromSidebar: true +canonicalUrl: https://grafana.com/docs/k6 --- You can run test scripts with different ECMAScript compatibility modes with the diff --git a/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md b/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md index 0b5ef88c02..537203965b 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md @@ -2,6 +2,7 @@ title: Workaround to calculate iteration_duration excerpt: 'A threshold can calculate the value of a metric excluding the results of the setup and teardown functions' hideFromSidebar: true +canonicalUrl: https://grafana.com/docs/k6 --- A common requested case is to track the `iteration_duration` metric without including time spent for `setup` and `teardown` functions. diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md index cf3ee43451..2a180bb7e0 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md @@ -3,6 +3,7 @@ title: 'Overview' heading: 'Browser Module Documentation' head_title: 'Browser Module Documentation' excerpt: 'The browser module brings browser automation and end-to-end testing to k6 while supporting core k6 features. Interact with real browsers and collect frontend metrics as part of your k6 tests.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md index 60b9328f9f..b161bb7942 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md @@ -1,6 +1,7 @@ --- title: 'Running browser tests' excerpt: 'Follow along to learn how to run a browser test, interact with elements on the page, wait for page navigation, write assertions and run both browser-level and protocol-level tests in a single script.' +canonicalUrl: https://grafana.com/docs/k6 --- Follow along to learn how to: diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md index 0a556af42e..d12d712554 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md @@ -1,6 +1,7 @@ --- title: 'Browser metrics' excerpt: 'An overview of the different browser performance metrics that the browser module tracks.' +canonicalUrl: https://grafana.com/docs/k6 --- Follow along to learn about: diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md index 5c8344eea8..a6b6d95d7f 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md @@ -2,6 +2,7 @@ title: 'Migrating to k6 v0.46' excerpt: 'A migration guide to ease the process of transitioning to the new k6 browser module version' slug: '/using-k6-browser/migrating-to-k6-v0-46/' +canonicalUrl: https://grafana.com/docs/k6 --- This guide outlines the key changes you will need to make when moving your existing k6 browser test scripts to the new [k6 browser module](/javascript-api/k6-experimental/browser/) (bundled with [k6 version 0.46](https://github.com/grafana/k6/releases/tag/v0.46.0)). diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md index b7a0390ed1..757f9a5ecd 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md @@ -1,6 +1,7 @@ --- title: 'Recommended practices' excerpt: 'A list of different examples and recommended practices when working with the k6 browser module' +canonicalUrl: https://grafana.com/docs/k6 --- This section presents some examples and recommended practices when working with the `k6 browser` module to leverage browser automation as part of your k6 tests. diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md index ebf48263f6..0046316fd4 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md @@ -3,6 +3,7 @@ title: 'Page object model' heading: 'Page object model with k6 browser' head_title: 'Page object model with k6 browser' excerpt: 'An example on how to implement page object model design pattern with k6 browser' +canonicalUrl: https://grafana.com/docs/k6 --- When working with large test suites, a popular design pattern to improve your code’s maintainability and readability is the [page object model](https://martinfowler.com/bliki/PageObject.html). diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md index f7b46a3aaa..1532b9eadc 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md @@ -1,6 +1,7 @@ --- title: 'Selecting elements' excerpt: 'A guide on how to select elements with the browser module.' +canonicalUrl: https://grafana.com/docs/k6 --- Selectors are strings that represents a specific DOM element on the page. When writing browser-level tests, it's recommended to use selectors that are robust to avoid test flakiness when the DOM structure changes. diff --git a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md index 822104f289..213f2af12c 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md +++ b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md @@ -1,6 +1,7 @@ --- title: Overview excerpt: All the ways you can look at k6 results. While the test runs, after the test runs, on an external platform, as summary statistics. +canonicalUrl: https://grafana.com/docs/k6 --- k6 emits [metrics](/using-k6/metrics) with timestamps at every point of the test. diff --git a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md index 2601c69b74..969b1e3d06 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md @@ -1,6 +1,7 @@ --- title: End of test excerpt: When a test finishes, k6 prints a summary of results, with aggregated metrics and meta-data about the test. You can customize this, or configure the test to write granular metrics to a file. +canonicalUrl: https://grafana.com/docs/k6 --- When a test finishes, k6 prints a top-level overview of the aggregated results to `stdout`. diff --git a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md index 323f51a7ab..e8dc6d06f8 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md @@ -1,6 +1,7 @@ --- title: Custom summary excerpt: With handlesummary(), you can customize every part of your report. Change the content, redirect output, and more. +canonicalUrl: https://grafana.com/docs/k6 --- With `handleSummary()`, you can completely customize your end-of-test summary. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md index f21a5ad2bd..4ffae87eaa 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md @@ -1,6 +1,7 @@ --- title: Real time excerpt: Send your time-series k6 metrics to multiple file formats and services +canonicalUrl: https://grafana.com/docs/k6 --- Besides the [end-of-test summary](/results-output/end-of-test), you can also view metrics as granular data points. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md index 427bdebc2b..4e80e35285 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md @@ -1,6 +1,7 @@ --- title: 'Amazon CloudWatch' excerpt: 'You can send k6 results output to Amazon CloudWatch and later visualize them.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md index 33829b5374..7c65643551 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md @@ -1,6 +1,7 @@ --- title: 'Apache Kafka' excerpt: 'You can use xk6-output-kafka to send k6 metrics in real-time to Kafka, and, optionally, ingest them from InfluxDB.' +canonicalUrl: https://grafana.com/docs/k6 --- [Apache Kafka](https://kafka.apache.org) is a stream-processing platform for handling real-time data. Using [xk6-output-kafka extension](https://github.com/grafana/xk6-output-kafka), you can send k6 metrics in real-time to Kafka, and, optionally, ingest them from InfluxDB. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md index 359e0d4116..3b8f4c584b 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md @@ -1,6 +1,7 @@ --- title: 'CSV' excerpt: 'You can also make k6 output detailed statistics in a CSV format by using the --out option.' +canonicalUrl: https://grafana.com/docs/k6 --- You can output granular data points in CSV format. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md index 64852e0f24..780261f101 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md @@ -1,6 +1,7 @@ --- title: 'Cloud' excerpt: 'When streaming the results to the cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.' +canonicalUrl: https://grafana.com/docs/k6 --- Besides [running cloud tests](/get-started/running-k6/#execution-modes), you can also run a test locally and stream the results to: diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md index 7ae4acfd5e..baa26fa2a6 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md @@ -1,6 +1,7 @@ --- title: 'Datadog' excerpt: 'Send k6 output to Datadog to visualize load test results and correlate performance testing metrics in Datadog.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md index 433449badb..5581ebadb7 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md @@ -1,6 +1,7 @@ --- title: 'Dynatrace' excerpt: Send k6 output to Dynatrace to visualize load test results and correlate performance testing metrics in Dynatrace. +canonicalUrl: https://grafana.com/docs/k6 --- With the [Dynatrace k6 extension](https://github.com/Dynatrace/xk6-output-dynatrace), diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md index fc17323ead..43faf99e61 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md @@ -1,6 +1,7 @@ --- title: 'Elasticsearch' excerpt: k6 has an output extension to store k6 metrics in Elasticsearch. This document shows you how to configure the k6 Elasticsearch integration. +canonicalUrl: https://grafana.com/docs/k6 --- Using the [Elasticsearch k6 extension](https://github.com/elastic/xk6-output-elasticsearch), you can store k6 metrics in [Elasticsearch](https://github.com/elastic/elasticsearch) and analyze your performance results with Kibana or Grafana. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md index 7ade9c26bd..27d8668991 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md @@ -2,6 +2,7 @@ title: 'Grafana Cloud Prometheus' excerpt: > How to upload the test result metrics to Grafana Cloud using Grafana Cloud Prometheus and the k6 output for Prometheus remote write' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md index 6ece73ecf1..fc736ec970 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md @@ -1,6 +1,7 @@ --- title: 'InfluxDB' excerpt: 'k6 has an output extension to store k6 metrics in InfluxDB v2. This document shows you how to configure this integration.' +canonicalUrl: https://grafana.com/docs/k6 --- Using the [InfluxDB extension](https://github.com/grafana/xk6-output-influxdb), you can store k6 metrics in [InfluxDB v2.0](https://docs.influxdata.com/influxdb/v2.0/) and analyze your performance results with Grafana or [other tools](https://docs.influxdata.com/influxdb/cloud-serverless/query-data/tools/). diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md index 2b91c0af00..e92984515a 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md @@ -1,6 +1,7 @@ --- title: 'JSON' excerpt: 'You can also make k6 output detailed statistics in JSON format by using the --out option.' +canonicalUrl: https://grafana.com/docs/k6 --- You can output granular data points in JSON format. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md index 5ef802c002..63d1aeff94 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md @@ -1,6 +1,7 @@ --- title: 'Netdata' excerpt: 'You can send k6 output to Netdata. With this integration, visualize test results with zero configuration, in seconds' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md index 5d005ec85f..163a614f16 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md @@ -1,6 +1,7 @@ --- title: 'New Relic' excerpt: 'You can send k6 output to New Relic. With this integration visualize load test results and correlate them your New Relic telemetry data, create and share reports, and alert on k6 telemetry.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md index 70c5defc30..ebe02f7b20 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md @@ -1,6 +1,7 @@ --- title: 'Prometheus remote write' excerpt: 'Use the Prometheus remote write output to send test results to any Prometheus remote write endpoint.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md index 39da216ec7..81add7be50 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md @@ -1,6 +1,7 @@ --- title: 'StatsD' excerpt: 'k6 has a built-in output to a StatsD service.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md index 41ef92f7a0..2e67a93f63 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md @@ -1,6 +1,7 @@ --- title: 'TimescaleDB' excerpt: k6 has an output extension to store k6 metrics in TimescaleDB. This document shows you how to configure the k6 TimescaleDB integration. +canonicalUrl: https://grafana.com/docs/k6 --- Using the [TimescaleDB k6 extension](https://github.com/grafana/xk6-output-timescaledb), you can store k6 metrics in [TimescaleDB](https://www.timescale.com/) and analyze your performance results with SQL and dashboards. The extension repository includes two Grafana dashboards. diff --git a/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md b/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md index 39e0b7240b..4e8991df29 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md +++ b/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md @@ -1,6 +1,7 @@ --- title: Grafana dashboards excerpt: With multiple k6 output formats, you also have multiple ways to visualize test results in a Grafana dashboard. +canonicalUrl: https://grafana.com/docs/k6 --- You have multiple ways to query k6 results in Grafana. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md b/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md index 972cab8100..e336e09eaf 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md @@ -1,6 +1,7 @@ --- title: 'Test builder' excerpt: 'Use a graphical interface to create a k6 test.' +canonicalUrl: https://grafana.com/docs/k6 --- The k6 Test Builder provides a graphical interface to generate a k6 test script based on your input. Then, you can copy the test script and [run the test from the CLI](/get-started/running-k6). diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md index 2d27dc7ba1..6c6d00d907 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md @@ -1,6 +1,7 @@ --- title: 'Create tests from recordings' excerpt: 'In load testing, recording usually refers to the process of creating a load test from the recording of a user session.' +canonicalUrl: https://grafana.com/docs/k6 --- A recording stores the sequence of requests and parameters of a user session or API interaction. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md index 7f9bd185f4..68ef744255 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md @@ -1,6 +1,7 @@ --- title: 'Using the browser recorder' excerpt: 'The browser recorder allows generating a k6 script based on a web session. It is available as extensions for Chrome and Firefox.' +canonicalUrl: https://grafana.com/docs/k6 --- The browser recorder lets you generate a k6 script based on a browser session. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md index eabc1593a8..f2da754e16 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md @@ -1,6 +1,7 @@ --- title: 'Using the HAR converter' excerpt: 'The HAR converter is an alternative to the Browser recorder. It generates a k6 script based on the HTTP requests included on a HAR file.' +canonicalUrl: https://grafana.com/docs/k6 --- The [har-to-k6 converter](https://github.com/k6io/har-to-k6) is a NodeJS tool that generates a k6 script based on the HTTP requests included in a [HAR file](). diff --git a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md index ac1598593e..877b90fcc4 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md @@ -2,6 +2,7 @@ title: 'Load test types' head_title: 'Understanding the Different Types of Load Tests: Goals and Recommendations' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' +canonicalUrl: https://grafana.com/docs/k6 --- Many things can go wrong when a system is under load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md index a96ea93a8f..d5040e1abf 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md @@ -2,6 +2,7 @@ title: "Smoke testing" head_title: 'What is Smoke Testing? How to create a Smoke Test in k6' excerpt: "A Smoke test is a minimal load test to run when you create or modify a script." +canonicalUrl: https://grafana.com/docs/k6 --- Smoke tests have a minimal load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md index af1fb1f6a4..c0a3ff0241 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md @@ -2,6 +2,7 @@ title: 'Load testing' head_title: 'What is Load Testing? How to create a Load Test in k6' excerpt: 'An average load test assesses the performance of your system in terms of concurrent users or requests per second.' +canonicalUrl: https://grafana.com/docs/k6 --- An average-load test assesses how the system performs under typical load. Typical load might be a regular day in production or an average moment. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md index 0f08b4e658..31a56516b2 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md @@ -2,6 +2,7 @@ title: 'Stress testing' head_title: 'What is Stress Testing? How to create a Stress Test in k6' excerpt: 'Stress tests assess the limits of your system and stability under extreme conditions.' +canonicalUrl: https://grafana.com/docs/k6 --- Stress testing assesses how the system performs when loads are heavier than usual. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md index 17dd5ad3a8..8a3b11c93a 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md @@ -2,6 +2,7 @@ title: 'Soak testing' head_title: 'What is Soak Testing? How to create a Soak Test in k6' excerpt: 'A Soak Test tests the reliability and performance of your system over extended periods of use.' +canonicalUrl: https://grafana.com/docs/k6 --- Soak testing is another variation of the Average-Load test. It focuses on extended periods, analyzing the following: diff --git a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md index 61d40a5f0a..ed8283ff03 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md @@ -1,6 +1,7 @@ --- title: 'Spike testing' excerpt: 'Spike tests simulate moments of short, extreme load' +canonicalUrl: https://grafana.com/docs/k6 --- A spike test verifies whether the system survives and performs under sudden and massive rushes of utilization. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md index 453305c1d9..c373d6dbdd 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md @@ -1,6 +1,7 @@ --- title: 'Breakpoint testing' excerpt: 'Breakpoint tests aim to find system limits. They increase load until the system fails.' +canonicalUrl: https://grafana.com/docs/k6 --- Breakpoint testing aims to find system limits. Reasons you might want to know the limits include: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md index e4faa227cb..61fbf02cfd 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md @@ -2,6 +2,7 @@ title: 'API load testing' head_title: 'Intro to API Load Testing: The k6 Guide' excerpt: 'Load testing APIs has many facets. This guide introduces you to performance testing and provides best practices to load test your APIs with k6.' +canonicalUrl: https://grafana.com/docs/k6 --- An API load test generally starts with small loads on isolated components. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md index 59879a5d8a..7fdc8e8280 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md @@ -2,6 +2,7 @@ title: 'Automated performance testing' head_title: 'How to Automate Performance Testing: The k6 Guide' excerpt: 'Performance testing automation is about establishing a repeatable and consistent process that checks reliability issues at different stages of the development and release cycle.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md index 11c801468e..4c48493d71 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md @@ -2,6 +2,7 @@ title: 'Load testing websites' head_title: 'How to Load Test a Website: The k6 Guide' excerpt: 'Do you know how many users your site can handle? This guide answers the WHY and WHEN you should load test your website and gives you the best practices for load testing websites or web apps with k6. Let’s get started.' +canonicalUrl: https://grafana.com/docs/k6 --- This doc explains some key concepts about load testing websites, including: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md index 84afa0b414..9631521ed7 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md @@ -1,6 +1,7 @@ --- title: 'Running large tests' excerpt: 'How to run large-scale k6 tests without distributed-execution' +canonicalUrl: https://grafana.com/docs/k6 --- k6 can generate a lot of load from a single machine. With proper monitoring and script optimization, you might be able to run a rather large load test without needing [distributed execution](#distributed-execution). This document explains how to launch such a test, and some of the aspects you should be aware of. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md index 0e147721b9..cbd2696995 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md @@ -1,6 +1,7 @@ --- title: 'Running distributed tests' excerpt: 'How to run distributed tests in Kubernetes' +canonicalUrl: https://grafana.com/docs/k6 --- It has already been established that k6 can [run large load tests](/testing-guides/running-large-tests/) from a single instance, but what about _multiple instances running a single test_? diff --git a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md index ca28d29d7c..82f650762c 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md +++ b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md @@ -1,6 +1,7 @@ --- title: 'Usage collection' excerpt: 'By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting an environment variable or option.' +canonicalUrl: https://grafana.com/docs/k6 --- By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting the environment variable `K6_NO_USAGE_REPORT` or by adding the option `--no-usage-report` when executing k6. diff --git a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md index 8eca39d5ca..1c29c38e57 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md +++ b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md @@ -1,6 +1,7 @@ --- title: 'IntelliSense' excerpt: 'k6 has its TypeScript Type Definition that you can configure with your editor to unlock code editing features.' +canonicalUrl: https://grafana.com/docs/k6 --- [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense) refers to code editing features like **intelligent code completion** and **quick access to documentation**. These features can significantly improve the developer experience and productivity when working on k6 scripts in your editor of choice. Notable features are: diff --git a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md index 944ef87e4d..1c917165c1 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md +++ b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md @@ -1,6 +1,7 @@ --- title: 'Fine tuning OS' excerpt: 'In this article we will show you how to inspect the OS imposed limits of your system, tweak them and scale for larger tests.' +canonicalUrl: https://grafana.com/docs/k6 --- When running large test scripts locally, users sometimes run into limits within their OS that prevent them from making the necessary number of requests to complete the test. diff --git a/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md b/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md index 95a40255ba..82fe9e5539 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md +++ b/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md @@ -4,6 +4,7 @@ excerpt: 'With this API you can see and control different execution aspects like number of VUs, pause or resume the test, list groups, set and get the setup data and more.' hideFromSidebar: true +canonicalUrl: https://grafana.com/docs/k6 --- When k6 starts, it spins up an HTTP server with a REST API that can be used to control some diff --git a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md index 06f3ee7697..4a05da7155 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md +++ b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md @@ -1,6 +1,7 @@ --- title: 'Archive Command' excerpt: 'A k6 archive is simply a tar file with all files needed to execute a k6 test.' +canonicalUrl: https://grafana.com/docs/k6 --- ## What is an archive? diff --git a/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md b/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md index e6a2877f1a..3d1f71d96d 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md +++ b/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md @@ -1,6 +1,7 @@ --- title: Glossary excerpt: 'A list of technical terms commonly used when discussing k6, with definitions.' +canonicalUrl: https://grafana.com/docs/k6 --- What we talk about when we talk about k6. diff --git a/src/data/markdown/translated-guides/en/Test Types.md b/src/data/markdown/translated-guides/en/Test Types.md index df0e94714c..d31c070a08 100644 --- a/src/data/markdown/translated-guides/en/Test Types.md +++ b/src/data/markdown/translated-guides/en/Test Types.md @@ -2,6 +2,7 @@ title: 'Test types' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' robots: NOINDEX, FOLLOW +canonicalUrl: https://grafana.com/docs/k6 --- A series of articles explaining the different [load test types](/test-types/load-test-types/). \ No newline at end of file diff --git a/src/data/markdown/translated-guides/en/Testing Guides.md b/src/data/markdown/translated-guides/en/Testing Guides.md index 5d785fa6b9..5b5a9eedd7 100644 --- a/src/data/markdown/translated-guides/en/Testing Guides.md +++ b/src/data/markdown/translated-guides/en/Testing Guides.md @@ -1,6 +1,7 @@ --- title: 'Testing guides' excerpt: 'A series of guides to help you defining your load testing strategies.' +canonicalUrl: https://grafana.com/docs/k6 --- From accead70784c2ae098d7346f3caf061c08ae1c5f Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Tue, 28 Nov 2023 13:59:50 -0600 Subject: [PATCH 04/16] Update canonicalUrl for translated-guides section --- .../translated-guides/en/01 Get started/02 Installation.md | 2 +- .../en/01 Get started/02 Installation/01 Troubleshooting.md | 2 +- .../translated-guides/en/01 Get started/03 Running k6.md | 2 +- .../translated-guides/en/01 Get started/04 Results Output.md | 2 +- .../translated-guides/en/01 Get started/05 resources.md | 2 +- .../translated-guides/en/02 Using k6/01 HTTP requests.md | 2 +- .../markdown/translated-guides/en/02 Using k6/02 Metrics.md | 2 +- .../en/02 Using k6/02 Metrics/000-reference.md | 2 +- .../en/02 Using k6/02 Metrics/100 Create custom metrics.md | 2 +- .../markdown/translated-guides/en/02 Using k6/03 Checks.md | 2 +- .../markdown/translated-guides/en/02 Using k6/04 Thresholds.md | 2 +- .../markdown/translated-guides/en/02 Using k6/05 k6 Options.md | 2 +- .../en/02 Using k6/05 k6 Options/01 How to.md | 2 +- .../en/02 Using k6/05 k6 Options/02 Reference.md | 2 +- .../translated-guides/en/02 Using k6/06 Test lifecycle.md | 2 +- .../markdown/translated-guides/en/02 Using k6/07 Modules.md | 2 +- .../translated-guides/en/02 Using k6/08 Tags and Groups.md | 2 +- .../markdown/translated-guides/en/02 Using k6/09 Cookies.md | 2 +- .../markdown/translated-guides/en/02 Using k6/10 Protocols.md | 2 +- .../translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md | 2 +- .../en/02 Using k6/10 Protocols/02 WebSockets.md | 2 +- .../translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md | 2 +- .../en/02 Using k6/10 Protocols/04 SSL-TLS.md | 2 +- .../04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md | 2 +- .../10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md | 2 +- .../10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md | 2 +- .../en/02 Using k6/11 Environment variables.md | 2 +- .../en/02 Using k6/12 Execution context variables.md | 2 +- .../markdown/translated-guides/en/02 Using k6/14 Scenarios.md | 2 +- .../en/02 Using k6/14 Scenarios/00 Concepts.md | 2 +- .../02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md | 2 +- .../02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md | 2 +- .../14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md | 2 +- .../14 Scenarios/00 Concepts/03 Dropped iterations.md | 2 +- .../en/02 Using k6/14 Scenarios/01 Executors.md | 2 +- .../14 Scenarios/01 Executors/01 shared-iterations.md | 2 +- .../14 Scenarios/01 Executors/02 per-vu-iterations.md | 2 +- .../02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md | 2 +- .../en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md | 2 +- .../14 Scenarios/01 Executors/05 constant-arrival-rate.md | 2 +- .../14 Scenarios/01 Executors/06 ramping-arrival-rate.md | 2 +- .../14 Scenarios/01 Executors/07 externally-controlled.md | 2 +- .../en/02 Using k6/14 Scenarios/02 Advanced Examples.md | 2 +- .../translated-guides/en/03 Using k6 browser/01 Overview.md | 2 +- .../en/03 Using k6 browser/02 Running browser tests.md | 2 +- .../translated-guides/en/03 Using k6 browser/03 Metrics.md | 2 +- .../en/03 Using k6 browser/04 Migrating to k6 v0-46.md | 2 +- .../en/03 Using k6 browser/100 Recommended Practices.md | 2 +- .../100 Recommended Practices/01 Page object model pattern.md | 2 +- .../100 Recommended Practices/02 Selecting elements.md | 2 +- .../translated-guides/en/04 Results output/000-Overview.md | 2 +- .../translated-guides/en/04 Results output/100 End-of-test.md | 2 +- .../en/04 Results output/100 End-of-test/150-custom-summary.md | 2 +- .../translated-guides/en/04 Results output/200 Real-time.md | 2 +- .../en/04 Results output/200 Real-time/00 Amazon CloudWatch.md | 2 +- .../en/04 Results output/200 Real-time/00 Apache Kafka.md | 2 +- .../en/04 Results output/200 Real-time/00 CSV.md | 2 +- .../en/04 Results output/200 Real-time/00 Cloud.md | 2 +- .../en/04 Results output/200 Real-time/00 DataDog.md | 2 +- .../en/04 Results output/200 Real-time/00 Dynatrace.md | 2 +- .../en/04 Results output/200 Real-time/00 Elasticsearch.md | 2 +- .../200 Real-time/00 Grafana Cloud Prometheus.md | 2 +- .../en/04 Results output/200 Real-time/00 InfluxDB.md | 2 +- .../en/04 Results output/200 Real-time/00 JSON.md | 2 +- .../en/04 Results output/200 Real-time/00 Netdata.md | 2 +- .../en/04 Results output/200 Real-time/00 NewRelic.md | 2 +- .../200 Real-time/00 Prometheus remote write.md | 2 +- .../en/04 Results output/200 Real-time/00 StatsD.md | 2 +- .../en/04 Results output/200 Real-time/00 TimescaleDB.md | 2 +- .../en/04 Results output/300 Grafana dashboards.md | 2 +- .../translated-guides/en/05 Test authoring/01 test builder.md | 2 +- .../en/05 Test authoring/02 Create tests from recordings.md | 2 +- .../01 Using the browser recorder.md | 2 +- .../02 Using the HAR converter.md | 2 +- .../translated-guides/en/06 Test Types/00 Load test types.md | 3 ++- .../translated-guides/en/06 Test Types/01 Smoke Testing.md | 3 ++- .../translated-guides/en/06 Test Types/02 Load Testing.md | 3 ++- .../translated-guides/en/06 Test Types/03 Stress testing.md | 3 ++- .../translated-guides/en/06 Test Types/05 Soak Testing.md | 3 ++- .../translated-guides/en/06 Test Types/06-spike-testing.md | 2 +- .../en/06 Test Types/07-breakpoint-testing.md | 3 ++- .../en/07 Testing Guides/02 Automated performance testing.md | 2 +- .../en/07 Testing Guides/03 Load testing websites.md | 3 ++- .../en/07 Testing Guides/04 Running large tests.md | 2 +- .../en/07 Testing Guides/05 Running distributed tests.md | 2 +- .../translated-guides/en/08 Misc/01 Usage collection.md | 2 +- .../markdown/translated-guides/en/08 Misc/02 IntelliSense.md | 2 +- .../markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md | 2 +- src/data/markdown/translated-guides/en/08 Misc/06 Archive.md | 2 +- src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md | 2 +- src/data/markdown/translated-guides/en/Test Types.md | 3 ++- src/data/markdown/translated-guides/en/Testing Guides.md | 2 +- 92 files changed, 100 insertions(+), 92 deletions(-) diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md index 5cc34f984e..fd2a4fe40f 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md @@ -1,7 +1,7 @@ --- title: 'Installation' excerpt: 'k6 has packages for Linux, Mac, and Windows. As alternatives, you can also using a Docker container or a standalone binary.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/installation/ --- k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary. diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md index 6dd59cefe1..1bfe4876db 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md @@ -1,7 +1,7 @@ --- title: 'Troubleshooting' excerpt: 'Instructions to fix the most common installation issues.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/installation/troubleshooting/ --- ## System lacks ca-certificates or gnupg2 diff --git a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md index bef0f69e75..6f85eef30a 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md +++ b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md @@ -1,7 +1,7 @@ --- title: 'Running k6' excerpt: 'Follow along to learn how to run a test, add virtual users, increase the test duration, and ramp the number of requests up and down as the test runs.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/running-k6/ --- Follow along to learn how to: diff --git a/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md b/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md index 47fde7f21d..e39b13457d 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md +++ b/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md @@ -1,7 +1,7 @@ --- title: 'Results output' excerpt: 'For basic tests, the top-level summary that k6 provides might be enough. For detailed analysis, you can stream all data your test outputs to an external source.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/results-output/ --- As k6 generates load for your test, it also makes _metrics_ that measure the performance of the system. diff --git a/src/data/markdown/translated-guides/en/01 Get started/05 resources.md b/src/data/markdown/translated-guides/en/01 Get started/05 resources.md index 4dff3c7b06..14a6e00c20 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/05 resources.md +++ b/src/data/markdown/translated-guides/en/01 Get started/05 resources.md @@ -2,7 +2,7 @@ title: k6 resources excerpt: 'An overview of the k6 resources beyond the k6 docs: videos, repositories, test servers, courses, and more' slug: '/get-started/resources/' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/resources/ --- The docs aim to cover everything necessary to use the core k6 products in your daily operational work. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md b/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md index ba7e326966..a7c646066e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md @@ -1,7 +1,7 @@ --- title: 'HTTP Requests' excerpt: 'Define the HTTP requests and methods you want to use. k6 adds tags to the requests, making it easier to filter results. You can customize tags as you wish.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/http-requests/ --- When testers create new load test, the first step is often to define the HTTP requests to test the system with. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md index bbe13439ec..e6dafba412 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md @@ -1,7 +1,7 @@ --- title: 'Metrics' excerpt: 'This section covers the important aspect of metrics management in k6. How and what kind of metrics k6 collects automatically (_built-in_ metrics), and what custom metrics you can make k6 collect.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/metrics/ --- _Metrics_ measure how a system performs under test conditions. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md index 38f2a3e956..3e826e6bca 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md @@ -2,7 +2,7 @@ title: Built-in metrics slug: '/using-k6/metrics/reference' excerpt: A reference of built-in metrics for different supported protocols. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/metrics/reference/ --- Every k6 test emits built-in and [Custom metrics](/using-k6/metrics/create-custom-metrics). diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md index 116982dce5..5b93684cf7 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md @@ -1,7 +1,7 @@ --- title: Create custom metrics excerpt: How to build custom k6 metrics for each metric type. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/metrics/create-custom-metrics/ --- Besides the [built-in metrics](/using-k6/metrics/reference), you can create custom metrics. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md index 345e6773e8..d64d138d9e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md @@ -1,7 +1,7 @@ --- title: 'Checks' excerpt: 'Checks are like asserts but differ in that they do not halt the execution, instead, they just store the result of the check, pass or fail, and let the script execution continue.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/checks/ --- Checks validate boolean conditions in your test. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md index 27bce682f8..7fd94dca0f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md @@ -1,7 +1,7 @@ --- title: 'Thresholds' excerpt: 'Thresholds are a pass/fail criteria used to specify the performance expectations of the system under test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/thresholds/ --- Thresholds are the pass/fail criteria that you define for your test metrics. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md index 0a7b6f20e8..f2625db5b8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md @@ -2,7 +2,7 @@ title: 'Options' slug: '/using-k6/k6-options' excerpt: 'Options configure test-run behavior. You can set options in multiple locations. Examples for how to use options, and a complete reference.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/k6-options/ --- Options configure test-run behavior. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md index 367a158203..15317c3007 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md @@ -2,7 +2,7 @@ title: 'How to use options' slug: '/using-k6/k6-options/how-to' excerpt: 'How to set options in different places (with examples), how to override options, and how to access the value of an option as the test runs.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/k6-options/how-to/ --- k6 provides multiple places to set options: diff --git a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md index 27f3223353..2b10b27bb3 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md @@ -2,7 +2,7 @@ title: 'Options reference' slug: '/using-k6/k6-options/reference' excerpt: 'A complete list of all k6 options, with descriptions, defaults, and examples of how to set the option in your script, config files, environment variables, or CLI.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/k6-options/reference/ --- Options define test-run behavior. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md b/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md index 2418d91689..c019c9eb39 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md @@ -1,7 +1,7 @@ --- title: 'Test lifecycle' excerpt: 'The four distinct lifecycle stages in a k6 test are "init", "setup", "VU", and "teardown".' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-lifecycle/ --- In the lifecycle of a k6 test, diff --git a/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md b/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md index e07096e0a0..f588cf74df 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md @@ -2,7 +2,7 @@ title: 'Modules' excerpt: 'While writing test scripts, it is common to import different modules, or part of modules, for usage throughout the script. In k6, it is possible to import three different kinds of modules.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/modules/ --- ## Importing modules diff --git a/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md b/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md index d299a28412..af6f08da0d 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md @@ -2,7 +2,7 @@ title: 'Tags and Groups' excerpt: 'k6 provides the Tags and Groups APIs to help you during the analysis and easily visualize, sort and filter your test results.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/tags-and-groups/ --- A load test usually targets a service with different subsystems and resources. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md b/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md index 7347098a04..ad13733e2e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md @@ -1,7 +1,7 @@ --- title: 'Cookies' excerpt: 'k6 will transparently manage the receiving, storage and sending of cookies as described above, so that testing of your cookie-based web site or app will just work.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/cookies/ --- HTTP Cookies are used by web sites and apps to store pieces of stateful information on user devices. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md index 12a8072975..d10b0399e4 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md @@ -1,7 +1,7 @@ --- title: "Protocols" excerpt: "Out of the box k6 comes with support for a few protocols: HTTP / WebSockets / gRPC / ..." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/ --- Out of the box, k6 supports the following protocols: diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md index 57e323bf1d..0142794d44 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md @@ -1,7 +1,7 @@ --- title: 'HTTP/2' excerpt: 'When you make HTTP requests in k6 it will automatically upgrade the connection to HTTP/2.0 if the server supports it, just like your web browser would.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/http-2/ --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md index efc06e9ad2..dcb12135b0 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md @@ -1,7 +1,7 @@ --- title: 'WebSockets' excerpt: 'Comparing HTTP based tests to WebSocket ones, there are some differences in the structure and inner workings of k6.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/websockets/ --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md index f809bf393e..bbe4407757 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md @@ -1,7 +1,7 @@ --- title: 'gRPC' excerpt: 'gRPC is a lightweight open-source RPC framework. Starting with k6 v0.29.0, we support unary gRPC requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/grpc/ --- ## Overview diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md index d09aa5ab44..a8f436ccbd 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md @@ -1,7 +1,7 @@ --- title: 'SSL/TLS' excerpt: 'By default and without any special configuration, k6 will connect and talk to servers over TLS. You just need to make sure to specify your request URLs with the https scheme.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/ssl-tls/ --- Transport Layer Security (TLS), the successor of Secure Socket Layer (SSL), is the mechanism through diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md index f965785ac3..72e37a7186 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md @@ -2,7 +2,7 @@ title: 'Online Certificate Status Protocol (OCSP)' excerpt: 'k6 supports OCSP stapling, receiving and parsing a stapled response as part of the TLS connection setup.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/ssl-tls/online-certificate-status-protocol-ocsp/ --- ## What is OCSP? diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md index 8fd0e086d8..8e2e2ecf3a 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md @@ -1,7 +1,7 @@ --- title: 'SSL/TLS client certificates' excerpt: 'To use client certificates, you specify global that tell k6 how to map a public certificate and private key to the domains they are valid for.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/ssl-tls/ssl-tls-client-certificates/ --- Discussion about TLS certificates is usually about how clients authenticate servers. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md index ffdbf482cd..922fd9d8e4 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md @@ -2,7 +2,7 @@ title: 'SSL/TLS version and ciphers' excerpt: 'To support testing specific client configurations, you can set a specific version or range of versions of SSL/TLS that should be allowed for a connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/protocols/ssl-tls/ssl-tls-version-and-ciphers/ --- To support testing specific client configurations, you can specify a version or range of versions of SSL/TLS that are allowed for a connection. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md b/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md index e31e33fe00..471b96c584 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md @@ -1,7 +1,7 @@ --- title: 'Environment variables' excerpt: 'You can access any environment variables from your k6 script code and use this to supply your VUs with configuration information.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/environment-variables/ --- Often, scripts need only minor tweaks to be reusable in different contexts. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md b/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md index 9016a36192..d811d4106f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md @@ -1,7 +1,7 @@ --- title: 'Execution context variables' excerpt: 'k6/execution module provides the capability to get information about the current test execution state inside the test script' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/execution-context-variables/ --- In some cases, it's really useful to have information about the script's current test-execution state. For example, you might want to - Have different VUs run different test logic diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md index 054c1d16e4..7e8cf1e5b1 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md @@ -2,7 +2,7 @@ title: Scenarios excerpt: 'Scenarios allow us to make in-depth configurations to how VUs and iterations are scheduled. This makes it possible to model diverse traffic patterns in load tests.' hideFromSidebar: false -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/ --- Scenarios configure how VUs and iteration schedules in granular detail. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md index 7b31d7bcee..b9b0f64125 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md @@ -1,7 +1,7 @@ --- title: "Concepts" excerpt: High-level explanations about how your executor configuration can change the test execution and test results -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/ --- These topics explain the essential concepts of how scenarios and their executors work. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md index af80641f7c..0101497470 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md @@ -2,7 +2,7 @@ title: 'Open and closed models' slug: '/using-k6/scenarios/concepts/open-vs-closed/' excerpt: 'k6 has two ways to schedule VUs, which can affect test results. k6 implements the open model in its arrival-rate executors.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/open-vs-closed/ --- Different k6 executors have different ways of scheduling VUs. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md index f343f3f4d5..45638e8e51 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md @@ -1,7 +1,7 @@ --- title: 'Graceful stop' excerpt: 'This option is available for all executors except externally-controlled and allows the user to specify a duration to wait before forcefully interrupting them.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/graceful-stop/ --- The `gracefulStop` is a period at the end of the test in which k6 lets iterations in progress finish. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md index 6a7d124862..0b588efd19 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md @@ -1,7 +1,7 @@ --- title: Arrival-rate VU allocation excerpt: How k6 allocates VUs in the open-model, arrival-rate executors -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/arrival-rate-vu-allocation/ --- In arrival-rate executors, as long as k6 has VUs available, it starts iterations according to your target rate. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md index fa1fbf99b3..cdc34bd199 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md @@ -1,7 +1,7 @@ --- title: Dropped iterations excerpt: Explanations about how your scenario configuration or SUT performance can lead to dropped iterations -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/dropped-iterations/ --- Sometimes, a scenario can't run the expected number of iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md index d90537e370..5c1dcc433f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md @@ -1,7 +1,7 @@ --- title: 'Executors' excerpt: 'Executors control how k6 schedules VUs and iterations. Choose the executor to model traffic you want to model to test your services' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/ --- **Executors** control how k6 schedules VUs and iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md index c1a7e15f82..08bb885805 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md @@ -1,7 +1,7 @@ --- title: 'Shared iterations' excerpt: 'A fixed number of iterations are "shared" between a number of VUs, and the test ends once all iterations are executed.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/shared-iterations/ --- The `shared-iterations` executor shares iterations between the number of VUs. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md index fa3319220d..273f6510b5 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md @@ -1,7 +1,7 @@ --- title: 'Per VU iterations' excerpt: 'Each VU executes an exact number of iterations.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/per-vu-iterations/ --- With the `per-vu-iterations` executor, each VU executes an exact number of iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md index 89cfb7ceaf..c78cd83b34 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md @@ -1,7 +1,7 @@ --- title: 'Constant VUs' excerpt: 'A fixed number of VUs execute as many iterations as possible for a specified amount of time.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/constant-vus/ --- With the `constant-vus` executor, a fixed number of VUs execute as many iterations as possible for a specified amount of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md index f0ace82d6b..208f844b20 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md @@ -1,7 +1,7 @@ --- title: 'Ramping VUs' excerpt: 'A variable number of VUs execute as many iterations as possible for a specified amount of time.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/ramping-vus/ --- With the `ramping-vus` executor, a variable number of VUs executes as many iterations as possible for a specified amount of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md index 4772571b45..eb5232eca7 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md @@ -1,7 +1,7 @@ --- title: 'Constant arrival rate' excerpt: 'A fixed number of iterations are started in a specified period of time.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/constant-arrival-rate/ --- With the `constant-arrival-rate` executor, k6 starts a fixed number of iterations over a specified period of time. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md index c1ae30a6c5..7c2a9026ea 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md @@ -1,7 +1,7 @@ --- title: 'Ramping arrival rate' excerpt: 'A variable number of iterations are started in a specified period of time.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/ramping-arrival-rate/ --- With the `ramping-arrival-rate` executor, k6 starts iterations at a variable rate. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md index 0ed05ce794..d94617a84e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md @@ -1,7 +1,7 @@ --- title: 'Externally controlled' excerpt: 'Control and scale execution at runtime via k6 REST API or the CLI.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/externally-controlled/ --- Control and scale execution at runtime via [k6's REST API](/misc/k6-rest-api) or diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md index 15083a02b7..d44edec78b 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md @@ -1,7 +1,7 @@ --- title: 'Advanced Examples' excerpt: 'Advanced Examples using the k6 Scenario API - Using multiple scenarios, different environment variables and tags per scenario.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/advanced-examples/ --- You can use multiple scenarios in one script, and these scenarios can be run in sequence or in parallel. diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md index 2a180bb7e0..b46082cdd1 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md @@ -3,7 +3,7 @@ title: 'Overview' heading: 'Browser Module Documentation' head_title: 'Browser Module Documentation' excerpt: 'The browser module brings browser automation and end-to-end testing to k6 while supporting core k6 features. Interact with real browsers and collect frontend metrics as part of your k6 tests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/ --- diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md index b161bb7942..a6899dcfc8 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md @@ -1,7 +1,7 @@ --- title: 'Running browser tests' excerpt: 'Follow along to learn how to run a browser test, interact with elements on the page, wait for page navigation, write assertions and run both browser-level and protocol-level tests in a single script.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/running-browser-tests/ --- Follow along to learn how to: diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md index d12d712554..a20d0b49e1 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md @@ -1,7 +1,7 @@ --- title: 'Browser metrics' excerpt: 'An overview of the different browser performance metrics that the browser module tracks.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/metrics/ --- Follow along to learn about: diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md index a6b6d95d7f..d5797b873d 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md @@ -2,7 +2,7 @@ title: 'Migrating to k6 v0.46' excerpt: 'A migration guide to ease the process of transitioning to the new k6 browser module version' slug: '/using-k6-browser/migrating-to-k6-v0-46/' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/migrating-to-k6-v0-46/ --- This guide outlines the key changes you will need to make when moving your existing k6 browser test scripts to the new [k6 browser module](/javascript-api/k6-experimental/browser/) (bundled with [k6 version 0.46](https://github.com/grafana/k6/releases/tag/v0.46.0)). diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md index 757f9a5ecd..de53638888 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md @@ -1,7 +1,7 @@ --- title: 'Recommended practices' excerpt: 'A list of different examples and recommended practices when working with the k6 browser module' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/ --- This section presents some examples and recommended practices when working with the `k6 browser` module to leverage browser automation as part of your k6 tests. diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md index 0046316fd4..60f2d98047 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md @@ -3,7 +3,7 @@ title: 'Page object model' heading: 'Page object model with k6 browser' head_title: 'Page object model with k6 browser' excerpt: 'An example on how to implement page object model design pattern with k6 browser' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/page-object-model-pattern/ --- When working with large test suites, a popular design pattern to improve your code’s maintainability and readability is the [page object model](https://martinfowler.com/bliki/PageObject.html). diff --git a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md index 1532b9eadc..405db92c76 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md @@ -1,7 +1,7 @@ --- title: 'Selecting elements' excerpt: 'A guide on how to select elements with the browser module.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/selecting-elements/ --- Selectors are strings that represents a specific DOM element on the page. When writing browser-level tests, it's recommended to use selectors that are robust to avoid test flakiness when the DOM structure changes. diff --git a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md index 213f2af12c..e44e87662b 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md +++ b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md @@ -1,7 +1,7 @@ --- title: Overview excerpt: All the ways you can look at k6 results. While the test runs, after the test runs, on an external platform, as summary statistics. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/ --- k6 emits [metrics](/using-k6/metrics) with timestamps at every point of the test. diff --git a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md index 969b1e3d06..8f074a4398 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md @@ -1,7 +1,7 @@ --- title: End of test excerpt: When a test finishes, k6 prints a summary of results, with aggregated metrics and meta-data about the test. You can customize this, or configure the test to write granular metrics to a file. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/end-of-test/ --- When a test finishes, k6 prints a top-level overview of the aggregated results to `stdout`. diff --git a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md index e8dc6d06f8..e790475a69 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md @@ -1,7 +1,7 @@ --- title: Custom summary excerpt: With handlesummary(), you can customize every part of your report. Change the content, redirect output, and more. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/end-of-test/custom-summary/ --- With `handleSummary()`, you can completely customize your end-of-test summary. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md index 4ffae87eaa..2399712c40 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md @@ -1,7 +1,7 @@ --- title: Real time excerpt: Send your time-series k6 metrics to multiple file formats and services -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/ --- Besides the [end-of-test summary](/results-output/end-of-test), you can also view metrics as granular data points. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md index 4e80e35285..e09df8e8cb 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md @@ -1,7 +1,7 @@ --- title: 'Amazon CloudWatch' excerpt: 'You can send k6 results output to Amazon CloudWatch and later visualize them.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/amazon-cloudwatch/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md index 7c65643551..fdc62cb90e 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md @@ -1,7 +1,7 @@ --- title: 'Apache Kafka' excerpt: 'You can use xk6-output-kafka to send k6 metrics in real-time to Kafka, and, optionally, ingest them from InfluxDB.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/apache-kafka/ --- [Apache Kafka](https://kafka.apache.org) is a stream-processing platform for handling real-time data. Using [xk6-output-kafka extension](https://github.com/grafana/xk6-output-kafka), you can send k6 metrics in real-time to Kafka, and, optionally, ingest them from InfluxDB. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md index 3b8f4c584b..8aa1685b15 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md @@ -1,7 +1,7 @@ --- title: 'CSV' excerpt: 'You can also make k6 output detailed statistics in a CSV format by using the --out option.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/csv/ --- You can output granular data points in CSV format. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md index 780261f101..aecbf7c2d0 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md @@ -1,7 +1,7 @@ --- title: 'Cloud' excerpt: 'When streaming the results to the cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/cloud/ --- Besides [running cloud tests](/get-started/running-k6/#execution-modes), you can also run a test locally and stream the results to: diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md index baa26fa2a6..46d3145360 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md @@ -1,7 +1,7 @@ --- title: 'Datadog' excerpt: 'Send k6 output to Datadog to visualize load test results and correlate performance testing metrics in Datadog.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/datadog/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md index 5581ebadb7..04bd1863d2 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md @@ -1,7 +1,7 @@ --- title: 'Dynatrace' excerpt: Send k6 output to Dynatrace to visualize load test results and correlate performance testing metrics in Dynatrace. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/dynatrace/ --- With the [Dynatrace k6 extension](https://github.com/Dynatrace/xk6-output-dynatrace), diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md index 43faf99e61..85ab4b3bf5 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md @@ -1,7 +1,7 @@ --- title: 'Elasticsearch' excerpt: k6 has an output extension to store k6 metrics in Elasticsearch. This document shows you how to configure the k6 Elasticsearch integration. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/elasticsearch/ --- Using the [Elasticsearch k6 extension](https://github.com/elastic/xk6-output-elasticsearch), you can store k6 metrics in [Elasticsearch](https://github.com/elastic/elasticsearch) and analyze your performance results with Kibana or Grafana. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md index 27d8668991..868e17a539 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md @@ -2,7 +2,7 @@ title: 'Grafana Cloud Prometheus' excerpt: > How to upload the test result metrics to Grafana Cloud using Grafana Cloud Prometheus and the k6 output for Prometheus remote write' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/grafana-cloud-prometheus/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md index fc736ec970..9d5d1d4c18 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md @@ -1,7 +1,7 @@ --- title: 'InfluxDB' excerpt: 'k6 has an output extension to store k6 metrics in InfluxDB v2. This document shows you how to configure this integration.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/influxdb/ --- Using the [InfluxDB extension](https://github.com/grafana/xk6-output-influxdb), you can store k6 metrics in [InfluxDB v2.0](https://docs.influxdata.com/influxdb/v2.0/) and analyze your performance results with Grafana or [other tools](https://docs.influxdata.com/influxdb/cloud-serverless/query-data/tools/). diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md index e92984515a..ca1b2f0dca 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md @@ -1,7 +1,7 @@ --- title: 'JSON' excerpt: 'You can also make k6 output detailed statistics in JSON format by using the --out option.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/json/ --- You can output granular data points in JSON format. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md index 63d1aeff94..d221bb6ecc 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md @@ -1,7 +1,7 @@ --- title: 'Netdata' excerpt: 'You can send k6 output to Netdata. With this integration, visualize test results with zero configuration, in seconds' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/netdata/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md index 163a614f16..bed930850d 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md @@ -1,7 +1,7 @@ --- title: 'New Relic' excerpt: 'You can send k6 output to New Relic. With this integration visualize load test results and correlate them your New Relic telemetry data, create and share reports, and alert on k6 telemetry.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/new-relic/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md index ebe02f7b20..e56e55bea4 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md @@ -1,7 +1,7 @@ --- title: 'Prometheus remote write' excerpt: 'Use the Prometheus remote write output to send test results to any Prometheus remote write endpoint.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/prometheus-remote-write/ --- diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md index 81add7be50..8f30fa9aa3 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md @@ -1,7 +1,7 @@ --- title: 'StatsD' excerpt: 'k6 has a built-in output to a StatsD service.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/statsd/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md index 2e67a93f63..c3ce3247f9 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md @@ -1,7 +1,7 @@ --- title: 'TimescaleDB' excerpt: k6 has an output extension to store k6 metrics in TimescaleDB. This document shows you how to configure the k6 TimescaleDB integration. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/timescaledb/ --- Using the [TimescaleDB k6 extension](https://github.com/grafana/xk6-output-timescaledb), you can store k6 metrics in [TimescaleDB](https://www.timescale.com/) and analyze your performance results with SQL and dashboards. The extension repository includes two Grafana dashboards. diff --git a/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md b/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md index 4e8991df29..86834818c1 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md +++ b/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md @@ -1,7 +1,7 @@ --- title: Grafana dashboards excerpt: With multiple k6 output formats, you also have multiple ways to visualize test results in a Grafana dashboard. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/results-output/grafana-dashboards/ --- You have multiple ways to query k6 results in Grafana. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md b/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md index e336e09eaf..61edada43d 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md @@ -1,7 +1,7 @@ --- title: 'Test builder' excerpt: 'Use a graphical interface to create a k6 test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/test-builder/ --- The k6 Test Builder provides a graphical interface to generate a k6 test script based on your input. Then, you can copy the test script and [run the test from the CLI](/get-started/running-k6). diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md index 6c6d00d907..d182583f16 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md @@ -1,7 +1,7 @@ --- title: 'Create tests from recordings' excerpt: 'In load testing, recording usually refers to the process of creating a load test from the recording of a user session.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/ --- A recording stores the sequence of requests and parameters of a user session or API interaction. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md index 68ef744255..0627fc1723 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md @@ -1,7 +1,7 @@ --- title: 'Using the browser recorder' excerpt: 'The browser recorder allows generating a k6 script based on a web session. It is available as extensions for Chrome and Firefox.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder/ --- The browser recorder lets you generate a k6 script based on a browser session. diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md index f2da754e16..093baacd21 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md @@ -1,7 +1,7 @@ --- title: 'Using the HAR converter' excerpt: 'The HAR converter is an alternative to the Browser recorder. It generates a k6 script based on the HTTP requests included on a HAR file.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter/ --- The [har-to-k6 converter](https://github.com/k6io/har-to-k6) is a NodeJS tool that generates a k6 script based on the HTTP requests included in a [HAR file](). diff --git a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md index 877b90fcc4..c07a852bdc 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md @@ -2,7 +2,8 @@ title: 'Load test types' head_title: 'Understanding the Different Types of Load Tests: Goals and Recommendations' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/load-testing/load-testing-types/ --- Many things can go wrong when a system is under load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md index d5040e1abf..44edb46cb6 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md @@ -2,7 +2,8 @@ title: "Smoke testing" head_title: 'What is Smoke Testing? How to create a Smoke Test in k6' excerpt: "A Smoke test is a minimal load test to run when you create or modify a script." -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Smoke tests have a minimal load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md index c0a3ff0241..5d1f4868fb 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md @@ -2,7 +2,8 @@ title: 'Load testing' head_title: 'What is Load Testing? How to create a Load Test in k6' excerpt: 'An average load test assesses the performance of your system in terms of concurrent users or requests per second.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- An average-load test assesses how the system performs under typical load. Typical load might be a regular day in production or an average moment. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md index 31a56516b2..75261595b5 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md @@ -2,7 +2,8 @@ title: 'Stress testing' head_title: 'What is Stress Testing? How to create a Stress Test in k6' excerpt: 'Stress tests assess the limits of your system and stability under extreme conditions.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Stress testing assesses how the system performs when loads are heavier than usual. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md index 8a3b11c93a..e2acd5cd31 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md @@ -2,7 +2,8 @@ title: 'Soak testing' head_title: 'What is Soak Testing? How to create a Soak Test in k6' excerpt: 'A Soak Test tests the reliability and performance of your system over extended periods of use.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Soak testing is another variation of the Average-Load test. It focuses on extended periods, analyzing the following: diff --git a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md index ed8283ff03..8179d08fbe 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md @@ -1,7 +1,7 @@ --- title: 'Spike testing' excerpt: 'Spike tests simulate moments of short, extreme load' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/test-types/spike-testing/ --- A spike test verifies whether the system survives and performs under sudden and massive rushes of utilization. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md index c373d6dbdd..8d09a65197 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md @@ -1,7 +1,8 @@ --- title: 'Breakpoint testing' excerpt: 'Breakpoint tests aim to find system limits. They increase load until the system fails.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Breakpoint testing aims to find system limits. Reasons you might want to know the limits include: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md index 7fdc8e8280..f0e4fb4e62 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md @@ -2,7 +2,7 @@ title: 'Automated performance testing' head_title: 'How to Automate Performance Testing: The k6 Guide' excerpt: 'Performance testing automation is about establishing a repeatable and consistent process that checks reliability issues at different stages of the development and release cycle.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/automated-performance-testing/ --- diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md index 4c48493d71..43533f76f8 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md @@ -2,7 +2,8 @@ title: 'Load testing websites' head_title: 'How to Load Test a Website: The k6 Guide' excerpt: 'Do you know how many users your site can handle? This guide answers the WHY and WHEN you should load test your website and gives you the best practices for load testing websites or web apps with k6. Let’s get started.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- This doc explains some key concepts about load testing websites, including: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md index 9631521ed7..e3c8479a27 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md @@ -1,7 +1,7 @@ --- title: 'Running large tests' excerpt: 'How to run large-scale k6 tests without distributed-execution' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/running-large-tests/ --- k6 can generate a lot of load from a single machine. With proper monitoring and script optimization, you might be able to run a rather large load test without needing [distributed execution](#distributed-execution). This document explains how to launch such a test, and some of the aspects you should be aware of. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md index cbd2696995..2986b16f93 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md @@ -1,7 +1,7 @@ --- title: 'Running distributed tests' excerpt: 'How to run distributed tests in Kubernetes' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/running-distributed-tests/ --- It has already been established that k6 can [run large load tests](/testing-guides/running-large-tests/) from a single instance, but what about _multiple instances running a single test_? diff --git a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md index 82f650762c..589d3bcad7 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md +++ b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md @@ -1,7 +1,7 @@ --- title: 'Usage collection' excerpt: 'By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting an environment variable or option.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/misc/usage-collection/ --- By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting the environment variable `K6_NO_USAGE_REPORT` or by adding the option `--no-usage-report` when executing k6. diff --git a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md index 1c29c38e57..116dbb278a 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md +++ b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md @@ -1,7 +1,7 @@ --- title: 'IntelliSense' excerpt: 'k6 has its TypeScript Type Definition that you can configure with your editor to unlock code editing features.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/misc/intellisense/ --- [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense) refers to code editing features like **intelligent code completion** and **quick access to documentation**. These features can significantly improve the developer experience and productivity when working on k6 scripts in your editor of choice. Notable features are: diff --git a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md index 1c917165c1..d43399aa61 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md +++ b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md @@ -1,7 +1,7 @@ --- title: 'Fine tuning OS' excerpt: 'In this article we will show you how to inspect the OS imposed limits of your system, tweak them and scale for larger tests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/misc/fine-tuning-os/ --- When running large test scripts locally, users sometimes run into limits within their OS that prevent them from making the necessary number of requests to complete the test. diff --git a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md index 4a05da7155..200b4ed9ae 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md +++ b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md @@ -1,7 +1,7 @@ --- title: 'Archive Command' excerpt: 'A k6 archive is simply a tar file with all files needed to execute a k6 test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/misc/archive/ --- ## What is an archive? diff --git a/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md b/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md index 3d1f71d96d..89d79f38ae 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md +++ b/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md @@ -1,7 +1,7 @@ --- title: Glossary excerpt: 'A list of technical terms commonly used when discussing k6, with definitions.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/misc/glossary/ --- What we talk about when we talk about k6. diff --git a/src/data/markdown/translated-guides/en/Test Types.md b/src/data/markdown/translated-guides/en/Test Types.md index d31c070a08..2d9fc5689a 100644 --- a/src/data/markdown/translated-guides/en/Test Types.md +++ b/src/data/markdown/translated-guides/en/Test Types.md @@ -2,7 +2,8 @@ title: 'Test types' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' robots: NOINDEX, FOLLOW -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- A series of articles explaining the different [load test types](/test-types/load-test-types/). \ No newline at end of file diff --git a/src/data/markdown/translated-guides/en/Testing Guides.md b/src/data/markdown/translated-guides/en/Testing Guides.md index 5b5a9eedd7..427a412663 100644 --- a/src/data/markdown/translated-guides/en/Testing Guides.md +++ b/src/data/markdown/translated-guides/en/Testing Guides.md @@ -1,7 +1,7 @@ --- title: 'Testing guides' excerpt: 'A series of guides to help you defining your load testing strategies.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/ --- From 01185a441e9e75380c0bdb56119417132b304d74 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Tue, 28 Nov 2023 14:00:05 -0600 Subject: [PATCH 05/16] Update canonicalUrl for xk6-disruptor --- src/data/markdown/docs/40 xk6-disruptor/00 About.md | 1 + .../docs/40 xk6-disruptor/01 Get started/01 First steps.md | 1 + .../docs/40 xk6-disruptor/01 Get started/02 Requirements.md | 1 + .../docs/40 xk6-disruptor/01 Get started/03 Installation.md | 1 + .../01 Get started/04 Expose Your Application.md | 1 + .../docs/40 xk6-disruptor/02 Explanations/01 How it works.md | 1 + src/data/markdown/docs/40 xk6-disruptor/04 Examples.md | 1 + .../04 Examples/01 Inject Grpc faults into Service.md | 1 + .../04 Examples/02 Inject HTTP faults into Pod.md | 1 + 9 files changed, 9 insertions(+) diff --git a/src/data/markdown/docs/40 xk6-disruptor/00 About.md b/src/data/markdown/docs/40 xk6-disruptor/00 About.md index 7779b4b304..7953b35453 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/00 About.md +++ b/src/data/markdown/docs/40 xk6-disruptor/00 About.md @@ -3,6 +3,7 @@ title: 'About' heading: 'xk6-disruptor Documentation' head_title: 'xk6-disruptor Documentation' excerpt: 'xk6-disruptor is a k6 extension providing fault injection capabilities to test system reliability under turbulent conditions.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/ --- [xk6-disruptor](https://github.com/grafana/xk6-disruptor) is an extension that adds fault injection capabilities to k6. It implements the principles of the Chaos Engineering discipline to test the reliability of our applications under turbulent conditions such as delays and response errors. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md index 31f34c3bed..b26769105b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md @@ -3,6 +3,7 @@ title: 'First steps' heading: 'xk6-disruptor first steps' head_title: 'xk6-disruptor First steps' excerpt: 'xk6-disruptor is a k6 extension providing fault injection capabilities to k6.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/first-steps/ --- [xk6-disruptor](https://github.com/grafana/xk6-disruptor) is an extension that adds fault injection capabilities to k6. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md index 40e53c5580..86372afc6f 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md @@ -1,6 +1,7 @@ --- title: 'Requirements' excerpt: 'Requirements for using xk6-disruptor in your test scripts' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/requirements/ --- The xk6-disruptor is a k6 extension. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md index 802972f3b2..e74a5fb23d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md @@ -1,6 +1,7 @@ --- title: 'Installation' excerpt: 'A step-by-step guide on how to install xk6-disruptor.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/installation/ --- xk6-disruptor is a [k6 extension](/extensions). You have to run a k6 version built with the disruptor extension to use the [disruptor APIs](/javascript-api/xk6-disruptor/api/) in your k6 tests. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md index e69183c680..719fb52679 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md @@ -1,6 +1,7 @@ --- title: 'Expose your application' excerpt: 'How to make your applications accessible from the test scripts.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/expose-your-application/ --- To access your application from the test scripts, you must assign it an external IP in the cluster where it's running. diff --git a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md index ce501723c4..dfea34e2d9 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md +++ b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md @@ -1,6 +1,7 @@ --- title: 'How xk6-disruptor works' excerpt: 'A brief description of the components of the xk6-disruptor and how they work when inject faults in a target system.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/how-it-works/ --- xk6-disruptor consists of two main components: diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md index e0289ceb27..5cb4596cca 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md @@ -1,6 +1,7 @@ --- title: 'Examples' excerpt: 'Examples of how to use the xk6-disruptor extension to introduce faults in k6 tests.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/ --- In this section, we present some examples of using the `xk6-disruptor` extension to introduce faults in `k6` tests. diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md index bd4c561e54..5955dc649e 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md @@ -1,6 +1,7 @@ --- title: 'Inject gRPC faults into Service' excerpt: 'This example shows how to test the effect of faults injected in the gRPC requests served by a service.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/inject-grpc-faults-into-service/ --- This example shows a way to use the [ServiceDisruptor](/javascript-api/xk6-disruptor/api/servicedisruptor) to test the effect of faults injected in the gRPC requests served by a service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md index c4d330b305..5ce94d38cd 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md @@ -1,6 +1,7 @@ --- title: 'Inject HTTP faults into Pod' excerpt: 'This example shows how to test the effect of faults injected in the HTTP requests served by a pod.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/inject-http-faults-into-pod/ --- This example shows how [PodDisruptor](/javascript-api/xk6-disruptor/api/poddisruptor) can be used for testing the effect of faults injected in the HTTP requests served by a pod. From 5813bef637c6218fe94f08304285f28ed34180f1 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:02:03 +0200 Subject: [PATCH 06/16] prepare `canonicalURLs` option on `javascript api` folders --- src/data/markdown/docs/02 javascript api/01 Init context.md | 1 + src/data/markdown/docs/02 javascript api/01 Init context/open.md | 1 + src/data/markdown/docs/02 javascript api/02 k6.md | 1 + .../docs/02 javascript api/02 k6/check- val- sets- -tags- -.md | 1 + src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md | 1 + .../markdown/docs/02 javascript api/02 k6/group- name- fn -.md | 1 + src/data/markdown/docs/02 javascript api/02 k6/random-seed.md | 1 + src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md | 1 + src/data/markdown/docs/02 javascript api/03 k6-crypto.md | 1 + .../02 javascript api/03 k6-crypto/01-createHash- algorithm -.md | 1 + .../03 k6-crypto/02-createHMAC- algorithm- secret -.md | 1 + .../03-hmac- algorithm- secret- data- outputEncoding -.md | 1 + .../03 k6-crypto/04-md4- input- outputEncoding -.md | 1 + .../03 k6-crypto/05-md5- input- outputEncoding -.md | 1 + .../docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md | 1 + .../03 k6-crypto/07-ripemd160- input- outputEncoding -.md | 1 + .../03 k6-crypto/08-sha1- input- outputEncoding -.md | 1 + .../03 k6-crypto/09-sha256- input- outputEncoding -.md | 1 + .../03 k6-crypto/10-sha384- input- outputEncoding -.md | 1 + .../03 k6-crypto/11-sha512- input- outputEncoding -.md | 1 + .../03 k6-crypto/12-sha512_256- input- outputEncoding -.md | 1 + .../03 k6-crypto/13-sha512_224- input- outputEncoding -.md | 1 + .../markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md | 1 + src/data/markdown/docs/02 javascript api/04 k6-data.md | 1 + .../markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md | 1 + src/data/markdown/docs/02 javascript api/05 k6-encoding.md | 1 + .../05 k6-encoding/b64decode- input- -encoding- -format-.md | 1 + .../05 k6-encoding/b64encode- input- -encoding- -.md | 1 + src/data/markdown/docs/02 javascript api/06 k6-execution.md | 1 + src/data/markdown/docs/02 javascript api/07 k6-experimental.md | 1 + .../docs/02 javascript api/07 k6-experimental/01 browser.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext.md | 1 + .../01 browser/02 BrowserContext/addCookies.md | 1 + .../01 browser/02 BrowserContext/clearCookies.md | 1 + .../01 browser/02 BrowserContext/clearPermissions.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext/close.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext/cookie.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext/cookies.md | 1 + .../01 browser/02 BrowserContext/grantPermissions.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext/newPage.md | 1 + .../07 k6-experimental/01 browser/02 BrowserContext/pages.md | 1 + .../01 browser/02 BrowserContext/setDefaultNavigationTimeout.md | 1 + .../01 browser/02 BrowserContext/setDefaultTimeout.md | 1 + .../01 browser/02 BrowserContext/setGeolocation.md | 1 + .../01 browser/02 BrowserContext/setOffline.md | 1 + .../01 browser/02 BrowserContext/waitForEvent.md | 1 + .../07 k6-experimental/01 browser/03-console-message.md | 1 + .../07 k6-experimental/01 browser/04-element-handle.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/05-frame.md | 1 + .../07 k6-experimental/01 browser/06-js-handle.md | 1 + .../07 k6-experimental/01 browser/07-keyboard.md | 1 + .../07 k6-experimental/01 browser/08 Locator.md | 1 + .../07 k6-experimental/01 browser/08 Locator/check--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/click--options--.md | 1 + .../01 browser/08 Locator/dblclick--options--.md | 1 + .../01 browser/08 Locator/dispatchevent--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/fill--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/focus--options--.md | 1 + .../01 browser/08 Locator/getattribute--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/hover--options--.md | 1 + .../01 browser/08 Locator/innerhtml--options--.md | 1 + .../01 browser/08 Locator/innertext--options--.md | 1 + .../01 browser/08 Locator/inputvalue--options--.md | 1 + .../01 browser/08 Locator/ischecked--options--.md | 1 + .../01 browser/08 Locator/isdisabled--options--.md | 1 + .../01 browser/08 Locator/iseditable--options--.md | 1 + .../01 browser/08 Locator/isenabled--options--.md | 1 + .../01 browser/08 Locator/ishidden--options--.md | 1 + .../01 browser/08 Locator/isvisible--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/press--options--.md | 1 + .../01 browser/08 Locator/selectoption--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/tap--options--.md | 1 + .../01 browser/08 Locator/textcontent--options--.md | 1 + .../07 k6-experimental/01 browser/08 Locator/type--options--.md | 1 + .../01 browser/08 Locator/uncheck--options--.md | 1 + .../01 browser/08 Locator/waitfor--options--.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/09-mouse.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/10 Page.md | 1 + .../07 k6-experimental/01 browser/10 Page/bringToFront.md | 1 + .../07 k6-experimental/01 browser/10 Page/check--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/click--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/close.md | 1 + .../07 k6-experimental/01 browser/10 Page/content.md | 1 + .../07 k6-experimental/01 browser/10 Page/context.md | 1 + .../07 k6-experimental/01 browser/10 Page/dblclick--options--.md | 1 + .../01 browser/10 Page/dispatchEvent--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/dollar--options--.md | 1 + .../01 browser/10 Page/doubledollar--options--.md | 1 + .../01 browser/10 Page/emulateMedia--options--.md | 1 + .../01 browser/10 Page/emulateVisionDeficiency--type--.md | 1 + .../07 k6-experimental/01 browser/10 Page/evaluate.md | 1 + .../07 k6-experimental/01 browser/10 Page/evaluateHandle.md | 1 + .../07 k6-experimental/01 browser/10 Page/fill--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/focus--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/frames.md | 1 + .../01 browser/10 Page/getattribute--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/goto--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/hover--options--.md | 1 + .../01 browser/10 Page/innerhtml--options--.md | 1 + .../01 browser/10 Page/innertext--options--.md | 1 + .../01 browser/10 Page/inputvalue--options--.md | 1 + .../01 browser/10 Page/ischecked--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/isclosed--options--.md | 1 + .../01 browser/10 Page/isdisabled--options--.md | 1 + .../01 browser/10 Page/iseditable--options--.md | 1 + .../01 browser/10 Page/isenabled--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/ishidden--options--.md | 1 + .../01 browser/10 Page/isvisible--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/keyboard.md | 1 + .../07 k6-experimental/01 browser/10 Page/locator.md | 1 + .../07 k6-experimental/01 browser/10 Page/mainframe.md | 1 + .../07 k6-experimental/01 browser/10 Page/mouse.md | 1 + .../07 k6-experimental/01 browser/10 Page/on.md | 1 + .../07 k6-experimental/01 browser/10 Page/opener.md | 1 + .../07 k6-experimental/01 browser/10 Page/press--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/reload--options--.md | 1 + .../01 browser/10 Page/screenshot--options--.md | 1 + .../01 browser/10 Page/selectoption--options--.md | 1 + .../01 browser/10 Page/setcontent--options--.md | 1 + .../01 browser/10 Page/setdefaultnavigationtimeout.md | 1 + .../07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md | 1 + .../01 browser/10 Page/setextrahttpheaders--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/setviewportsize.md | 1 + .../07 k6-experimental/01 browser/10 Page/tap--options--.md | 1 + .../01 browser/10 Page/textcontent--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/title.md | 1 + .../07 k6-experimental/01 browser/10 Page/touchscreen.md | 1 + .../07 k6-experimental/01 browser/10 Page/type--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/uncheck--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/url.md | 1 + .../07 k6-experimental/01 browser/10 Page/viewportsize.md | 1 + .../01 browser/10 Page/waitforfunction--options--.md | 1 + .../01 browser/10 Page/waitforloadstate--options--.md | 1 + .../01 browser/10 Page/waitfornavigation--options--.md | 1 + .../01 browser/10 Page/waitforselector--options--.md | 1 + .../01 browser/10 Page/waitfortimeout--options--.md | 1 + .../07 k6-experimental/01 browser/10 Page/workers.md | 1 + .../07 k6-experimental/01 browser/11 Request.md | 1 + .../07 k6-experimental/01 browser/11 Request/size.md | 1 + .../07 k6-experimental/01 browser/12-response.md | 1 + .../07 k6-experimental/01 browser/13-touchscreen.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/14 Worker.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/context.md | 1 + .../07 k6-experimental/01 browser/isconnected.md | 1 + .../07 k6-experimental/01 browser/newcontext--options--.md | 1 + .../07 k6-experimental/01 browser/newpage--options--.md | 1 + .../02 javascript api/07 k6-experimental/01 browser/version.md | 1 + .../docs/02 javascript api/07 k6-experimental/02 grpc.md | 1 + .../02 javascript api/07 k6-experimental/02 grpc/10-Client.md | 1 + .../20 Client/10-Client-load-importpaths-protoFiles copy.md | 1 + .../02 grpc/20 Client/11-Client-load-protoset.md | 1 + .../20 Client/20-Client-connect-connect-address-params.md | 1 + .../02 grpc/20 Client/30-Client-invokerpc-url-request-params.md | 1 + .../07 k6-experimental/02 grpc/20 Client/40-Client-close.md | 1 + .../02 javascript api/07 k6-experimental/02 grpc/20-Params.md | 1 + .../07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md | 1 + .../07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md | 1 + .../07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md | 1 + .../07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md | 1 + .../02 javascript api/07 k6-experimental/02 grpc/30-Response.md | 1 + .../02 javascript api/07 k6-experimental/02 grpc/40-Constants.md | 1 + .../02 javascript api/07 k6-experimental/02 grpc/50-Stream.md | 1 + .../docs/02 javascript api/07 k6-experimental/02 redis.md | 1 + .../02 javascript api/07 k6-experimental/02 redis/10 Client.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-decr.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-decrby.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-del.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-exists.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-expire.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-get.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-getdel.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-getset.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hdel.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hget.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hgetall.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hincrby.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hkeys.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hlen.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hset.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hsetnx.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-hvals.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-incr.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-incrby.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lindex.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-llen.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lpop.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lpush.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lrange.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lrem.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-lset.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-mget.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-persist.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-randomkey.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-rpop.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-rpush.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-sadd.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-sendCommand.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-set.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-sismember.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-smembers.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-spop.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-srandmember.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-srem.md | 1 + .../07 k6-experimental/02 redis/10 Client/Client-ttl.md | 1 + .../07 k6-experimental/02 redis/20 Redis options.md | 1 + .../docs/02 javascript api/07 k6-experimental/03 timers.md | 1 + .../docs/02 javascript api/07 k6-experimental/04 tracing.md | 1 + .../07 k6-experimental/04 tracing/01 instrumentHTTP.md | 1 + .../02 javascript api/07 k6-experimental/04 tracing/02 Client.md | 1 + .../07 k6-experimental/04 tracing/03 Options.md | 1 + .../docs/02 javascript api/07 k6-experimental/05 websockets.md | 1 + .../05 websockets/10 WebSocket/10-WebSocket-addEventListener.md | 1 + .../05 websockets/10 WebSocket/10-WebSocket-send-data-.md | 1 + .../05 websockets/10 WebSocket/15-WebSocket-close--.md | 1 + .../05 websockets/10 WebSocket/20-WebSocket-ping--.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onclose.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onerror.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onmessage.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onopen.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onping.md | 1 + .../05 websockets/10 WebSocket/30-WebSocket-onpong.md | 1 + .../07 k6-experimental/05 websockets/10-WebSocket.md | 1 + .../07 k6-experimental/05 websockets/20-Params.md | 1 + .../docs/02 javascript api/07 k6-experimental/06 webcrypto.md | 1 + .../07 k6-experimental/06 webcrypto/01 Crypto.md | 1 + .../06 webcrypto/01 Crypto/01 getRandomValues.md | 1 + .../07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md | 1 + .../07 k6-experimental/06 webcrypto/02 SubtleCrypto.md | 1 + .../06 webcrypto/02 SubtleCrypto/01 decrypt.md | 1 + .../07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md | 1 + .../06 webcrypto/02 SubtleCrypto/03 encrypt.md | 1 + .../06 webcrypto/02 SubtleCrypto/04 exportKey.md | 1 + .../06 webcrypto/02 SubtleCrypto/05 generateKey.md | 1 + .../06 webcrypto/02 SubtleCrypto/06 importKey.md | 1 + .../07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md | 1 + .../07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md | 1 + .../07 k6-experimental/06 webcrypto/03 CryptoKey.md | 1 + .../07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md | 1 + .../07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md | 1 + .../07 k6-experimental/06 webcrypto/06 AesCtrParams.md | 1 + .../07 k6-experimental/06 webcrypto/07 AesCbcParams.md | 1 + .../07 k6-experimental/06 webcrypto/08 AesGcmParams.md | 1 + src/data/markdown/docs/02 javascript api/08 k6-html.md | 1 + .../docs/02 javascript api/08 k6-html/10-parseHTML- src -.md | 1 + .../docs/02 javascript api/08 k6-html/20-Element -k6-html-.md | 1 + .../markdown/docs/02 javascript api/08 k6-html/50 Selection.md | 1 + .../08 k6-html/50 Selection/Selection-attr-name-.md | 1 + .../08 k6-html/50 Selection/Selection-children--selector--.md | 1 + .../08 k6-html/50 Selection/Selection-closest-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-contents--.md | 1 + .../08 k6-html/50 Selection/Selection-data--key--.md | 1 + .../08 k6-html/50 Selection/Selection-each-fn-.md | 1 + .../08 k6-html/50 Selection/Selection-eq-index-.md | 1 + .../08 k6-html/50 Selection/Selection-filter-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-find-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-first--.md | 1 + .../08 k6-html/50 Selection/Selection-get-index-.md | 1 + .../08 k6-html/50 Selection/Selection-has-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-html--.md | 1 + .../08 k6-html/50 Selection/Selection-is-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-last--.md | 1 + .../08 k6-html/50 Selection/Selection-map-fn-.md | 1 + .../08 k6-html/50 Selection/Selection-next--selector--.md | 1 + .../08 k6-html/50 Selection/Selection-nextAll--selector--.md | 1 + .../50 Selection/Selection-nextUntil-selector-filter.md | 1 + .../08 k6-html/50 Selection/Selection-not-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-parent--selector--.md | 1 + .../08 k6-html/50 Selection/Selection-parents--selector--.md | 1 + .../50 Selection/Selection-parentsUntil-selector-filter.md | 1 + .../08 k6-html/50 Selection/Selection-prev--selector--.md | 1 + .../08 k6-html/50 Selection/Selection-prevAll--selector--.md | 1 + .../50 Selection/Selection-prevUntil-selector-filter.md | 1 + .../08 k6-html/50 Selection/Selection-serialize--.md | 1 + .../08 k6-html/50 Selection/Selection-serializeArray--.md | 1 + .../08 k6-html/50 Selection/Selection-serializeObject--.md | 1 + .../08 k6-html/50 Selection/Selection-size--.md | 1 + .../08 k6-html/50 Selection/Selection-slice-start -- end--.md | 1 + .../08 k6-html/50 Selection/Selection-text--.md | 1 + .../08 k6-html/50 Selection/Selection-toArray--.md | 1 + .../02 javascript api/08 k6-html/50 Selection/Selection-val--.md | 1 + src/data/markdown/docs/02 javascript api/09 k6-http.md | 1 + .../10-asyncRequest- method- url- -body-- -params- -.md | 1 + .../docs/02 javascript api/09 k6-http/10-batch- requests -.md | 1 + .../markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md | 1 + .../09 k6-http/10-del- url- -body-- -params- -.md | 1 + .../09 k6-http/10-file- data- -filename-- -contentType- -.md | 1 + .../docs/02 javascript api/09 k6-http/10-get- url- -params- -.md | 1 + .../02 javascript api/09 k6-http/10-haed- url- -params- -.md | 1 + .../09 k6-http/10-options- url- -body-- -params- -.md | 1 + .../09 k6-http/10-patch- url- -body-- -params- -.md | 1 + .../09 k6-http/10-post- url- -body-- -params- -.md | 1 + .../09 k6-http/10-put- url- -body-- -params- -.md | 1 + .../09 k6-http/10-request- method- url- -body-- -params- -.md | 1 + .../09 k6-http/10-set-response-callback-expectedStatuses.md | 1 + .../markdown/docs/02 javascript api/09 k6-http/10-url- url- .md | 1 + .../docs/02 javascript api/09 k6-http/11-expected-statuses.md | 1 + .../markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md | 1 + .../09 k6-http/60 CookieJar/CookieJar-clear-url.md | 1 + .../09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md | 1 + .../09 k6-http/60 CookieJar/CookieJar-delete-url-name.md | 1 + .../60 CookieJar/CookieJar-set-url-name-value-options.md | 1 + .../markdown/docs/02 javascript api/09 k6-http/60-FileData.md | 1 + src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md | 1 + .../markdown/docs/02 javascript api/09 k6-http/61 Response.md | 1 + .../09 k6-http/61 Response/Response-clickLink- -params- -.md | 1 + .../02 javascript api/09 k6-http/61 Response/Response-html--.md | 1 + .../09 k6-http/61 Response/Response-json- -selector- -.md | 1 + .../09 k6-http/61 Response/Response-submitForm- -params- -.md | 1 + src/data/markdown/docs/02 javascript api/10 k6-metrics.md | 1 + .../markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md | 1 + .../10 k6-metrics/70 Counter/Counter-add-value- -tags--.md | 1 + .../markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md | 1 + .../10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md | 1 + .../markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md | 1 + .../10 k6-metrics/72 Rate/Rate-add-value- -tags--.md | 1 + .../markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md | 1 + .../10 k6-metrics/73 Trend/Trend-add-value- -tags--.md | 1 + src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md | 1 + .../markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md | 1 + .../20 Client/10-Client-load-importpaths-protoFiles copy.md | 1 + .../11 k6-net-grpc/20 Client/11-Client-load-protoset.md | 1 + .../20 Client/20-Client-connect-connect-address-params.md | 1 + .../20 Client/30-Client-invokerpc-url-request-params.md | 1 + .../11 k6-net-grpc/20 Client/40-Client-close.md | 1 + .../markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md | 1 + .../docs/02 javascript api/11 k6-net-grpc/30-Response.md | 1 + .../docs/02 javascript api/11 k6-net-grpc/40-Constants.md | 1 + src/data/markdown/docs/02 javascript api/12 k6-ws.md | 1 + .../12 k6-ws/10-connect- url- params- callback -.md | 1 + src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md | 1 + src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md | 1 + .../docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md | 1 + .../12 k6-ws/80 Socket/Socket-on-event- callback-.md | 1 + .../docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md | 1 + .../02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md | 1 + .../02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md | 1 + .../12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md | 1 + .../12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md | 1 + src/data/markdown/docs/02 javascript api/90 Error Codes.md | 1 + 339 files changed, 339 insertions(+) diff --git a/src/data/markdown/docs/02 javascript api/01 Init context.md b/src/data/markdown/docs/02 javascript api/01 Init context.md index 12b2a871d4..030fc6db43 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context.md @@ -1,6 +1,7 @@ --- title: "Init context" excerpt: 'The init context (aka "init code") is code in the global context that has access to a few functions not accessible during main script execution.' +canonicalUrl: https://grafana.com/docs/k6 --- Before the k6 starts the test logic, code in the _init context_ prepares the script. diff --git a/src/data/markdown/docs/02 javascript api/01 Init context/open.md b/src/data/markdown/docs/02 javascript api/01 Init context/open.md index 2f00ae6642..7ced773f2d 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context/open.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context/open.md @@ -3,6 +3,7 @@ head_title: 'JavaScript API: open' title: 'open( filePath, [mode] )' description: 'Opens a file and reads all the contents into memory.' excerpt: 'Opens a file and reads all the contents into memory.' +canonicalUrl: https://grafana.com/docs/k6 --- Opens a file, reading all its contents into memory for use in the script. diff --git a/src/data/markdown/docs/02 javascript api/02 k6.md b/src/data/markdown/docs/02 javascript api/02 k6.md index 254d41d532..03fdad6e68 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6.md +++ b/src/data/markdown/docs/02 javascript api/02 k6.md @@ -1,6 +1,7 @@ --- title: 'k6' excerpt: 'The k6 module contains k6-specific functionality.' +canonicalUrl: https://grafana.com/docs/k6 --- The k6 module contains k6-specific functionality. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md index ec74ba4c40..15b312df48 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md @@ -2,6 +2,7 @@ title: 'check( val, sets, [tags] )' description: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' excerpt: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' +canonicalUrl: https://grafana.com/docs/k6 --- Run checks on a value. A check is a test condition that can give a truthy or diff --git a/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md b/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md index 2a71b80b07..4543b1ed52 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md @@ -2,6 +2,7 @@ title: 'fail( [err] )' description: 'Throws an error, failing and aborting the current VU script iteration immediately.' excerpt: 'Throws an error, failing and aborting the current VU script iteration immediately.' +canonicalUrl: https://grafana.com/docs/k6 --- Immediately throw an error, aborting the current iteration. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md b/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md index 3fddda7f1f..5488ad96cd 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md @@ -2,6 +2,7 @@ title: 'group( name, fn )' description: 'Runs code inside a group. Used to organize results in a test.' excerpt: 'Runs code inside a group. Used to organize results in a test.' +canonicalUrl: https://grafana.com/docs/k6 --- Run code inside a group. Groups are used to organize results in a test. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md b/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md index 12e4f0fe87..9c59d72d51 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md @@ -2,6 +2,7 @@ title: 'randomSeed( int )' description: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' excerpt: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' +canonicalUrl: https://grafana.com/docs/k6 --- Set seed to get a reproducible pseudo-random number using `Math.random`. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md index 3ad6c4c0b8..a55b811396 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md @@ -2,6 +2,7 @@ title: 'sleep( t )' description: 'Suspends VU execution for the specified duration.' excerpt: 'Suspends VU execution for the specified duration.' +canonicalUrl: https://grafana.com/docs/k6 --- Suspend VU execution for the specified duration. diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md index 9126444377..6be391da37 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md @@ -1,6 +1,7 @@ --- title: "k6/crypto" excerpt: "The k6/crypto module provides common hashing functionality available in the GoLang crypto." +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md index b707d6b8de..15bc6c757d 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md @@ -2,6 +2,7 @@ title: 'createHash( algorithm )' description: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md index 4d054fe5d6..012b373f63 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md @@ -2,6 +2,7 @@ title: 'createHMAC( algorithm, secret )' description: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md index a1a30318fc..e290853cfd 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'hmac( algorithm, secret, data, outputEncoding )' description: 'Use HMAC to sign input data.' excerpt: 'Use HMAC to sign input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md index 956cd0dddb..4715b6a227 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'md4( input, outputEncoding )' description: 'Use MD4 to hash input data.' excerpt: 'Use MD4 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md index d46a0a5ac5..e6a65b7dea 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'md5( input, outputEncoding )' description: 'Use MD5 to hash input data.' excerpt: 'Use MD5 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md index 1389b52661..1973cd137e 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md @@ -2,6 +2,7 @@ title: 'randomBytes( int )' description: 'randomBytes.' excerpt: 'randomBytes.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md index c83040d9e0..2c9a8d653e 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'ripemd160( input, outputEncoding )' description: 'Use RIPEMD-160 to hash input data.' excerpt: 'Use RIPEMD-160 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md index 3399dde988..23c0ed6c1d 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha1( input, outputEncoding )' description: 'Use SHA-1 to hash input data.' excerpt: 'Use SHA-1 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md index 8a6dcbb676..910705f7e7 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha256( input, outputEncoding )' description: 'Use SHA-256 to hash input data.' excerpt: 'Use SHA-256 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md index 32d6f8f39b..1d67ddb359 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha384( input, outputEncoding )' description: 'Use SHA-384 to hash input data.' excerpt: 'Use SHA-384 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md index 9ad6996945..8c72ddbfa6 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512( input, outputEncoding )' description: 'Use SHA-512 to hash input data.' excerpt: 'Use SHA-512 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md index 17989973c7..5a89eedf8a 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512_256( input, outputEncoding )' description: 'Use SHA-512/256 to hash input data.' excerpt: 'Use SHA-512/256 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md index bdf01166b1..9de30477b3 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512_224( input, outputEncoding )' description: 'Use SHA-512/224 to hash input data.' excerpt: 'Use SHA-512/224 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md index 83da208615..4617cffbde 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md @@ -2,6 +2,7 @@ title: 'Hasher' description: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' excerpt: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/04 k6-data.md b/src/data/markdown/docs/02 javascript api/04 k6-data.md index 33133d8ead..9709a4d6ab 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data.md @@ -1,6 +1,7 @@ --- title: "k6/data" excerpt: "k6 data API" +canonicalUrl: https://grafana.com/docs/k6 --- The data module provides helpers to work with data. diff --git a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md index dccd31670d..fe70fdff32 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md @@ -1,6 +1,7 @@ --- title: SharedArray excerpt: 'SharedArray is an array-like object that shares the underlying memory between VUs.' +canonicalUrl: https://grafana.com/docs/k6 --- `SharedArray` is an array-like object that shares the underlying memory between VUs. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md index 7a90d75c86..3c06d5c9e0 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md @@ -1,6 +1,7 @@ --- title: "k6/encoding" excerpt: 'The encoding module provides base64 encoding/decoding as defined by RFC4648.' +canonicalUrl: https://grafana.com/docs/k6 --- The encoding module provides [base64](https://en.wikipedia.org/wiki/Base64) encoding/decoding as defined by [RFC4648](https://tools.ietf.org/html/rfc4648). diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md index e59c8ec1ef..d1d658690e 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md @@ -2,6 +2,7 @@ title: 'b64decode( input, [encoding], [format] )' description: 'Base64 decode a string.' excerpt: 'Base64 decode a string.' +canonicalUrl: https://grafana.com/docs/k6 --- Decode the passed base64 encoded `input` string into the unencoded original input in either binary or string formats. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md index b941b9a769..1535e653b0 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md @@ -2,6 +2,7 @@ title: 'b64encode( input, [encoding] )' description: 'Encode data in base64.' excerpt: 'Encode data in base64.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/06 k6-execution.md b/src/data/markdown/docs/02 javascript api/06 k6-execution.md index f036abced3..2dcf171478 100644 --- a/src/data/markdown/docs/02 javascript api/06 k6-execution.md +++ b/src/data/markdown/docs/02 javascript api/06 k6-execution.md @@ -1,6 +1,7 @@ --- title: "k6/execution" excerpt: "Get information about the current test's execution state." +canonicalUrl: https://grafana.com/docs/k6 --- `k6/execution` provides the capability to get information about the current test execution state inside the test script. You can read in your script the execution state during the test execution and change your script logic based on the current state. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md index 2541680046..99b9c1153d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md @@ -1,6 +1,7 @@ --- title: "k6/experimental" excerpt: "k6 experimental APIs" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md index bf0de47fea..f1ab9d1f8d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md @@ -1,6 +1,7 @@ --- title: 'browser' excerpt: 'An overview of the browser-level APIs from browser module.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md index 9b9a3cf628..a59360244d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md @@ -1,6 +1,7 @@ --- title: "BrowserContext" excerpt: "Browser module: BrowserContext Class" +canonicalUrl: https://grafana.com/docs/k6 --- `BrowserContext`s provide a way to operate multiple independent sessions, with separate pages, cache, and cookies. A default `BrowserContext` is created when a browser is launched. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md index a84eb0a904..84d942ee37 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md @@ -1,6 +1,7 @@ --- title: 'addCookies()' excerpt: 'Clears context cookies.' +canonicalUrl: https://grafana.com/docs/k6 --- Adds a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) into the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie). All pages within this [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie) will have these [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) set. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md index 20e102910f..77b7ea79af 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md @@ -1,6 +1,7 @@ --- title: 'clearCookies()' excerpt: 'Clears context cookies.' +canonicalUrl: https://grafana.com/docs/k6 --- Clears the `BrowserContext`'s cookies. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md index 70d2484257..2055b2d659 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md @@ -1,6 +1,7 @@ --- title: 'clearPermissions()' excerpt: 'Clears all permission overrides for the BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md index 84744d4e44..abfcb3623d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md @@ -1,6 +1,7 @@ --- title: 'close()' excerpt: 'Close the BrowserContext and all its pages.' +canonicalUrl: https://grafana.com/docs/k6 --- Close the `BrowserContext` and all its [page](/javascript-api/k6-experimental/browser/page/)s. The `BrowserContext` is unusable after this call and a new one must be created. This is typically called to cleanup before ending the test. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md index 4d0b1a9088..6951ea30b8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md @@ -1,6 +1,7 @@ --- title: "Cookie" excerpt: "Browser module: Cookie Class" +canonicalUrl: https://grafana.com/docs/k6 --- Cookie class represents a cookie in the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md index 3805dc75c1..26f96d2d83 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md @@ -1,6 +1,7 @@ --- title: 'cookies([urls])' excerpt: 'Retrieves context cookies.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) from the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext) filtered by the provided `urls`. If no `urls` are provided, all cookies are returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md index c863ac86dd..09cb332416 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md @@ -1,6 +1,7 @@ --- title: 'grantPermissions(permissions[, options])' excerpt: 'Grants specified permissions to the BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6 --- Grants specified permissions to the `BrowserContext`. Only grants corresponding permissions to the given origin if specified. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md index 1d580a09b2..df1116c478 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md @@ -1,6 +1,7 @@ --- title: 'newPage()' excerpt: 'Creates a new page inside this BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6 --- Uses the `BrowserContext` to create a new [Page](/javascript-api/k6-experimental/browser/page/) and returns it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md index b81aa4aee9..1a813bf8e8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md @@ -1,6 +1,7 @@ --- title: 'pages()' excerpt: 'Returns a list of pages inside this BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md index 4869f8984b..7d51cd5b45 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Sets the default navigation timeout in milliseconds.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the default maximum navigation timeout for [Page.goto()](https://playwright.dev/docs/api/class-page#page-goto). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md index 53b42307cd..3a1cc570d3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Sets the default timeout in milliseconds.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the default maximum timeout for all methods accepting a `timeout` option in milliseconds. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md index ecb5ec8fda..473becc599 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md @@ -1,6 +1,7 @@ --- title: 'setGeolocation(geolocation)' excerpt: "Sets the BrowserContext's geolocation." +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md index 61a091c202..173941f6f2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md @@ -1,6 +1,7 @@ --- title: 'setOffline(offline)' excerpt: "Toggles the BrowserContext's connectivity on/off." +canonicalUrl: https://grafana.com/docs/k6 --- Toggles the `BrowserContext`'s connectivity on/off. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md index a5b7392ea8..bc9786bd9d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md @@ -1,6 +1,7 @@ --- title: 'waitForEvent(event[, optionsOrPredicate])' excerpt: 'Waits for event to fire and passes its value into the predicate function.' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md index 3f7dcb26f7..7024a44160 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md @@ -1,6 +1,7 @@ --- title: "ConsoleMessage" excerpt: "Browser module: ConsoleMessage Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md index 37a137257e..50aeb48c2f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md @@ -1,6 +1,7 @@ --- title: "ElementHandle" excerpt: "Browser module: ElementHandle Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md index 1ee5f0fae8..9c2db2b6a9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md @@ -1,6 +1,7 @@ --- title: "Frame" excerpt: "Browser module: Frame Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md index 76cc2ac26c..d9cfef6c19 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md @@ -1,6 +1,7 @@ --- title: "JSHandle" excerpt: "Browser module: JSHandle Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md index 009f11fd9f..7dc98a7a92 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md @@ -1,6 +1,7 @@ --- title: "Keyboard" excerpt: "Browser module: Keyboard Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md index 14afe8c388..679b1f3e67 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md @@ -1,6 +1,7 @@ --- title: "Locator" excerpt: "Browser module: Locator Class" +canonicalUrl: https://grafana.com/docs/k6 --- The Locator API makes it easier to work with dynamically changing elements. Some of the benefits of using it over existing ways to locate an element (e.g. `Page.$()`) include: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md index efe818b058..a5d4519db7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md @@ -1,6 +1,7 @@ --- title: 'check([options])' excerpt: 'Browser module: locator.check method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md index 478240f896..77ec28cbb7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md @@ -1,6 +1,7 @@ --- title: 'click([options])' excerpt: 'Browser module: locator.click method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md index d0a702de57..55899ee0cd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md @@ -1,6 +1,7 @@ --- title: 'dblclick([options])' excerpt: 'Browser module: locator.dblclick method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md index 55efeab773..dc4df286f4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md @@ -1,6 +1,7 @@ --- title: 'dispatchEvent(type, eventInit, [options])' excerpt: 'Browser module: locator.dispatchEvent method' +canonicalUrl: https://grafana.com/docs/k6 --- Dispatches HTML DOM event types e.g. `'click'`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md index d466e7679f..eae4bc8b5e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md @@ -1,6 +1,7 @@ --- title: 'fill(value, [options])' excerpt: 'Browser module: locator.fill method' +canonicalUrl: https://grafana.com/docs/k6 --- Fill an `input`, `textarea` or `contenteditable` element with the provided value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md index 11da8af49f..814df4c208 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md @@ -1,6 +1,7 @@ --- title: 'focus([options])' excerpt: 'Browser module: locator.focus method' +canonicalUrl: https://grafana.com/docs/k6 --- Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on the element, if it can be focused on. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md index f14947b889..f5ce752173 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md @@ -1,6 +1,7 @@ --- title: 'getAttribute(name, [options])' excerpt: 'Browser module: locator.getAttribute method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the element attribute value for the given attribute name. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md index dfe25e6459..c5e75a5150 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md @@ -1,6 +1,7 @@ --- title: 'hover([options])' excerpt: 'Browser module: locator.hover method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md index 3982654a4f..6c448d5db3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md @@ -1,6 +1,7 @@ --- title: 'innerHTML([options])' excerpt: 'Browser module: locator.innerHTML method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the `element.innerHTML`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md index 3be75b4dbd..8c81b964c1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md @@ -1,6 +1,7 @@ --- title: 'innerText([options])' excerpt: 'Browser module: locator.innerText method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the `element.innerText`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md index c83dc07110..bedb2d68df 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md @@ -1,6 +1,7 @@ --- title: 'inputValue([options])' excerpt: 'Browser module: locator.inputValue method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns `input.value` for the selected `input`, `textarea` or `select` element. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md index e57ffcd0b8..2354383b21 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md @@ -1,6 +1,7 @@ --- title: 'isChecked([options])' excerpt: 'Browser module: locator.isChecked method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks to see if the `checkbox` `input` type is selected or not. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md index 02c3bf2f7e..bb74ee47ff 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isDisabled([options])' excerpt: 'Browser module: locator.isDisabled method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks if the element is `disabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md index 91f025332e..ff724341af 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md @@ -1,6 +1,7 @@ --- title: 'isEditable([options])' excerpt: 'Browser module: locator.isEditable method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks if the element is `editable`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md index 3466bae953..5d97246c54 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isEnabled([options])' excerpt: 'Browser module: locator.isEnabled method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks if the element is `enabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md index 2ace3b0a8d..05f5a8c727 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md @@ -1,6 +1,7 @@ --- title: 'isHidden([options])' excerpt: 'Browser module: locator.isHidden method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks if the element is `hidden`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md index 3c58606549..883f7fdc31 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md @@ -1,6 +1,7 @@ --- title: 'isVisible([options])' excerpt: 'Browser module: locator.isVisible method' +canonicalUrl: https://grafana.com/docs/k6 --- Checks if the element is `visible`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md index 7e62158d90..f42ae11fb8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md @@ -1,6 +1,7 @@ --- title: 'press(key, [options])' excerpt: 'Browser module: locator.press method' +canonicalUrl: https://grafana.com/docs/k6 --- Press a single key on the keyboard or a combination of keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md index 67f9cf4b36..b246f0eab1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md @@ -1,6 +1,7 @@ --- title: 'selectOption(values, [options])' excerpt: 'Browser module: locator.selectOption method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md index 660d57781b..5f9d9e6706 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md @@ -1,6 +1,7 @@ --- title: 'tap([options])' excerpt: 'Browser module: locator.tap method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md index a742911ff5..fd500984a2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'textContent([options])' excerpt: 'Browser module: locator.textContent method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the `element.textContent`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md index 792109b3a2..8ebe657da7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md @@ -1,6 +1,7 @@ --- title: 'type(text, [options])' excerpt: 'Browser module: locator.type method' +canonicalUrl: https://grafana.com/docs/k6 --- Type in the text into the input field. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md index 5d57a916cb..592cb477f1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md @@ -1,6 +1,7 @@ --- title: 'uncheck([options])' excerpt: 'Browser module: locator.uncheck method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md index 36627c1347..3a565b2076 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md @@ -1,6 +1,7 @@ --- title: 'waitFor([options])' excerpt: 'Browser module: locator.waitFor method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md index ec9eb46205..7e58a9f778 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md @@ -1,6 +1,7 @@ --- title: "Mouse" excerpt: "Browser module: Mouse Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md index c5f5754bef..12a1c83a5e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md @@ -1,6 +1,7 @@ --- title: "Page" excerpt: "Browser module: Page Class" +canonicalUrl: https://grafana.com/docs/k6 --- Page provides methods to interact with a single tab in a running web browser. A single [BrowserContext](https://k6.io/docs/javascript-api/k6-experimental/browser/browsercontext/) can have many `pages`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md index 002691742c..86a76ce279 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md @@ -1,6 +1,7 @@ --- title: 'bringToFront()' excerpt: 'Browser module: page.bringToFront method' +canonicalUrl: https://grafana.com/docs/k6 --- Activates the browser tab which brings the page in focus to allow actions to be performed onto it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md index d056f840f4..dc709fb900 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md @@ -1,6 +1,7 @@ --- title: 'check(selector[, options])' excerpt: 'Browser module: page.check(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md index 91aa83fe00..adab0f7bbc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md @@ -1,6 +1,7 @@ --- title: 'click(selector[, options])' excerpt: 'Browser module: page.click(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md index 2560607909..d99ed5e1e0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md @@ -1,6 +1,7 @@ --- title: 'close()' excerpt: 'Browser module: page.close method' +canonicalUrl: https://grafana.com/docs/k6 --- This will close the tab that this page is associated with. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md index 4b9f8c61d8..3377eb0bd9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md @@ -1,6 +1,7 @@ --- title: 'content()' excerpt: 'Browser module: page.content method' +canonicalUrl: https://grafana.com/docs/k6 --- Gets the HTML contents of the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md index 0a3b1b3fd8..95658d4741 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md @@ -1,6 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: page.context method' +canonicalUrl: https://grafana.com/docs/k6 --- Gets the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) that the page belongs to. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md index c6e4942097..5ab37a268e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md @@ -1,6 +1,7 @@ --- title: 'dblclick(selector[, options])' excerpt: 'Browser module: page.dblclick(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md index d9785a1bb1..61068699c9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md @@ -1,6 +1,7 @@ --- title: 'dispatchEvent(selector, type, eventInit[, options])' excerpt: 'Browser module: page.dispatchEvent(selector, type, eventInit[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md index 9d15b0b386..f286fb5a44 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md @@ -1,6 +1,7 @@ --- title: 'page.$(selector)' excerpt: 'Browser module: page.$(selector) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md index 8746390254..db29505b0b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md @@ -1,6 +1,7 @@ --- title: 'page.$$(selector)' excerpt: 'Browser module: page.$$(selector) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md index 690a95da0c..dd023fbae2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md @@ -1,6 +1,7 @@ --- title: 'emulateMedia([options])' excerpt: 'Browser module: page.emulateMedia([options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- This method changes the CSS `@media type` through the `media` argument, and/or the `'prefers-colors-scheme'` media feature, using the `colorScheme` argument. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md index c11690f779..9e387cdbcb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md @@ -1,6 +1,7 @@ --- title: 'emulateVisionDeficiency(type)' excerpt: 'Browser module: page.emulateVisionDeficiency(type) method' +canonicalUrl: https://grafana.com/docs/k6 --- This emulates your website with the specified vision deficiency type. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md index 820305df75..2e5dfe0a97 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md @@ -1,6 +1,7 @@ --- title: 'evaluate(pageFunction[, arg])' excerpt: 'Browser module: page.evaluate(pageFunction[, arg]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the value of the `pageFunction` invocation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md index c8a871d9b5..81b15277bf 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md @@ -1,6 +1,7 @@ --- title: 'evaluateHandle(pageFunction[, arg])' excerpt: 'Browser module: page.evaluateHandle(pageFunction[, arg]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the value of the `pageFunction` invocation as a [JSHandle](/javascript-api/k6-experimental/browser/jshandle/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md index d6655cc181..295ef73939 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md @@ -1,6 +1,7 @@ --- title: 'fill(selector, value[, options])' excerpt: 'Browser module: page.fill(selector, value[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md index 9eb91827d2..6e6e4c31de 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md @@ -1,6 +1,7 @@ --- title: 'focus(selector[, options])' excerpt: 'Browser module: page.focus(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md index 33e83b1a58..695c4d80bf 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md @@ -1,6 +1,7 @@ --- title: 'frames()' excerpt: 'Browser module: page.frames method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns an array of [Frames](/javascript-api/k6-experimental/browser/frame/) on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md index 05474f01eb..e6cfae123e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md @@ -1,6 +1,7 @@ --- title: 'getAttribute(selector, name[, options])' excerpt: 'Browser module: page.getAttribute(selector, name[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md index 66f47ed4eb..0293de6ffd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md @@ -1,6 +1,7 @@ --- title: 'goto(url[, options])' excerpt: 'Browser module: page.goto(url[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Navigates to the specified URL and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md index 801a0ed42d..2f9390e253 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md @@ -1,6 +1,7 @@ --- title: 'hover(selector[, options])' excerpt: 'Browser module: page.hover(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md index d5933d5683..0b8a4cfd7e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md @@ -1,6 +1,7 @@ --- title: 'innerHTML(selector[, options])' excerpt: 'Browser module: page.innerHTML(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md index e1bc9b6857..6529cafec5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md @@ -1,6 +1,7 @@ --- title: 'innerText(selector[, options])' excerpt: 'Browser module: page.innerText(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md index b95489406b..0d6ba37687 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md @@ -1,6 +1,7 @@ --- title: 'inputValue(selector[, options])' excerpt: 'Browser module: page.inputValue(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md index 4aa2340135..a4cf0cf70f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md @@ -1,6 +1,7 @@ --- title: 'isChecked(selector[, options])' excerpt: 'Browser module: page.isChecked(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md index 2e94e1a33a..859a15a373 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md @@ -1,6 +1,7 @@ --- title: 'isClosed()' excerpt: 'Browser module: page.isClosed() method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md index e4efebc8ae..4b4aad4ca8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isDisabled(selector[, options])' excerpt: 'Browser module: page.isDisabled(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md index d70eb5aff5..328290f129 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md @@ -1,6 +1,7 @@ --- title: 'isEditable(selector[, options])' excerpt: 'Browser module: page.isEditable(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md index 429db00753..2270073c74 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isEnabled(selector[, options])' excerpt: 'Browser module: page.isEnabled(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md index c228edefa8..725e0e9ffc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md @@ -1,6 +1,7 @@ --- title: 'isHidden(selector[, options])' excerpt: 'Browser module: page.isHidden(selector[, options) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md index 95e152e080..9287779f77 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md @@ -1,6 +1,7 @@ --- title: 'isVisible(selector[, options])' excerpt: 'Browser module: page.isVisible(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md index 62e0209263..9f50ee8e25 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md @@ -1,6 +1,7 @@ --- title: 'keyboard' excerpt: 'Browser module: page.keyboard method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md index f6b9c3f2ee..a032750ae3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md @@ -1,6 +1,7 @@ --- title: 'locator(selector)' excerpt: 'Browser module: page.locator(selector) method' +canonicalUrl: https://grafana.com/docs/k6 --- The method returns an element [Locator](/javascript-api/k6-experimental/browser/locator/). Locators resolve to the element when the action takes place, which means locators can span over navigations where the underlying dom changes. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md index 757dacc40b..d7a81086bb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md @@ -1,6 +1,7 @@ --- title: 'mainFrame()' excerpt: 'Browser module: page.mainFrame method' +canonicalUrl: https://grafana.com/docs/k6 --- The page's main frame. Page is made up of frames in a hierarchical. At the top is `mainFrame`. A page is guaranteed to have a main frame. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md index 40491efafb..7e3b866309 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md @@ -1,6 +1,7 @@ --- title: 'mouse' excerpt: 'Browser module: page.mouse method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the [Mouse](/javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md index 11c8afac38..6f528d0a4a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md @@ -1,6 +1,7 @@ --- title: 'on(event, handler)' excerpt: 'Browser module: page.on method' +canonicalUrl: https://grafana.com/docs/k6 --- Registers a handler to be called whenever the specified event occurs. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md index a856324ad3..f0fe38d18f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md @@ -1,6 +1,7 @@ --- title: 'opener()' excerpt: 'Browser module: page.opener method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the page that opened the current page. The first page that is navigated to will have a `null` opener. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md index c19e73af17..c95ea909dd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md @@ -1,6 +1,7 @@ --- title: 'press(selector, key[, options])' excerpt: 'Browser module: page.press(selector, key[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md index d70484fa04..53e5b59789 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md @@ -1,6 +1,7 @@ --- title: 'reload([options])' excerpt: 'Browser module: page.reload([options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- This reloads the current page and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md index b1974c55bc..f0653d84d6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md @@ -1,6 +1,7 @@ --- title: 'screenshot([options])' excerpt: 'Browser module: page.screenshot([options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the buffer with the captured screenshot from the browser. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md index cb974856a2..bc35d3ec52 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md @@ -1,6 +1,7 @@ --- title: 'selectOption(selector, values[, options])' excerpt: 'Browser module: page.selectOption(selector, values[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md index a097e0f83f..bc1755a631 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'setContent(html[, options])' excerpt: 'Browser module: page.setContent(html[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the supplied HTML string to the current page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md index 1c04021246..6473039ab3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Browser module: page.setDefaultNavigationTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6 --- This setting will change the navigation timeout for the following methods: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md index 7817eff46b..19c1002e13 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Browser module: page.setDefaultTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6 --- This setting will change the timeout for all the methods accepting a `timeout` option. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md index 03dd2ba67b..b012689d44 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md @@ -1,6 +1,7 @@ --- title: 'setExtraHTTPHeaders(headers)' excerpt: 'Browser module: page.setExtraHTTPHeaders(headers) method' +canonicalUrl: https://grafana.com/docs/k6 --- This sets extra HTTP headers which will be sent with subsequent HTTP requests. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md index 4f180d27cb..0a158f7c96 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md @@ -1,6 +1,7 @@ --- title: 'setViewportSize(viewportSize)' excerpt: 'Browser module: page.setViewportSize(viewportSize) method' +canonicalUrl: https://grafana.com/docs/k6 --- This will update the page's width and height. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md index fb16320bed..465f6a7ba4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md @@ -1,6 +1,7 @@ --- title: 'tap(selector[, options])' excerpt: 'Browser module: locator.tap(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md index 014f7fb9b5..e321a08b9f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'textContent(selector[, options])' excerpt: 'Browser module: locator.textContent(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md index cccae78627..b1e978e250 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md @@ -1,6 +1,7 @@ --- title: 'title()' excerpt: 'Browser module: page.title method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the page's title. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md index d6ed5aa41e..67456580b2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md @@ -1,6 +1,7 @@ --- title: 'touchScreen' excerpt: 'Browser module: page.touchScreen method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the [Touchscreen](/javascript-api/k6-experimental/browser/touchscreen/) instance to interact with a virtual touchscreen on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md index f601947f1d..bf0652ae1b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md @@ -1,6 +1,7 @@ --- title: 'type(selector, text[, options])' excerpt: 'Browser module: page.type(selector, text[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md index 100cd8b3f0..f8d80dfd4f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md @@ -1,6 +1,7 @@ --- title: 'uncheck(selector[, options])' excerpt: 'Browser module: page.uncheck(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md index 5de8e735fe..73f6d2dcdb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md @@ -1,6 +1,7 @@ --- title: 'url()' excerpt: 'Browser module: page.url method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the page's URL. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md index 5160e4872d..2b8dba8ba3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md @@ -1,6 +1,7 @@ --- title: 'viewportSize()' excerpt: 'Browser module: page.viewportSize method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the page's size (width and height). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md index e307f1d4ee..8d1d3525bb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForFunction(pageFunction, arg[, options])' excerpt: 'Browser module: page.waitForFunction(pageFunction, arg[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns when the `pageFunction` returns a truthy value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md index 82c10560f7..ebf2ba0a29 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForLoadState(state[, options])' excerpt: 'Browser module: page.waitForLoadState(state[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md index e760e950eb..8e1fae7fcf 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForNavigation([options])' excerpt: 'Browser module: page.waitForNavigation([options]) method' +canonicalUrl: https://grafana.com/docs/k6 --- Waits for the given navigation lifecycle event to occur and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md index bee5df62bd..17cac2677d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForSelector(selector[, options])' excerpt: 'Browser module: page.waitForSelector(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md index 540c7d618f..bce668277e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForTimeout(timeout)' excerpt: 'Browser module: waitForTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md index 7f1f5b2a2a..25384ab83a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md @@ -1,6 +1,7 @@ --- title: 'workers()' excerpt: 'Browser module: page.workers method' +canonicalUrl: https://grafana.com/docs/k6 --- This method returns an array of the dedicated [WebWorkers](/javascript-api/k6-experimental/browser/worker/) associated with the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md index 9af55e6986..bad6723f11 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md @@ -1,6 +1,7 @@ --- title: "Request" excerpt: "Browser module: Request Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md index 4b147e72da..054efbc2f0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md @@ -1,6 +1,7 @@ --- title: 'size()' excerpt: 'Browser module: Request.size method' +canonicalUrl: https://grafana.com/docs/k6 --- Similar to Playwright's [`request.sizes()`](https://playwright.dev/docs/api/class-request#request-sizes), this method returns the size (in bytes) of body and header sections of the [Request](/javascript-api/k6-experimental/browser/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md index 18511ec19d..2e0b043b85 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md @@ -1,6 +1,7 @@ --- title: "Response" excerpt: "Browser module: Response Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md index adf5afee09..b4861a2a53 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md @@ -1,6 +1,7 @@ --- title: "Touchscreen" excerpt: "Browser module: Touchscreen Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md index 37d4617cdb..d24677609f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md @@ -1,6 +1,7 @@ --- title: "Worker" excerpt: "Browser module: Worker Class" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md index d7cc0369db..2b288993b3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md @@ -1,6 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: context method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the current [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md index 454b9824e1..c4ae755e78 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md @@ -1,6 +1,7 @@ --- title: 'isConnected()' excerpt: 'Browser module: isConnected method' +canonicalUrl: https://grafana.com/docs/k6 ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md index fda7e53d7c..798a9cd70f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md @@ -1,6 +1,7 @@ --- title: 'newContext([options])' excerpt: 'Browser module: newContext method' +canonicalUrl: https://grafana.com/docs/k6 --- Creates and returns a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/), if one hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If one has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md index e44be2f4d6..45eae0809b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md @@ -1,6 +1,7 @@ --- title: 'newPage([options])' excerpt: 'Browser module: newPage method' +canonicalUrl: https://grafana.com/docs/k6 --- Creates and returns a new [Page](/javascript-api/k6-experimental/browser/page/) in a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) if a `BrowserContext` hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If a `BrowserContext` has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md index 7d9e3a786b..645a1b28c1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md @@ -1,6 +1,7 @@ --- title: 'version()' excerpt: 'Browser module: version method' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the browser application's version. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md index 8c9ed69328..d156298121 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md @@ -1,6 +1,7 @@ --- title: "grpc" excerpt: "Experimental GRPC module" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md index 90a006db7f..e9cd94ca11 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md @@ -1,6 +1,7 @@ --- title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' +canonicalUrl: https://grafana.com/docs/k6 --- `Client` is a gRPC client that can interact with a gRPC server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index f4dbc8b7a0..168e00dab6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,6 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6 --- Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md index 1b585f20fe..b6163dc5b2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md @@ -1,6 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6 --- Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md index b13c7ea44b..a32c54a59b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,6 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' +canonicalUrl: https://grafana.com/docs/k6 --- Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown. Cannot be called during the [`init` phase](/using-k6/test-lifecycle). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md index 336f6c4eb7..85dfd555d7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,6 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' +canonicalUrl: https://grafana.com/docs/k6 --- Invokes an unary RPC request to the given method. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md index 9402dc6da3..5c6a658f3c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md @@ -1,6 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' +canonicalUrl: https://grafana.com/docs/k6 --- Close the connection to the gRPC service. Tear down all underlying connections. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md index 6786e7e4b9..485ceb6456 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md @@ -2,6 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' +canonicalUrl: https://grafana.com/docs/k6 --- *Params* is an object used by the gRPC methods that generate RPC requests. *Params* contains request-specific options like headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md index 1721c545e6..630ec402b1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md @@ -1,6 +1,7 @@ --- title: "Stream.on()" excerpt: 'Set up handler functions for various events on the GRPC stream.' +canonicalUrl: https://grafana.com/docs/k6 --- Set up handler functions for various events on the GRPC stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md index 3b676c6922..e9886c5815 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md @@ -2,6 +2,7 @@ title: "Error" head_title: 'gRPC.Error' excerpt: 'The error object of a gRPC stream.' +canonicalUrl: https://grafana.com/docs/k6 --- The error object is the object that is passed to the `error` event handler function. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md index 37fd1c1bee..2f1b682bb7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md @@ -1,6 +1,7 @@ --- title: "Stream.end()" excerpt: 'Signals to the server that the client has finished sending.' +canonicalUrl: https://grafana.com/docs/k6 --- Signals to the server that the client has finished sending messages. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md index 0b8087749b..1f6bc7b823 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md @@ -1,6 +1,7 @@ --- title: "Stream.write()" excerpt: 'Writes a message to the stream.' +canonicalUrl: https://grafana.com/docs/k6 --- Writes a message to the stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md index cf81cb578a..6b0dc4428a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md @@ -2,6 +2,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md index 879d850f1d..be06ab2aa8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md @@ -1,6 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' +canonicalUrl: https://grafana.com/docs/k6 --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-experimental/grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md index b70f413abc..897de8caf4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md @@ -1,6 +1,7 @@ --- title: Stream excerpt: 'GRPC Streams' +canonicalUrl: https://grafana.com/docs/k6 --- Using a GRPC client creates a stream. An important note that the client should be already connected (client.connect called) to the server before creating a stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md index 532918543a..b3b17b440e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md @@ -1,6 +1,7 @@ --- title: "redis" excerpt: "k6 Redis experimental API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md index 4303267c50..c5359d9602 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md @@ -1,6 +1,7 @@ --- title: 'Client' excerpt: 'Client is a Redis client to interact with a Redis server or cluster.' +canonicalUrl: https://grafana.com/docs/k6 --- `Client` is a Redis client to interact with a Redis server or cluster. It exposes a promise-based API, which users can interact with in an asynchronous manner. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md index 145e68d4fe..d4b0eb8ffe 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md @@ -1,6 +1,7 @@ --- title: 'Client.decr(key)' excerpt: 'Decrements the number stored at `key` by one.' +canonicalUrl: https://grafana.com/docs/k6 --- Decrements the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md index 98401cd079..30d42aacd5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md @@ -1,6 +1,7 @@ --- title: 'Client.decrBy(key, decrement)' excerpt: 'Decrements the number stored at `key` by `decrement`.' +canonicalUrl: https://grafana.com/docs/k6 --- Decrements the number stored at `key` by `decrement`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md index 2e909590a7..4202d9ec7d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md @@ -1,6 +1,7 @@ --- title: 'Client.del(keys)' excerpt: '' +canonicalUrl: https://grafana.com/docs/k6 --- Removes the specified keys. A key is ignored if it does not exist. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md index b47f805b06..4ff33b7931 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md @@ -1,6 +1,7 @@ --- title: 'Client.exists(keys)' excerpt: 'Returns the number of `key` arguments that exist.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the number of `key` arguments that exist. Note that if the same existing key is mentioned in the argument multiple times, it will be counted multiple times. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md index 39519ce621..7126234f3a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md @@ -1,6 +1,7 @@ --- title: 'Client.expire(key, seconds)' excerpt: 'Sets an expiration date (a timeout) on the key `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets a timeout on key, after which the key will automatically be deleted. Note that calling Expire with a non-positive timeout will result in the key being deleted rather than expired. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md index 79a87859eb..32648d7787 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md @@ -1,6 +1,7 @@ --- title: 'Client.get(key)' excerpt: 'Get the value of `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the key's value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md index c19e8ccbea..aed2c3d40b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md @@ -1,6 +1,7 @@ --- title: 'Client.getDel(key)' excerpt: 'Get the value of `key` and delete the key.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the value of `key` and delete the key. This functionality is similar to `get`, except for the fact that it also deletes the key on success. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md index 2fcf1d23c0..753d28f53c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md @@ -1,6 +1,7 @@ --- title: 'Client.getSet(key, value)' excerpt: 'Atomically sets `key` to `value` and returns the old value stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Atomically sets `key` to `value` and returns the value previously stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md index 65b1da8e15..c26e7025bc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md @@ -1,6 +1,7 @@ --- title: 'Client.hdel(key, fields)' excerpt: 'Deletes fields from the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Deletes the specified fields from the hash stored at `key`. The number of fields that were removed from the hash is returned on resolution (non including non existing fields). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md index d0e6920b5c..23f4828107 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md @@ -1,6 +1,7 @@ --- title: 'Client.hget(key, field)' excerpt: 'Returns the value of field in the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the value associated with `field` in the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md index 559d2a9f95..e3c548acfc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md @@ -1,6 +1,7 @@ --- title: 'Client.hgetall(key)' excerpt: 'Returns all fields and values of the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns all fields and values of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md index 4abb400e93..453eac4a8f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md @@ -1,6 +1,7 @@ --- title: 'Client.hincrby(key, field, increment)' excerpt: 'Increments the value of a hash field by the given number.' +canonicalUrl: https://grafana.com/docs/k6 --- Increments the integer value of `field` in the hash stored at `key` by `increment`. If `key` does not exist, a new key holding a hash is created. If `field` does not exist the value is set to 0 before the operation is set to 0 before the operation is performed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md index cc2343557f..c66d0ebf44 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md @@ -1,6 +1,7 @@ --- title: 'Client.hkeys(key)' excerpt: 'Returns all fields of the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns all fields of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md index 6ae3aef52b..e8a445591c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md @@ -1,6 +1,7 @@ --- title: 'Client.hlen(key)' excerpt: 'Returns the number of fields in the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the number of fields in the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md index 793e7440d9..36b4abcc72 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md @@ -1,6 +1,7 @@ --- title: 'Client.hset(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value`.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the specified field in the hash stored at `key` to `value`. If the `key` does not exist, a new key holding a hash is created. If `field` already exists in the hash, it is overwritten. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md index 1fabb7c43d..5420a03518 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md @@ -1,6 +1,7 @@ --- title: 'Client.hsetnx(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value` only if field does not exist in the hash.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the specified field in the hash stored at `key` to `value`, only if `field` does not yet exist. If `key` does not exist, a new key holding a hash is created. If `field` already exists, this operation has no effect. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md index 2937eda62b..14301b3129 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md @@ -1,6 +1,7 @@ --- title: 'Client.hvals(key)' excerpt: 'Returns all values of the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns all values of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md index 7849caa5a0..b0fc28254b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md @@ -1,6 +1,7 @@ --- title: 'Client.incr(key)' excerpt: 'Increments the number stored at `key` by one.' +canonicalUrl: https://grafana.com/docs/k6 --- Increments the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md index 6052136ab9..1cd97f557b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md @@ -1,6 +1,7 @@ --- title: 'Client.incrBy(key, increment)' excerpt: 'Increments the number stored at `key` by `increment`.' +canonicalUrl: https://grafana.com/docs/k6 --- Increments the number stored at `key` by `increment`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md index 0fb6781d63..3680502c93 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md @@ -1,6 +1,7 @@ --- title: 'Client.lindex(key)' excerpt: 'Returns the element at index `index` of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the specified element of the list stored at `key`. The index is zero-based. Negative indices can be used to designate elements starting at the tail of the list. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md index ddbcb8cf5d..2a831eb49d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md @@ -1,6 +1,7 @@ --- title: 'Client.llen(key)' excerpt: 'Returns the length of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the length of the list stored at `key`. If `key` does not exist, it is interpreted as an empty list and 0 is returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md index fff3964a36..854725486f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md @@ -1,6 +1,7 @@ --- title: 'Client.lpop(key)' excerpt: 'Removes and returns the first element of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes and returns the first element of the list stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md index 739d9226a6..52be5d22b3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md @@ -1,6 +1,7 @@ --- title: 'Client.lpush(key, values)' excerpt: 'Adds the string `value` to the left of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Inserts all the specified values at the head of the list stored at `key`. If `key` does not exist, it is created as empty list before performing the push operations. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md index dcfac444de..aeaf902ab7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md @@ -1,6 +1,7 @@ --- title: 'Client.lrange(key, start, stop)' excerpt: 'Returns the specified elements of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the specified elements of the list stored at `key`. The offsets start and stop are zero-based indexes. These offsets can be negative numbers, where they indicate offsets starting at the end of the list. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md index 1108dd7d48..2f168855fc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md @@ -1,6 +1,7 @@ --- title: 'Client.lrem(key, count, value)' excerpt: 'Removes the first count occurrences of elements equal to value from the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes the first `count` occurrences of `value` from the list stored at `key`. If `count` is positive, elements are removed from the beginning of the list. If `count` is negative, elements are removed from the end of the list. If `count` is zero, all elements matching `value` are removed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md index dc4d7c6d44..dda0ab987a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md @@ -1,6 +1,7 @@ --- title: 'Client.lset(key, index, element)' excerpt: 'Sets the list element at index `index` of the list stored at `key` to `value`.' +canonicalUrl: https://grafana.com/docs/k6 --- Sets the list element at `index` to `element`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md index 09ac82d5c7..b3a753a053 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md @@ -1,6 +1,7 @@ --- title: 'Client.mget(keys)' excerpt: 'Returns the values of all specified keys.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the values of all specified keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md index bd8429939f..ed7dc9c984 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md @@ -1,6 +1,7 @@ --- title: 'Client.persist(key)' excerpt: 'Remove the expiration from a key.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes the existing timeout on `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md index 7532c7575c..b9aeb3e5f5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md @@ -1,6 +1,7 @@ --- title: 'Client.randomKey()' excerpt: 'Returns a random key from the keyspace.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns a random key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md index 6ff49494e1..8f9479889a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md @@ -1,6 +1,7 @@ --- title: 'Client.rpop(key)' excerpt: 'Removes and returns the last element of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes and returns the last element of the list stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md index 67b3a7d44a..77cee045d7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md @@ -1,6 +1,7 @@ --- title: 'Client.rpush(key, values)' excerpt: 'Adds the string `value` to the right of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Inserts all the specified values at the tail of the list stored at `key`. If `key` does not exist, it is created as empty list before performing the push operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md index 92e17d6369..82ef8cf87f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md @@ -1,6 +1,7 @@ --- title: 'Client.sadd(key, members)' excerpt: 'Adds the specified members to the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Adds the specified members to the set stored at `key`. Specified members that are already a member of this set are ignored. If key does not exist, a new set is created before adding the specified members. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md index 029c8a5c7c..6858102ff2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md @@ -1,6 +1,7 @@ --- title: 'Client.sendCommand(command, args)' excerpt: 'Issue a command to the Redis server.' +canonicalUrl: https://grafana.com/docs/k6 --- In the event a Redis command you wish to use is not implemented yet, the `sendCommand` method can be used to send a custom commands to the server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md index 47b68f104a..bb9a39ced0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md @@ -1,6 +1,7 @@ --- title: 'Client.set(key, value, expiration)' excerpt: 'Set `key` to hold `value`, with a time to live equal to `expiration`.' +canonicalUrl: https://grafana.com/docs/k6 --- Set the value of a key, with a time to live equal to the expiration time parameter (in seconds). If the key already holds a value, it is overwritten. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md index 538ef23eaf..2ae2f17951 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md @@ -1,6 +1,7 @@ --- title: 'Client.sismember(key, member)' excerpt: 'Determines if a given value is a member of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns if member is a member of the set stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md index 716bbcb8c4..996eee178c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md @@ -1,6 +1,7 @@ --- title: 'Client.smembers(key)' excerpt: 'Returns all the members of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns all the members of the set values stored at `keys`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md index 08664d6941..cb66287ca5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md @@ -1,6 +1,7 @@ --- title: 'Client.spop(key)' excerpt: 'Removes and returns a random member of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes and returns a random element from the set value stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md index 7f8f4418e3..bd3fdd6012 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md @@ -1,6 +1,7 @@ --- title: 'Client.srandmember(key)' excerpt: 'Returns a random member of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns a random element from the set value stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md index eca8adfbd8..3dce131a48 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md @@ -1,6 +1,7 @@ --- title: 'Client.srem(key, members)' excerpt: 'Removes the specified members from the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6 --- Removes the specified members from the set stored at `key`. Specified members that are not a member of this set are ignored. If key does not exist, it is treated as an empty set and this command returns 0. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md index ca1c829471..85b645f082 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md @@ -1,6 +1,7 @@ --- title: 'Client.ttl(key)' excerpt: 'Returns the remaining time to live of a key.' +canonicalUrl: https://grafana.com/docs/k6 --- Returns the remaining time to live of a key that has a timeout. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md index 4242063924..5515fc4394 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md @@ -2,6 +2,7 @@ title: 'Redis options' slug: '/javascript-api/k6-experimental/redis/options/' excerpt: 'Options allow to fine tune how a Redis client behaves and interacts with a Redis server or cluster.' +canonicalUrl: https://grafana.com/docs/k6 --- You can configure the [Redis Client](/javascript-api/k6-experimental/redis/client) at construction time with the [Options](#options) object. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md index d9b93c5913..b05e3666f4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md @@ -1,6 +1,7 @@ --- title: "timers" excerpt: "k6 timers experimental API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md index 907116498d..6c5efa1a0e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md @@ -1,6 +1,7 @@ --- title: "tracing" excerpt: "k6 Tracing experimental API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md index 6a27b4c85c..6db17a1f69 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md @@ -1,6 +1,7 @@ --- title: 'instrumentHTTP' excerpt: 'instrumentHTTP instruments the k6 http module with tracing capabilities.' +canonicalUrl: https://grafana.com/docs/k6 --- The `instrumentHTTP` function instruments the k6 http module with tracing capabilities. It transparently replaces each of the k6 http module functions with versions that automatically attach a trace context to every request. Instrumented functions include [del](/javascript-api/k6-http/del), [get](/javascript-api/k6-http/get), [head](/javascript-api/k6-http/head), [options](/javascript-api/k6-http/options), [patch](/javascript-api/k6-http/patch), [post](/javascript-api/k6-http/post), [put](/javascript-api/k6-http/head), and [request](/javascript-api/k6-http/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md index ef1c4618d1..efce2c558f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md @@ -1,6 +1,7 @@ --- title: 'Client' excerpt: 'Client is a HTTP client attaching tracing information to its requests.' +canonicalUrl: https://grafana.com/docs/k6 --- `Client` is an HTTP client constructor that attaches tracing information to its requests. Use it to include a tracing context in HTTP requests so that tracing backends (such as [Grafana Tempo](https://grafana.com/oss/tempo/)) can incorporate their results. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md index 7f239fe342..f3fc6afc69 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md @@ -1,6 +1,7 @@ --- title: 'Options' excerpt: 'Options allows to configure the tracing instrumentation behavior.' +canonicalUrl: https://grafana.com/docs/k6 --- Use the `Options` object to configure the tracing instrumentation behavior. It is used during the instantiation of a [`Client`](/javascript-api/k6-experimental/tracing/client) instance and also as a parameter to the [`instrumentHTTP`](/javascript-api/k6-experimental/tracing/instrumenthttp) function. It controls the general behavior of the tracing instrumentation and is unspecific to any particular tracing client instance. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md index 2299a22967..0df1fa28d3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md @@ -1,6 +1,7 @@ --- title: 'websockets' excerpt: "k6 websockets experimental API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md index d73b99c499..220d0be3fb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.addEventListener(event, handler)' excerpt: 'Set up handler functions for various events on the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6 --- Set up handler functions for various events on the WebSocket connection. You can define multiple handlers for the same event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md index feca71c18e..74a906e2e4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.send(data)' excerpt: 'Send a data string through the connection.' +canonicalUrl: https://grafana.com/docs/k6 --- Send a data string through the connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md index bafaef7929..6ddc4c33ca 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.close([code])' excerpt: 'Close the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6 --- Close the WebSocket connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md index bc0bbf636a..df6e99ae44 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' +canonicalUrl: https://grafana.com/docs/k6 --- Send a ping. You can use ping messages to verify that the remote endpoint is responsive. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md index 6e81fc97d1..59e9e5727c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onclose' excerpt: 'A handler function for WebSocket connection close event.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `close` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md index bcee46fbd3..65b7ad36e5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onerror' excerpt: 'A handler function for WebSocket connection error event.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `error` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md index b4210b270e..88ac3baa7e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onmessage' excerpt: 'A handler function for message event WebSocket.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `message` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md index 8db2dd562c..56fb8448a8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onopen' excerpt: 'A handler function for WebSocket connection open event.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `open` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md index 491629d0de..93aa418dd8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onping' excerpt: 'A handler function for WebSocket connection ping event.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `ping` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md index 5857f5c57f..db97af3a25 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.onpong' excerpt: 'A handler function for WebSocket connection pong event.' +canonicalUrl: https://grafana.com/docs/k6 --- A handler for a WebSocket connection `pong` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md index a33f2e811c..a37a6a5ffc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md @@ -2,6 +2,7 @@ title: 'WebSocket' description: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' +canonicalUrl: https://grafana.com/docs/k6 --- Creates a WebSocket instance for connection to a remote host. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md index 0af808336d..057ec8c90a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' +canonicalUrl: https://grafana.com/docs/k6 --- `Params` is an object used by the WebSocket constructor. The `Params` object contains request-specific options, such as headers that should be inserted into the connection initialization request. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md index 4c8fdd8c3f..cce6423572 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md @@ -1,6 +1,7 @@ --- title: 'webcrypto' excerpt: "k6 webcrypto experimental API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md index 061ea36d4f..eaaf8f3ef3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md @@ -1,6 +1,7 @@ --- title: 'Crypto' excerpt: 'Crypto offers basic cryptography features.' +canonicalUrl: https://grafana.com/docs/k6 --- `Crypto` allows access to a cryptographically strong random number generator and to cryptographic primitives. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md index 856207444b..3efa4dbd09 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md @@ -1,6 +1,7 @@ --- title: 'getRandomValues' excerpt: 'getRandomValues fills the passed TypedArray with cryptographically sound random values.' +canonicalUrl: https://grafana.com/docs/k6 --- The `getRandomValues()` method fills the passed `TypedArray` with cryptographically sound random values. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md index 2e79d19335..2a777188a5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md @@ -1,6 +1,7 @@ --- title: 'randomUUID' excerpt: 'randomUUID produces a 36-characters long string containing a cryptographically random UUID v4.' +canonicalUrl: https://grafana.com/docs/k6 --- The `randomUUID` method produces a 36-characters long string that contains a cryptographically random UUID v4. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md index 46f207fcbb..348e0e718d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md @@ -1,6 +1,7 @@ --- title: 'SubtleCrypto' excerpt: 'SubtleCrypto offers low-level cryptographic functions.' +canonicalUrl: https://grafana.com/docs/k6 --- The `SubtleCrypto` interface provides a set of low-level cryptographic primitives such as encryption, decryption, digital signature generation and verification, and key generation and management. It is useful for using secure and efficient cryptographic operations within k6 scripts. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md index 8b6035ebfd..0dd6812dec 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md @@ -1,6 +1,7 @@ --- title: 'decrypt' excerpt: 'decrypt decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6 --- The `decrypt()` method decrypts some encrypted data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md index 0f2db66bf5..941ea242d3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md @@ -1,6 +1,7 @@ --- title: 'digest' excerpt: 'digest decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6 --- The `digest()` method generates a cryptographically secure [digest](https://developer.mozilla.org/en-US/docs/Glossary/Digest) of the given data. A digest is a short fixed-length value derived from some input data. The `digest()` method is commonly used to compute a checksum of data or to verify the integrity of data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md index e13a88edc0..43fe564da7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md @@ -1,6 +1,7 @@ --- title: 'encrypt' excerpt: 'encrypt decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6 --- The `encrypt()` method encrypts some data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md index 2bd90d74b8..f9940e2c01 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md @@ -1,6 +1,7 @@ --- title: 'exportKey' excerpt: 'exportKey exports a key in an external, portable format.' +canonicalUrl: https://grafana.com/docs/k6 --- The `exportKey()` method takes a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object as input and exports it in an external, portable format. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md index 50883f8d3d..f0bf555db6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md @@ -1,6 +1,7 @@ --- title: 'generateKey' excerpt: 'generateKey generates a new key.' +canonicalUrl: https://grafana.com/docs/k6 --- The `generateKey()` generates a new cryptographic key and returns it as a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object that can be used with the Web Crypto API. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md index 25dcd67553..3076ff917b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md @@ -1,6 +1,7 @@ --- title: 'importKey' excerpt: 'importKey imports a key from an external, portable format and gives you a CryptoKey object.' +canonicalUrl: https://grafana.com/docs/k6 --- The `importKey()` imports a key from an external, portable format, and gives you a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object that can be used with the Web Crypto API. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md index 4e566c2696..d61920bfab 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md @@ -1,6 +1,7 @@ --- title: 'sign' excerpt: 'sign generates a digital signature.' +canonicalUrl: https://grafana.com/docs/k6 --- The `sign()` operation generates a digital signature of the provided `data`, using the given [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md index bc7ae73f2d..93dc6f963f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md @@ -1,6 +1,7 @@ --- title: 'verify' excerpt: 'verify verifies a digital signature.' +canonicalUrl: https://grafana.com/docs/k6 --- The `verify()` operation verifies a digital signature. It ensures that some data was signed by a known key and that the data has not been tampered with since it was signed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md index 8b1c50a73e..19a3d3668e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md @@ -1,6 +1,7 @@ --- title: 'CryptoKey' excerpt: 'CryptoKey represents a cryptographic key used for encryption, decryption, signing, or verification.' +canonicalUrl: https://grafana.com/docs/k6 --- The `CryptoKey` object represents a cryptographic key used for [encryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt), [decryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt), [signing](/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign), or [verification](/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify) within the webcrypto module. The `CryptoKey` object is created using the SubtleCrypto.generateKey() or SubtleCrypto.importKey() methods. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md index 53ca53fea1..8255db3480 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md @@ -1,6 +1,7 @@ --- title: 'AesKeyGenParams' excerpt: 'AesKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an AES key.' +canonicalUrl: https://grafana.com/docs/k6 --- The `AesKeyGenParams` object represents the object that should be passed as the algorithm parameter into the [generateKey](/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey) operation when generating an AES key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md index 68d3646210..2922e51bb4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md @@ -1,6 +1,7 @@ --- title: 'HmacKeyGenParams' excerpt: 'HmacKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an HMAC key.' +canonicalUrl: https://grafana.com/docs/k6 --- The `HmacKeyGenParams` object represents the object that should be passed as the algorithm parameter into the [generateKey](/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey) operation when generating an HMAC key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md index 1484475826..4bcecb6c13 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md @@ -1,6 +1,7 @@ --- title: 'AesCtrParams' excerpt: 'AesCtrParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CTR algorithm.' +canonicalUrl: https://grafana.com/docs/k6 --- The `AesCtrParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-CTR algorithm. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md index 44d1b074ad..8b43deb28e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md @@ -1,6 +1,7 @@ --- title: 'AesCbcParams' excerpt: 'AesCbcParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CBC algorithm.' +canonicalUrl: https://grafana.com/docs/k6 --- The `AesCbcParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-CBC algorithm. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md index 0623353456..23888f8004 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md @@ -1,6 +1,7 @@ --- title: 'AesGcmParams' excerpt: 'AesGcmParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-GCM algorithm.' +canonicalUrl: https://grafana.com/docs/k6 --- The `AesGcmParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-GCM algorithm. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html.md b/src/data/markdown/docs/02 javascript api/08 k6-html.md index b3bd3d4652..43c68779f2 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html.md @@ -1,6 +1,7 @@ --- title: "k6/html" excerpt: 'The k6/html module contains functionality for HTML parsing.' +canonicalUrl: https://grafana.com/docs/k6 --- The k6/html module contains functionality for HTML parsing. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md index 3b1f2e3cca..eb13480910 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md @@ -2,6 +2,7 @@ title: 'parseHTML( src )' description: 'Parse an HTML string and populate a Selection object.' excerpt: 'Parse an HTML string and populate a Selection object.' +canonicalUrl: https://grafana.com/docs/k6 --- Parse an HTML string and populate a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md index 66055f1f9a..becee187fc 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md @@ -2,6 +2,7 @@ title: 'Element' description: 'An HTML DOM element as returned by the Selection API.' excerpt: 'An HTML DOM element as returned by the Selection API.' +canonicalUrl: https://grafana.com/docs/k6 --- Represents a DOM element matched by a [Selection](/javascript-api/k6-html/selection), diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md index 3327e12ce5..16e7d6469e 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md @@ -2,6 +2,7 @@ title: 'Selection' description: 'A jQuery-like API for accessing HTML DOM elements.' excerpt: 'A jQuery-like API for accessing HTML DOM elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Represents a set of nodes in a DOM tree. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md index 58afda0ac1..9af3da24ca 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md @@ -1,6 +1,7 @@ --- title: 'Selection.attr(name)' excerpt: 'Get the value of an attribute for the first element in the Selection.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the value of an attribute for the first element in the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md index 6b82faad63..367616b9c5 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.children([selector])' excerpt: 'Get the children of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the children of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md index 1cd68eca6b..004632d460 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.closest(selector)' excerpt: 'For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.' +canonicalUrl: https://grafana.com/docs/k6 --- For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md index 0fbb6edb6f..76d2632cc1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md @@ -1,6 +1,7 @@ --- title: 'Selection.contents()' excerpt: 'Get the children of each element in the set of matched elements, including text and comment nodes.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the children of each element in the set of matched elements, including text and comment nodes. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md index feb15dc0ab..a6a00218ab 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md @@ -1,6 +1,7 @@ --- title: 'Selection.data([key])' excerpt: 'Return the value at the named data store for the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Return the value at the named data store for the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md index dd7e24bea4..1bdd6a48e0 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md @@ -1,6 +1,7 @@ --- title: 'Selection.each(fn)' excerpt: 'Iterate over a Selection, executing a function for each matched element.' +canonicalUrl: https://grafana.com/docs/k6 --- Iterate over a [Selection](/javascript-api/k6-html/selection), executing a function for each matched element. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md index d35addbb6a..57c374fb60 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md @@ -1,6 +1,7 @@ --- title: 'Selection.eq(index)' excerpt: 'Reduce the set of matched elements to the one at the specified index.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to the one at the specified index. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md index c236962697..b0277cf162 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.filter(selector)' excerpt: 'Reduce the set of matched elements to those that match the selector or pass the function test.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to those that match the selector or pass the function's test. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md index f53fb957be..f98a77df83 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.find(selector)' excerpt: 'Find the selection descendants, filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Find the selection descendants, filtered by a selector. It returns a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md index 4ac438db35..bbd3ba9111 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md @@ -1,6 +1,7 @@ --- title: 'Selection.first()' excerpt: 'Reduce the set of matched elements to the first in the set.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to the first in the set. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md index 6fdf6be9a1..df1cdd5f9c 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md @@ -1,6 +1,7 @@ --- title: 'Selection.get(index)' excerpt: 'Retrieve the Element matched by the selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Retrieve the Element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md index 7aaced59f6..3706325253 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.has(selector)' excerpt: 'Reduce the set of matched elements to those that have a descendant that matches the selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to those that have a descendant that matches the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md index a1b12d19a7..a4b6881644 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md @@ -1,6 +1,7 @@ --- title: 'Selection.html()' excerpt: 'Get the HTML contents of the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the HTML contents of the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md index 5251a506ec..7e3d4e33f8 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.is(selector)' excerpt: 'Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments.' +canonicalUrl: https://grafana.com/docs/k6 --- Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md index 18e42d0028..435bc306cb 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md @@ -1,6 +1,7 @@ --- title: 'Selection.last()' excerpt: 'Reduce the set of matched elements to the final one in the set.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to the final one in the set. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md index 3c38c53c0a..47926e1fd8 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md @@ -1,6 +1,7 @@ --- title: 'Selection.map(fn)' excerpt: 'Pass each selection in the current matched set through a function, producing a new Array containing the return values.' +canonicalUrl: https://grafana.com/docs/k6 --- Pass each selection in the current matched set through a function, producing a new Array containing the return values. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md index 8c18f7725d..acb20c544e 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md @@ -2,6 +2,7 @@ title: 'Selection.next([selector])' excerpt: 'Get the immediately following sibling of each element in the set of matched elements Mimics jquery.next.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the immediately following sibling of each element in the set of matched elements diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md index 0327a90b83..316bf241d4 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.nextAll([selector])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md index bdd9847661..e748f30de0 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.nextUntil([selector], [filter])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get all following siblings of each element up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md index 9a45e5a0bf..79732c31a2 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.not(selector)' excerpt: 'Remove elements from the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Remove elements from the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md index b302dee087..8647f1b5ac 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.parent([selector])' excerpt: 'Get the parent of each element in the current set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the parent of each element in the current set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md index d40165f194..4cac3315b8 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.parents([selector])' excerpt: 'Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md index c2dd8cd679..465111f2b2 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.parentsUntil([selector], [filter])' excerpt: 'Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md index 05869d19d5..b3e305c1f6 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.prev([selector])' excerpt: 'Get the immediately preceding sibling of each element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the immediately preceding sibling of each element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md index daade6d6db..d291b60feb 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.prevAll([selector])' excerpt: 'Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md index 9fe4a41b72..a171e9d122 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.prevUntil([selector], [filter])' excerpt: 'Get all preceding siblings of each element up to but not including the element matched by the selector.' +canonicalUrl: https://grafana.com/docs/k6 --- Get all preceding siblings of each element up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md index f4f078960a..59e25305d4 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md @@ -1,6 +1,7 @@ --- title: 'Selection.serialize()' excerpt: 'Encode a set of form elements as a string in standard URL-encoded notation for submission.' +canonicalUrl: https://grafana.com/docs/k6 --- Encode a set of form elements as a string in standard URL-encoded notation for submission. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md index aff61485b7..bc2be2e487 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md @@ -1,6 +1,7 @@ --- title: 'Selection.serializeArray()' excerpt: 'Encode a set of form elements as an array of names and values.' +canonicalUrl: https://grafana.com/docs/k6 --- Encode a set of form elements as an array of names and values (`[{ name: "name", value: "value" }, ...]`). diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md index 88b07e20a1..d90d924ff1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md @@ -1,6 +1,7 @@ --- title: 'Selection.serializeObject()' excerpt: 'Encode a set of form elements as an object.' +canonicalUrl: https://grafana.com/docs/k6 --- Encode a set of form elements as an object (`{ "inputName": "value", "checkboxName": "value" }`). diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md index fbc6e517b8..ce93b99dd3 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md @@ -1,6 +1,7 @@ --- title: 'Selection.size()' excerpt: 'Return the number of elements in the Selection.' +canonicalUrl: https://grafana.com/docs/k6 --- Return the number of elements in the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md index b68fdcd394..cfadc71407 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md @@ -1,6 +1,7 @@ --- title: 'Selection.slice(start [, end])' excerpt: 'Reduce the set of matched elements to a subset specified by a range of indices.' +canonicalUrl: https://grafana.com/docs/k6 --- Reduce the set of matched elements to a subset specified by a range of indices. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md index be18769bc6..32757b0558 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md @@ -1,6 +1,7 @@ --- title: 'Selection.text()' excerpt: 'Get the text content of the Selection.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the text content of the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md index ae041cfe18..32e06ee205 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md @@ -1,6 +1,7 @@ --- title: 'Selection.toArray()' excerpt: 'Retrieve all the elements contained in the Selection, as an array.' +canonicalUrl: https://grafana.com/docs/k6 --- Retrieve all the elements contained in the Selection, as an array. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md index 2478ccc840..a51ac47c13 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md @@ -1,6 +1,7 @@ --- title: 'Selection.val()' excerpt: 'Get the current value of the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the current value of the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http.md b/src/data/markdown/docs/02 javascript api/09 k6-http.md index 6ebded04c0..5116dff348 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http.md @@ -1,6 +1,7 @@ --- title: 'k6/http' excerpt: 'The k6/http module contains functionality for performing HTTP transactions.' +canonicalUrl: https://grafana.com/docs/k6 --- The k6/http module contains functionality for performing HTTP transactions. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md index f59786698f..4269568baf 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'asyncRequest( method, url, [body], [params] )' description: 'Issue any type of HTTP request asynchronously.' excerpt: 'Issue any type of HTTP request asynchronously.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md index f49387ff22..5e1beb3629 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md @@ -2,6 +2,7 @@ title: 'batch( requests )' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' +canonicalUrl: https://grafana.com/docs/k6 --- Batch multiple HTTP requests together to issue them in parallel over multiple TCP connections. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md index 1c840578d9..93e317cad1 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md @@ -3,6 +3,7 @@ title: 'cookieJar()' slug: '/javascript-api/k6-http/cookiejar-method' description: 'Get active HTTP Cookie jar.' excerpt: 'Get active HTTP Cookie jar.' +canonicalUrl: https://grafana.com/docs/k6 --- Get the active cookie jar. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md index 2fa3e716a2..b5558b0d58 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'del( url, [body], [params] )' description: 'Issue an HTTP DELETE request.' excerpt: 'Issue an HTTP DELETE request.' +canonicalUrl: https://grafana.com/docs/k6 --- Make a DELETE request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md index 5d133be998..123eebb385 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md @@ -2,6 +2,7 @@ title: 'file( data, [filename], [contentType] )' description: 'Create a file object that is used for building multi-part requests.' excerpt: 'Create a file object that is used for building multi-part requests.' +canonicalUrl: https://grafana.com/docs/k6 --- Create a file object that is used for building [Multipart requests (file uploads)](/examples/data-uploads#multipart-request-uploading-a-file). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md index 64f59c292e..758aa33c0a 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md @@ -2,6 +2,7 @@ title: 'get( url, [params] )' description: 'Issue an HTTP GET request.' excerpt: 'Issue an HTTP GET request.' +canonicalUrl: https://grafana.com/docs/k6 --- Make a GET request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md index 73636f023c..a0c5d12dda 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md @@ -2,6 +2,7 @@ title: 'head( url, [params] )' description: 'Issue an HTTP HEAD request.' excerpt: 'Issue an HTTP HEAD request.' +canonicalUrl: https://grafana.com/docs/k6 --- Make a HEAD request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md index 7334c213ee..61a68f5986 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: "options( url, [body], [params] )" description: "Issue an HTTP OPTIONS request." excerpt: "Issue an HTTP OPTIONS request." +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md index 2a9b14e949..530389fb4f 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'patch( url, [body], [params] )' description: 'Issue an HTTP PATCH request.' excerpt: 'Issue an HTTP PATCH request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md index 1659965c9b..ddc1509f2f 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'post( url, [body], [params] )' description: 'Issue an HTTP POST request.' excerpt: 'Issue an HTTP POST request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md index 86b03f8303..7e52466771 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'put( url, [body], [params] )' description: 'Issue an HTTP PUT request.' excerpt: 'Issue an HTTP PUT request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md index d88738686e..c4f2bc94f5 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'request( method, url, [body], [params] )' description: 'Issue any type of HTTP request.' excerpt: 'Issue any type of HTTP request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md index e14a4002ff..c963da9e98 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md @@ -2,6 +2,7 @@ title: 'setResponseCallback( callback )' description: 'set responseCallback to mark responses as expected' excerpt: 'set responseCallback to mark responses as expected' +canonicalUrl: https://grafana.com/docs/k6 --- Set the response callback to be called to determine if a response was expected/successful or not. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md index e17f7bba1d..091fdfb379 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md @@ -2,6 +2,7 @@ title: 'url`url`' description: 'Creates a URL with a name tag.' excerpt: 'Creates a URL with a name tag.' +canonicalUrl: https://grafana.com/docs/k6 --- URLs that contain dynamic parts can introduce a large number of unique URLs in the metrics stream. You can use `http.url` to set a consistent name tag in your requests to remedy this issue. Read more on [URL Grouping](/using-k6/http-requests#url-grouping). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md b/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md index 7fab3c9d2f..b8fbebbfd5 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md @@ -2,6 +2,7 @@ title: 'expectedStatuses( statuses )' description: 'generates a responseCallback to check status codes' excerpt: 'generates a responseCallback to check status codes' +canonicalUrl: https://grafana.com/docs/k6 --- Returns a callback to be used with [setResponseCallback](/javascript-api/k6-http/setresponsecallback) to mark responses as expected based only on their status codes. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md index 418fa65297..149bdc8b9a 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md @@ -3,6 +3,7 @@ title: 'CookieJar' head_title: 'CookieJar object' description: 'Used for storing cookies, set by the server and/or added by the client.' excerpt: 'Used for storing cookies, set by the server and/or added by the client.' +canonicalUrl: https://grafana.com/docs/k6 --- _CookieJar_ is an object for storing cookies that are set by the server, added by the client, or both. As described in the how-to guide on using [Cookies](/using-k6/cookies), k6 handles cookies automatically by default. If you need more control over cookies you can however create your own cookie jar and select it as the active jar (instead of the default one created by k6) for one or more requests. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md index 04616edfca..88b802ea07 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.clear(url)' excerpt: 'Delete all cookies for the given URL.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md index 6f00ee25d6..e04400d170 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.cookiesForURL(url)' excerpt: 'Get object with all cookies for the given URL, where the key is the cookie name and the value is an array.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md index 76d7801573..6bb9cd6d3b 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.delete(url, name)' excerpt: 'Delete a cookie of a specified `name` for the given URL.' +canonicalUrl: https://grafana.com/docs/k6 --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md index b8ec7f9cad..cb5eaa543d 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.set(url, name, value, [options])' excerpt: 'Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc.' +canonicalUrl: https://grafana.com/docs/k6 --- Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md index 4dfde0bbc4..3561d3084e 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md @@ -2,6 +2,7 @@ title: 'FileData' description: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' excerpt: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' +canonicalUrl: https://grafana.com/docs/k6 --- _FileData_ is an object for wrapping data representing a file when doing diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md index 2904805a12..15cddf1dd6 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' excerpt: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' +canonicalUrl: https://grafana.com/docs/k6 --- _Params_ is an object used by the http.\* methods that generate HTTP requests. _Params_ contains request-specific options like e.g. HTTP headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md index c4a432d1ed..a0df746957 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md @@ -2,6 +2,7 @@ title: 'Response' description: 'Returned by the http.* methods that generate HTTP requests.' excerpt: 'Returned by the http.* methods that generate HTTP requests.' +canonicalUrl: https://grafana.com/docs/k6 --- Response is used by the http.\* methods that generate HTTP request. Those methods return one (or more, in the case of `http.batch()`) Response objects that contain HTTP response contents and performance timing measurements. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md index 4339813589..387ac567c3 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md @@ -1,6 +1,7 @@ --- title: 'Response.clickLink( [params] )' excerpt: 'Create and make a request corresponding to a link, found in the HTML of response, being clicked.' +canonicalUrl: https://grafana.com/docs/k6 --- Create and make a request corresponding to a link, found in the HTML of response, being clicked. By default it will look for the first `a` tag with a `href` attribute in the HTML, but this can be overridden using the `selector` option. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md index ec65063649..67481344b0 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md @@ -1,6 +1,7 @@ --- title: 'Response.html()' excerpt: 'Parses response as HTML and populate a Selection.' +canonicalUrl: https://grafana.com/docs/k6 --- Parses response as HTML and populate a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md index 25d6a4a316..35d52e2db3 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md @@ -1,6 +1,7 @@ --- title: 'Response.json( [selector] )' excerpt: 'Parses the response body data as JSON and returns a JS object or array.' +canonicalUrl: https://grafana.com/docs/k6 --- Parses the response body data as JSON and returns a JS object or array. This call caches the deserialized JSON data, additional calls will return the cached data. An optional selector can be specified to extract a specific part of the data, see [here for selector syntax](https://github.com/tidwall/gjson#path-syntax). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md index 36e4c39872..b485f763a9 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md @@ -1,6 +1,7 @@ --- title: 'Response.submitForm( [params] )' excerpt: 'Fill in and submit form found in HTML of response.' +canonicalUrl: https://grafana.com/docs/k6 --- Fill in and submit form found in HTML of response. By default it will look for the first `form` tag in the HTML, but this can be overridden using the `formSelector` option. To set/override the form fields you set properties of an object in the `fields` option. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md index 08b301775a..b6ecedafdb 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md @@ -1,6 +1,7 @@ --- title: 'k6/metrics' excerpt: 'k6 Custom Metrics API' +canonicalUrl: https://grafana.com/docs/k6 --- The metrics module provides functionality to [create custom metrics](/using-k6/metrics/create-custom-metrics) of various types. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md index fb1e134a78..49fb79729c 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md @@ -1,6 +1,7 @@ --- title: 'Counter' excerpt: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.' +canonicalUrl: https://grafana.com/docs/k6 --- _Counter_ is an object for representing a custom cumulative counter metric. It is one of the four custom metric types. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md index 9cf21168e9..b78dbcbc32 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md @@ -1,6 +1,7 @@ --- title: "Counter.add(value, [tags])" excerpt: 'Add a value to the Counter metric.' +canonicalUrl: https://grafana.com/docs/k6 --- Add a value to the `Counter` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md index 50e4206512..f9845ee8b4 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md @@ -1,6 +1,7 @@ --- title: 'Gauge' excerpt: 'Gauge is an object for representing a custom metric holding only the latest value added.' +canonicalUrl: https://grafana.com/docs/k6 --- _Gauge_ is an object for representing a custom metric holding only the latest value added. It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md index cbd300f2c0..2ce1cce212 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md @@ -1,6 +1,7 @@ --- title: "Gauge.add(value, [tags])" excerpt: 'Set the value of the Gauge metric.' +canonicalUrl: https://grafana.com/docs/k6 --- Set the value of the `Gauge` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md index 07c0a94866..3502cc988a 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md @@ -1,6 +1,7 @@ --- title: 'Rate' excerpt: 'Rate is an object for representing a custom metric keeping track of the percentage of added values that are non-zero.' +canonicalUrl: https://grafana.com/docs/k6 --- _Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md index 36ced7cff4..a3d08a15fb 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md @@ -1,6 +1,7 @@ --- title: "Rate.add(value, [tags])" excerpt: 'Set the value of the Rate metric.' +canonicalUrl: https://grafana.com/docs/k6 --- Set the value of the `Rate` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md index c80967809b..04dc9f3802 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md @@ -1,6 +1,7 @@ --- title: 'Trend' excerpt: 'Trend is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles)' +canonicalUrl: https://grafana.com/docs/k6 --- _Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md index fa7ebfb677..49656753c4 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md @@ -1,6 +1,7 @@ --- title: "Trend.add(value, [tags])" excerpt: 'Add a value to the Trend metric.' +canonicalUrl: https://grafana.com/docs/k6 --- Add a value to the `Trend` metric. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md index a3df47785f..3864ec0b4e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md @@ -1,6 +1,7 @@ --- title: "k6/net/grpc" excerpt: "k6 gRPC API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md index ff5dba6503..1cd4d7a8c3 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md @@ -1,6 +1,7 @@ --- title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index bfc5d2aff9..f2e77bdfde 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,6 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6 --- Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md index 993c114adc..cff0498d99 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md @@ -1,6 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6 --- Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md index b65447ad9c..a4268dd0f4 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,6 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' +canonicalUrl: https://grafana.com/docs/k6 --- Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown. Cannot be called during the [`init` phase](/using-k6/test-lifecycle). diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md index 6882c542b0..75d24cc48e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,6 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' +canonicalUrl: https://grafana.com/docs/k6 --- Invokes an unary RPC request to the given method. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md index 3068863a08..4ec5a63846 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md @@ -1,6 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' +canonicalUrl: https://grafana.com/docs/k6 --- Close the connection to the gRPC service. Tear down all underlying connections. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md index 3ca65bfe14..e048f29cc6 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md @@ -2,6 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' +canonicalUrl: https://grafana.com/docs/k6 --- *Params* is an object used by the gRPC methods that generate RPC requests. *Params* contains request-specific options like headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md index 24fce7fd7b..2e9b5ac5f4 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md @@ -2,6 +2,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' +canonicalUrl: https://grafana.com/docs/k6 --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md index a5b6f4d060..d3880c6bf9 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md @@ -1,6 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' +canonicalUrl: https://grafana.com/docs/k6 --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-net-grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws.md b/src/data/markdown/docs/02 javascript api/12 k6-ws.md index 255a95e2c6..5b12284f3c 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws.md @@ -1,6 +1,7 @@ --- title: "k6/ws" excerpt: "k6 WebSocket API" +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md index 4353f3b9cc..0cadc236bc 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md @@ -2,6 +2,7 @@ title: 'connect( url, params, callback )' description: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md index f3e333b056..afde2343ea 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md index fd35e6618c..1fb6e5628c 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md @@ -1,6 +1,7 @@ --- title: 'Socket' excerpt: 'Socket is a WebSocket client to interact with a WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md index ea6170df14..3daa78c758 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md @@ -1,6 +1,7 @@ --- title: 'Socket.close([code])' excerpt: 'Close the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md index e8d1b3152d..8e1169a5a6 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md @@ -1,6 +1,7 @@ --- title: 'Socket.on(event, callback)' excerpt: 'Set up callback functions for various events on the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md index ee6118223b..8b87471aa7 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md @@ -1,6 +1,7 @@ --- title: 'Socket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md index 1a403bdac1..3d521ce905 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md @@ -1,6 +1,7 @@ --- title: 'Socket.send(data)' excerpt: 'Send a data string through the connection.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md index 61e38f684e..0de320412a 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md @@ -1,6 +1,7 @@ --- title: 'Socket.sendBinary(data)' excerpt: 'Send binary data through the connection.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md index 24ac38270d..cbc4be5e6c 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md @@ -1,6 +1,7 @@ --- title: 'Socket.setInterval(callback, interval)' excerpt: 'Call a function repeatedly, while the WebSocket connection is open.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md index 112c7ec649..e1883552c2 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md @@ -1,6 +1,7 @@ --- title: 'Socket.setTimeout(callback, delay)' excerpt: 'Call a function at a later time, if the WebSocket connection is still open then.' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/02 javascript api/90 Error Codes.md b/src/data/markdown/docs/02 javascript api/90 Error Codes.md index 7c456d98d0..7973b67586 100644 --- a/src/data/markdown/docs/02 javascript api/90 Error Codes.md +++ b/src/data/markdown/docs/02 javascript api/90 Error Codes.md @@ -1,6 +1,7 @@ --- title: 'Error Codes' excerpt: 'Error codes are unique numbers that can be used to identify and handle different application and network errors more easily.' +canonicalUrl: https://grafana.com/docs/k6 --- Error codes are unique numbers that can be used to identify and handle different application and network errors more easily. For the moment, these error codes are applicable only for errors that happen during HTTP requests, but they will be reused and extended to support other protocols in future k6 releases. From b13181d183eec29ae2e4124505c52e455870152b Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:46:56 +0200 Subject: [PATCH 07/16] prepare `canonicalURLs` option on `Examples` and `Extensions` folders --- .../markdown/docs/05 Examples/01 Examples/01 single-request.md | 1 + .../docs/05 Examples/01 Examples/02 http-authentication.md | 1 + .../docs/05 Examples/01 Examples/03 oauth-authentication.md | 1 + .../05 Examples/01 Examples/04 correlation-and-dynamic-data.md | 1 + .../docs/05 Examples/01 Examples/05 data-parameterization.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md | 1 + .../markdown/docs/05 Examples/01 Examples/08 cookies-example.md | 1 + .../markdown/docs/05 Examples/01 Examples/09 data-uploads.md | 1 + .../docs/05 Examples/01 Examples/10 api-crud-operations.md | 1 + .../markdown/docs/05 Examples/01 Examples/11 generating-uuids.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/12 http2.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/14 soap.md | 1 + src/data/markdown/docs/05 Examples/01 Examples/15 tls.md | 1 + .../markdown/docs/05 Examples/01 Examples/16 data generation.md | 1 + .../markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md | 1 + .../05 Examples/01 Examples/18 Bundling and transpilation.md | 1 + .../docs/05 Examples/01 Examples/19 functional testing.md | 1 + .../docs/05 Examples/01 Examples/20 tracking-data-per-url.md | 1 + .../docs/05 Examples/01 Examples/21 URL query parameters.md | 1 + .../docs/05 Examples/01 Examples/22 instant-load-increase.md | 1 + .../05 Examples/01 Examples/23 get-timings-for-an-http-metric.md | 1 + .../docs/05 Examples/01 Examples/24 distribute-workloads.md | 1 + src/data/markdown/docs/05 Examples/02 Tutorials.md | 1 + .../docs/05 Examples/02 Tutorials/01 Get started with k6.md | 1 + .../01 Get started with k6/100 Test-for-functional-behavior.md | 1 + .../01 Get started with k6/200 Test for performance.md | 1 + .../02 Tutorials/01 Get started with k6/300 Analyze results.md | 1 + .../01 Get started with k6/400 Reuse and re-run tests.md | 1 + src/data/markdown/docs/07 extensions/01 Get started/04 Create.md | 1 + .../01 Get started/04 Create/01 JavaScript Extensions.md | 1 + .../01 Get started/04 Create/02 Output Extensions.md | 1 + .../07 extensions/02 Explanations/010-extensions-registry.md | 1 + .../docs/07 extensions/02 Explanations/020-go-js-bridge.md | 1 + .../07 extensions/02 Explanations/030-extension-graduation.md | 1 + src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md | 1 + .../docs/07 extensions/03 Guides/build-k6-using-docker.md | 1 + 38 files changed, 38 insertions(+) diff --git a/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md index 537b912c96..698dbde1f0 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md @@ -2,6 +2,7 @@ title: 'Single request' excerpt: 'Example of one HTTP GET request' draft: 'false' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md index 9bb52f25b5..a5d89e8bfb 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md @@ -1,6 +1,7 @@ --- title: 'HTTP Authentication' excerpt: 'Scripting examples on how to use different authentication or authorization methods in your load test.' +canonicalUrl: https://grafana.com/docs/k6 --- Scripting examples on how to use different authentication or authorization methods in your load test. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md b/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md index 4cb161c14d..f36bfbd876 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md @@ -1,6 +1,7 @@ --- title: 'OAuth Authentication' excerpt: 'Scripting examples on how to use OAuth authentication in your load test.' +canonicalUrl: https://grafana.com/docs/k6 --- Scripting examples on how to use OAuth authentication in your load test. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md b/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md index fabaa9e0e5..dad6bc7e3b 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md @@ -5,6 +5,7 @@ excerpt: | often required when using the Chrome Extension or HAR converter to generate your test script. This is due to the fact that those tools will capture session IDs, CSRF tokens, VIEWSTATE, wpnonce, and other dynamic values from your specific session. +canonicalUrl: https://grafana.com/docs/k6 --- Scripting examples on how to correlate dynamic data in your test script. Correlation is often diff --git a/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md b/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md index ebce161a82..0ec45ea983 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md @@ -6,6 +6,7 @@ excerpt: | Parameterization helps to prevent server-side caching from impacting your load test. This will, in turn, make your test more realistic. +canonicalUrl: https://grafana.com/docs/k6 --- _Data parameterization_ is the process of turning test values into reusable parameters, for example, through variables and shared arrays. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md b/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md index 3e73f35905..5ca401288d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md @@ -1,6 +1,7 @@ --- title: 'Parse HTML' excerpt: 'Scripting examples parsing HTML content.' +canonicalUrl: https://grafana.com/docs/k6 --- Examples parsing HTML content. Use the `k6/html` module for HTML parsing. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md index 95dd222cd3..cc84c89c25 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md @@ -1,6 +1,7 @@ --- title: 'HTML Forms' excerpt: 'Scripting example on how to handle HTML forms in a k6 test.' +canonicalUrl: https://grafana.com/docs/k6 --- Scripting example on how to handle HTML forms. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md b/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md index 55ec149060..c67ce8a485 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md @@ -1,6 +1,7 @@ --- title: 'Cookies Example' excerpt: 'Scripting examples on how you can interact with cookies during your load test if required.' +canonicalUrl: https://grafana.com/docs/k6 --- Scripting examples on how you can interact with cookies during your load test if required. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md b/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md index 7983318e6b..63e0419d65 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md @@ -1,6 +1,7 @@ --- title: 'Data Uploads' excerpt: 'Scripting examples on how to execute a load test that will upload a file to the System Under Test (SUT).' +canonicalUrl: https://grafana.com/docs/k6 --- Example to execute a load test that will upload a file to the System Under Test (SUT). diff --git a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md index 1d9a82daac..a52bf74d9c 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md @@ -1,6 +1,7 @@ --- title: 'API CRUD Operations' excerpt: 'This example covers the usage of k6 to test a REST API CRUD operations.' +canonicalUrl: https://grafana.com/docs/k6 --- The examples showcase the testing of CRUD operations on a REST API. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md b/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md index 29a46ac771..5bb24fe99b 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md @@ -1,6 +1,7 @@ --- title: 'Generating UUIDs' excerpt: 'Scripting example on how to generate UUIDs in your load test.' +canonicalUrl: https://grafana.com/docs/k6 --- If you want to make a version 4 UUID, diff --git a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md index d44552c197..4a196ffb80 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md @@ -1,6 +1,7 @@ --- title: 'HTTP2' excerpt: 'Information on how to load test HTTP/2.' +canonicalUrl: https://grafana.com/docs/k6 --- If the target system indicates that a connection can be upgraded from HTTP/1.1 to HTTP/2, k6 will do so automatically. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md index 91251bc264..e890a0041a 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md @@ -2,6 +2,7 @@ title: 'WebSockets' excerpt: | Scripting example on how to use WebSocket API in k6. +canonicalUrl: https://grafana.com/docs/k6 --- Here's a load test for CrocoChat - a WebSocket chat API available on [https://test-api.k6.io/](https://test-api.k6.io/). diff --git a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md index e8f0c6dff7..39a4de973a 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md @@ -1,6 +1,7 @@ --- title: 'SOAP' excerpt: 'Load Testing SOAP API.' +canonicalUrl: https://grafana.com/docs/k6 --- Although k6 doesn't have any built-in APIs for working with SOAP or XML data in general, you diff --git a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md index df71ce7bf5..0500990b92 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md @@ -3,6 +3,7 @@ title: 'Transport Layer Security (TLS)' excerpt: | TLS is the mechanism through which encrypted connections can be established between clients and servers on the web and through which data can flow with integrity intact. +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md b/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md index eb1cfa3029..829b130dd5 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md @@ -3,4 +3,5 @@ title: 'Generating realistic data' redirect: 'https://github.com/k6io/example-data-generation/' excerpt: | Reference project demonstrating how to generate data with realistic traits at runtime using faker.js +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md b/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md index 087df2f987..e12460c75e 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md @@ -3,4 +3,5 @@ title: 'Crawl a web page' redirect: 'https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/' excerpt: | Stack overflow answer demonstrating how to crawl a web page +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md b/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md index 177ed6f6c2..078436b1ba 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md @@ -4,4 +4,5 @@ redirect: 'https://github.com/k6io/k6-es6/' excerpt: | Reference project demonstrating how to use webpack and babel to bundle node modules or transpile code to ES5.1+ for usage in k6 tests. +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md b/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md index 815e9f7cd8..2dc9b95050 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md @@ -2,6 +2,7 @@ title: 'Functional testing' excerpt: | Use Chaijs library for functional and integration testing. +canonicalUrl: https://grafana.com/docs/k6 --- ### Most basic integration test diff --git a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md index b34c0e9c22..beb9d31fdc 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md @@ -1,6 +1,7 @@ --- title: 'Track transmitted data per URL' excerpt: 'This example shows how to track data sent and received for a individual URL.' +canonicalUrl: https://grafana.com/docs/k6 --- By default, k6 collects automatically two [built-in metrics](/using-k6/metrics#built-in-metrics) related to the transmitted data during the test execution: diff --git a/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md b/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md index 5aead573f4..dcc6504d81 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md @@ -1,6 +1,7 @@ --- title: 'URLs with query parameters' excerpt: 'Scripting examples using URL and URLSearchParams modules.' +canonicalUrl: https://grafana.com/docs/k6 --- How to use **URL** and **URLSearchParams** imported from [jslib.k6.io](/using-k6/modules#the-jslib-repository) to construct URLs with/without query parameters. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md index 8c88eecc6c..85dab89ef8 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md @@ -2,6 +2,7 @@ title: 'Instant load increase' excerpt: 'Scripting example on how to instantly increase the number of VUs or iterations and hold them for a period of time' draft: 'false' +canonicalUrl: https://grafana.com/docs/k6 --- One of the common usages of load testing tools it's the so-called stepped arrival rate. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md b/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md index bbf2b3df70..25ef4ded17 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md @@ -1,6 +1,7 @@ --- title: Get timings for an HTTP metric excerpt: How to calculate timings for an individual k6 metric +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md b/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md index 7d0277efaf..e878d7e520 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md @@ -2,6 +2,7 @@ title: Distribute workloads across VUs excerpt: How to configure different amounts of traffic for different VU behaviors slug: /examples/distribute-workloads +canonicalUrl: https://grafana.com/docs/k6 --- k6 can schedule different load patterns for different VU functions. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials.md b/src/data/markdown/docs/05 Examples/02 Tutorials.md index 033a96a98e..9cdf9b6300 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials.md @@ -1,6 +1,7 @@ --- title: 'Tutorials' excerpt: 'k6 Tutorials' +canonicalUrl: https://grafana.com/docs/k6 --- - [Get started with k6](/examples/tutorials/get-started-with-k6/) diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md index 09620fce26..3d2c622c66 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md @@ -1,6 +1,7 @@ --- title: 'Get started with k6' excerpt: A series of docs to learn how to use the major features of k6 +canonicalUrl: https://grafana.com/docs/k6 --- This tutorial provides some procedures for common real-life uses of k6. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md index 8a9e1616e0..68d6c59dfc 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md @@ -1,6 +1,7 @@ --- title: Test for functional behavior excerpt: Use k6 to write requests and assert that they respond correctly +canonicalUrl: https://grafana.com/docs/k6 --- In this tutorial, learn how to write a test that does the following: diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md index 7dc0259882..4ee90e37c2 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md @@ -1,6 +1,7 @@ --- title: Test for performance excerpt: Write thresholds to evaluate performance criteria, then increase load to see how the system performs. +canonicalUrl: https://grafana.com/docs/k6 --- In the previous section, you made a working script to test an endpoint functionality. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md index 7b5451b377..28e47bb01e 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md @@ -1,6 +1,7 @@ --- title: Analyze results excerpt: Use k6 to write custom metrics and filter results. +canonicalUrl: https://grafana.com/docs/k6 --- In this tutorial, learn how to: diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md index 289891cbf2..f566f386a4 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md @@ -1,6 +1,7 @@ --- title: Reuse and re-run tests excerpt: Modularize your k6 test logic and workload configuration. +canonicalUrl: https://grafana.com/docs/k6 --- In the previous tutorials, you designed k6 scripts to assert performance and make comparing results easy. diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md index 769d9c1c66..4b347b13a9 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md @@ -1,6 +1,7 @@ --- title: 'Create' excerpt: 'Creating k6 extensions does not have to be a daunting task, but there are some prerequisites to succeed.' +canonicalUrl: https://grafana.com/docs/k6 --- If you find a gap in your testing process that no k6 extension can fix, diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md index 3edf72c8bd..5161c31b91 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md @@ -1,6 +1,7 @@ --- title: 'JavaScript Extensions' excerpt: 'Follow these steps to build a JS extension for k6.' +canonicalUrl: https://grafana.com/docs/k6 --- Take advantage of Go's speed, power, and efficiency while providing the flexibility of using JavaScript APIs diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md index 713ff1130d..18b9571c89 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md @@ -1,6 +1,7 @@ --- title: 'Output Extensions' excerpt: 'Follow these steps to build an output extension for k6.' +canonicalUrl: https://grafana.com/docs/k6 --- k6 provides many [metrics](/using-k6/metrics) and [output formats](/results-output/overview/), but it cannot directly support all possibilities. diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md index 4b3fe9deff..5678bde39d 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md @@ -2,6 +2,7 @@ title: About the Extensions Registry excerpt: Reasons for the registry and what is required to be included. hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6 --- Did you create an extension and want to share it with your fellow k6 users? diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md b/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md index ccba0d05e1..0a4cb43fc4 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md @@ -2,6 +2,7 @@ title: About the Go-to-JS bridge excerpt: Technical details about how JavaScript works in the goja engine. slug: /extensions/explanations/go-js-bridge +canonicalUrl: https://grafana.com/docs/k6 --- All k6 and xk6 binaries have an embedded JavaScript engine, [goja](https://github.com/dop251/goja), diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md b/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md index 23683f7c97..65d208277b 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md @@ -2,6 +2,7 @@ title: Extension Graduation excerpt: Some extensions are created with the intent to become a part of core of k6. hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6 --- Some _Go_ extensions may one day be available within the k6 binary. diff --git a/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md b/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md index 9dcc212a9b..3b5e60c64f 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md @@ -1,6 +1,7 @@ --- title: 'Build a k6 binary using Go' excerpt: 'Guide to build a k6 binary that includes one or many extensions using xk6.' +canonicalUrl: https://grafana.com/docs/k6 --- To use an extension that you found on the [Extension page](/extensions/get-started/explore/) or the [xk6 GitHub topic](https://github.com/topics/xk6), diff --git a/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md b/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md index ee30da0362..e9c3fdf1c9 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md @@ -2,6 +2,7 @@ title: 'Build a k6 binary using Docker' excerpt: '' hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6 --- Using the [xk6 Docker image](https://hub.docker.com/r/grafana/xk6/) can simplify the process of creating a custom k6 binary. It avoids having to setup a local Go environment, and install xk6 manually. From e82705c18ed7f4925b89641fcb2d174a8019d828 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:06:50 +0200 Subject: [PATCH 08/16] prepare `canonicalURLs` option on `jslib` and `xk6-disruptor` folders --- src/data/markdown/docs/20 jslib/01 jslib/01 aws.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md | 1 + .../markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md | 1 + .../docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md | 1 + .../20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md | 1 + .../docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md | 1 + .../docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md | 1 + .../docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md | 1 + .../00 abortMultipartUpload(bucketName, objectKey, uploadId).md | 1 + ...eteMultipartUpload(bucketName, objectKey, uploadId, parts).md | 1 + .../docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md | 1 + .../S3Client/00 createMultipartUpload(bucketName, objectKey).md | 1 + .../01 aws/S3Client/00 deleteObject(bucketName, objectKey).md | 1 + .../01 aws/S3Client/00 getObject(bucketName, objectKey).md | 1 + .../docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md | 1 + .../01 aws/S3Client/00 listObjects(bucketName, [prefix]).md | 1 + .../01 aws/S3Client/00 putObject(bucketName, objectKey, data).md | 1 + ...rt(bucketName, objectKey, uploadId, partNumber, data) copy.md | 1 + .../markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md | 1 + .../markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md | 1 + .../20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md | 1 + .../markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md | 1 + .../docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md | 1 + .../docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md | 1 + ...cret(name, secretString, description, [versionID], [tags]).md | 1 + .../01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md | 1 + .../01 aws/SecretsManagerClient/00 getSecret(secretID).md | 1 + .../01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md | 1 + .../00 putSecretValue(secretID, secretString, [versionID]).md | 1 + .../20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md | 1 + .../docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md | 1 + .../docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md | 1 + .../01 jslib/01 aws/SystemsManagerClient/00 getParameter.md | 1 + .../01 aws/SystemsManagerClient/90 SystemsManagerParameter.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md | 1 + .../02 httpx/08 asyncRequest(method, url, [body], [params]).md | 1 + .../02 httpx/09 request(method, url, [body], [params]).md | 1 + .../20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md | 1 + .../20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md | 1 + .../20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md | 1 + .../01 jslib/02 httpx/13 patch(url, [body], [params]).md | 1 + .../01 jslib/02 httpx/14 delete(url, [body], [params]).md | 1 + .../01 jslib/02 httpx/15 options(url, [body], [params]).md | 1 + .../20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md | 1 + .../01 jslib/02 httpx/17 trace(url, [body], [params]).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md | 1 + .../docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md | 1 + src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md | 1 + .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md | 1 + .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md | 1 + .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md | 1 + .../docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md | 1 + src/data/markdown/docs/20 jslib/01 jslib/04 utils.md | 1 + .../01 jslib/04 utils/41 randomIntBetween(min, max) copy.md | 1 + .../docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md | 1 + .../docs/20 jslib/01 jslib/04 utils/43 randomString(length).md | 1 + src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md | 1 + .../01 jslib/04 utils/45 findBetween(content, left, right).md | 1 + ...istributionStages(maxVus, durationSeconds, numberOfStages).md | 1 + src/data/markdown/docs/20 jslib/20 jslib.md | 1 + src/data/markdown/docs/40 xk6-disruptor/01 Get started.md | 1 + src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md | 1 + src/data/markdown/docs/40 xk6-disruptor/03 API.md | 1 + src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md | 1 + .../markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md | 1 + .../markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md | 1 + .../markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md | 1 + .../40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md | 1 + .../03 API/02 PodDisruptor/02 injectGrpcFaults.md | 1 + .../03 API/02 PodDisruptor/03 injectHTTPFaults.md | 1 + .../markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md | 1 + .../03 API/03 ServiceDisruptor/01 Constructor.md | 1 + .../03 API/03 ServiceDisruptor/02 injectGrpcFaults.md | 1 + .../03 API/03 ServiceDisruptor/03 injectHTTPFaults.md | 1 + 86 files changed, 86 insertions(+) diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md index 3e47f4ac84..e912560c6a 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md @@ -2,6 +2,7 @@ title: "aws" excerpt: "aws is a library implementing APIs for accessing a selection of AWS services" description: "aws is a library implementing APIs for accessing a selection of AWS servicese" +canonicalUrl: https://grafana.com/docs/k6 --- The `aws` module is a JavaScript library that wraps around some Amazon AWS services API. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md index abd37bcad2..efd37c9e8b 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md @@ -3,6 +3,7 @@ title: 'AWSConfig' head_title: 'AWSConfig' description: 'AWSConfig is used to configure an AWS service client instances' excerpt: 'AWSConfig is used to configure an AWS service client instances' +canonicalUrl: https://grafana.com/docs/k6 --- AWSConfig is used to configure an AWS service client instance, such as [S3Client](/javascript-api/jslib/aws/s3client) or [SecretsManagerClient](/javascript-api/jslib/aws/secretsmanagerclient). It effectively allows the user to select a [region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) they wish to interact with, and the AWS credentials they wish to use to authenticate. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md index 704587f815..ddc28c1b32 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md @@ -3,6 +3,7 @@ title: 'EventBridgeClient' head_title: 'EventBridgeClient' description: 'EventBridgeClient allows interacting with AWS EventBridge service' excerpt: 'EventBridgeClient class allows sending custom events to Amazon EventBridge so that they can be matched to rules.' +canonicalUrl: https://grafana.com/docs/k6 --- `EventBridgeClient` interacts with the AWS EventBridge service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md index 573e813916..8b83f9d41f 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md @@ -3,6 +3,7 @@ title: 'KMSClient' head_title: 'KMSClient' description: 'KMSClient allows interacting with the AWS Key Management Service' excerpt: 'KMSClient allows interacting with the AWS Key Management Service' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md index cfd2bfde80..0dd7ae2f0e 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md @@ -3,6 +3,7 @@ title: 'S3Client' head_title: 'S3Client' description: 'S3Client allows interacting with AWS S3 buckets and objects' excerpt: 'S3Client class allows interacting with AWS S3 buckets and objects' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md index ab9caeee43..e9250ecc30 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md @@ -3,6 +3,7 @@ title: 'SQSClient' head_title: 'SQSClient' description: 'SQSClient enables interaction with the AWS Simple Queue Service (SQS)' excerpt: 'SQSClient allows interacting with the AWS Simple Queue Service (SQS)' +canonicalUrl: https://grafana.com/docs/k6 --- `SQSClient` interacts with the AWS Simple Queue Service (SQS). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md index 0e2e05241a..0e7a34629f 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md @@ -3,6 +3,7 @@ title: 'SecretsManagerClient' head_title: 'SecretsManagerClient' description: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' excerpt: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' +canonicalUrl: https://grafana.com/docs/k6 --- `SecretsManagerClient` interacts with the AWS Secrets Manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md index 9e5259a177..e7435f1f44 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md @@ -3,6 +3,7 @@ title: 'SignatureV4' head_title: 'SignatureV4' description: 'SignatureV4 is used to sign or pre-sign requests to AWS services using the Signature V4 algorithm' excerpt: 'SignatureV4 is used to sign and pre-sign requests to AWS services using the Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md index 7fa5f106db..da96677cab 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md @@ -3,6 +3,7 @@ title: 'SystemsManagerClient' head_title: 'SystemsManagerClient' description: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' excerpt: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' +canonicalUrl: https://grafana.com/docs/k6 --- `SystemsManagerClient` interacts with the AWS Systems Manager Service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md index 76c698c0ff..2cb1511813 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md @@ -2,6 +2,7 @@ title: 'EventBridgeClient.putEvents' description: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' excerpt: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' +canonicalUrl: https://grafana.com/docs/k6 --- `EventBridgeClient.putEvents` sends custom events to Amazon EventBridge so that they can be matched to rules. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md index 7c6d0d2ded..5e5c5a9d4c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md @@ -2,6 +2,7 @@ title: 'KMSClient.generateDataKey' description: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' excerpt: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' +canonicalUrl: https://grafana.com/docs/k6 --- `KMSClient.generateDataKey` generates a symmetric data key for use outside of the AWS Key Management Service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md index 35f4820a29..4ad9597413 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md @@ -2,6 +2,7 @@ title: 'KMSClient.listKeys()' description: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" excerpt: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" +canonicalUrl: https://grafana.com/docs/k6 --- `KMSClient.listKeys()` lists all the Key Management Service keys in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md index 985fb42704..f76412bad7 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md @@ -2,6 +2,7 @@ title: 'KMSDataKey' description: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' excerpt: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' +canonicalUrl: https://grafana.com/docs/k6 --- `KMSClient.*DataKey` methods, querying Key Management Service data keys, return some KMSDataKey instances. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md index ebda12fda7..7a790cb298 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md @@ -2,6 +2,7 @@ title: 'KMSKey' description: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' excerpt: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' +canonicalUrl: https://grafana.com/docs/k6 --- `KMSClient.*` methods querying Key Management Service keys return some `KMSKey` instances. Namely, `listKeys()` returns an array of `KMSKey` objects. The `KMSKey` object describes an Amazon Key Management Service key. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md index 21a63e7c5e..47d83c079c 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md @@ -2,6 +2,7 @@ title: 'S3Client.abortMultipartUpload(bucketName, objectKey, uploadId)' description: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' excerpt: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.abortMultipartUpload` aborts a multipart upload to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md index 9bbe3aa712..4a7d17d68e 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md @@ -2,6 +2,7 @@ title: 'S3Client.completeMultipartUpload(bucketName, objectKey, uploadId, parts)' description: 'S3Client.completeMultipartUpload uploads a multipar object to a bucket' excerpt: 'S3Client.completeMultipartUpload uploads a multipart object to a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.completeMultipartUpload` uploads a multipart object to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md index 6c45e0b9b6..33e41c89d2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md @@ -2,6 +2,7 @@ title: 'S3Client.copyObject' description: 'S3Client.copyObject copies an object from a bucket to another' excerpt: 'S3Client.copyObject copies an object from a bucket to another' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.copyObject` copies an object from one bucket to another. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md index 262e91b3c0..e9106c118d 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.createMultipartUpload(bucketName, objectKey)' description: 'S3Client.createMultipartUpload creates a multipart upload for an object key to a bucket' excerpt: 'S3Client.createMultipartUpload creates a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.createMultipartUpload` creates a new multipart upload for a given an object key in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md index 53fdb1becb..c34367f0d2 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.deleteObject(bucketName, objectKey)' description: 'S3Client.deleteObject deletes an object from a bucket' excerpt: 'S3Client.deleteObject deletes an object from a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.deleteObject` deletes an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md index e866173bab..a0cc4faaca 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.getObject(bucketName, objectKey)' description: 'S3Client.getObject downloads an object from a bucket' excerpt: 'S3Client.getObject downloads an object from a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.getObject` downloads an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md index fc691dcfe8..0fa292dda4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md @@ -2,6 +2,7 @@ title: 'S3Client.listBuckets()' description: 'S3Client.listBuckets lists the buckets the authenticated user has access to' excerpt: 'S3Client.listBuckets lists the buckets the authenticated user has access to' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.listBuckets()` lists the buckets the authenticated user has access to in the region set by the `S3Client` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md index 29335bca12..ff325a1ac4 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md @@ -2,6 +2,7 @@ title: 'S3Client.listObjects(bucketName, [prefix])' description: 'S3Client.listObjects lists the objects contained in a bucket' excerpt: 'S3Client.listObjects lists the objects contained in a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.listObjects()` lists the objects contained in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md index fab43df5c3..6f4492412e 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md @@ -2,6 +2,7 @@ title: 'S3Client.putObject(bucketName, objectKey, data)' description: 'S3Client.putObject uploads an object to a bucket' excerpt: 'S3Client.putObject uploads an object to a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.putObject` uploads an object to a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md index 9b4a52433a..f308b7bfe5 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md @@ -2,6 +2,7 @@ title: 'S3Client.uploadPart(bucketName, objectKey, uploadId,partNumber, data)' description: 'S3Client.uploadPart a part in a multipart upload to a bucket' excerpt: 'S3Client.uploadPart a part in a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.uploadPart` uploads a part to multipart upload in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md index c83d078bee..ec79ed4eb3 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md @@ -2,6 +2,7 @@ title: 'Bucket' description: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' excerpt: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' +canonicalUrl: https://grafana.com/docs/k6 --- Bucket is returned by the S3Client.* methods that query S3 buckets. Namely, `listBuckets()` returns an array of Bucket objects. The Bucket object describes an Amazon S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md index 2654cc1bc3..3404e2d206 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md @@ -2,6 +2,7 @@ title: 'Object' description: "Object is returned by the S3Client.* methods who query S3 buckets' objects." excerpt: "Object is returned by the S3Client.* methods who query S3 buckets' objects." +canonicalUrl: https://grafana.com/docs/k6 --- Object is returned by the S3Client.\* methods that query S3 buckets' objects. Namely, [`listObjects`](/javascript-api/jslib/aws/s3client/s3client-listobjects), [`getObject`](/javascript-api/jslib/aws/s3client/s3client-getobject), [`putObject`](/javascript-api/jslib/aws/s3client/s3client-putobject), diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md index 07f86619e9..b74b5e0a75 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md @@ -2,6 +2,7 @@ title: 'S3MultipartUpload' description: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' excerpt: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' +canonicalUrl: https://grafana.com/docs/k6 --- S3MultipartUpload is returned by the [`createMultipartUpload(bucketName, objectKey)`](/javascript-api/jslib/aws/s3client/s3client-createmultipartupload/) method when creating a [multipart upload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md index 320bf3f4cc..e2eaddaf55 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md @@ -2,6 +2,7 @@ title: 'S3Part' description: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' excerpt: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' +canonicalUrl: https://grafana.com/docs/k6 --- S3Part is returned by the [`uploadPart(bucketName, objectKey, uploadId, partNumber, data)`](/javascript-api/jslib/aws/s3client/s3client-uploadpart/) method when uploading a part to a multipart upload. The S3Part object describes an Amazon S3 Part. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md index c8b5fa69e0..f9117b9b26 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md @@ -2,6 +2,7 @@ title: 'SQSClient.listQueues()' description: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" excerpt: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" +canonicalUrl: https://grafana.com/docs/k6 --- `SQSClient.listQueues(options)` retrieves a list of available Amazon Simple Queue Service (SQS) queues. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md index bfb1e20f3d..791628b560 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md @@ -2,6 +2,7 @@ title: 'SQSClient.sendMessage()' description: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" excerpt: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" +canonicalUrl: https://grafana.com/docs/k6 --- `SQSClient.sendMessage(queueUrl, messageBody, options)` sends a message to the specified Amazon Simple Queue Service (SQS) queue. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md index 79c03fda6c..ac4b4cdbfc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.createSecret(name, secretString, description, [versionID], [tags])' description: 'SecretsManagerClient.createSecret creates a new secret' excerpt: 'SecretsManagerClient.createSecret creates a new secret' +canonicalUrl: https://grafana.com/docs/k6 --- `SecretsManagerClient.createSecret` creates a secret in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md index 3f1dca9fac..cb5b2fd5fd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.deleteSecret(secretID, { recoveryWindow: 30, noRecovery: false}})' description: 'SecretsManagerClient.deleteSecret deletes a secret' excerpt: 'SecretsManagerClient.deleteSecret deletes a secret' +canonicalUrl: https://grafana.com/docs/k6 --- `SecretsManagerClient.deleteSecret` deletes a secret from AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md index 4c868f9379..a6218ee071 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.getSecret(secretID)' description: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' excerpt: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' +canonicalUrl: https://grafana.com/docs/k6 --- `SecretsManagerClient.getSecret` downloads a secret from AWS secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md index f9bbf35ed5..22880e45db 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.listSecrets()' description: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' excerpt: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' +canonicalUrl: https://grafana.com/docs/k6 --- `S3Client.listSecrets` lists the secrets the authenticated user has access to in the region set by the `SecretsManagerClient` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md index 07cb38d153..54ef87c45f 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.putSecretValue(secretID, secretString, [versionID], [tags])' description: "SecretsManagerClient.putSecretValue updates an existing secret's value" excerpt: "SecretsManagerClient.putSecretValue updates an existing secret's value" +canonicalUrl: https://grafana.com/docs/k6 --- `SecretsManagerClient.putSecretValue` updates a secret's value in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md index bec0d34bba..ef603112c7 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md @@ -2,6 +2,7 @@ title: 'Secret' description: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' excerpt: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' +canonicalUrl: https://grafana.com/docs/k6 --- Secret is returned by the SecretsManagerClient.* methods that query secrets. Namely, [listSecrets](/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-listsecrets/), diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md index 1fa2959055..78d2f8740a 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md @@ -2,6 +2,7 @@ title: 'presign' description: 'Signaturev4.presign pre-signs a URL with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign pre-signs a URL with the AWS Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6 --- `SignatureV4.presign()` pre-signs a URL with the AWS Signature V4 algorithm. Given an HTTP request description, it returns a new HTTP request with the AWS signature v4 authorization added. It returns an Object holding a `url` containing the authorization information encoded in its query string, ready to use in the context of a k6 HTTP call. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md index 778b96d243..b2ce5300fe 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md @@ -2,6 +2,7 @@ title: 'sign' description: 'Signaturev4.sign signs an HTTP request with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign signs an HTTP request with the AWS Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6 --- `SignatureV4.sign()` signs an HTTP request with the AWS Signature V4 algorithm. Given an HTTP request description, it returns a new HTTP request with the AWS signature v4 protocol headers added. It returns an Object holding a `url` and a `headers` properties, ready to use in the context of k6's HTTP call. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md index 5457d2aac3..59b88f669d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md @@ -2,6 +2,7 @@ title: 'SystemsManagerClient.getParameter()' description: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" excerpt: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" +canonicalUrl: https://grafana.com/docs/k6 --- `SystemsManagerClient.getParameter` gets a Systems Manager parameter in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md index 4ee91eaf87..fa6b9217b6 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md @@ -2,6 +2,7 @@ title: 'SystemsManagerParameter' description: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query parameters' excerpt: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query KMS parameters' +canonicalUrl: https://grafana.com/docs/k6 --- `SystemsManagerParameter.*` methods querying the Systems Manager Service parameters return some `SystemsManagerParameter` instances. Namely, `getParameter` returns an array of `SystemsManagerParameter` objects. The `SystemsManagerParameter` object describes an Amazon Systems Manager Service parameter. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md index a0c6bd9094..db322771d3 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md @@ -1,6 +1,7 @@ --- title: "httpx" excerpt: "httpx is a wrapper library around the native k6 http module" +canonicalUrl: https://grafana.com/docs/k6 --- The `httpx` module is an external JavaScript library that wraps around the native [k6/http](/javascript-api/k6-http) module. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md index 0ab081cfde..3bc0f2217f 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'asyncRequest(method, url, [body], [params])' head_title: 'httpx.asyncRequest()' description: 'Generic method for making asynchronous HTTP requests' excerpt: 'Generic method for making asynchronous HTTP requests' +canonicalUrl: https://grafana.com/docs/k6 --- Generic method for making arbitrary asynchronous HTTP requests. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md index 917d6d3a99..61422d6317 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'request(method, url, [body], [params])' head_title: 'httpx.request()' description: 'Generic method for making arbitrary HTTP requests' excerpt: 'Generic method for making arbitrary HTTP requests' +canonicalUrl: https://grafana.com/docs/k6 --- Generic method for making arbitrary HTTP requests. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md index aeffa8f590..f8666efe78 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'get(url, [body], [params])' description: 'httpx.get makes GET requests' excerpt: 'httpx.get makes GET requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.get(url, body, params)` makes a GET request. Only the URL parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md index ba007aab8c..befc7c67fd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'post(url, [body], [params])' head_title: 'httpx.post' description: 'httpx.post makes POST requests' excerpt: 'httpx.post makes POST requests' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md index 9b05e55d3d..9bf15a74f1 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'put(url, [body], [params])' head_title: 'httpx.put' description: 'httpx.put makes PUT requests' excerpt: 'httpx.put makes PUT requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.put(url, body, params)` makes a PUT request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md index 09fdc55254..47904e77d0 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'patch(url, [body], [params])' head_title: 'httpx.patch' description: 'httpx.patch makes PATCH requests' excerpt: 'httpx.patch makes PATCH requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.patch(url, body, params)` makes a PATCH request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md index 9bf1526bd9..cee0ddba19 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'delete(url, [body], [params])' description: 'httpx.delete makes DELETE requests' excerpt: 'httpx.delete makes DELETE requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.delete(url, body, params)` makes a DELETE request. Only the first parameter is required. Body is discouraged. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md index 7135233df2..8ec0eee4ac 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'options(url, [body], [params])' description: 'httpx.options makes OPTIONS requests' excerpt: 'httpx.options makes OPTIONS requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.options(url, body, params)` makes an OPTIONS request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md index 69d618d969..9b34ed2254 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'head(url, [body], [params])' description: 'httpx.head makes HEAD requests' excerpt: 'httpx.head makes HEAD requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.head(url, body, params)` makes a HEAD request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md index e017dc04d0..b133886286 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'trace(url, [body], [params])' description: 'httpx.trace makes TRACE requests' excerpt: 'httpx.trace makes TRACE requests' +canonicalUrl: https://grafana.com/docs/k6 --- `session.trace(url, body, params)` makes a TRACE request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md index 3aa3f6fec9..8fedaf4892 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md @@ -3,6 +3,7 @@ title: 'batch( requests )' head_title: 'httpx.batch(requests)' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' +canonicalUrl: https://grafana.com/docs/k6 --- Batch multiple HTTP requests together, to issue them in parallel over multiple TCP connections. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md index eb25fd68c3..803a169ab1 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md @@ -2,6 +2,7 @@ title: 'setBaseUrl( url )' description: 'sets the base URL for the session' excerpt: 'sets the base URL for the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md index 6a9f5e1dbc..daa4a0cb31 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md @@ -2,6 +2,7 @@ title: 'addHeader( key, value )' description: 'adds a header to the session' excerpt: 'adds a header to the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md index d39ca3e970..a48b8ce249 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md @@ -2,6 +2,7 @@ title: 'addHeaders( object )' description: 'adds multiple headers to the session' excerpt: 'adds multiple headers to the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md index be7ed1bc5f..035687c289 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md @@ -2,6 +2,7 @@ title: 'clearHeader( name )' description: 'removes header from the session' excerpt: 'removes header from the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md index ace50c5b8b..8205f4b50e 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md @@ -2,6 +2,7 @@ title: 'addTag( key, value )' description: 'adds a tag to the session' excerpt: 'adds a tag to the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md index 3d4a07983f..d20a9fc721 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md @@ -2,6 +2,7 @@ title: 'addTags( object )' description: 'adds multiple tags to the session' excerpt: 'adds multiple tags to the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md index 96ef4e22b0..7419541ae4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md @@ -2,6 +2,7 @@ title: 'clearTag( name )' description: 'removes tag from the session' excerpt: 'removes tag from the session' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md index c1fef43116..7638b1579c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md @@ -1,6 +1,7 @@ --- title: "k6chaijs" excerpt: "Assertion library for k6" +canonicalUrl: https://grafana.com/docs/k6 --- `k6chaijs` is a library to provide BDD assertions in k6 based on [ChaiJS](https://www.chaijs.com/). You can use `k6chaijs` as an alternative to [check](/javascript-api/k6/check/) and [group](/javascript-api/k6/group/). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md index 98a992bc1a..45e78f577e 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md @@ -1,6 +1,7 @@ --- title: 'config' excerpt: 'Global configuration options for k6Chaijs' +canonicalUrl: https://grafana.com/docs/k6 --- Chai exposes a few options to change the library configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md index 43ca0c64aa..16a5355c13 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md @@ -1,6 +1,7 @@ --- title: 'describe( name, function )' excerpt: 'Entry point for creating test cases.' +canonicalUrl: https://grafana.com/docs/k6 --- `describe` is a wrapper of [group](/javascript-api/k6/group) that adds the ability to: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md index 011609a57e..fb53852ba2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md @@ -1,6 +1,7 @@ --- title: 'expect()' excerpt: 'BDD style to construct k6 assertions.' +canonicalUrl: https://grafana.com/docs/k6 --- `expect` is a wrapper of [check](/javascript-api/k6/check/) to provide BDD style of assertions in k6. It implements the [Chai Expect API](https://www.chaijs.com/api/bdd/): diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md index 5c44b4dec0..e215d55ed8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md @@ -1,6 +1,7 @@ --- title: 'Error handling' excerpt: 'How to handle errors in k6chaijs.' +canonicalUrl: https://grafana.com/docs/k6 --- When you execute a load test, your System Under Test (SUT) may often become over saturated and start responding with errors. In this case, you need to consider what the iteration execution should do: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md index 0fc52fae6a..a0bab344a8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md @@ -1,6 +1,7 @@ --- title: "utils" excerpt: "A collection of small utility functions useful during load testing with k6. " +canonicalUrl: https://grafana.com/docs/k6 --- The `utils` module contains number of small utility functions useful in every day load testing. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md index 4321a17632..819029450c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md @@ -2,6 +2,7 @@ title: 'randomIntBetween(min, max)' description: 'Random integer' excerpt: 'Random integer' +canonicalUrl: https://grafana.com/docs/k6 --- Function returns a random number between the specified range. The returned value is no lower than (and may possibly equal) min, and is no bigger than (and may possibly equal) max. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md index 9eff7164f0..15e3022af7 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md @@ -2,6 +2,7 @@ title: 'randomItem(array)' description: 'Random item from an array' excerpt: 'Random item from an array' +canonicalUrl: https://grafana.com/docs/k6 --- Function returns a random item from an array. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md index e6943daa10..5263910d76 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md @@ -2,6 +2,7 @@ title: 'randomString(length, [charset])' description: 'Random string' excerpt: 'Random string' +canonicalUrl: https://grafana.com/docs/k6 --- Function returns a random string of a given length, optionally selected from a custom character set. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md index c698fbf71a..495d3ddb09 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md @@ -2,6 +2,7 @@ title: 'uuidv4()' description: 'uuid v4 function' excerpt: 'uuid v4 function' +canonicalUrl: https://grafana.com/docs/k6 --- Function returns a random uuid v4 in a string form. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md index 448b56b914..d1a20d3428 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md @@ -2,6 +2,7 @@ title: 'findBetween(content, left, right, [repeat])' description: 'findBetween function' excerpt: 'findBetween function' +canonicalUrl: https://grafana.com/docs/k6 --- Function that returns a string from between two other strings. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md index 5701f96525..c53bc270d1 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md @@ -2,6 +2,7 @@ title: 'normalDistributionStages(maxVus, durationSeconds, [numberOfStages])' description: 'normalDistributionStages function' excerpt: 'normalDistributionStages function' +canonicalUrl: https://grafana.com/docs/k6 --- Function to create [stages](/using-k6/options/#stages) producing a _normal distribution (bell-curve)_ of VUs for a test. diff --git a/src/data/markdown/docs/20 jslib/20 jslib.md b/src/data/markdown/docs/20 jslib/20 jslib.md index 8146fdd716..d0d810d3da 100644 --- a/src/data/markdown/docs/20 jslib/20 jslib.md +++ b/src/data/markdown/docs/20 jslib/20 jslib.md @@ -1,6 +1,7 @@ --- title: "jslib" excerpt: "External JavaScript libraries for k6" +canonicalUrl: https://grafana.com/docs/k6 --- The [jslib.k6.io](https://jslib.k6.io/) is a collection of external JavaScript libraries that can be [directly imported](/using-k6/modules#remote-http-s-modules) in k6 scripts. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md index 34471869e8..6999b10791 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md @@ -1,6 +1,7 @@ --- title: 'Get started' excerpt: 'xk6-disruptor is an extension that adds fault injection capabilities to k6. Start here to learn the basics and how to use the disruptor' +canonicalUrl: https://grafana.com/docs/k6 --- Inject faults into kubernetes-based applications with `xk6-disruptor`. Start here to learn the basics to use the disruptor: diff --git a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md index 25b3902f8d..45e76170d0 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md +++ b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md @@ -1,6 +1,7 @@ --- title: 'Explanations' excerpt: 'In-depth exploration of xk6-disruptor.' +canonicalUrl: https://grafana.com/docs/k6 --- [How xk6-disruptor works](/javascript-api/xk6-disruptor/explanations/how-xk6-disruptor-works) \ No newline at end of file diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API.md b/src/data/markdown/docs/40 xk6-disruptor/03 API.md index 3b97b3c35b..114548397d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API.md @@ -1,6 +1,7 @@ --- title: 'API' excerpt: 'An overview of the API for xk6-disruptor.' +canonicalUrl: https://grafana.com/docs/k6 --- The xk6-disruptor API is organized around _disruptors_ that affect specific targets such as pods or services. These disruptors can inject different types of [faults](/javascript-api/xk6-disruptor/api/faults) on their targets. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md index c78a1e38c8..f74de7f4b4 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md @@ -1,6 +1,7 @@ --- title: 'Faults' excerpt: 'xk6-disruptor: Fault Description' +canonicalUrl: https://grafana.com/docs/k6 --- A fault is as an abnormal condition that affects a system component and which may lead to a failure. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md index e5f77f5401..fa9c125556 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md @@ -1,6 +1,7 @@ --- title: 'gRPC' excerpt: 'xk6-disruptor: gRPC Fault attributes' +canonicalUrl: https://grafana.com/docs/k6 --- A gRPC Fault describes the characteristics of the faults to be injected in the gRPC requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md index 209dc9305f..73b8146d51 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md @@ -1,6 +1,7 @@ --- title: 'HTTP' excerpt: 'xk6-disruptor: HTTP Fault attributes' +canonicalUrl: https://grafana.com/docs/k6 --- A HTTP Fault describes the characteristics of the faults to be injected in the HTTP requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md index 6c34da7f8e..e39bd2cade 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md @@ -1,6 +1,7 @@ --- title: 'PodDisruptor' excerpt: 'xk6-disruptor: PodDisruptor class' +canonicalUrl: https://grafana.com/docs/k6 --- The `PodDisruptor` class can inject different types of faults into the pods that match a selection criteria. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md index 123b8773ba..bbf5443b54 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md @@ -1,6 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: PodDisruptor constructor' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md index 019645772a..53c7072b41 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md @@ -1,6 +1,7 @@ --- title: 'injectGrpcFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectGrpcFaults method' +canonicalUrl: https://grafana.com/docs/k6 --- injectGrpcFaults injects gRPC faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md index 151b0a186c..d08bafa48a 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md @@ -1,6 +1,7 @@ --- title: 'injectHTTPFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectHTTPFaults method' +canonicalUrl: https://grafana.com/docs/k6 --- injectHTTPFaults injects HTTP faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md index 7f5fed4b4a..4376a86b37 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md @@ -1,6 +1,7 @@ --- title: 'ServiceDisruptor' excerpt: 'xk6-disruptor: ServiceDisruptor class' +canonicalUrl: https://grafana.com/docs/k6 --- The `ServiceDisruptor` class can inject different types of faults into the pods that back a Kubernetes service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md index bd7da7c1fd..2d7fd0971b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md @@ -1,6 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: ServiceDisruptor constructor' +canonicalUrl: https://grafana.com/docs/k6 --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md index ac24fffdbf..03ca369ccb 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md @@ -1,6 +1,7 @@ --- title: 'injectGrpcFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectGrpcFaults method' +canonicalUrl: https://grafana.com/docs/k6 --- injectGrpcFaults injects gRPC faults in the requests served by a target Service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md index 2c10ce666a..1eee852fd3 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md @@ -1,6 +1,7 @@ --- title: 'injectHTTPFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectHTTPFaults method' +canonicalUrl: https://grafana.com/docs/k6 --- injectHTTPFaults injects HTTP faults in the requests served by a target Service. From 7e90ef3dbed741db305ec3ce763dd71639ba552a Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 10:53:22 -0600 Subject: [PATCH 09/16] Update canonicalUrls for examples section --- .../markdown/docs/05 Examples/01 Examples/01 single-request.md | 2 +- .../docs/05 Examples/01 Examples/02 http-authentication.md | 2 +- .../docs/05 Examples/01 Examples/03 oauth-authentication.md | 2 +- .../05 Examples/01 Examples/04 correlation-and-dynamic-data.md | 2 +- .../docs/05 Examples/01 Examples/05 data-parameterization.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md | 2 +- .../markdown/docs/05 Examples/01 Examples/08 cookies-example.md | 2 +- .../markdown/docs/05 Examples/01 Examples/09 data-uploads.md | 2 +- .../docs/05 Examples/01 Examples/10 api-crud-operations.md | 2 +- .../docs/05 Examples/01 Examples/11 generating-uuids.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/12 http2.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/14 soap.md | 2 +- src/data/markdown/docs/05 Examples/01 Examples/15 tls.md | 2 +- .../markdown/docs/05 Examples/01 Examples/16 data generation.md | 2 +- .../markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md | 2 +- .../05 Examples/01 Examples/18 Bundling and transpilation.md | 2 +- .../docs/05 Examples/01 Examples/19 functional testing.md | 2 +- .../docs/05 Examples/01 Examples/20 tracking-data-per-url.md | 2 +- .../docs/05 Examples/01 Examples/21 URL query parameters.md | 2 +- .../docs/05 Examples/01 Examples/22 instant-load-increase.md | 2 +- .../01 Examples/23 get-timings-for-an-http-metric.md | 2 +- .../docs/05 Examples/01 Examples/24 distribute-workloads.md | 2 +- src/data/markdown/docs/05 Examples/02 Tutorials.md | 2 +- .../docs/05 Examples/02 Tutorials/01 Get started with k6.md | 2 +- .../01 Get started with k6/100 Test-for-functional-behavior.md | 2 +- .../01 Get started with k6/200 Test for performance.md | 2 +- .../02 Tutorials/01 Get started with k6/300 Analyze results.md | 2 +- .../01 Get started with k6/400 Reuse and re-run tests.md | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md index 698dbde1f0..bdfb8c8219 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md @@ -2,7 +2,7 @@ title: 'Single request' excerpt: 'Example of one HTTP GET request' draft: 'false' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/single-request/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md index a5d89e8bfb..7fbd756f3d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md @@ -1,7 +1,7 @@ --- title: 'HTTP Authentication' excerpt: 'Scripting examples on how to use different authentication or authorization methods in your load test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/http-authentication/ --- Scripting examples on how to use different authentication or authorization methods in your load test. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md b/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md index f36bfbd876..49f601f89d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md @@ -1,7 +1,7 @@ --- title: 'OAuth Authentication' excerpt: 'Scripting examples on how to use OAuth authentication in your load test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/oauth-authentication/ --- Scripting examples on how to use OAuth authentication in your load test. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md b/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md index dad6bc7e3b..1e0441dc86 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md @@ -5,7 +5,7 @@ excerpt: | often required when using the Chrome Extension or HAR converter to generate your test script. This is due to the fact that those tools will capture session IDs, CSRF tokens, VIEWSTATE, wpnonce, and other dynamic values from your specific session. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/correlation-and-dynamic-data/ --- Scripting examples on how to correlate dynamic data in your test script. Correlation is often diff --git a/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md b/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md index 0ec45ea983..696b984e44 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md @@ -6,7 +6,7 @@ excerpt: | Parameterization helps to prevent server-side caching from impacting your load test. This will, in turn, make your test more realistic. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/data-parameterization/ --- _Data parameterization_ is the process of turning test values into reusable parameters, for example, through variables and shared arrays. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md b/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md index 5ca401288d..729914aa0d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md @@ -1,7 +1,7 @@ --- title: 'Parse HTML' excerpt: 'Scripting examples parsing HTML content.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/parse-html/ --- Examples parsing HTML content. Use the `k6/html` module for HTML parsing. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md index cc84c89c25..8ce4bff509 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md @@ -1,7 +1,7 @@ --- title: 'HTML Forms' excerpt: 'Scripting example on how to handle HTML forms in a k6 test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/html-forms/ --- Scripting example on how to handle HTML forms. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md b/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md index c67ce8a485..d081b30b4e 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md @@ -1,7 +1,7 @@ --- title: 'Cookies Example' excerpt: 'Scripting examples on how you can interact with cookies during your load test if required.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/cookies-example/ --- Scripting examples on how you can interact with cookies during your load test if required. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md b/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md index 63e0419d65..d4125148a3 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md @@ -1,7 +1,7 @@ --- title: 'Data Uploads' excerpt: 'Scripting examples on how to execute a load test that will upload a file to the System Under Test (SUT).' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/data-uploads/ --- Example to execute a load test that will upload a file to the System Under Test (SUT). diff --git a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md index a52bf74d9c..5be8364d98 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md @@ -1,7 +1,7 @@ --- title: 'API CRUD Operations' excerpt: 'This example covers the usage of k6 to test a REST API CRUD operations.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/api-crud-operations/ --- The examples showcase the testing of CRUD operations on a REST API. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md b/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md index 5bb24fe99b..5c1dd80917 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md @@ -1,7 +1,7 @@ --- title: 'Generating UUIDs' excerpt: 'Scripting example on how to generate UUIDs in your load test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/generating-uuids/ --- If you want to make a version 4 UUID, diff --git a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md index 4a196ffb80..a69221ea06 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md @@ -1,7 +1,7 @@ --- title: 'HTTP2' excerpt: 'Information on how to load test HTTP/2.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/http2/ --- If the target system indicates that a connection can be upgraded from HTTP/1.1 to HTTP/2, k6 will do so automatically. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md index e890a0041a..0c1c41de29 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md @@ -2,7 +2,7 @@ title: 'WebSockets' excerpt: | Scripting example on how to use WebSocket API in k6. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/websockets/ --- Here's a load test for CrocoChat - a WebSocket chat API available on [https://test-api.k6.io/](https://test-api.k6.io/). diff --git a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md index 39a4de973a..7d1a58a2c3 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md @@ -1,7 +1,7 @@ --- title: 'SOAP' excerpt: 'Load Testing SOAP API.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/soap/ --- Although k6 doesn't have any built-in APIs for working with SOAP or XML data in general, you diff --git a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md index 0500990b92..50166760e6 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md @@ -3,7 +3,7 @@ title: 'Transport Layer Security (TLS)' excerpt: | TLS is the mechanism through which encrypted connections can be established between clients and servers on the web and through which data can flow with integrity intact. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/tls/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md b/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md index 829b130dd5..eb6292c840 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md @@ -3,5 +3,5 @@ title: 'Generating realistic data' redirect: 'https://github.com/k6io/example-data-generation/' excerpt: | Reference project demonstrating how to generate data with realistic traits at runtime using faker.js -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/data-generation/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md b/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md index e12460c75e..439b5d3766 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md @@ -3,5 +3,5 @@ title: 'Crawl a web page' redirect: 'https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/' excerpt: | Stack overflow answer demonstrating how to crawl a web page -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/crawl-webpage/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md b/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md index 078436b1ba..406abab2a1 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md @@ -4,5 +4,5 @@ redirect: 'https://github.com/k6io/k6-es6/' excerpt: | Reference project demonstrating how to use webpack and babel to bundle node modules or transpile code to ES5.1+ for usage in k6 tests. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/bundling-and-transpilation/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md b/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md index 2dc9b95050..065d4fc48b 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md @@ -2,7 +2,7 @@ title: 'Functional testing' excerpt: | Use Chaijs library for functional and integration testing. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/functional-testing/ --- ### Most basic integration test diff --git a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md index beb9d31fdc..cda0bee6bd 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md @@ -1,7 +1,7 @@ --- title: 'Track transmitted data per URL' excerpt: 'This example shows how to track data sent and received for a individual URL.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/track-transmitted-data-per-url/ --- By default, k6 collects automatically two [built-in metrics](/using-k6/metrics#built-in-metrics) related to the transmitted data during the test execution: diff --git a/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md b/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md index dcc6504d81..c7573eb464 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md @@ -1,7 +1,7 @@ --- title: 'URLs with query parameters' excerpt: 'Scripting examples using URL and URLSearchParams modules.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/url-query-parameters/ --- How to use **URL** and **URLSearchParams** imported from [jslib.k6.io](/using-k6/modules#the-jslib-repository) to construct URLs with/without query parameters. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md index 85dab89ef8..682bf20138 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md @@ -2,7 +2,7 @@ title: 'Instant load increase' excerpt: 'Scripting example on how to instantly increase the number of VUs or iterations and hold them for a period of time' draft: 'false' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/instant-load-increase/ --- One of the common usages of load testing tools it's the so-called stepped arrival rate. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md b/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md index 25ef4ded17..8ceb6208c7 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md @@ -1,7 +1,7 @@ --- title: Get timings for an HTTP metric excerpt: How to calculate timings for an individual k6 metric -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-timings-for-an-http-metric/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md b/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md index e878d7e520..79b9846112 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md @@ -2,7 +2,7 @@ title: Distribute workloads across VUs excerpt: How to configure different amounts of traffic for different VU behaviors slug: /examples/distribute-workloads -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/distribute-workloads/ --- k6 can schedule different load patterns for different VU functions. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials.md b/src/data/markdown/docs/05 Examples/02 Tutorials.md index 9cdf9b6300..9b4826081a 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials.md @@ -1,7 +1,7 @@ --- title: 'Tutorials' excerpt: 'k6 Tutorials' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/tutorials/ --- - [Get started with k6](/examples/tutorials/get-started-with-k6/) diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md index 3d2c622c66..f6f1fc4d2b 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md @@ -1,7 +1,7 @@ --- title: 'Get started with k6' excerpt: A series of docs to learn how to use the major features of k6 -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/ --- This tutorial provides some procedures for common real-life uses of k6. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md index 68d6c59dfc..4a91d4bb2e 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md @@ -1,7 +1,7 @@ --- title: Test for functional behavior excerpt: Use k6 to write requests and assert that they respond correctly -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/test-for-functional-behavior/ --- In this tutorial, learn how to write a test that does the following: diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md index 4ee90e37c2..4d98a8b35a 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md @@ -1,7 +1,7 @@ --- title: Test for performance excerpt: Write thresholds to evaluate performance criteria, then increase load to see how the system performs. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/test-for-performance/ --- In the previous section, you made a working script to test an endpoint functionality. diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md index 28e47bb01e..0e7d1251c6 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md @@ -1,7 +1,7 @@ --- title: Analyze results excerpt: Use k6 to write custom metrics and filter results. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/analyze-results/ --- In this tutorial, learn how to: diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md index f566f386a4..f1d2812fbd 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md @@ -1,7 +1,7 @@ --- title: Reuse and re-run tests excerpt: Modularize your k6 test logic and workload configuration. -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/reuse-and-re-run-tests/ --- In the previous tutorials, you designed k6 scripts to assert performance and make comparing results easy. From 68ac55c3db259155e9b14d82812e060220ad8181 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 11:01:58 -0600 Subject: [PATCH 10/16] Update canonicalUrls for extensions section --- .../markdown/docs/07 extensions/01 Get started/04 Create.md | 2 +- .../01 Get started/04 Create/01 JavaScript Extensions.md | 2 +- .../01 Get started/04 Create/02 Output Extensions.md | 2 +- .../07 extensions/02 Explanations/010-extensions-registry.md | 2 +- .../docs/07 extensions/02 Explanations/020-go-js-bridge.md | 2 +- .../07 extensions/02 Explanations/030-extension-graduation.md | 2 +- src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md | 2 +- .../docs/07 extensions/03 Guides/build-k6-using-docker.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md index 4b347b13a9..2d73262089 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md @@ -1,7 +1,7 @@ --- title: 'Create' excerpt: 'Creating k6 extensions does not have to be a daunting task, but there are some prerequisites to succeed.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/create/ --- If you find a gap in your testing process that no k6 extension can fix, diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md index 5161c31b91..0cfd7fe515 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md @@ -1,7 +1,7 @@ --- title: 'JavaScript Extensions' excerpt: 'Follow these steps to build a JS extension for k6.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/create/javascript-extensions/ --- Take advantage of Go's speed, power, and efficiency while providing the flexibility of using JavaScript APIs diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md index 18b9571c89..4ce5ab33cb 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md @@ -1,7 +1,7 @@ --- title: 'Output Extensions' excerpt: 'Follow these steps to build an output extension for k6.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/create/output-extensions/ --- k6 provides many [metrics](/using-k6/metrics) and [output formats](/results-output/overview/), but it cannot directly support all possibilities. diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md index 5678bde39d..76480bb7a9 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md @@ -2,7 +2,7 @@ title: About the Extensions Registry excerpt: Reasons for the registry and what is required to be included. hideFromSidebar: false -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/explanations/extensions-registry/ --- Did you create an extension and want to share it with your fellow k6 users? diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md b/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md index 0a4cb43fc4..5acceee621 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md @@ -2,7 +2,7 @@ title: About the Go-to-JS bridge excerpt: Technical details about how JavaScript works in the goja engine. slug: /extensions/explanations/go-js-bridge -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/explanations/go-js-bridge/ --- All k6 and xk6 binaries have an embedded JavaScript engine, [goja](https://github.com/dop251/goja), diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md b/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md index 65d208277b..cccf9f4728 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md @@ -2,7 +2,7 @@ title: Extension Graduation excerpt: Some extensions are created with the intent to become a part of core of k6. hideFromSidebar: false -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/explanations/extension-graduation/ --- Some _Go_ extensions may one day be available within the k6 binary. diff --git a/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md b/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md index 3b5e60c64f..7997ae68ee 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md @@ -1,7 +1,7 @@ --- title: 'Build a k6 binary using Go' excerpt: 'Guide to build a k6 binary that includes one or many extensions using xk6.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/build-k6-binary-using-go/ --- To use an extension that you found on the [Extension page](/extensions/get-started/explore/) or the [xk6 GitHub topic](https://github.com/topics/xk6), diff --git a/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md b/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md index e9c3fdf1c9..5258e2cfcd 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md @@ -2,7 +2,7 @@ title: 'Build a k6 binary using Docker' excerpt: '' hideFromSidebar: false -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/build-k6-binary-using-docker/ --- Using the [xk6 Docker image](https://hub.docker.com/r/grafana/xk6/) can simplify the process of creating a custom k6 binary. It avoids having to setup a local Go environment, and install xk6 manually. From d270958ac2eb2ff4ccadee4022ad92d6520cc0a4 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 11:07:12 -0600 Subject: [PATCH 11/16] Update canonicalUrls for xk6-disruptor section --- src/data/markdown/docs/40 xk6-disruptor/01 Get started.md | 2 +- src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md | 1 - src/data/markdown/docs/40 xk6-disruptor/03 API.md | 2 +- src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md | 2 +- .../markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md | 2 +- .../markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md | 2 +- .../40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md | 1 + .../markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md | 2 +- .../40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md | 2 +- .../03 API/02 PodDisruptor/02 injectGrpcFaults.md | 2 +- .../03 API/02 PodDisruptor/03 injectHTTPFaults.md | 2 +- .../40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md | 1 + .../docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md | 2 +- .../03 API/03 ServiceDisruptor/01 Constructor.md | 2 +- .../03 API/03 ServiceDisruptor/02 injectGrpcFaults.md | 2 +- .../03 API/03 ServiceDisruptor/03 injectHTTPFaults.md | 2 +- .../03 API/03 ServiceDisruptor/04 TerminatePods.md | 1 + 17 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md index 6999b10791..472b52fc06 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md @@ -1,7 +1,7 @@ --- title: 'Get started' excerpt: 'xk6-disruptor is an extension that adds fault injection capabilities to k6. Start here to learn the basics and how to use the disruptor' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/get-started/ --- Inject faults into kubernetes-based applications with `xk6-disruptor`. Start here to learn the basics to use the disruptor: diff --git a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md index 45e76170d0..25b3902f8d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md +++ b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations.md @@ -1,7 +1,6 @@ --- title: 'Explanations' excerpt: 'In-depth exploration of xk6-disruptor.' -canonicalUrl: https://grafana.com/docs/k6 --- [How xk6-disruptor works](/javascript-api/xk6-disruptor/explanations/how-xk6-disruptor-works) \ No newline at end of file diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API.md b/src/data/markdown/docs/40 xk6-disruptor/03 API.md index 114548397d..45919ba74d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API.md @@ -1,7 +1,7 @@ --- title: 'API' excerpt: 'An overview of the API for xk6-disruptor.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/ --- The xk6-disruptor API is organized around _disruptors_ that affect specific targets such as pods or services. These disruptors can inject different types of [faults](/javascript-api/xk6-disruptor/api/faults) on their targets. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md index f74de7f4b4..3a5b7a55ee 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md @@ -1,7 +1,7 @@ --- title: 'Faults' excerpt: 'xk6-disruptor: Fault Description' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/ --- A fault is as an abnormal condition that affects a system component and which may lead to a failure. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md index fa9c125556..89f0128db5 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md @@ -1,7 +1,7 @@ --- title: 'gRPC' excerpt: 'xk6-disruptor: gRPC Fault attributes' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/grpc/ --- A gRPC Fault describes the characteristics of the faults to be injected in the gRPC requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md index 73b8146d51..8bae1a4dae 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md @@ -1,7 +1,7 @@ --- title: 'HTTP' excerpt: 'xk6-disruptor: HTTP Fault attributes' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/http/ --- A HTTP Fault describes the characteristics of the faults to be injected in the HTTP requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md index 6f0fc39022..70e05f0aed 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md @@ -1,6 +1,7 @@ --- title: 'Pod Termination' excerpt: 'xk6-disruptor: Pod Termination Fault attributes' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/pod-termination/ --- A Pod Termination Fault allows terminating either a fixed number or a percentage of the pods that matching a selector or back a service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md index e39bd2cade..db3a904015 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md @@ -1,7 +1,7 @@ --- title: 'PodDisruptor' excerpt: 'xk6-disruptor: PodDisruptor class' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/ --- The `PodDisruptor` class can inject different types of faults into the pods that match a selection criteria. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md index bbf5443b54..abd9d012ea 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md @@ -1,7 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: PodDisruptor constructor' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/constructor/ --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md index 53c7072b41..7f29dc3e34 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md @@ -1,7 +1,7 @@ --- title: 'injectGrpcFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectGrpcFaults method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injectgrpcfaults/ --- injectGrpcFaults injects gRPC faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md index d08bafa48a..748f81579b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md @@ -1,7 +1,7 @@ --- title: 'injectHTTPFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectHTTPFaults method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injecthttpfaults/ --- injectHTTPFaults injects HTTP faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md index 408ae44d4b..51e9bf0946 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md @@ -1,6 +1,7 @@ --- title: 'terminatePods()' excerpt: 'xk6-disruptor: PodDisruptor.terminatePods method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/terminate-pods/ --- `terminatePods` terminates a number of the pods matching the selector configured in the PodDisruptor. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md index 4376a86b37..b6c9d7d21f 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md @@ -1,7 +1,7 @@ --- title: 'ServiceDisruptor' excerpt: 'xk6-disruptor: ServiceDisruptor class' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/ --- The `ServiceDisruptor` class can inject different types of faults into the pods that back a Kubernetes service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md index 2d7fd0971b..98b4f60cd3 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md @@ -1,7 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: ServiceDisruptor constructor' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/constructor/ --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md index 03ca369ccb..f7075938c8 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md @@ -1,7 +1,7 @@ --- title: 'injectGrpcFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectGrpcFaults method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injectgrpcfaults/ --- injectGrpcFaults injects gRPC faults in the requests served by a target Service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md index 1eee852fd3..6d47adf740 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md @@ -1,7 +1,7 @@ --- title: 'injectHTTPFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectHTTPFaults method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injecthttpfaults/ --- injectHTTPFaults injects HTTP faults in the requests served by a target Service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md index ac3a5e2aac..ccd0af30bf 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md @@ -1,6 +1,7 @@ --- title: 'terminatePods()' excerpt: 'xk6-disruptor: ServiceDisruptor.terminatePods method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/terminate-pods/ --- `terminatePods` terminates a number of pods that belong to the service specified in the ServiceDisruptor. From 2e104d581a2183f0c95418bc4df992095647da5d Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 11:19:22 -0600 Subject: [PATCH 12/16] Update canonicalUrls for root js api pages --- src/data/markdown/docs/02 javascript api/01 Init context.md | 2 +- src/data/markdown/docs/02 javascript api/02 k6.md | 2 +- src/data/markdown/docs/02 javascript api/03 k6-crypto.md | 2 +- src/data/markdown/docs/02 javascript api/04 k6-data.md | 2 +- src/data/markdown/docs/02 javascript api/05 k6-encoding.md | 2 +- src/data/markdown/docs/02 javascript api/06 k6-execution.md | 2 +- src/data/markdown/docs/02 javascript api/07 k6-experimental.md | 2 +- src/data/markdown/docs/02 javascript api/08 k6-html.md | 2 +- src/data/markdown/docs/02 javascript api/09 k6-http.md | 2 +- src/data/markdown/docs/02 javascript api/10 k6-metrics.md | 2 +- src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md | 2 +- src/data/markdown/docs/02 javascript api/12 k6-ws.md | 2 +- src/data/markdown/docs/02 javascript api/90 Error Codes.md | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/data/markdown/docs/02 javascript api/01 Init context.md b/src/data/markdown/docs/02 javascript api/01 Init context.md index 030fc6db43..c5b5f2572d 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context.md @@ -1,7 +1,7 @@ --- title: "Init context" excerpt: 'The init context (aka "init code") is code in the global context that has access to a few functions not accessible during main script execution.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/init-context/ --- Before the k6 starts the test logic, code in the _init context_ prepares the script. diff --git a/src/data/markdown/docs/02 javascript api/02 k6.md b/src/data/markdown/docs/02 javascript api/02 k6.md index 03fdad6e68..dbd889ce7d 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6.md +++ b/src/data/markdown/docs/02 javascript api/02 k6.md @@ -1,7 +1,7 @@ --- title: 'k6' excerpt: 'The k6 module contains k6-specific functionality.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/ --- The k6 module contains k6-specific functionality. diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md index 6be391da37..3194a13f93 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md @@ -1,7 +1,7 @@ --- title: "k6/crypto" excerpt: "The k6/crypto module provides common hashing functionality available in the GoLang crypto." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/ --- diff --git a/src/data/markdown/docs/02 javascript api/04 k6-data.md b/src/data/markdown/docs/02 javascript api/04 k6-data.md index 9709a4d6ab..aedf38e950 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data.md @@ -1,7 +1,7 @@ --- title: "k6/data" excerpt: "k6 data API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-data/ --- The data module provides helpers to work with data. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md index 3c06d5c9e0..1cf5ce78de 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md @@ -1,7 +1,7 @@ --- title: "k6/encoding" excerpt: 'The encoding module provides base64 encoding/decoding as defined by RFC4648.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/ --- The encoding module provides [base64](https://en.wikipedia.org/wiki/Base64) encoding/decoding as defined by [RFC4648](https://tools.ietf.org/html/rfc4648). diff --git a/src/data/markdown/docs/02 javascript api/06 k6-execution.md b/src/data/markdown/docs/02 javascript api/06 k6-execution.md index 2dcf171478..0b95bacbfa 100644 --- a/src/data/markdown/docs/02 javascript api/06 k6-execution.md +++ b/src/data/markdown/docs/02 javascript api/06 k6-execution.md @@ -1,7 +1,7 @@ --- title: "k6/execution" excerpt: "Get information about the current test's execution state." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-execution/ --- `k6/execution` provides the capability to get information about the current test execution state inside the test script. You can read in your script the execution state during the test execution and change your script logic based on the current state. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md index 99b9c1153d..e9b78feb0b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md @@ -1,7 +1,7 @@ --- title: "k6/experimental" excerpt: "k6 experimental APIs" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/ --- diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html.md b/src/data/markdown/docs/02 javascript api/08 k6-html.md index 43c68779f2..5af000a75b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html.md @@ -1,7 +1,7 @@ --- title: "k6/html" excerpt: 'The k6/html module contains functionality for HTML parsing.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/ --- The k6/html module contains functionality for HTML parsing. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http.md b/src/data/markdown/docs/02 javascript api/09 k6-http.md index 5116dff348..e266a3a6dd 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http.md @@ -1,7 +1,7 @@ --- title: 'k6/http' excerpt: 'The k6/http module contains functionality for performing HTTP transactions.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/ --- The k6/http module contains functionality for performing HTTP transactions. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md index b6ecedafdb..b76ff74c92 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md @@ -1,7 +1,7 @@ --- title: 'k6/metrics' excerpt: 'k6 Custom Metrics API' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/ --- The metrics module provides functionality to [create custom metrics](/using-k6/metrics/create-custom-metrics) of various types. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md index 3864ec0b4e..6cf2944698 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md @@ -1,7 +1,7 @@ --- title: "k6/net/grpc" excerpt: "k6 gRPC API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws.md b/src/data/markdown/docs/02 javascript api/12 k6-ws.md index 5b12284f3c..288894405d 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws.md @@ -1,7 +1,7 @@ --- title: "k6/ws" excerpt: "k6 WebSocket API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/ --- diff --git a/src/data/markdown/docs/02 javascript api/90 Error Codes.md b/src/data/markdown/docs/02 javascript api/90 Error Codes.md index 7973b67586..ab1d7804f2 100644 --- a/src/data/markdown/docs/02 javascript api/90 Error Codes.md +++ b/src/data/markdown/docs/02 javascript api/90 Error Codes.md @@ -1,7 +1,7 @@ --- title: 'Error Codes' excerpt: 'Error codes are unique numbers that can be used to identify and handle different application and network errors more easily.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/error-codes/ --- Error codes are unique numbers that can be used to identify and handle different application and network errors more easily. For the moment, these error codes are applicable only for errors that happen during HTTP requests, but they will be reused and extended to support other protocols in future k6 releases. From 65c4306f8ca9cf8965de7a06491895b63cbd4981 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 12:10:43 -0600 Subject: [PATCH 13/16] Update canonicalUrl for js-api 1 --- .../markdown/docs/02 javascript api/01 Init context/open.md | 2 +- .../docs/02 javascript api/02 k6/check- val- sets- -tags- -.md | 2 +- src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md | 2 +- .../markdown/docs/02 javascript api/02 k6/group- name- fn -.md | 2 +- src/data/markdown/docs/02 javascript api/02 k6/random-seed.md | 2 +- src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md | 2 +- .../03 k6-crypto/01-createHash- algorithm -.md | 2 +- .../03 k6-crypto/02-createHMAC- algorithm- secret -.md | 2 +- .../03-hmac- algorithm- secret- data- outputEncoding -.md | 2 +- .../03 k6-crypto/04-md4- input- outputEncoding -.md | 2 +- .../03 k6-crypto/05-md5- input- outputEncoding -.md | 2 +- .../02 javascript api/03 k6-crypto/06-randomBytes- int -.md | 2 +- .../03 k6-crypto/07-ripemd160- input- outputEncoding -.md | 2 +- .../03 k6-crypto/08-sha1- input- outputEncoding -.md | 2 +- .../03 k6-crypto/09-sha256- input- outputEncoding -.md | 2 +- .../03 k6-crypto/10-sha384- input- outputEncoding -.md | 2 +- .../03 k6-crypto/11-sha512- input- outputEncoding -.md | 2 +- .../03 k6-crypto/12-sha512_256- input- outputEncoding -.md | 2 +- .../03 k6-crypto/13-sha512_224- input- outputEncoding -.md | 2 +- .../markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md | 2 +- .../markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md | 2 +- .../05 k6-encoding/b64decode- input- -encoding- -format-.md | 2 +- .../05 k6-encoding/b64encode- input- -encoding- -.md | 2 +- .../docs/02 javascript api/07 k6-experimental/01 browser.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext.md | 2 +- .../01 browser/02 BrowserContext/addCookies.md | 2 +- .../01 browser/02 BrowserContext/clearCookies.md | 2 +- .../01 browser/02 BrowserContext/clearPermissions.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext/close.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext/cookie.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext/cookies.md | 2 +- .../01 browser/02 BrowserContext/grantPermissions.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext/newPage.md | 2 +- .../07 k6-experimental/01 browser/02 BrowserContext/pages.md | 2 +- .../01 browser/02 BrowserContext/setDefaultNavigationTimeout.md | 2 +- .../01 browser/02 BrowserContext/setDefaultTimeout.md | 2 +- .../01 browser/02 BrowserContext/setGeolocation.md | 2 +- .../01 browser/02 BrowserContext/setOffline.md | 2 +- .../01 browser/02 BrowserContext/waitForEvent.md | 2 +- .../07 k6-experimental/01 browser/03-console-message.md | 2 +- .../07 k6-experimental/01 browser/04-element-handle.md | 2 +- .../02 javascript api/07 k6-experimental/01 browser/05-frame.md | 2 +- .../07 k6-experimental/01 browser/06-js-handle.md | 2 +- .../07 k6-experimental/01 browser/07-keyboard.md | 2 +- .../07 k6-experimental/01 browser/08 Locator.md | 2 +- .../01 browser/08 Locator/check--options--.md | 2 +- .../01 browser/08 Locator/click--options--.md | 2 +- .../01 browser/08 Locator/dblclick--options--.md | 2 +- .../01 browser/08 Locator/dispatchevent--options--.md | 2 +- .../07 k6-experimental/01 browser/08 Locator/fill--options--.md | 2 +- .../01 browser/08 Locator/focus--options--.md | 2 +- .../01 browser/08 Locator/getattribute--options--.md | 2 +- .../01 browser/08 Locator/hover--options--.md | 2 +- .../01 browser/08 Locator/innerhtml--options--.md | 2 +- .../01 browser/08 Locator/innertext--options--.md | 2 +- .../01 browser/08 Locator/inputvalue--options--.md | 2 +- .../01 browser/08 Locator/ischecked--options--.md | 2 +- .../01 browser/08 Locator/isdisabled--options--.md | 2 +- .../01 browser/08 Locator/iseditable--options--.md | 2 +- .../01 browser/08 Locator/isenabled--options--.md | 2 +- .../01 browser/08 Locator/ishidden--options--.md | 2 +- .../01 browser/08 Locator/isvisible--options--.md | 2 +- .../01 browser/08 Locator/press--options--.md | 2 +- .../01 browser/08 Locator/selectoption--options--.md | 2 +- .../07 k6-experimental/01 browser/08 Locator/tap--options--.md | 2 +- .../01 browser/08 Locator/textcontent--options--.md | 2 +- .../07 k6-experimental/01 browser/08 Locator/type--options--.md | 2 +- .../01 browser/08 Locator/uncheck--options--.md | 2 +- .../01 browser/08 Locator/waitfor--options--.md | 2 +- .../02 javascript api/07 k6-experimental/01 browser/09-mouse.md | 2 +- .../02 javascript api/07 k6-experimental/01 browser/10 Page.md | 2 +- .../07 k6-experimental/01 browser/10 Page/bringToFront.md | 2 +- .../07 k6-experimental/01 browser/10 Page/check--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/click--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/close.md | 2 +- .../07 k6-experimental/01 browser/10 Page/content.md | 2 +- .../07 k6-experimental/01 browser/10 Page/context.md | 2 +- .../01 browser/10 Page/dblclick--options--.md | 2 +- .../01 browser/10 Page/dispatchEvent--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/dollar--options--.md | 2 +- .../01 browser/10 Page/doubledollar--options--.md | 2 +- .../01 browser/10 Page/emulateMedia--options--.md | 2 +- .../01 browser/10 Page/emulateVisionDeficiency--type--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/evaluate.md | 2 +- .../07 k6-experimental/01 browser/10 Page/evaluateHandle.md | 2 +- .../07 k6-experimental/01 browser/10 Page/fill--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/focus--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/frames.md | 2 +- .../01 browser/10 Page/getattribute--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/goto--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/hover--options--.md | 2 +- .../01 browser/10 Page/innerhtml--options--.md | 2 +- .../01 browser/10 Page/innertext--options--.md | 2 +- .../01 browser/10 Page/inputvalue--options--.md | 2 +- .../01 browser/10 Page/ischecked--options--.md | 2 +- .../01 browser/10 Page/isclosed--options--.md | 2 +- .../01 browser/10 Page/isdisabled--options--.md | 2 +- .../01 browser/10 Page/iseditable--options--.md | 2 +- .../01 browser/10 Page/isenabled--options--.md | 2 +- .../01 browser/10 Page/ishidden--options--.md | 2 +- .../01 browser/10 Page/isvisible--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/keyboard.md | 2 +- .../07 k6-experimental/01 browser/10 Page/locator.md | 2 +- .../07 k6-experimental/01 browser/10 Page/mainframe.md | 2 +- .../07 k6-experimental/01 browser/10 Page/mouse.md | 2 +- .../07 k6-experimental/01 browser/10 Page/on.md | 2 +- .../07 k6-experimental/01 browser/10 Page/opener.md | 2 +- .../07 k6-experimental/01 browser/10 Page/press--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/reload--options--.md | 2 +- .../01 browser/10 Page/screenshot--options--.md | 2 +- .../01 browser/10 Page/selectoption--options--.md | 2 +- .../01 browser/10 Page/setcontent--options--.md | 2 +- .../01 browser/10 Page/setdefaultnavigationtimeout.md | 2 +- .../07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md | 2 +- .../01 browser/10 Page/setextrahttpheaders--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/setviewportsize.md | 2 +- .../07 k6-experimental/01 browser/10 Page/tap--options--.md | 2 +- .../01 browser/10 Page/textcontent--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/title.md | 2 +- .../07 k6-experimental/01 browser/10 Page/touchscreen.md | 2 +- .../07 k6-experimental/01 browser/10 Page/type--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/uncheck--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/url.md | 2 +- .../07 k6-experimental/01 browser/10 Page/viewportsize.md | 2 +- .../01 browser/10 Page/waitforfunction--options--.md | 2 +- .../01 browser/10 Page/waitforloadstate--options--.md | 2 +- .../01 browser/10 Page/waitfornavigation--options--.md | 2 +- .../01 browser/10 Page/waitforselector--options--.md | 2 +- .../01 browser/10 Page/waitfortimeout--options--.md | 2 +- .../07 k6-experimental/01 browser/10 Page/workers.md | 2 +- .../07 k6-experimental/01 browser/11 Request.md | 2 +- .../07 k6-experimental/01 browser/11 Request/size.md | 2 +- .../07 k6-experimental/01 browser/12-response.md | 2 +- .../07 k6-experimental/01 browser/13-touchscreen.md | 2 +- .../07 k6-experimental/01 browser/14 Worker.md | 2 +- .../02 javascript api/07 k6-experimental/01 browser/context.md | 2 +- .../07 k6-experimental/01 browser/isconnected.md | 2 +- .../07 k6-experimental/01 browser/newcontext--options--.md | 2 +- .../07 k6-experimental/01 browser/newpage--options--.md | 2 +- .../02 javascript api/07 k6-experimental/01 browser/version.md | 2 +- .../docs/02 javascript api/07 k6-experimental/02 grpc.md | 2 +- .../02 javascript api/07 k6-experimental/02 grpc/10-Client.md | 2 +- .../20 Client/10-Client-load-importpaths-protoFiles copy.md | 2 +- .../02 grpc/20 Client/11-Client-load-protoset.md | 2 +- .../20 Client/20-Client-connect-connect-address-params.md | 2 +- .../02 grpc/20 Client/30-Client-invokerpc-url-request-params.md | 2 +- .../07 k6-experimental/02 grpc/20 Client/40-Client-close.md | 2 +- .../02 javascript api/07 k6-experimental/02 grpc/20-Params.md | 2 +- .../07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md | 2 +- .../07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md | 2 +- .../07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md | 2 +- .../07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md | 2 +- .../02 javascript api/07 k6-experimental/02 grpc/30-Response.md | 2 +- .../07 k6-experimental/02 grpc/40-Constants.md | 2 +- .../02 javascript api/07 k6-experimental/02 grpc/50-Stream.md | 2 +- .../docs/02 javascript api/07 k6-experimental/02 redis.md | 2 +- .../02 javascript api/07 k6-experimental/02 redis/10 Client.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-decr.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-decrby.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-del.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-exists.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-expire.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-get.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-getdel.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-getset.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hdel.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hget.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hgetall.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hincrby.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hkeys.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hlen.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hset.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hsetnx.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-hvals.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-incr.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-incrby.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lindex.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-llen.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lpop.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lpush.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lrange.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lrem.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-lset.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-mget.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-persist.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-randomkey.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-rpop.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-rpush.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-sadd.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-sendCommand.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-set.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-sismember.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-smembers.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-spop.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-srandmember.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-srem.md | 2 +- .../07 k6-experimental/02 redis/10 Client/Client-ttl.md | 2 +- .../07 k6-experimental/02 redis/20 Redis options.md | 2 +- .../docs/02 javascript api/07 k6-experimental/03 timers.md | 2 +- .../docs/02 javascript api/07 k6-experimental/04 tracing.md | 2 +- .../07 k6-experimental/04 tracing/01 instrumentHTTP.md | 2 +- .../07 k6-experimental/04 tracing/02 Client.md | 2 +- .../07 k6-experimental/04 tracing/03 Options.md | 2 +- .../docs/02 javascript api/07 k6-experimental/05 websockets.md | 2 +- .../05 websockets/10 WebSocket/10-WebSocket-addEventListener.md | 2 +- .../05 websockets/10 WebSocket/10-WebSocket-send-data-.md | 2 +- .../05 websockets/10 WebSocket/15-WebSocket-close--.md | 2 +- .../05 websockets/10 WebSocket/20-WebSocket-ping--.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onclose.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onerror.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onmessage.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onopen.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onping.md | 2 +- .../05 websockets/10 WebSocket/30-WebSocket-onpong.md | 2 +- .../07 k6-experimental/05 websockets/10-WebSocket.md | 2 +- .../07 k6-experimental/05 websockets/20-Params.md | 2 +- .../docs/02 javascript api/07 k6-experimental/06 webcrypto.md | 2 +- .../07 k6-experimental/06 webcrypto/01 Crypto.md | 2 +- .../06 webcrypto/01 Crypto/01 getRandomValues.md | 2 +- .../07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md | 2 +- .../07 k6-experimental/06 webcrypto/02 SubtleCrypto.md | 2 +- .../06 webcrypto/02 SubtleCrypto/01 decrypt.md | 2 +- .../06 webcrypto/02 SubtleCrypto/02 digest.md | 2 +- .../06 webcrypto/02 SubtleCrypto/03 encrypt.md | 2 +- .../06 webcrypto/02 SubtleCrypto/04 exportKey.md | 2 +- .../06 webcrypto/02 SubtleCrypto/05 generateKey.md | 2 +- .../06 webcrypto/02 SubtleCrypto/06 importKey.md | 2 +- .../07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md | 2 +- .../06 webcrypto/02 SubtleCrypto/08 verify.md | 2 +- .../07 k6-experimental/06 webcrypto/03 CryptoKey.md | 2 +- .../07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md | 2 +- .../07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md | 2 +- .../07 k6-experimental/06 webcrypto/06 AesCtrParams.md | 2 +- .../07 k6-experimental/06 webcrypto/07 AesCbcParams.md | 2 +- .../07 k6-experimental/06 webcrypto/08 AesGcmParams.md | 2 +- 235 files changed, 235 insertions(+), 235 deletions(-) diff --git a/src/data/markdown/docs/02 javascript api/01 Init context/open.md b/src/data/markdown/docs/02 javascript api/01 Init context/open.md index 7ced773f2d..77b90a61a4 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context/open.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context/open.md @@ -3,7 +3,7 @@ head_title: 'JavaScript API: open' title: 'open( filePath, [mode] )' description: 'Opens a file and reads all the contents into memory.' excerpt: 'Opens a file and reads all the contents into memory.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/init-context/open/ --- Opens a file, reading all its contents into memory for use in the script. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md index 15b312df48..cf7c89185f 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md @@ -2,7 +2,7 @@ title: 'check( val, sets, [tags] )' description: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' excerpt: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/check/ --- Run checks on a value. A check is a test condition that can give a truthy or diff --git a/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md b/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md index 4543b1ed52..6e555e608c 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md @@ -2,7 +2,7 @@ title: 'fail( [err] )' description: 'Throws an error, failing and aborting the current VU script iteration immediately.' excerpt: 'Throws an error, failing and aborting the current VU script iteration immediately.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/fail/ --- Immediately throw an error, aborting the current iteration. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md b/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md index 5488ad96cd..b814c23077 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md @@ -2,7 +2,7 @@ title: 'group( name, fn )' description: 'Runs code inside a group. Used to organize results in a test.' excerpt: 'Runs code inside a group. Used to organize results in a test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/group/ --- Run code inside a group. Groups are used to organize results in a test. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md b/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md index 9c59d72d51..26a3bac946 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md @@ -2,7 +2,7 @@ title: 'randomSeed( int )' description: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' excerpt: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/randomseed/ --- Set seed to get a reproducible pseudo-random number using `Math.random`. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md index a55b811396..40826fdfc9 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md @@ -2,7 +2,7 @@ title: 'sleep( t )' description: 'Suspends VU execution for the specified duration.' excerpt: 'Suspends VU execution for the specified duration.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/sleep/ --- Suspend VU execution for the specified duration. diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md index 15bc6c757d..efb2996c4c 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md @@ -2,7 +2,7 @@ title: 'createHash( algorithm )' description: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/createhash/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md index 012b373f63..8fd274a153 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md @@ -2,7 +2,7 @@ title: 'createHMAC( algorithm, secret )' description: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/createhmac/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md index e290853cfd..ca79dd0a1f 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'hmac( algorithm, secret, data, outputEncoding )' description: 'Use HMAC to sign input data.' excerpt: 'Use HMAC to sign input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/hmac/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md index 4715b6a227..ab1fe21e9f 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'md4( input, outputEncoding )' description: 'Use MD4 to hash input data.' excerpt: 'Use MD4 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/md4/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md index e6a65b7dea..fa9d188630 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'md5( input, outputEncoding )' description: 'Use MD5 to hash input data.' excerpt: 'Use MD5 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/md5/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md index 1973cd137e..d333b1c2b3 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md @@ -2,7 +2,7 @@ title: 'randomBytes( int )' description: 'randomBytes.' excerpt: 'randomBytes.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/randombytes/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md index 2c9a8d653e..aacd651420 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'ripemd160( input, outputEncoding )' description: 'Use RIPEMD-160 to hash input data.' excerpt: 'Use RIPEMD-160 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/ripemd160/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md index 23c0ed6c1d..5aea396f97 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha1( input, outputEncoding )' description: 'Use SHA-1 to hash input data.' excerpt: 'Use SHA-1 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha1/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md index 910705f7e7..b36f24a98e 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha256( input, outputEncoding )' description: 'Use SHA-256 to hash input data.' excerpt: 'Use SHA-256 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha256/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md index 1d67ddb359..3f03941fe0 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha384( input, outputEncoding )' description: 'Use SHA-384 to hash input data.' excerpt: 'Use SHA-384 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha384/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md index 8c72ddbfa6..4f9b545b04 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha512( input, outputEncoding )' description: 'Use SHA-512 to hash input data.' excerpt: 'Use SHA-512 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha512/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md index 5a89eedf8a..f71f2a3260 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha512_256( input, outputEncoding )' description: 'Use SHA-512/256 to hash input data.' excerpt: 'Use SHA-512/256 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha512_256/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md index 9de30477b3..68e7008a03 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md @@ -2,7 +2,7 @@ title: 'sha512_224( input, outputEncoding )' description: 'Use SHA-512/224 to hash input data.' excerpt: 'Use SHA-512/224 to hash input data.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/sha512_224/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md index 4617cffbde..dd3a729432 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md @@ -2,7 +2,7 @@ title: 'Hasher' description: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' excerpt: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/hasher/ --- diff --git a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md index fe70fdff32..a32a72d4ac 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md @@ -1,7 +1,7 @@ --- title: SharedArray excerpt: 'SharedArray is an array-like object that shares the underlying memory between VUs.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-data/sharedarray/ --- `SharedArray` is an array-like object that shares the underlying memory between VUs. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md index d1d658690e..09572c5baf 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md @@ -2,7 +2,7 @@ title: 'b64decode( input, [encoding], [format] )' description: 'Base64 decode a string.' excerpt: 'Base64 decode a string.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/b64decode/ --- Decode the passed base64 encoded `input` string into the unencoded original input in either binary or string formats. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md index 1535e653b0..97b2d8e30f 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md @@ -2,7 +2,7 @@ title: 'b64encode( input, [encoding] )' description: 'Encode data in base64.' excerpt: 'Encode data in base64.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/b64encode/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md index f1ab9d1f8d..3507b28bf7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md @@ -1,7 +1,7 @@ --- title: 'browser' excerpt: 'An overview of the browser-level APIs from browser module.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md index a59360244d..7eea523ca7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md @@ -1,7 +1,7 @@ --- title: "BrowserContext" excerpt: "Browser module: BrowserContext Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/ --- `BrowserContext`s provide a way to operate multiple independent sessions, with separate pages, cache, and cookies. A default `BrowserContext` is created when a browser is launched. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md index 84d942ee37..a2b27324a9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md @@ -1,7 +1,7 @@ --- title: 'addCookies()' excerpt: 'Clears context cookies.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/addcookies/ --- Adds a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) into the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie). All pages within this [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie) will have these [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) set. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md index 77b7ea79af..0d8346b8b8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md @@ -1,7 +1,7 @@ --- title: 'clearCookies()' excerpt: 'Clears context cookies.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/clearcookies/ --- Clears the `BrowserContext`'s cookies. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md index 2055b2d659..3b1a4395e2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md @@ -1,7 +1,7 @@ --- title: 'clearPermissions()' excerpt: 'Clears all permission overrides for the BrowserContext.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/clearpermissions/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md index abfcb3623d..0c42722512 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md @@ -1,7 +1,7 @@ --- title: 'close()' excerpt: 'Close the BrowserContext and all its pages.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/close/ --- Close the `BrowserContext` and all its [page](/javascript-api/k6-experimental/browser/page/)s. The `BrowserContext` is unusable after this call and a new one must be created. This is typically called to cleanup before ending the test. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md index 6951ea30b8..f95e1bf41f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md @@ -1,7 +1,7 @@ --- title: "Cookie" excerpt: "Browser module: Cookie Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/cookie/ --- Cookie class represents a cookie in the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md index 26f96d2d83..8ac793d456 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md @@ -1,7 +1,7 @@ --- title: 'cookies([urls])' excerpt: 'Retrieves context cookies.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/cookies/ --- Returns a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) from the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext) filtered by the provided `urls`. If no `urls` are provided, all cookies are returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md index 09cb332416..61ee8ed702 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md @@ -1,7 +1,7 @@ --- title: 'grantPermissions(permissions[, options])' excerpt: 'Grants specified permissions to the BrowserContext.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/grantpermissions/ --- Grants specified permissions to the `BrowserContext`. Only grants corresponding permissions to the given origin if specified. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md index df1116c478..9562fec45e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md @@ -1,7 +1,7 @@ --- title: 'newPage()' excerpt: 'Creates a new page inside this BrowserContext.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/newpage/ --- Uses the `BrowserContext` to create a new [Page](/javascript-api/k6-experimental/browser/page/) and returns it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md index 1a813bf8e8..4bdae87c3a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md @@ -1,7 +1,7 @@ --- title: 'pages()' excerpt: 'Returns a list of pages inside this BrowserContext.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/pages/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md index 7d51cd5b45..e00a0380e8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md @@ -1,7 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Sets the default navigation timeout in milliseconds.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setdefaultnavigationtimeout/ --- Sets the default maximum navigation timeout for [Page.goto()](https://playwright.dev/docs/api/class-page#page-goto). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md index 3a1cc570d3..e468c15df8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md @@ -1,7 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Sets the default timeout in milliseconds.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setdefaulttimeout/ --- Sets the default maximum timeout for all methods accepting a `timeout` option in milliseconds. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md index 473becc599..b1bc210c3e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md @@ -1,7 +1,7 @@ --- title: 'setGeolocation(geolocation)' excerpt: "Sets the BrowserContext's geolocation." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setgeolocation/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md index 173941f6f2..a366199213 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md @@ -1,7 +1,7 @@ --- title: 'setOffline(offline)' excerpt: "Toggles the BrowserContext's connectivity on/off." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setoffline/ --- Toggles the `BrowserContext`'s connectivity on/off. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md index bc9786bd9d..1d67cb0a5c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md @@ -1,7 +1,7 @@ --- title: 'waitForEvent(event[, optionsOrPredicate])' excerpt: 'Waits for event to fire and passes its value into the predicate function.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/waitforevent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md index 7024a44160..754c309094 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md @@ -1,7 +1,7 @@ --- title: "ConsoleMessage" excerpt: "Browser module: ConsoleMessage Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/consolemessage/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md index 50aeb48c2f..a0f42a1fbb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md @@ -1,7 +1,7 @@ --- title: "ElementHandle" excerpt: "Browser module: ElementHandle Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/elementhandle/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md index 9c2db2b6a9..a114eae7cb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md @@ -1,7 +1,7 @@ --- title: "Frame" excerpt: "Browser module: Frame Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/frame/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md index d9cfef6c19..ac8fa40155 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md @@ -1,7 +1,7 @@ --- title: "JSHandle" excerpt: "Browser module: JSHandle Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/jshandle/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md index 7dc98a7a92..63be38ba80 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md @@ -1,7 +1,7 @@ --- title: "Keyboard" excerpt: "Browser module: Keyboard Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/keyboard/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md index 679b1f3e67..6669163353 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md @@ -1,7 +1,7 @@ --- title: "Locator" excerpt: "Browser module: Locator Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ --- The Locator API makes it easier to work with dynamically changing elements. Some of the benefits of using it over existing ways to locate an element (e.g. `Page.$()`) include: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md index a5d4519db7..39880fd9ff 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md @@ -1,7 +1,7 @@ --- title: 'check([options])' excerpt: 'Browser module: locator.check method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/check/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md index 77ec28cbb7..fa02f32301 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md @@ -1,7 +1,7 @@ --- title: 'click([options])' excerpt: 'Browser module: locator.click method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/click/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md index 55899ee0cd..ca0bb8003f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md @@ -1,7 +1,7 @@ --- title: 'dblclick([options])' excerpt: 'Browser module: locator.dblclick method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/dblclick/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md index dc4df286f4..d8bf75fc70 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md @@ -1,7 +1,7 @@ --- title: 'dispatchEvent(type, eventInit, [options])' excerpt: 'Browser module: locator.dispatchEvent method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/dispatchevent/ --- Dispatches HTML DOM event types e.g. `'click'`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md index eae4bc8b5e..d6dba47bdb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md @@ -1,7 +1,7 @@ --- title: 'fill(value, [options])' excerpt: 'Browser module: locator.fill method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/fill/ --- Fill an `input`, `textarea` or `contenteditable` element with the provided value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md index 814df4c208..3f00efe3a3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md @@ -1,7 +1,7 @@ --- title: 'focus([options])' excerpt: 'Browser module: locator.focus method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/focus/ --- Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on the element, if it can be focused on. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md index f5ce752173..299400e731 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md @@ -1,7 +1,7 @@ --- title: 'getAttribute(name, [options])' excerpt: 'Browser module: locator.getAttribute method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/getattribute/ --- Returns the element attribute value for the given attribute name. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md index c5e75a5150..28736e2582 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md @@ -1,7 +1,7 @@ --- title: 'hover([options])' excerpt: 'Browser module: locator.hover method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/hover/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md index 6c448d5db3..ae6eefb289 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md @@ -1,7 +1,7 @@ --- title: 'innerHTML([options])' excerpt: 'Browser module: locator.innerHTML method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/innerhtml/ --- Returns the `element.innerHTML`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md index 8c81b964c1..f1c1cb3b2e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md @@ -1,7 +1,7 @@ --- title: 'innerText([options])' excerpt: 'Browser module: locator.innerText method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/innertext/ --- Returns the `element.innerText`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md index bedb2d68df..a1fb8d8b96 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md @@ -1,7 +1,7 @@ --- title: 'inputValue([options])' excerpt: 'Browser module: locator.inputValue method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/inputvalue/ --- Returns `input.value` for the selected `input`, `textarea` or `select` element. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md index 2354383b21..08fa76dd16 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md @@ -1,7 +1,7 @@ --- title: 'isChecked([options])' excerpt: 'Browser module: locator.isChecked method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ischecked/ --- Checks to see if the `checkbox` `input` type is selected or not. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md index bb74ee47ff..cd975b30f7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md @@ -1,7 +1,7 @@ --- title: 'isDisabled([options])' excerpt: 'Browser module: locator.isDisabled method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isdisabled/ --- Checks if the element is `disabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md index ff724341af..cd05ff5e51 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md @@ -1,7 +1,7 @@ --- title: 'isEditable([options])' excerpt: 'Browser module: locator.isEditable method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/iseditable/ --- Checks if the element is `editable`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md index 5d97246c54..7bf36ccfd5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md @@ -1,7 +1,7 @@ --- title: 'isEnabled([options])' excerpt: 'Browser module: locator.isEnabled method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isenabled/ --- Checks if the element is `enabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md index 05f5a8c727..c5933e6f1d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md @@ -1,7 +1,7 @@ --- title: 'isHidden([options])' excerpt: 'Browser module: locator.isHidden method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ishidden/ --- Checks if the element is `hidden`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md index 883f7fdc31..0ab6521e48 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md @@ -1,7 +1,7 @@ --- title: 'isVisible([options])' excerpt: 'Browser module: locator.isVisible method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isvisible/ --- Checks if the element is `visible`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md index f42ae11fb8..8f67c0db36 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md @@ -1,7 +1,7 @@ --- title: 'press(key, [options])' excerpt: 'Browser module: locator.press method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/press/ --- Press a single key on the keyboard or a combination of keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md index b246f0eab1..e476ab9fed 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md @@ -1,7 +1,7 @@ --- title: 'selectOption(values, [options])' excerpt: 'Browser module: locator.selectOption method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/selectoption/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md index 5f9d9e6706..1b7e85d702 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md @@ -1,7 +1,7 @@ --- title: 'tap([options])' excerpt: 'Browser module: locator.tap method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/tap/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md index fd500984a2..9e43bedcf3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md @@ -1,7 +1,7 @@ --- title: 'textContent([options])' excerpt: 'Browser module: locator.textContent method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/textcontent/ --- Returns the `element.textContent`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md index 8ebe657da7..d3ff7ab515 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md @@ -1,7 +1,7 @@ --- title: 'type(text, [options])' excerpt: 'Browser module: locator.type method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/type/ --- Type in the text into the input field. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md index 592cb477f1..973ab5ee23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md @@ -1,7 +1,7 @@ --- title: 'uncheck([options])' excerpt: 'Browser module: locator.uncheck method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/uncheck/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md index 3a565b2076..5b72f8dc3b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md @@ -1,7 +1,7 @@ --- title: 'waitFor([options])' excerpt: 'Browser module: locator.waitFor method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/waitfor/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md index 7e58a9f778..a1c2b37951 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md @@ -1,7 +1,7 @@ --- title: "Mouse" excerpt: "Browser module: Mouse Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/mouse/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md index 12a1c83a5e..c4fa1bccd9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md @@ -1,7 +1,7 @@ --- title: "Page" excerpt: "Browser module: Page Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ --- Page provides methods to interact with a single tab in a running web browser. A single [BrowserContext](https://k6.io/docs/javascript-api/k6-experimental/browser/browsercontext/) can have many `pages`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md index 86a76ce279..70e977c0ac 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md @@ -1,7 +1,7 @@ --- title: 'bringToFront()' excerpt: 'Browser module: page.bringToFront method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/bringtofront/ --- Activates the browser tab which brings the page in focus to allow actions to be performed onto it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md index dc709fb900..4bedaf7dd1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md @@ -1,7 +1,7 @@ --- title: 'check(selector[, options])' excerpt: 'Browser module: page.check(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/check/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md index adab0f7bbc..fa17b59a79 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md @@ -1,7 +1,7 @@ --- title: 'click(selector[, options])' excerpt: 'Browser module: page.click(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/click/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md index d99ed5e1e0..67c804a392 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md @@ -1,7 +1,7 @@ --- title: 'close()' excerpt: 'Browser module: page.close method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/close/ --- This will close the tab that this page is associated with. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md index 3377eb0bd9..05d6be446c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md @@ -1,7 +1,7 @@ --- title: 'content()' excerpt: 'Browser module: page.content method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/content/ --- Gets the HTML contents of the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md index 95658d4741..9ce03a13dc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md @@ -1,7 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: page.context method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/context/ --- Gets the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) that the page belongs to. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md index 5ab37a268e..522439ad4a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md @@ -1,7 +1,7 @@ --- title: 'dblclick(selector[, options])' excerpt: 'Browser module: page.dblclick(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/dblclick/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md index 61068699c9..ef5228bfd5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md @@ -1,7 +1,7 @@ --- title: 'dispatchEvent(selector, type, eventInit[, options])' excerpt: 'Browser module: page.dispatchEvent(selector, type, eventInit[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/dispatchevent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md index f286fb5a44..073b707526 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md @@ -1,7 +1,7 @@ --- title: 'page.$(selector)' excerpt: 'Browser module: page.$(selector) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/page-dollar/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md index db29505b0b..132dc20935 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md @@ -1,7 +1,7 @@ --- title: 'page.$$(selector)' excerpt: 'Browser module: page.$$(selector) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/page-doubledollar/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md index dd023fbae2..ee067930c5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md @@ -1,7 +1,7 @@ --- title: 'emulateMedia([options])' excerpt: 'Browser module: page.emulateMedia([options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/emulatemedia/ --- This method changes the CSS `@media type` through the `media` argument, and/or the `'prefers-colors-scheme'` media feature, using the `colorScheme` argument. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md index 9e387cdbcb..492df433bd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md @@ -1,7 +1,7 @@ --- title: 'emulateVisionDeficiency(type)' excerpt: 'Browser module: page.emulateVisionDeficiency(type) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/emulatevisiondeficiency/ --- This emulates your website with the specified vision deficiency type. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md index 2e5dfe0a97..df47c9f693 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md @@ -1,7 +1,7 @@ --- title: 'evaluate(pageFunction[, arg])' excerpt: 'Browser module: page.evaluate(pageFunction[, arg]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/evaluate/ --- Returns the value of the `pageFunction` invocation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md index 81b15277bf..5587fad54a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md @@ -1,7 +1,7 @@ --- title: 'evaluateHandle(pageFunction[, arg])' excerpt: 'Browser module: page.evaluateHandle(pageFunction[, arg]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/evaluatehandle/ --- Returns the value of the `pageFunction` invocation as a [JSHandle](/javascript-api/k6-experimental/browser/jshandle/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md index 295ef73939..ed63e9278a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md @@ -1,7 +1,7 @@ --- title: 'fill(selector, value[, options])' excerpt: 'Browser module: page.fill(selector, value[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/fill/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md index 6e6e4c31de..52a238afab 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md @@ -1,7 +1,7 @@ --- title: 'focus(selector[, options])' excerpt: 'Browser module: page.focus(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/focus/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md index 695c4d80bf..4fc546626f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md @@ -1,7 +1,7 @@ --- title: 'frames()' excerpt: 'Browser module: page.frames method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/frames/ --- Returns an array of [Frames](/javascript-api/k6-experimental/browser/frame/) on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md index e6cfae123e..e70c46b23d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md @@ -1,7 +1,7 @@ --- title: 'getAttribute(selector, name[, options])' excerpt: 'Browser module: page.getAttribute(selector, name[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/getattribute/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md index 0293de6ffd..03153cf2ba 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md @@ -1,7 +1,7 @@ --- title: 'goto(url[, options])' excerpt: 'Browser module: page.goto(url[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/goto/ --- Navigates to the specified URL and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md index 2f9390e253..1138811453 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md @@ -1,7 +1,7 @@ --- title: 'hover(selector[, options])' excerpt: 'Browser module: page.hover(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/hover/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md index 0b8a4cfd7e..241a70736b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md @@ -1,7 +1,7 @@ --- title: 'innerHTML(selector[, options])' excerpt: 'Browser module: page.innerHTML(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/innerhtml/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md index 6529cafec5..d542c6411b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md @@ -1,7 +1,7 @@ --- title: 'innerText(selector[, options])' excerpt: 'Browser module: page.innerText(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/innertext/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md index 0d6ba37687..9afdc6b60b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md @@ -1,7 +1,7 @@ --- title: 'inputValue(selector[, options])' excerpt: 'Browser module: page.inputValue(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/inputvalue/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md index a4cf0cf70f..d39468be6a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md @@ -1,7 +1,7 @@ --- title: 'isChecked(selector[, options])' excerpt: 'Browser module: page.isChecked(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ischecked/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md index 859a15a373..a2af081679 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md @@ -1,7 +1,7 @@ --- title: 'isClosed()' excerpt: 'Browser module: page.isClosed() method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isclosed/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md index 4b4aad4ca8..bd96c6e57b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md @@ -1,7 +1,7 @@ --- title: 'isDisabled(selector[, options])' excerpt: 'Browser module: page.isDisabled(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isdisabled/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md index 328290f129..c891d26903 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md @@ -1,7 +1,7 @@ --- title: 'isEditable(selector[, options])' excerpt: 'Browser module: page.isEditable(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/iseditable/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md index 2270073c74..f07617ef91 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md @@ -1,7 +1,7 @@ --- title: 'isEnabled(selector[, options])' excerpt: 'Browser module: page.isEnabled(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isenabled/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md index 725e0e9ffc..de109b3c0a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md @@ -1,7 +1,7 @@ --- title: 'isHidden(selector[, options])' excerpt: 'Browser module: page.isHidden(selector[, options) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ishidden/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md index 9287779f77..28689a7ae8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md @@ -1,7 +1,7 @@ --- title: 'isVisible(selector[, options])' excerpt: 'Browser module: page.isVisible(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isvisible/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md index 9f50ee8e25..8c3d3c7c06 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md @@ -1,7 +1,7 @@ --- title: 'keyboard' excerpt: 'Browser module: page.keyboard method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/keyboard/ --- Returns the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md index a032750ae3..418db24f0d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md @@ -1,7 +1,7 @@ --- title: 'locator(selector)' excerpt: 'Browser module: page.locator(selector) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/locator/ --- The method returns an element [Locator](/javascript-api/k6-experimental/browser/locator/). Locators resolve to the element when the action takes place, which means locators can span over navigations where the underlying dom changes. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md index d7a81086bb..aabdcc0028 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md @@ -1,7 +1,7 @@ --- title: 'mainFrame()' excerpt: 'Browser module: page.mainFrame method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/mainframe/ --- The page's main frame. Page is made up of frames in a hierarchical. At the top is `mainFrame`. A page is guaranteed to have a main frame. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md index 7e3b866309..8783a8171a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md @@ -1,7 +1,7 @@ --- title: 'mouse' excerpt: 'Browser module: page.mouse method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/mouse/ --- Returns the [Mouse](/javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md index 6f528d0a4a..805b0fa1ae 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md @@ -1,7 +1,7 @@ --- title: 'on(event, handler)' excerpt: 'Browser module: page.on method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/on/ --- Registers a handler to be called whenever the specified event occurs. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md index f0fe38d18f..8e12aadcde 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md @@ -1,7 +1,7 @@ --- title: 'opener()' excerpt: 'Browser module: page.opener method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/opener/ --- Returns the page that opened the current page. The first page that is navigated to will have a `null` opener. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md index c95ea909dd..ae908bffc7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md @@ -1,7 +1,7 @@ --- title: 'press(selector, key[, options])' excerpt: 'Browser module: page.press(selector, key[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/press/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md index 53e5b59789..711adf14c0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md @@ -1,7 +1,7 @@ --- title: 'reload([options])' excerpt: 'Browser module: page.reload([options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/reload/ --- This reloads the current page and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md index f0653d84d6..fa029873ba 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md @@ -1,7 +1,7 @@ --- title: 'screenshot([options])' excerpt: 'Browser module: page.screenshot([options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/screenshot/ --- Returns the buffer with the captured screenshot from the browser. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md index bc35d3ec52..a8bf6ea936 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md @@ -1,7 +1,7 @@ --- title: 'selectOption(selector, values[, options])' excerpt: 'Browser module: page.selectOption(selector, values[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/selectoption/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md index bc1755a631..38a1628fea 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md @@ -1,7 +1,7 @@ --- title: 'setContent(html[, options])' excerpt: 'Browser module: page.setContent(html[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setcontent/ --- Sets the supplied HTML string to the current page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md index 6473039ab3..fc6a0b4a53 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md @@ -1,7 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Browser module: page.setDefaultNavigationTimeout(timeout) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setdefaultnavigationtimeout/ --- This setting will change the navigation timeout for the following methods: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md index 19c1002e13..e540bdc734 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md @@ -1,7 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Browser module: page.setDefaultTimeout(timeout) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setdefaulttimeout/ --- This setting will change the timeout for all the methods accepting a `timeout` option. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md index b012689d44..6d4bdea320 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md @@ -1,7 +1,7 @@ --- title: 'setExtraHTTPHeaders(headers)' excerpt: 'Browser module: page.setExtraHTTPHeaders(headers) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setextrahttpheaders/ --- This sets extra HTTP headers which will be sent with subsequent HTTP requests. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md index 0a158f7c96..e717620d68 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md @@ -1,7 +1,7 @@ --- title: 'setViewportSize(viewportSize)' excerpt: 'Browser module: page.setViewportSize(viewportSize) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setviewportsize/ --- This will update the page's width and height. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md index 465f6a7ba4..a654aedf50 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md @@ -1,7 +1,7 @@ --- title: 'tap(selector[, options])' excerpt: 'Browser module: locator.tap(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/tap/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md index e321a08b9f..9112aded9a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md @@ -1,7 +1,7 @@ --- title: 'textContent(selector[, options])' excerpt: 'Browser module: locator.textContent(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/textcontent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md index b1e978e250..8e4e5bdea6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md @@ -1,7 +1,7 @@ --- title: 'title()' excerpt: 'Browser module: page.title method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/title/ --- Returns the page's title. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md index 67456580b2..a318c49212 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md @@ -1,7 +1,7 @@ --- title: 'touchScreen' excerpt: 'Browser module: page.touchScreen method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/touchscreen/ --- Returns the [Touchscreen](/javascript-api/k6-experimental/browser/touchscreen/) instance to interact with a virtual touchscreen on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md index bf0652ae1b..62bd437df7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md @@ -1,7 +1,7 @@ --- title: 'type(selector, text[, options])' excerpt: 'Browser module: page.type(selector, text[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/type/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md index f8d80dfd4f..3db897a458 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md @@ -1,7 +1,7 @@ --- title: 'uncheck(selector[, options])' excerpt: 'Browser module: page.uncheck(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/uncheck/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md index 73f6d2dcdb..cea06f89c1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md @@ -1,7 +1,7 @@ --- title: 'url()' excerpt: 'Browser module: page.url method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/url/ --- Returns the page's URL. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md index 2b8dba8ba3..d75cdc6b23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md @@ -1,7 +1,7 @@ --- title: 'viewportSize()' excerpt: 'Browser module: page.viewportSize method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/viewportsize/ --- Returns the page's size (width and height). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md index 8d1d3525bb..b74c4632b2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md @@ -1,7 +1,7 @@ --- title: 'waitForFunction(pageFunction, arg[, options])' excerpt: 'Browser module: page.waitForFunction(pageFunction, arg[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitforfunction/ --- Returns when the `pageFunction` returns a truthy value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md index ebf2ba0a29..5e09eca7e8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md @@ -1,7 +1,7 @@ --- title: 'waitForLoadState(state[, options])' excerpt: 'Browser module: page.waitForLoadState(state[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitforloadstate/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md index 8e1fae7fcf..b361617e5a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md @@ -1,7 +1,7 @@ --- title: 'waitForNavigation([options])' excerpt: 'Browser module: page.waitForNavigation([options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitfornavigation/ --- Waits for the given navigation lifecycle event to occur and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md index 17cac2677d..7c054f9fde 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md @@ -1,7 +1,7 @@ --- title: 'waitForSelector(selector[, options])' excerpt: 'Browser module: page.waitForSelector(selector[, options]) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitforselector/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md index bce668277e..46f738f916 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md @@ -1,7 +1,7 @@ --- title: 'waitForTimeout(timeout)' excerpt: 'Browser module: waitForTimeout(timeout) method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitfortimeout/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md index 25384ab83a..083b7636a7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md @@ -1,7 +1,7 @@ --- title: 'workers()' excerpt: 'Browser module: page.workers method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/workers/ --- This method returns an array of the dedicated [WebWorkers](/javascript-api/k6-experimental/browser/worker/) associated with the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md index bad6723f11..4c321978f7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md @@ -1,7 +1,7 @@ --- title: "Request" excerpt: "Browser module: Request Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/request/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md index 054efbc2f0..a41c9ca97f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md @@ -1,7 +1,7 @@ --- title: 'size()' excerpt: 'Browser module: Request.size method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/request/size/ --- Similar to Playwright's [`request.sizes()`](https://playwright.dev/docs/api/class-request#request-sizes), this method returns the size (in bytes) of body and header sections of the [Request](/javascript-api/k6-experimental/browser/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md index 2e0b043b85..3407941edb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md @@ -1,7 +1,7 @@ --- title: "Response" excerpt: "Browser module: Response Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/response/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md index b4861a2a53..375cd12372 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md @@ -1,7 +1,7 @@ --- title: "Touchscreen" excerpt: "Browser module: Touchscreen Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/touchscreen/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md index d24677609f..e250205ebd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md @@ -1,7 +1,7 @@ --- title: "Worker" excerpt: "Browser module: Worker Class" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/worker/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md index 2b288993b3..34f6f1a11b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md @@ -1,7 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: context method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/context/ --- Returns the current [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md index c4ae755e78..d3728c660a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md @@ -1,7 +1,7 @@ --- title: 'isConnected()' excerpt: 'Browser module: isConnected method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/isconnected/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md index 798a9cd70f..cbd4cfbeee 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md @@ -1,7 +1,7 @@ --- title: 'newContext([options])' excerpt: 'Browser module: newContext method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/newcontext/ --- Creates and returns a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/), if one hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If one has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md index 45eae0809b..a817e142cc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md @@ -1,7 +1,7 @@ --- title: 'newPage([options])' excerpt: 'Browser module: newPage method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/newpage/ --- Creates and returns a new [Page](/javascript-api/k6-experimental/browser/page/) in a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) if a `BrowserContext` hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If a `BrowserContext` has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md index 645a1b28c1..695d212c6e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md @@ -1,7 +1,7 @@ --- title: 'version()' excerpt: 'Browser module: version method' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/version/ --- Returns the browser application's version. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md index d156298121..b18a7f40b3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md @@ -1,7 +1,7 @@ --- title: "grpc" excerpt: "Experimental GRPC module" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md index e9cd94ca11..9d86ff0d97 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md @@ -1,7 +1,7 @@ --- title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/ --- `Client` is a gRPC client that can interact with a gRPC server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index 168e00dab6..563cecc13e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,7 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-load/ --- Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md index b6163dc5b2..1d73ac89b1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md @@ -1,7 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-loadprotoset/ --- Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md index a32c54a59b..1ca42c349a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,7 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-connect/ --- Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown. Cannot be called during the [`init` phase](/using-k6/test-lifecycle). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md index 85dfd555d7..c0b2499f9d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,7 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-invoke/ --- Invokes an unary RPC request to the given method. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md index 5c6a658f3c..fc25beb99a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md @@ -1,7 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-close/ --- Close the connection to the gRPC service. Tear down all underlying connections. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md index 485ceb6456..635705d6d2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md @@ -2,7 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/params/ --- *Params* is an object used by the gRPC methods that generate RPC requests. *Params* contains request-specific options like headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md index 630ec402b1..2a7b104740 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md @@ -1,7 +1,7 @@ --- title: "Stream.on()" excerpt: 'Set up handler functions for various events on the GRPC stream.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-on/ --- Set up handler functions for various events on the GRPC stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md index e9886c5815..527170f627 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md @@ -2,7 +2,7 @@ title: "Error" head_title: 'gRPC.Error' excerpt: 'The error object of a gRPC stream.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-error/ --- The error object is the object that is passed to the `error` event handler function. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md index 2f1b682bb7..d3c9560e85 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md @@ -1,7 +1,7 @@ --- title: "Stream.end()" excerpt: 'Signals to the server that the client has finished sending.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-end/ --- Signals to the server that the client has finished sending messages. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md index 1f6bc7b823..b289b92b87 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md @@ -1,7 +1,7 @@ --- title: "Stream.write()" excerpt: 'Writes a message to the stream.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-write/ --- Writes a message to the stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md index 6b0dc4428a..3738e2a53e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md @@ -2,7 +2,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/response/ --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md index be06ab2aa8..8045bbda83 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md @@ -1,7 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/constants/ --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-experimental/grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md index 897de8caf4..0f62756252 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md @@ -1,7 +1,7 @@ --- title: Stream excerpt: 'GRPC Streams' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/ --- Using a GRPC client creates a stream. An important note that the client should be already connected (client.connect called) to the server before creating a stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md index b3b17b440e..a9473fa561 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md @@ -1,7 +1,7 @@ --- title: "redis" excerpt: "k6 Redis experimental API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md index c5359d9602..ad156dd5f4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md @@ -1,7 +1,7 @@ --- title: 'Client' excerpt: 'Client is a Redis client to interact with a Redis server or cluster.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/ --- `Client` is a Redis client to interact with a Redis server or cluster. It exposes a promise-based API, which users can interact with in an asynchronous manner. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md index d4b0eb8ffe..965a3be502 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md @@ -1,7 +1,7 @@ --- title: 'Client.decr(key)' excerpt: 'Decrements the number stored at `key` by one.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-decr/ --- Decrements the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md index 30d42aacd5..a5d2a8a930 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md @@ -1,7 +1,7 @@ --- title: 'Client.decrBy(key, decrement)' excerpt: 'Decrements the number stored at `key` by `decrement`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-decrby/ --- Decrements the number stored at `key` by `decrement`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md index 4202d9ec7d..fa3b85f8a7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md @@ -1,7 +1,7 @@ --- title: 'Client.del(keys)' excerpt: '' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-del/ --- Removes the specified keys. A key is ignored if it does not exist. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md index 4ff33b7931..00e37337b7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md @@ -1,7 +1,7 @@ --- title: 'Client.exists(keys)' excerpt: 'Returns the number of `key` arguments that exist.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-exists/ --- Returns the number of `key` arguments that exist. Note that if the same existing key is mentioned in the argument multiple times, it will be counted multiple times. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md index 7126234f3a..82dfa32d01 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md @@ -1,7 +1,7 @@ --- title: 'Client.expire(key, seconds)' excerpt: 'Sets an expiration date (a timeout) on the key `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-expire/ --- Sets a timeout on key, after which the key will automatically be deleted. Note that calling Expire with a non-positive timeout will result in the key being deleted rather than expired. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md index 32648d7787..825f5f86f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md @@ -1,7 +1,7 @@ --- title: 'Client.get(key)' excerpt: 'Get the value of `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-get/ --- Get the key's value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md index aed2c3d40b..0761a73e29 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md @@ -1,7 +1,7 @@ --- title: 'Client.getDel(key)' excerpt: 'Get the value of `key` and delete the key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-getdel/ --- Get the value of `key` and delete the key. This functionality is similar to `get`, except for the fact that it also deletes the key on success. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md index 753d28f53c..46813aa37e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md @@ -1,7 +1,7 @@ --- title: 'Client.getSet(key, value)' excerpt: 'Atomically sets `key` to `value` and returns the old value stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-getset/ --- Atomically sets `key` to `value` and returns the value previously stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md index c26e7025bc..c4d61066ac 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md @@ -1,7 +1,7 @@ --- title: 'Client.hdel(key, fields)' excerpt: 'Deletes fields from the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hdel/ --- Deletes the specified fields from the hash stored at `key`. The number of fields that were removed from the hash is returned on resolution (non including non existing fields). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md index 23f4828107..6cb26fd859 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md @@ -1,7 +1,7 @@ --- title: 'Client.hget(key, field)' excerpt: 'Returns the value of field in the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hget/ --- Returns the value associated with `field` in the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md index e3c548acfc..53feef5342 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md @@ -1,7 +1,7 @@ --- title: 'Client.hgetall(key)' excerpt: 'Returns all fields and values of the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hgetall/ --- Returns all fields and values of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md index 453eac4a8f..90f7da3de6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md @@ -1,7 +1,7 @@ --- title: 'Client.hincrby(key, field, increment)' excerpt: 'Increments the value of a hash field by the given number.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hincrby/ --- Increments the integer value of `field` in the hash stored at `key` by `increment`. If `key` does not exist, a new key holding a hash is created. If `field` does not exist the value is set to 0 before the operation is set to 0 before the operation is performed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md index c66d0ebf44..240d29cb02 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md @@ -1,7 +1,7 @@ --- title: 'Client.hkeys(key)' excerpt: 'Returns all fields of the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hkeys/ --- Returns all fields of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md index e8a445591c..ac241a9098 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md @@ -1,7 +1,7 @@ --- title: 'Client.hlen(key)' excerpt: 'Returns the number of fields in the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hlen/ --- Returns the number of fields in the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md index 36b4abcc72..053c279510 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md @@ -1,7 +1,7 @@ --- title: 'Client.hset(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hset/ --- Sets the specified field in the hash stored at `key` to `value`. If the `key` does not exist, a new key holding a hash is created. If `field` already exists in the hash, it is overwritten. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md index 5420a03518..4ac7ae8bd9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md @@ -1,7 +1,7 @@ --- title: 'Client.hsetnx(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value` only if field does not exist in the hash.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hsetnx/ --- Sets the specified field in the hash stored at `key` to `value`, only if `field` does not yet exist. If `key` does not exist, a new key holding a hash is created. If `field` already exists, this operation has no effect. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md index 14301b3129..fb63b24f52 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md @@ -1,7 +1,7 @@ --- title: 'Client.hvals(key)' excerpt: 'Returns all values of the hash stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hvals/ --- Returns all values of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md index b0fc28254b..992192a384 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md @@ -1,7 +1,7 @@ --- title: 'Client.incr(key)' excerpt: 'Increments the number stored at `key` by one.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-incr/ --- Increments the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md index 1cd97f557b..10a89d5a8b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md @@ -1,7 +1,7 @@ --- title: 'Client.incrBy(key, increment)' excerpt: 'Increments the number stored at `key` by `increment`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-incrby/ --- Increments the number stored at `key` by `increment`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md index 3680502c93..9790f4cf20 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md @@ -1,7 +1,7 @@ --- title: 'Client.lindex(key)' excerpt: 'Returns the element at index `index` of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lindex/ --- Returns the specified element of the list stored at `key`. The index is zero-based. Negative indices can be used to designate elements starting at the tail of the list. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md index 2a831eb49d..fee1c521af 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md @@ -1,7 +1,7 @@ --- title: 'Client.llen(key)' excerpt: 'Returns the length of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-llen/ --- Returns the length of the list stored at `key`. If `key` does not exist, it is interpreted as an empty list and 0 is returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md index 854725486f..437101a803 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md @@ -1,7 +1,7 @@ --- title: 'Client.lpop(key)' excerpt: 'Removes and returns the first element of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lpop/ --- Removes and returns the first element of the list stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md index 52be5d22b3..b8b7d8f5d5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md @@ -1,7 +1,7 @@ --- title: 'Client.lpush(key, values)' excerpt: 'Adds the string `value` to the left of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lpush/ --- Inserts all the specified values at the head of the list stored at `key`. If `key` does not exist, it is created as empty list before performing the push operations. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md index aeaf902ab7..c7f991233b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md @@ -1,7 +1,7 @@ --- title: 'Client.lrange(key, start, stop)' excerpt: 'Returns the specified elements of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lrange/ --- Returns the specified elements of the list stored at `key`. The offsets start and stop are zero-based indexes. These offsets can be negative numbers, where they indicate offsets starting at the end of the list. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md index 2f168855fc..b92b8dd139 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md @@ -1,7 +1,7 @@ --- title: 'Client.lrem(key, count, value)' excerpt: 'Removes the first count occurrences of elements equal to value from the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lrem/ --- Removes the first `count` occurrences of `value` from the list stored at `key`. If `count` is positive, elements are removed from the beginning of the list. If `count` is negative, elements are removed from the end of the list. If `count` is zero, all elements matching `value` are removed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md index dda0ab987a..648cd6f8b6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md @@ -1,7 +1,7 @@ --- title: 'Client.lset(key, index, element)' excerpt: 'Sets the list element at index `index` of the list stored at `key` to `value`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lset/ --- Sets the list element at `index` to `element`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md index b3a753a053..974ec2c9c4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md @@ -1,7 +1,7 @@ --- title: 'Client.mget(keys)' excerpt: 'Returns the values of all specified keys.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-mget/ --- Returns the values of all specified keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md index ed7dc9c984..cb9c85fa9c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md @@ -1,7 +1,7 @@ --- title: 'Client.persist(key)' excerpt: 'Remove the expiration from a key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-persist/ --- Removes the existing timeout on `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md index b9aeb3e5f5..e2571bb35e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md @@ -1,7 +1,7 @@ --- title: 'Client.randomKey()' excerpt: 'Returns a random key from the keyspace.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-randomkey/ --- Returns a random key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md index 8f9479889a..e49eea7803 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md @@ -1,7 +1,7 @@ --- title: 'Client.rpop(key)' excerpt: 'Removes and returns the last element of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-rpop/ --- Removes and returns the last element of the list stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md index 77cee045d7..5f543cb7de 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md @@ -1,7 +1,7 @@ --- title: 'Client.rpush(key, values)' excerpt: 'Adds the string `value` to the right of the list stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-rpush/ --- Inserts all the specified values at the tail of the list stored at `key`. If `key` does not exist, it is created as empty list before performing the push operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md index 82ef8cf87f..fd2c95c11a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md @@ -1,7 +1,7 @@ --- title: 'Client.sadd(key, members)' excerpt: 'Adds the specified members to the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-sadd/ --- Adds the specified members to the set stored at `key`. Specified members that are already a member of this set are ignored. If key does not exist, a new set is created before adding the specified members. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md index 6858102ff2..6f6015fc9e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md @@ -1,7 +1,7 @@ --- title: 'Client.sendCommand(command, args)' excerpt: 'Issue a command to the Redis server.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-sendcommand/ --- In the event a Redis command you wish to use is not implemented yet, the `sendCommand` method can be used to send a custom commands to the server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md index bb9a39ced0..6fa656b9e3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md @@ -1,7 +1,7 @@ --- title: 'Client.set(key, value, expiration)' excerpt: 'Set `key` to hold `value`, with a time to live equal to `expiration`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-set/ --- Set the value of a key, with a time to live equal to the expiration time parameter (in seconds). If the key already holds a value, it is overwritten. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md index 2ae2f17951..69f52e14d3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md @@ -1,7 +1,7 @@ --- title: 'Client.sismember(key, member)' excerpt: 'Determines if a given value is a member of the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-sismember/ --- Returns if member is a member of the set stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md index 996eee178c..0bc3ed8b23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md @@ -1,7 +1,7 @@ --- title: 'Client.smembers(key)' excerpt: 'Returns all the members of the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-smembers/ --- Returns all the members of the set values stored at `keys`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md index cb66287ca5..b7a169df2b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md @@ -1,7 +1,7 @@ --- title: 'Client.spop(key)' excerpt: 'Removes and returns a random member of the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-spop/ --- Removes and returns a random element from the set value stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md index bd3fdd6012..61ab89f048 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md @@ -1,7 +1,7 @@ --- title: 'Client.srandmember(key)' excerpt: 'Returns a random member of the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-srandmember/ --- Returns a random element from the set value stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md index 3dce131a48..89e4a21781 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md @@ -1,7 +1,7 @@ --- title: 'Client.srem(key, members)' excerpt: 'Removes the specified members from the set stored at `key`.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-srem/ --- Removes the specified members from the set stored at `key`. Specified members that are not a member of this set are ignored. If key does not exist, it is treated as an empty set and this command returns 0. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md index 85b645f082..6508869b55 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md @@ -1,7 +1,7 @@ --- title: 'Client.ttl(key)' excerpt: 'Returns the remaining time to live of a key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-ttl/ --- Returns the remaining time to live of a key that has a timeout. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md index 5515fc4394..00f22d72f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md @@ -2,7 +2,7 @@ title: 'Redis options' slug: '/javascript-api/k6-experimental/redis/options/' excerpt: 'Options allow to fine tune how a Redis client behaves and interacts with a Redis server or cluster.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/redis-options/ --- You can configure the [Redis Client](/javascript-api/k6-experimental/redis/client) at construction time with the [Options](#options) object. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md index b05e3666f4..d9e6b98cd7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md @@ -1,7 +1,7 @@ --- title: "timers" excerpt: "k6 timers experimental API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/timers/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md index 6c5efa1a0e..22559bdb88 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md @@ -1,7 +1,7 @@ --- title: "tracing" excerpt: "k6 Tracing experimental API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md index 6db17a1f69..740988d82c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md @@ -1,7 +1,7 @@ --- title: 'instrumentHTTP' excerpt: 'instrumentHTTP instruments the k6 http module with tracing capabilities.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/instrumenthttp/ --- The `instrumentHTTP` function instruments the k6 http module with tracing capabilities. It transparently replaces each of the k6 http module functions with versions that automatically attach a trace context to every request. Instrumented functions include [del](/javascript-api/k6-http/del), [get](/javascript-api/k6-http/get), [head](/javascript-api/k6-http/head), [options](/javascript-api/k6-http/options), [patch](/javascript-api/k6-http/patch), [post](/javascript-api/k6-http/post), [put](/javascript-api/k6-http/head), and [request](/javascript-api/k6-http/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md index efce2c558f..9df7e75b8e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md @@ -1,7 +1,7 @@ --- title: 'Client' excerpt: 'Client is a HTTP client attaching tracing information to its requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/client/ --- `Client` is an HTTP client constructor that attaches tracing information to its requests. Use it to include a tracing context in HTTP requests so that tracing backends (such as [Grafana Tempo](https://grafana.com/oss/tempo/)) can incorporate their results. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md index f3fc6afc69..35444f1618 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md @@ -1,7 +1,7 @@ --- title: 'Options' excerpt: 'Options allows to configure the tracing instrumentation behavior.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/options/ --- Use the `Options` object to configure the tracing instrumentation behavior. It is used during the instantiation of a [`Client`](/javascript-api/k6-experimental/tracing/client) instance and also as a parameter to the [`instrumentHTTP`](/javascript-api/k6-experimental/tracing/instrumenthttp) function. It controls the general behavior of the tracing instrumentation and is unspecific to any particular tracing client instance. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md index 0df1fa28d3..fd484c69f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md @@ -1,7 +1,7 @@ --- title: 'websockets' excerpt: "k6 websockets experimental API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md index 220d0be3fb..defb3efdc2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.addEventListener(event, handler)' excerpt: 'Set up handler functions for various events on the WebSocket connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-addeventlistener/ --- Set up handler functions for various events on the WebSocket connection. You can define multiple handlers for the same event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md index 74a906e2e4..f77df4e459 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.send(data)' excerpt: 'Send a data string through the connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-send/ --- Send a data string through the connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md index 6ddc4c33ca..c963a417f2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.close([code])' excerpt: 'Close the WebSocket connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-close/ --- Close the WebSocket connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md index df6e99ae44..1065cf2057 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-ping/ --- Send a ping. You can use ping messages to verify that the remote endpoint is responsive. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md index 59e9e5727c..f4ca7911b8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onclose' excerpt: 'A handler function for WebSocket connection close event.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onclose/ --- A handler for a WebSocket connection `close` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md index 65b7ad36e5..d278607574 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onerror' excerpt: 'A handler function for WebSocket connection error event.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onerror/ --- A handler for a WebSocket connection `error` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md index 88ac3baa7e..d83afba587 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onmessage' excerpt: 'A handler function for message event WebSocket.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onmessage/ --- A handler for a WebSocket connection `message` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md index 56fb8448a8..67a3de2c1a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onopen' excerpt: 'A handler function for WebSocket connection open event.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onopen/ --- A handler for a WebSocket connection `open` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md index 93aa418dd8..6f5f08ce3d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onping' excerpt: 'A handler function for WebSocket connection ping event.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onping/ --- A handler for a WebSocket connection `ping` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md index db97af3a25..9d0ee1593b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md @@ -1,7 +1,7 @@ --- title: 'WebSocket.onpong' excerpt: 'A handler function for WebSocket connection pong event.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onpong/ --- A handler for a WebSocket connection `pong` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md index a37a6a5ffc..f92e06b453 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md @@ -2,7 +2,7 @@ title: 'WebSocket' description: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/ --- Creates a WebSocket instance for connection to a remote host. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md index 057ec8c90a..6a2998e9c2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md @@ -2,7 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/params/ --- `Params` is an object used by the WebSocket constructor. The `Params` object contains request-specific options, such as headers that should be inserted into the connection initialization request. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md index cce6423572..9f7075cd37 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md @@ -1,7 +1,7 @@ --- title: 'webcrypto' excerpt: "k6 webcrypto experimental API" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md index eaaf8f3ef3..99210fc099 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md @@ -1,7 +1,7 @@ --- title: 'Crypto' excerpt: 'Crypto offers basic cryptography features.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/ --- `Crypto` allows access to a cryptographically strong random number generator and to cryptographic primitives. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md index 3efa4dbd09..59e8cdc0e6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md @@ -1,7 +1,7 @@ --- title: 'getRandomValues' excerpt: 'getRandomValues fills the passed TypedArray with cryptographically sound random values.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/getrandomvalues/ --- The `getRandomValues()` method fills the passed `TypedArray` with cryptographically sound random values. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md index 2a777188a5..508c9760cd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md @@ -1,7 +1,7 @@ --- title: 'randomUUID' excerpt: 'randomUUID produces a 36-characters long string containing a cryptographically random UUID v4.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/randomuuid/ --- The `randomUUID` method produces a 36-characters long string that contains a cryptographically random UUID v4. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md index 348e0e718d..0ac89cfd7e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md @@ -1,7 +1,7 @@ --- title: 'SubtleCrypto' excerpt: 'SubtleCrypto offers low-level cryptographic functions.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/ --- The `SubtleCrypto` interface provides a set of low-level cryptographic primitives such as encryption, decryption, digital signature generation and verification, and key generation and management. It is useful for using secure and efficient cryptographic operations within k6 scripts. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md index 0dd6812dec..5ce85def58 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md @@ -1,7 +1,7 @@ --- title: 'decrypt' excerpt: 'decrypt decrypts some encrypted data' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt/ --- The `decrypt()` method decrypts some encrypted data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md index 941ea242d3..524fd5bcca 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md @@ -1,7 +1,7 @@ --- title: 'digest' excerpt: 'digest decrypts some encrypted data' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/digest/ --- The `digest()` method generates a cryptographically secure [digest](https://developer.mozilla.org/en-US/docs/Glossary/Digest) of the given data. A digest is a short fixed-length value derived from some input data. The `digest()` method is commonly used to compute a checksum of data or to verify the integrity of data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md index 43fe564da7..2ebf1c4796 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md @@ -1,7 +1,7 @@ --- title: 'encrypt' excerpt: 'encrypt decrypts some encrypted data' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt/ --- The `encrypt()` method encrypts some data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md index f9940e2c01..e95f657d8c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md @@ -1,7 +1,7 @@ --- title: 'exportKey' excerpt: 'exportKey exports a key in an external, portable format.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/exportkey/ --- The `exportKey()` method takes a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object as input and exports it in an external, portable format. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md index f0bf555db6..f949440cc2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md @@ -1,7 +1,7 @@ --- title: 'generateKey' excerpt: 'generateKey generates a new key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey/ --- The `generateKey()` generates a new cryptographic key and returns it as a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object that can be used with the Web Crypto API. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md index 3076ff917b..fdae2bc703 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md @@ -1,7 +1,7 @@ --- title: 'importKey' excerpt: 'importKey imports a key from an external, portable format and gives you a CryptoKey object.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/importkey/ --- The `importKey()` imports a key from an external, portable format, and gives you a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object that can be used with the Web Crypto API. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md index d61920bfab..c0ffa515d6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md @@ -1,7 +1,7 @@ --- title: 'sign' excerpt: 'sign generates a digital signature.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign/ --- The `sign()` operation generates a digital signature of the provided `data`, using the given [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md index 93dc6f963f..720d81c9e0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md @@ -1,7 +1,7 @@ --- title: 'verify' excerpt: 'verify verifies a digital signature.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify/ --- The `verify()` operation verifies a digital signature. It ensures that some data was signed by a known key and that the data has not been tampered with since it was signed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md index 19a3d3668e..4e43bdc761 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md @@ -1,7 +1,7 @@ --- title: 'CryptoKey' excerpt: 'CryptoKey represents a cryptographic key used for encryption, decryption, signing, or verification.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/cryptokey/ --- The `CryptoKey` object represents a cryptographic key used for [encryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt), [decryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt), [signing](/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign), or [verification](/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify) within the webcrypto module. The `CryptoKey` object is created using the SubtleCrypto.generateKey() or SubtleCrypto.importKey() methods. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md index 8255db3480..e36e036433 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md @@ -1,7 +1,7 @@ --- title: 'AesKeyGenParams' excerpt: 'AesKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an AES key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/aeskeygenparams/ --- The `AesKeyGenParams` object represents the object that should be passed as the algorithm parameter into the [generateKey](/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey) operation when generating an AES key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md index 2922e51bb4..e615d000db 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md @@ -1,7 +1,7 @@ --- title: 'HmacKeyGenParams' excerpt: 'HmacKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an HMAC key.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/hmackeygenparams/ --- The `HmacKeyGenParams` object represents the object that should be passed as the algorithm parameter into the [generateKey](/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey) operation when generating an HMAC key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md index 4bcecb6c13..85582b1ff9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md @@ -1,7 +1,7 @@ --- title: 'AesCtrParams' excerpt: 'AesCtrParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CTR algorithm.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/aesctrparams/ --- The `AesCtrParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-CTR algorithm. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md index 8b43deb28e..6032a7f7eb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md @@ -1,7 +1,7 @@ --- title: 'AesCbcParams' excerpt: 'AesCbcParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CBC algorithm.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/aescbcparams/ --- The `AesCbcParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-CBC algorithm. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md index 23888f8004..31cc86aecb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md @@ -1,7 +1,7 @@ --- title: 'AesGcmParams' excerpt: 'AesGcmParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-GCM algorithm.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/aesgcmparams/ --- The `AesGcmParams` object represents the object that should be passed as the algorithm parameter into the [encrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt) and [decrypt](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt) operation when using the AES-GCM algorithm. From 53c350f9a0b1b5a2443c2a6fae585d94f2fe5710 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 12:29:13 -0600 Subject: [PATCH 14/16] Update canonicalUrl for js-api 2 --- .../docs/02 javascript api/08 k6-html/10-parseHTML- src -.md | 2 +- .../docs/02 javascript api/08 k6-html/20-Element -k6-html-.md | 2 +- .../markdown/docs/02 javascript api/08 k6-html/50 Selection.md | 2 +- .../08 k6-html/50 Selection/Selection-attr-name-.md | 2 +- .../08 k6-html/50 Selection/Selection-children--selector--.md | 2 +- .../08 k6-html/50 Selection/Selection-closest-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-contents--.md | 2 +- .../08 k6-html/50 Selection/Selection-data--key--.md | 2 +- .../08 k6-html/50 Selection/Selection-each-fn-.md | 2 +- .../08 k6-html/50 Selection/Selection-eq-index-.md | 2 +- .../08 k6-html/50 Selection/Selection-filter-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-find-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-first--.md | 2 +- .../08 k6-html/50 Selection/Selection-get-index-.md | 2 +- .../08 k6-html/50 Selection/Selection-has-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-html--.md | 2 +- .../08 k6-html/50 Selection/Selection-is-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-last--.md | 2 +- .../08 k6-html/50 Selection/Selection-map-fn-.md | 2 +- .../08 k6-html/50 Selection/Selection-next--selector--.md | 2 +- .../08 k6-html/50 Selection/Selection-nextAll--selector--.md | 2 +- .../50 Selection/Selection-nextUntil-selector-filter.md | 2 +- .../08 k6-html/50 Selection/Selection-not-selector-.md | 2 +- .../08 k6-html/50 Selection/Selection-parent--selector--.md | 2 +- .../08 k6-html/50 Selection/Selection-parents--selector--.md | 2 +- .../50 Selection/Selection-parentsUntil-selector-filter.md | 2 +- .../08 k6-html/50 Selection/Selection-prev--selector--.md | 2 +- .../08 k6-html/50 Selection/Selection-prevAll--selector--.md | 2 +- .../50 Selection/Selection-prevUntil-selector-filter.md | 2 +- .../08 k6-html/50 Selection/Selection-serialize--.md | 2 +- .../08 k6-html/50 Selection/Selection-serializeArray--.md | 2 +- .../08 k6-html/50 Selection/Selection-serializeObject--.md | 2 +- .../08 k6-html/50 Selection/Selection-size--.md | 2 +- .../08 k6-html/50 Selection/Selection-slice-start -- end--.md | 2 +- .../08 k6-html/50 Selection/Selection-text--.md | 2 +- .../08 k6-html/50 Selection/Selection-toArray--.md | 2 +- .../08 k6-html/50 Selection/Selection-val--.md | 2 +- .../10-asyncRequest- method- url- -body-- -params- -.md | 2 +- .../docs/02 javascript api/09 k6-http/10-batch- requests -.md | 2 +- .../docs/02 javascript api/09 k6-http/10-cookieJar--.md | 2 +- .../09 k6-http/10-del- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-file- data- -filename-- -contentType- -.md | 2 +- .../02 javascript api/09 k6-http/10-get- url- -params- -.md | 2 +- .../02 javascript api/09 k6-http/10-haed- url- -params- -.md | 2 +- .../09 k6-http/10-options- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-patch- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-post- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-put- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-request- method- url- -body-- -params- -.md | 2 +- .../09 k6-http/10-set-response-callback-expectedStatuses.md | 2 +- .../markdown/docs/02 javascript api/09 k6-http/10-url- url- .md | 2 +- .../docs/02 javascript api/09 k6-http/11-expected-statuses.md | 2 +- .../markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md | 2 +- .../09 k6-http/60 CookieJar/CookieJar-clear-url.md | 2 +- .../09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md | 2 +- .../09 k6-http/60 CookieJar/CookieJar-delete-url-name.md | 2 +- .../60 CookieJar/CookieJar-set-url-name-value-options.md | 2 +- .../markdown/docs/02 javascript api/09 k6-http/60-FileData.md | 2 +- .../markdown/docs/02 javascript api/09 k6-http/60-Params.md | 2 +- .../markdown/docs/02 javascript api/09 k6-http/61 Response.md | 2 +- .../09 k6-http/61 Response/Response-clickLink- -params- -.md | 2 +- .../02 javascript api/09 k6-http/61 Response/Response-html--.md | 2 +- .../09 k6-http/61 Response/Response-json- -selector- -.md | 2 +- .../09 k6-http/61 Response/Response-submitForm- -params- -.md | 2 +- .../markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md | 2 +- .../10 k6-metrics/70 Counter/Counter-add-value- -tags--.md | 2 +- .../markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md | 2 +- .../10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md | 2 +- .../markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md | 2 +- .../10 k6-metrics/72 Rate/Rate-add-value- -tags--.md | 2 +- .../markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md | 2 +- .../10 k6-metrics/73 Trend/Trend-add-value- -tags--.md | 2 +- .../markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md | 2 +- .../20 Client/10-Client-load-importpaths-protoFiles copy.md | 2 +- .../11 k6-net-grpc/20 Client/11-Client-load-protoset.md | 2 +- .../20 Client/20-Client-connect-connect-address-params.md | 2 +- .../20 Client/30-Client-invokerpc-url-request-params.md | 2 +- .../11 k6-net-grpc/20 Client/40-Client-close.md | 2 +- .../markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md | 2 +- .../docs/02 javascript api/11 k6-net-grpc/30-Response.md | 2 +- .../docs/02 javascript api/11 k6-net-grpc/40-Constants.md | 2 +- .../12 k6-ws/10-connect- url- params- callback -.md | 2 +- src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md | 2 +- src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md | 2 +- .../docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md | 2 +- .../12 k6-ws/80 Socket/Socket-on-event- callback-.md | 2 +- .../docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md | 2 +- .../02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md | 2 +- .../02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md | 2 +- .../80 Socket/Socket-setInterval-callback- interval-.md | 2 +- .../12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md | 2 +- 91 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md index eb13480910..a743e37ecd 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md @@ -2,7 +2,7 @@ title: 'parseHTML( src )' description: 'Parse an HTML string and populate a Selection object.' excerpt: 'Parse an HTML string and populate a Selection object.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/parsehtml/ --- Parse an HTML string and populate a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md index becee187fc..419e1448d0 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md @@ -2,7 +2,7 @@ title: 'Element' description: 'An HTML DOM element as returned by the Selection API.' excerpt: 'An HTML DOM element as returned by the Selection API.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/element/ --- Represents a DOM element matched by a [Selection](/javascript-api/k6-html/selection), diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md index 16e7d6469e..aba758aef2 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md @@ -2,7 +2,7 @@ title: 'Selection' description: 'A jQuery-like API for accessing HTML DOM elements.' excerpt: 'A jQuery-like API for accessing HTML DOM elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/ --- Represents a set of nodes in a DOM tree. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md index 9af3da24ca..dd89fa86b6 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md @@ -1,7 +1,7 @@ --- title: 'Selection.attr(name)' excerpt: 'Get the value of an attribute for the first element in the Selection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-attr/ --- Get the value of an attribute for the first element in the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md index 367616b9c5..3f9b80a180 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.children([selector])' excerpt: 'Get the children of each element in the set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-children/ --- Get the children of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md index 004632d460..95d6b5dd70 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.closest(selector)' excerpt: 'For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-closest/ --- For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md index 76d2632cc1..71921ea312 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md @@ -1,7 +1,7 @@ --- title: 'Selection.contents()' excerpt: 'Get the children of each element in the set of matched elements, including text and comment nodes.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-contents/ --- Get the children of each element in the set of matched elements, including text and comment nodes. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md index a6a00218ab..f39abbdf43 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md @@ -1,7 +1,7 @@ --- title: 'Selection.data([key])' excerpt: 'Return the value at the named data store for the first element in the set of matched elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-data/ --- Return the value at the named data store for the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md index 1bdd6a48e0..b2878c1d52 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md @@ -1,7 +1,7 @@ --- title: 'Selection.each(fn)' excerpt: 'Iterate over a Selection, executing a function for each matched element.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-each/ --- Iterate over a [Selection](/javascript-api/k6-html/selection), executing a function for each matched element. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md index 57c374fb60..b85d6502b7 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md @@ -1,7 +1,7 @@ --- title: 'Selection.eq(index)' excerpt: 'Reduce the set of matched elements to the one at the specified index.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-eq/ --- Reduce the set of matched elements to the one at the specified index. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md index b0277cf162..d82a55cde7 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.filter(selector)' excerpt: 'Reduce the set of matched elements to those that match the selector or pass the function test.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-filter/ --- Reduce the set of matched elements to those that match the selector or pass the function's test. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md index f98a77df83..e3ea104cad 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.find(selector)' excerpt: 'Find the selection descendants, filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-find/ --- Find the selection descendants, filtered by a selector. It returns a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md index bbd3ba9111..0c21dc0371 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md @@ -1,7 +1,7 @@ --- title: 'Selection.first()' excerpt: 'Reduce the set of matched elements to the first in the set.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-first/ --- Reduce the set of matched elements to the first in the set. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md index df1cdd5f9c..210b945d63 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md @@ -1,7 +1,7 @@ --- title: 'Selection.get(index)' excerpt: 'Retrieve the Element matched by the selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-get/ --- Retrieve the Element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md index 3706325253..ff288ff2c1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.has(selector)' excerpt: 'Reduce the set of matched elements to those that have a descendant that matches the selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-has/ --- Reduce the set of matched elements to those that have a descendant that matches the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md index a4b6881644..c79f582c4f 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md @@ -1,7 +1,7 @@ --- title: 'Selection.html()' excerpt: 'Get the HTML contents of the first element in the set of matched elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-html/ --- Get the HTML contents of the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md index 7e3d4e33f8..fe396431ef 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.is(selector)' excerpt: 'Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-is/ --- Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md index 435bc306cb..40c08d2881 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md @@ -1,7 +1,7 @@ --- title: 'Selection.last()' excerpt: 'Reduce the set of matched elements to the final one in the set.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-last/ --- Reduce the set of matched elements to the final one in the set. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md index 47926e1fd8..48eb000250 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md @@ -1,7 +1,7 @@ --- title: 'Selection.map(fn)' excerpt: 'Pass each selection in the current matched set through a function, producing a new Array containing the return values.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-map/ --- Pass each selection in the current matched set through a function, producing a new Array containing the return values. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md index acb20c544e..46f49f29ad 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md @@ -2,7 +2,7 @@ title: 'Selection.next([selector])' excerpt: 'Get the immediately following sibling of each element in the set of matched elements Mimics jquery.next.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-next/ --- Get the immediately following sibling of each element in the set of matched elements diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md index 316bf241d4..7cfbbf3cc6 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.nextAll([selector])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-nextall/ --- Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md index e748f30de0..26e127f65b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md @@ -1,7 +1,7 @@ --- title: 'Selection.nextUntil([selector], [filter])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-nextuntil/ --- Get all following siblings of each element up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md index 79732c31a2..b172b72828 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md @@ -1,7 +1,7 @@ --- title: 'Selection.not(selector)' excerpt: 'Remove elements from the set of matched elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-not/ --- Remove elements from the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md index 8647f1b5ac..88f73f0935 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.parent([selector])' excerpt: 'Get the parent of each element in the current set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-parent/ --- Get the parent of each element in the current set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md index 4cac3315b8..163279ce63 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.parents([selector])' excerpt: 'Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-parents/ --- Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md index 465111f2b2..406c8f47d1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md @@ -1,7 +1,7 @@ --- title: 'Selection.parentsUntil([selector], [filter])' excerpt: 'Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-parentsuntil/ --- Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md index b3e305c1f6..63378dc1b4 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.prev([selector])' excerpt: 'Get the immediately preceding sibling of each element in the set of matched elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-prev/ --- Get the immediately preceding sibling of each element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md index d291b60feb..a7d0c277eb 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md @@ -1,7 +1,7 @@ --- title: 'Selection.prevAll([selector])' excerpt: 'Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-prevall/ --- Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md index a171e9d122..1877b3897b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md @@ -1,7 +1,7 @@ --- title: 'Selection.prevUntil([selector], [filter])' excerpt: 'Get all preceding siblings of each element up to but not including the element matched by the selector.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-prevuntil/ --- Get all preceding siblings of each element up to but not including the element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md index 59e25305d4..21d3267c13 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md @@ -1,7 +1,7 @@ --- title: 'Selection.serialize()' excerpt: 'Encode a set of form elements as a string in standard URL-encoded notation for submission.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-serialize/ --- Encode a set of form elements as a string in standard URL-encoded notation for submission. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md index bc2be2e487..2399a789bc 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md @@ -1,7 +1,7 @@ --- title: 'Selection.serializeArray()' excerpt: 'Encode a set of form elements as an array of names and values.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-serializearray/ --- Encode a set of form elements as an array of names and values (`[{ name: "name", value: "value" }, ...]`). diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md index d90d924ff1..b67a3bb97d 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md @@ -1,7 +1,7 @@ --- title: 'Selection.serializeObject()' excerpt: 'Encode a set of form elements as an object.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-serializeobject/ --- Encode a set of form elements as an object (`{ "inputName": "value", "checkboxName": "value" }`). diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md index ce93b99dd3..c3a2f0ba4a 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md @@ -1,7 +1,7 @@ --- title: 'Selection.size()' excerpt: 'Return the number of elements in the Selection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-size/ --- Return the number of elements in the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md index cfadc71407..cc9d6765ea 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md @@ -1,7 +1,7 @@ --- title: 'Selection.slice(start [, end])' excerpt: 'Reduce the set of matched elements to a subset specified by a range of indices.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-slice/ --- Reduce the set of matched elements to a subset specified by a range of indices. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md index 32757b0558..0a8321143c 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md @@ -1,7 +1,7 @@ --- title: 'Selection.text()' excerpt: 'Get the text content of the Selection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-text/ --- Get the text content of the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md index 32e06ee205..64d72525da 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md @@ -1,7 +1,7 @@ --- title: 'Selection.toArray()' excerpt: 'Retrieve all the elements contained in the Selection, as an array.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-toarray/ --- Retrieve all the elements contained in the Selection, as an array. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md index a51ac47c13..bafde1a74e 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md @@ -1,7 +1,7 @@ --- title: 'Selection.val()' excerpt: 'Get the current value of the first element in the set of matched elements.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-val/ --- Get the current value of the first element in the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md index 4269568baf..59f36f3184 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'asyncRequest( method, url, [body], [params] )' description: 'Issue any type of HTTP request asynchronously.' excerpt: 'Issue any type of HTTP request asynchronously.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/asyncrequest/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md index 5e1beb3629..6d630613fe 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md @@ -2,7 +2,7 @@ title: 'batch( requests )' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/batch/ --- Batch multiple HTTP requests together to issue them in parallel over multiple TCP connections. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md index 93e317cad1..82572d6f0b 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md @@ -3,7 +3,7 @@ title: 'cookieJar()' slug: '/javascript-api/k6-http/cookiejar-method' description: 'Get active HTTP Cookie jar.' excerpt: 'Get active HTTP Cookie jar.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar-method/ --- Get the active cookie jar. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md index b5558b0d58..e453253ec7 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'del( url, [body], [params] )' description: 'Issue an HTTP DELETE request.' excerpt: 'Issue an HTTP DELETE request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/del/ --- Make a DELETE request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md index 123eebb385..dd52ca2481 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md @@ -2,7 +2,7 @@ title: 'file( data, [filename], [contentType] )' description: 'Create a file object that is used for building multi-part requests.' excerpt: 'Create a file object that is used for building multi-part requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/file/ --- Create a file object that is used for building [Multipart requests (file uploads)](/examples/data-uploads#multipart-request-uploading-a-file). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md index 758aa33c0a..c75fc22a54 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md @@ -2,7 +2,7 @@ title: 'get( url, [params] )' description: 'Issue an HTTP GET request.' excerpt: 'Issue an HTTP GET request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/get/ --- Make a GET request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md index a0c5d12dda..a6f944ad21 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md @@ -2,7 +2,7 @@ title: 'head( url, [params] )' description: 'Issue an HTTP HEAD request.' excerpt: 'Issue an HTTP HEAD request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/head/ --- Make a HEAD request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md index 61a68f5986..97d45198d3 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: "options( url, [body], [params] )" description: "Issue an HTTP OPTIONS request." excerpt: "Issue an HTTP OPTIONS request." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/options/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md index 530389fb4f..2397b99776 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'patch( url, [body], [params] )' description: 'Issue an HTTP PATCH request.' excerpt: 'Issue an HTTP PATCH request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/patch/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md index ddc1509f2f..2aad946264 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'post( url, [body], [params] )' description: 'Issue an HTTP POST request.' excerpt: 'Issue an HTTP POST request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/post/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md index 7e52466771..4be880d25b 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'put( url, [body], [params] )' description: 'Issue an HTTP PUT request.' excerpt: 'Issue an HTTP PUT request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/put/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md index c4f2bc94f5..e5c0fccad1 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md @@ -2,7 +2,7 @@ title: 'request( method, url, [body], [params] )' description: 'Issue any type of HTTP request.' excerpt: 'Issue any type of HTTP request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/request/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md index c963da9e98..1d1b98ea9e 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md @@ -2,7 +2,7 @@ title: 'setResponseCallback( callback )' description: 'set responseCallback to mark responses as expected' excerpt: 'set responseCallback to mark responses as expected' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/set-response-callback/ --- Set the response callback to be called to determine if a response was expected/successful or not. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md index 091fdfb379..cafee8568d 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md @@ -2,7 +2,7 @@ title: 'url`url`' description: 'Creates a URL with a name tag.' excerpt: 'Creates a URL with a name tag.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/url/ --- URLs that contain dynamic parts can introduce a large number of unique URLs in the metrics stream. You can use `http.url` to set a consistent name tag in your requests to remedy this issue. Read more on [URL Grouping](/using-k6/http-requests#url-grouping). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md b/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md index b8fbebbfd5..725a95b605 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md @@ -2,7 +2,7 @@ title: 'expectedStatuses( statuses )' description: 'generates a responseCallback to check status codes' excerpt: 'generates a responseCallback to check status codes' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/expected-statuses/ --- Returns a callback to be used with [setResponseCallback](/javascript-api/k6-http/setresponsecallback) to mark responses as expected based only on their status codes. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md index 149bdc8b9a..9f99eaf3b4 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md @@ -3,7 +3,7 @@ title: 'CookieJar' head_title: 'CookieJar object' description: 'Used for storing cookies, set by the server and/or added by the client.' excerpt: 'Used for storing cookies, set by the server and/or added by the client.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/ --- _CookieJar_ is an object for storing cookies that are set by the server, added by the client, or both. As described in the how-to guide on using [Cookies](/using-k6/cookies), k6 handles cookies automatically by default. If you need more control over cookies you can however create your own cookie jar and select it as the active jar (instead of the default one created by k6) for one or more requests. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md index 88b802ea07..f8ad5e193f 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md @@ -1,7 +1,7 @@ --- title: 'CookieJar.clear(url)' excerpt: 'Delete all cookies for the given URL.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-clear/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md index e04400d170..3b2312ddd4 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md @@ -1,7 +1,7 @@ --- title: 'CookieJar.cookiesForURL(url)' excerpt: 'Get object with all cookies for the given URL, where the key is the cookie name and the value is an array.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-cookiesforurl/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md index 6bb9cd6d3b..1100da1b64 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md @@ -1,7 +1,7 @@ --- title: 'CookieJar.delete(url, name)' excerpt: 'Delete a cookie of a specified `name` for the given URL.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-delete/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md index cb5eaa543d..57e976f935 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md @@ -1,7 +1,7 @@ --- title: 'CookieJar.set(url, name, value, [options])' excerpt: 'Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-set/ --- Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md index 3561d3084e..e747a25acd 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md @@ -2,7 +2,7 @@ title: 'FileData' description: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' excerpt: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/filedata/ --- _FileData_ is an object for wrapping data representing a file when doing diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md index 15cddf1dd6..aff01e66e8 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md @@ -2,7 +2,7 @@ title: 'Params' description: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' excerpt: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/params/ --- _Params_ is an object used by the http.\* methods that generate HTTP requests. _Params_ contains request-specific options like e.g. HTTP headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md index a0df746957..23f5e60be0 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md @@ -2,7 +2,7 @@ title: 'Response' description: 'Returned by the http.* methods that generate HTTP requests.' excerpt: 'Returned by the http.* methods that generate HTTP requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/ --- Response is used by the http.\* methods that generate HTTP request. Those methods return one (or more, in the case of `http.batch()`) Response objects that contain HTTP response contents and performance timing measurements. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md index 387ac567c3..49b63131ff 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md @@ -1,7 +1,7 @@ --- title: 'Response.clickLink( [params] )' excerpt: 'Create and make a request corresponding to a link, found in the HTML of response, being clicked.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-clicklink/ --- Create and make a request corresponding to a link, found in the HTML of response, being clicked. By default it will look for the first `a` tag with a `href` attribute in the HTML, but this can be overridden using the `selector` option. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md index 67481344b0..07080fae00 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md @@ -1,7 +1,7 @@ --- title: 'Response.html()' excerpt: 'Parses response as HTML and populate a Selection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-html/ --- Parses response as HTML and populate a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md index 35d52e2db3..3a772cc238 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md @@ -1,7 +1,7 @@ --- title: 'Response.json( [selector] )' excerpt: 'Parses the response body data as JSON and returns a JS object or array.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-json/ --- Parses the response body data as JSON and returns a JS object or array. This call caches the deserialized JSON data, additional calls will return the cached data. An optional selector can be specified to extract a specific part of the data, see [here for selector syntax](https://github.com/tidwall/gjson#path-syntax). diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md index b485f763a9..8a618b147e 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md @@ -1,7 +1,7 @@ --- title: 'Response.submitForm( [params] )' excerpt: 'Fill in and submit form found in HTML of response.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-submitform/ --- Fill in and submit form found in HTML of response. By default it will look for the first `form` tag in the HTML, but this can be overridden using the `formSelector` option. To set/override the form fields you set properties of an object in the `fields` option. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md index 49fb79729c..b137fdfa99 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md @@ -1,7 +1,7 @@ --- title: 'Counter' excerpt: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/counter/ --- _Counter_ is an object for representing a custom cumulative counter metric. It is one of the four custom metric types. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md index b78dbcbc32..fc55b0d55d 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md @@ -1,7 +1,7 @@ --- title: "Counter.add(value, [tags])" excerpt: 'Add a value to the Counter metric.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/counter/counter-add/ --- Add a value to the `Counter` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md index f9845ee8b4..ce44f8d8c2 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md @@ -1,7 +1,7 @@ --- title: 'Gauge' excerpt: 'Gauge is an object for representing a custom metric holding only the latest value added.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/gauge/ --- _Gauge_ is an object for representing a custom metric holding only the latest value added. It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md index 2ce1cce212..06fafede93 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md @@ -1,7 +1,7 @@ --- title: "Gauge.add(value, [tags])" excerpt: 'Set the value of the Gauge metric.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/gauge/gauge-add/ --- Set the value of the `Gauge` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md index 3502cc988a..68ba194651 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md @@ -1,7 +1,7 @@ --- title: 'Rate' excerpt: 'Rate is an object for representing a custom metric keeping track of the percentage of added values that are non-zero.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/rate/ --- _Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md index a3d08a15fb..654d6bca84 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md @@ -1,7 +1,7 @@ --- title: "Rate.add(value, [tags])" excerpt: 'Set the value of the Rate metric.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/rate/rate-add/ --- Set the value of the `Rate` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md index 04dc9f3802..9b88dbb330 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md @@ -1,7 +1,7 @@ --- title: 'Trend' excerpt: 'Trend is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles)' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/trend/ --- _Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It is one of the four [custom metrics](/javascript-api/k6-metrics). diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md index 49656753c4..5092ed607c 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md @@ -1,7 +1,7 @@ --- title: "Trend.add(value, [tags])" excerpt: 'Add a value to the Trend metric.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/trend/trend-add/ --- Add a value to the `Trend` metric. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md index 1cd4d7a8c3..caacb1e747 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md @@ -1,7 +1,7 @@ --- title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/ --- diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index f2e77bdfde..7f96c1d14e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,7 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-load/ --- Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md index cff0498d99..4b8fc26658 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md @@ -1,7 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-load-protoset/ --- Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md index a4268dd0f4..d31e6501ed 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,7 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-connect/ --- Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown. Cannot be called during the [`init` phase](/using-k6/test-lifecycle). diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md index 75d24cc48e..16e49734f2 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,7 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-invoke/ --- Invokes an unary RPC request to the given method. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md index 4ec5a63846..0667e76099 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md @@ -1,7 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-close/ --- Close the connection to the gRPC service. Tear down all underlying connections. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md index e048f29cc6..d1f98718d4 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md @@ -2,7 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/params/ --- *Params* is an object used by the gRPC methods that generate RPC requests. *Params* contains request-specific options like headers that should be inserted into the request. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md index 2e9b5ac5f4..acb64ed98d 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md @@ -2,7 +2,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/response/ --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md index d3880c6bf9..91fe3e165e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md @@ -1,7 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/constants/ --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-net-grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md index 0cadc236bc..c3a3838994 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md @@ -2,7 +2,7 @@ title: 'connect( url, params, callback )' description: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/connect/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md index afde2343ea..03e719e91e 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md @@ -2,7 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/params/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md index 1fb6e5628c..32ac9eb921 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md @@ -1,7 +1,7 @@ --- title: 'Socket' excerpt: 'Socket is a WebSocket client to interact with a WebSocket connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md index 3daa78c758..302bdccbc8 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md @@ -1,7 +1,7 @@ --- title: 'Socket.close([code])' excerpt: 'Close the WebSocket connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-close/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md index 8e1169a5a6..b472cab052 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md @@ -1,7 +1,7 @@ --- title: 'Socket.on(event, callback)' excerpt: 'Set up callback functions for various events on the WebSocket connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-on/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md index 8b87471aa7..7863e19482 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md @@ -1,7 +1,7 @@ --- title: 'Socket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-ping/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md index 3d521ce905..20fdfb7ce6 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md @@ -1,7 +1,7 @@ --- title: 'Socket.send(data)' excerpt: 'Send a data string through the connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-send/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md index 0de320412a..158910cf93 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md @@ -1,7 +1,7 @@ --- title: 'Socket.sendBinary(data)' excerpt: 'Send binary data through the connection.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-sendbinary/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md index cbc4be5e6c..388219c13c 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md @@ -1,7 +1,7 @@ --- title: 'Socket.setInterval(callback, interval)' excerpt: 'Call a function repeatedly, while the WebSocket connection is open.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-setinterval/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md index e1883552c2..0077abb87a 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md @@ -1,7 +1,7 @@ --- title: 'Socket.setTimeout(callback, delay)' excerpt: 'Call a function at a later time, if the WebSocket connection is still open then.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-settimeout/ --- From 444b5da318c243eee512a829b063d553b151a840 Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 29 Nov 2023 12:44:44 -0600 Subject: [PATCH 15/16] Update canonicalUrl for jslib section --- src/data/markdown/docs/20 jslib/01 jslib/01 aws.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md | 2 +- .../markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md | 2 +- .../20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md | 2 +- .../20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md | 2 +- .../00 abortMultipartUpload(bucketName, objectKey, uploadId).md | 2 +- ...teMultipartUpload(bucketName, objectKey, uploadId, parts).md | 2 +- .../docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md | 2 +- .../S3Client/00 createMultipartUpload(bucketName, objectKey).md | 2 +- .../01 aws/S3Client/00 deleteObject(bucketName, objectKey).md | 2 +- .../01 aws/S3Client/00 getObject(bucketName, objectKey).md | 2 +- .../docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md | 2 +- .../01 aws/S3Client/00 listObjects(bucketName, [prefix]).md | 2 +- .../S3Client/00 putObject(bucketName, objectKey, data).md | 2 +- ...t(bucketName, objectKey, uploadId, partNumber, data) copy.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md | 2 +- .../20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md | 2 +- ...ret(name, secretString, description, [versionID], [tags]).md | 2 +- .../01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md | 2 +- .../01 aws/SecretsManagerClient/00 getSecret(secretID).md | 2 +- .../01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md | 2 +- .../00 putSecretValue(secretID, secretString, [versionID]).md | 2 +- .../20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md | 2 +- .../docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md | 2 +- .../docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md | 2 +- .../01 jslib/01 aws/SystemsManagerClient/00 getParameter.md | 2 +- .../01 aws/SystemsManagerClient/90 SystemsManagerParameter.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md | 2 +- .../02 httpx/08 asyncRequest(method, url, [body], [params]).md | 2 +- .../02 httpx/09 request(method, url, [body], [params]).md | 2 +- .../20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/11 post(url, [body], [params]).md | 2 +- .../20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/13 patch(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/14 delete(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/15 options(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/16 head(url, [body], [params]).md | 2 +- .../01 jslib/02 httpx/17 trace(url, [body], [params]).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md | 2 +- .../docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md | 2 +- .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md | 2 +- .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md | 2 +- .../markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md | 2 +- .../docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md | 2 +- src/data/markdown/docs/20 jslib/01 jslib/04 utils.md | 2 +- .../01 jslib/04 utils/41 randomIntBetween(min, max) copy.md | 2 +- .../docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md | 2 +- .../docs/20 jslib/01 jslib/04 utils/43 randomString(length).md | 2 +- .../markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md | 2 +- .../01 jslib/04 utils/45 findBetween(content, left, right).md | 2 +- ...stributionStages(maxVus, durationSeconds, numberOfStages).md | 2 +- src/data/markdown/docs/20 jslib/20 jslib.md | 2 +- 72 files changed, 72 insertions(+), 72 deletions(-) diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md index e912560c6a..09b4a1d73d 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md @@ -2,7 +2,7 @@ title: "aws" excerpt: "aws is a library implementing APIs for accessing a selection of AWS services" description: "aws is a library implementing APIs for accessing a selection of AWS servicese" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/ --- The `aws` module is a JavaScript library that wraps around some Amazon AWS services API. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md index efd37c9e8b..a7e4f46834 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md @@ -3,7 +3,7 @@ title: 'AWSConfig' head_title: 'AWSConfig' description: 'AWSConfig is used to configure an AWS service client instances' excerpt: 'AWSConfig is used to configure an AWS service client instances' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/awsconfig/ --- AWSConfig is used to configure an AWS service client instance, such as [S3Client](/javascript-api/jslib/aws/s3client) or [SecretsManagerClient](/javascript-api/jslib/aws/secretsmanagerclient). It effectively allows the user to select a [region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) they wish to interact with, and the AWS credentials they wish to use to authenticate. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md index ddc28c1b32..c96904cf4e 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md @@ -3,7 +3,7 @@ title: 'EventBridgeClient' head_title: 'EventBridgeClient' description: 'EventBridgeClient allows interacting with AWS EventBridge service' excerpt: 'EventBridgeClient class allows sending custom events to Amazon EventBridge so that they can be matched to rules.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/eventbridgeclient/ --- `EventBridgeClient` interacts with the AWS EventBridge service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md index 8b83f9d41f..86bcdac0c0 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md @@ -3,7 +3,7 @@ title: 'KMSClient' head_title: 'KMSClient' description: 'KMSClient allows interacting with the AWS Key Management Service' excerpt: 'KMSClient allows interacting with the AWS Key Management Service' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md index 0dd7ae2f0e..ce5905cd87 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md @@ -3,7 +3,7 @@ title: 'S3Client' head_title: 'S3Client' description: 'S3Client allows interacting with AWS S3 buckets and objects' excerpt: 'S3Client class allows interacting with AWS S3 buckets and objects' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md index e9250ecc30..88b6ae26a2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md @@ -3,7 +3,7 @@ title: 'SQSClient' head_title: 'SQSClient' description: 'SQSClient enables interaction with the AWS Simple Queue Service (SQS)' excerpt: 'SQSClient allows interacting with the AWS Simple Queue Service (SQS)' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/sqsclient/ --- `SQSClient` interacts with the AWS Simple Queue Service (SQS). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md index 0e7a34629f..86b6598453 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md @@ -3,7 +3,7 @@ title: 'SecretsManagerClient' head_title: 'SecretsManagerClient' description: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' excerpt: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/ --- `SecretsManagerClient` interacts with the AWS Secrets Manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md index e7435f1f44..d13aa7bb3b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md @@ -3,7 +3,7 @@ title: 'SignatureV4' head_title: 'SignatureV4' description: 'SignatureV4 is used to sign or pre-sign requests to AWS services using the Signature V4 algorithm' excerpt: 'SignatureV4 is used to sign and pre-sign requests to AWS services using the Signature V4 algorithm' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/signaturev4/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md index da96677cab..29eeeca0ab 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md @@ -3,7 +3,7 @@ title: 'SystemsManagerClient' head_title: 'SystemsManagerClient' description: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' excerpt: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/systemsmanagerclient/ --- `SystemsManagerClient` interacts with the AWS Systems Manager Service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md index 2cb1511813..d6662f80d2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md @@ -2,7 +2,7 @@ title: 'EventBridgeClient.putEvents' description: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' excerpt: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/eventbridgeclient/eventbridgeclient-putevents/ --- `EventBridgeClient.putEvents` sends custom events to Amazon EventBridge so that they can be matched to rules. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md index 5e5c5a9d4c..f34b1ad45d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md @@ -2,7 +2,7 @@ title: 'KMSClient.generateDataKey' description: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' excerpt: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmsclient-generatedatakey/ --- `KMSClient.generateDataKey` generates a symmetric data key for use outside of the AWS Key Management Service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md index 4ad9597413..9383fe2d04 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md @@ -2,7 +2,7 @@ title: 'KMSClient.listKeys()' description: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" excerpt: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmsclient-listkeys/ --- `KMSClient.listKeys()` lists all the Key Management Service keys in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md index f76412bad7..f244a7a868 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md @@ -2,7 +2,7 @@ title: 'KMSDataKey' description: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' excerpt: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmsdatakey/ --- `KMSClient.*DataKey` methods, querying Key Management Service data keys, return some KMSDataKey instances. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md index 7a790cb298..23a634c6df 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md @@ -2,7 +2,7 @@ title: 'KMSKey' description: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' excerpt: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmskey/ --- `KMSClient.*` methods querying Key Management Service keys return some `KMSKey` instances. Namely, `listKeys()` returns an array of `KMSKey` objects. The `KMSKey` object describes an Amazon Key Management Service key. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md index 47d83c079c..2c9b9bd98a 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md @@ -2,7 +2,7 @@ title: 'S3Client.abortMultipartUpload(bucketName, objectKey, uploadId)' description: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' excerpt: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-abortmultipartupload/ --- `S3Client.abortMultipartUpload` aborts a multipart upload to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md index 4a7d17d68e..6923bd85e7 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md @@ -2,7 +2,7 @@ title: 'S3Client.completeMultipartUpload(bucketName, objectKey, uploadId, parts)' description: 'S3Client.completeMultipartUpload uploads a multipar object to a bucket' excerpt: 'S3Client.completeMultipartUpload uploads a multipart object to a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-completemultipartupload/ --- `S3Client.completeMultipartUpload` uploads a multipart object to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md index 33e41c89d2..42af06dafc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md @@ -2,7 +2,7 @@ title: 'S3Client.copyObject' description: 'S3Client.copyObject copies an object from a bucket to another' excerpt: 'S3Client.copyObject copies an object from a bucket to another' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-copyobject/ --- `S3Client.copyObject` copies an object from one bucket to another. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md index e9106c118d..2da54b3c79 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md @@ -2,7 +2,7 @@ title: 'S3Client.createMultipartUpload(bucketName, objectKey)' description: 'S3Client.createMultipartUpload creates a multipart upload for an object key to a bucket' excerpt: 'S3Client.createMultipartUpload creates a multipart upload to a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-createmultipartupload/ --- `S3Client.createMultipartUpload` creates a new multipart upload for a given an object key in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md index c34367f0d2..e2cc9563bf 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md @@ -2,7 +2,7 @@ title: 'S3Client.deleteObject(bucketName, objectKey)' description: 'S3Client.deleteObject deletes an object from a bucket' excerpt: 'S3Client.deleteObject deletes an object from a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-deleteobject/ --- `S3Client.deleteObject` deletes an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md index a0cc4faaca..9c8d5e1007 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md @@ -2,7 +2,7 @@ title: 'S3Client.getObject(bucketName, objectKey)' description: 'S3Client.getObject downloads an object from a bucket' excerpt: 'S3Client.getObject downloads an object from a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-getobject/ --- `S3Client.getObject` downloads an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md index 0fa292dda4..c0f7b85f23 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md @@ -2,7 +2,7 @@ title: 'S3Client.listBuckets()' description: 'S3Client.listBuckets lists the buckets the authenticated user has access to' excerpt: 'S3Client.listBuckets lists the buckets the authenticated user has access to' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-listbuckets/ --- `S3Client.listBuckets()` lists the buckets the authenticated user has access to in the region set by the `S3Client` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md index ff325a1ac4..97a7f381d2 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md @@ -2,7 +2,7 @@ title: 'S3Client.listObjects(bucketName, [prefix])' description: 'S3Client.listObjects lists the objects contained in a bucket' excerpt: 'S3Client.listObjects lists the objects contained in a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-listobjects/ --- `S3Client.listObjects()` lists the objects contained in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md index 6f4492412e..0af26b2f46 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md @@ -2,7 +2,7 @@ title: 'S3Client.putObject(bucketName, objectKey, data)' description: 'S3Client.putObject uploads an object to a bucket' excerpt: 'S3Client.putObject uploads an object to a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-putobject/ --- `S3Client.putObject` uploads an object to a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md index f308b7bfe5..4565338265 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md @@ -2,7 +2,7 @@ title: 'S3Client.uploadPart(bucketName, objectKey, uploadId,partNumber, data)' description: 'S3Client.uploadPart a part in a multipart upload to a bucket' excerpt: 'S3Client.uploadPart a part in a multipart upload to a bucket' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-uploadpart/ --- `S3Client.uploadPart` uploads a part to multipart upload in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md index ec79ed4eb3..b9741f96ee 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md @@ -2,7 +2,7 @@ title: 'Bucket' description: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' excerpt: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/bucket/ --- Bucket is returned by the S3Client.* methods that query S3 buckets. Namely, `listBuckets()` returns an array of Bucket objects. The Bucket object describes an Amazon S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md index 3404e2d206..f13d0ca3dd 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md @@ -2,7 +2,7 @@ title: 'Object' description: "Object is returned by the S3Client.* methods who query S3 buckets' objects." excerpt: "Object is returned by the S3Client.* methods who query S3 buckets' objects." -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/object/ --- Object is returned by the S3Client.\* methods that query S3 buckets' objects. Namely, [`listObjects`](/javascript-api/jslib/aws/s3client/s3client-listobjects), [`getObject`](/javascript-api/jslib/aws/s3client/s3client-getobject), [`putObject`](/javascript-api/jslib/aws/s3client/s3client-putobject), diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md index b74b5e0a75..8404878163 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md @@ -2,7 +2,7 @@ title: 'S3MultipartUpload' description: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' excerpt: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3multipartupload/ --- S3MultipartUpload is returned by the [`createMultipartUpload(bucketName, objectKey)`](/javascript-api/jslib/aws/s3client/s3client-createmultipartupload/) method when creating a [multipart upload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md index e2eaddaf55..8f9555f3b8 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md @@ -2,7 +2,7 @@ title: 'S3Part' description: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' excerpt: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3part/ --- S3Part is returned by the [`uploadPart(bucketName, objectKey, uploadId, partNumber, data)`](/javascript-api/jslib/aws/s3client/s3client-uploadpart/) method when uploading a part to a multipart upload. The S3Part object describes an Amazon S3 Part. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md index f9117b9b26..3a8c146651 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md @@ -2,7 +2,7 @@ title: 'SQSClient.listQueues()' description: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" excerpt: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/sqsclient/sqsclient-listqueues/ --- `SQSClient.listQueues(options)` retrieves a list of available Amazon Simple Queue Service (SQS) queues. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md index 791628b560..a02ce04407 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md @@ -2,7 +2,7 @@ title: 'SQSClient.sendMessage()' description: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" excerpt: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/sqsclient/sqsclient-sendmessage/ --- `SQSClient.sendMessage(queueUrl, messageBody, options)` sends a message to the specified Amazon Simple Queue Service (SQS) queue. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md index ac4b4cdbfc..88d6e13a17 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md @@ -2,7 +2,7 @@ title: 'SecretsManagerClient.createSecret(name, secretString, description, [versionID], [tags])' description: 'SecretsManagerClient.createSecret creates a new secret' excerpt: 'SecretsManagerClient.createSecret creates a new secret' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-createsecret/ --- `SecretsManagerClient.createSecret` creates a secret in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md index cb5b2fd5fd..4cf9da46c3 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md @@ -2,7 +2,7 @@ title: 'SecretsManagerClient.deleteSecret(secretID, { recoveryWindow: 30, noRecovery: false}})' description: 'SecretsManagerClient.deleteSecret deletes a secret' excerpt: 'SecretsManagerClient.deleteSecret deletes a secret' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-deletesecret/ --- `SecretsManagerClient.deleteSecret` deletes a secret from AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md index a6218ee071..19a4744383 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md @@ -2,7 +2,7 @@ title: 'SecretsManagerClient.getSecret(secretID)' description: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' excerpt: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-getsecret/ --- `SecretsManagerClient.getSecret` downloads a secret from AWS secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md index 22880e45db..51fd76d4c4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md @@ -2,7 +2,7 @@ title: 'SecretsManagerClient.listSecrets()' description: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' excerpt: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-listsecrets/ --- `S3Client.listSecrets` lists the secrets the authenticated user has access to in the region set by the `SecretsManagerClient` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md index 54ef87c45f..8e82a18341 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md @@ -2,7 +2,7 @@ title: 'SecretsManagerClient.putSecretValue(secretID, secretString, [versionID], [tags])' description: "SecretsManagerClient.putSecretValue updates an existing secret's value" excerpt: "SecretsManagerClient.putSecretValue updates an existing secret's value" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-putsecretvalue/ --- `SecretsManagerClient.putSecretValue` updates a secret's value in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md index ef603112c7..77cb6e8666 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md @@ -2,7 +2,7 @@ title: 'Secret' description: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' excerpt: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secret/ --- Secret is returned by the SecretsManagerClient.* methods that query secrets. Namely, [listSecrets](/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-listsecrets/), diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md index 78d2f8740a..dfc9f3a2a3 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md @@ -2,7 +2,7 @@ title: 'presign' description: 'Signaturev4.presign pre-signs a URL with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign pre-signs a URL with the AWS Signature V4 algorithm' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/signaturev4/presign/ --- `SignatureV4.presign()` pre-signs a URL with the AWS Signature V4 algorithm. Given an HTTP request description, it returns a new HTTP request with the AWS signature v4 authorization added. It returns an Object holding a `url` containing the authorization information encoded in its query string, ready to use in the context of a k6 HTTP call. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md index b2ce5300fe..76b0425b2d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md @@ -2,7 +2,7 @@ title: 'sign' description: 'Signaturev4.sign signs an HTTP request with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign signs an HTTP request with the AWS Signature V4 algorithm' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/signaturev4/sign/ --- `SignatureV4.sign()` signs an HTTP request with the AWS Signature V4 algorithm. Given an HTTP request description, it returns a new HTTP request with the AWS signature v4 protocol headers added. It returns an Object holding a `url` and a `headers` properties, ready to use in the context of k6's HTTP call. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md index 59b88f669d..6270d01932 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md @@ -2,7 +2,7 @@ title: 'SystemsManagerClient.getParameter()' description: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" excerpt: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/systemsmanagerclient/systemsmanagerclient-getparameter/ --- `SystemsManagerClient.getParameter` gets a Systems Manager parameter in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md index fa6b9217b6..b51a8d597a 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md @@ -2,7 +2,7 @@ title: 'SystemsManagerParameter' description: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query parameters' excerpt: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query KMS parameters' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/systemsmanagerclient/systemsmanagerparameter/ --- `SystemsManagerParameter.*` methods querying the Systems Manager Service parameters return some `SystemsManagerParameter` instances. Namely, `getParameter` returns an array of `SystemsManagerParameter` objects. The `SystemsManagerParameter` object describes an Amazon Systems Manager Service parameter. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md index db322771d3..b935bd81b4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md @@ -1,7 +1,7 @@ --- title: "httpx" excerpt: "httpx is a wrapper library around the native k6 http module" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/ --- The `httpx` module is an external JavaScript library that wraps around the native [k6/http](/javascript-api/k6-http) module. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md index 3bc0f2217f..3448c14e76 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md @@ -3,7 +3,7 @@ title: 'asyncRequest(method, url, [body], [params])' head_title: 'httpx.asyncRequest()' description: 'Generic method for making asynchronous HTTP requests' excerpt: 'Generic method for making asynchronous HTTP requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/asyncrequest/ --- Generic method for making arbitrary asynchronous HTTP requests. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md index 61422d6317..c0c0b59710 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md @@ -3,7 +3,7 @@ title: 'request(method, url, [body], [params])' head_title: 'httpx.request()' description: 'Generic method for making arbitrary HTTP requests' excerpt: 'Generic method for making arbitrary HTTP requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/request/ --- Generic method for making arbitrary HTTP requests. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md index f8666efe78..64232c1287 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md @@ -2,7 +2,7 @@ title: 'get(url, [body], [params])' description: 'httpx.get makes GET requests' excerpt: 'httpx.get makes GET requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/get/ --- `session.get(url, body, params)` makes a GET request. Only the URL parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md index befc7c67fd..8035ceb280 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md @@ -3,7 +3,7 @@ title: 'post(url, [body], [params])' head_title: 'httpx.post' description: 'httpx.post makes POST requests' excerpt: 'httpx.post makes POST requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/post/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md index 9bf15a74f1..a639d731e9 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md @@ -3,7 +3,7 @@ title: 'put(url, [body], [params])' head_title: 'httpx.put' description: 'httpx.put makes PUT requests' excerpt: 'httpx.put makes PUT requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/put/ --- `session.put(url, body, params)` makes a PUT request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md index 47904e77d0..284dc5ee54 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md @@ -3,7 +3,7 @@ title: 'patch(url, [body], [params])' head_title: 'httpx.patch' description: 'httpx.patch makes PATCH requests' excerpt: 'httpx.patch makes PATCH requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/patch/ --- `session.patch(url, body, params)` makes a PATCH request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md index cee0ddba19..9957abce3d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md @@ -2,7 +2,7 @@ title: 'delete(url, [body], [params])' description: 'httpx.delete makes DELETE requests' excerpt: 'httpx.delete makes DELETE requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/delete/ --- `session.delete(url, body, params)` makes a DELETE request. Only the first parameter is required. Body is discouraged. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md index 8ec0eee4ac..6657b4880d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md @@ -2,7 +2,7 @@ title: 'options(url, [body], [params])' description: 'httpx.options makes OPTIONS requests' excerpt: 'httpx.options makes OPTIONS requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/options/ --- `session.options(url, body, params)` makes an OPTIONS request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md index 9b34ed2254..ae5aecc63d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md @@ -2,7 +2,7 @@ title: 'head(url, [body], [params])' description: 'httpx.head makes HEAD requests' excerpt: 'httpx.head makes HEAD requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/head/ --- `session.head(url, body, params)` makes a HEAD request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md index b133886286..84c22d6302 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md @@ -2,7 +2,7 @@ title: 'trace(url, [body], [params])' description: 'httpx.trace makes TRACE requests' excerpt: 'httpx.trace makes TRACE requests' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/trace/ --- `session.trace(url, body, params)` makes a TRACE request. Only the first parameter is required diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md index 8fedaf4892..4c44a8e702 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md @@ -3,7 +3,7 @@ title: 'batch( requests )' head_title: 'httpx.batch(requests)' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/batch/ --- Batch multiple HTTP requests together, to issue them in parallel over multiple TCP connections. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md index 803a169ab1..ccc7049695 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md @@ -2,7 +2,7 @@ title: 'setBaseUrl( url )' description: 'sets the base URL for the session' excerpt: 'sets the base URL for the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/setbaseurl/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md index daa4a0cb31..8eecf55a68 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md @@ -2,7 +2,7 @@ title: 'addHeader( key, value )' description: 'adds a header to the session' excerpt: 'adds a header to the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addheader/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md index a48b8ce249..e61e9d4e06 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md @@ -2,7 +2,7 @@ title: 'addHeaders( object )' description: 'adds multiple headers to the session' excerpt: 'adds multiple headers to the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addheaders/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md index 035687c289..f9090fcbd8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md @@ -2,7 +2,7 @@ title: 'clearHeader( name )' description: 'removes header from the session' excerpt: 'removes header from the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/clearheader/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md index 8205f4b50e..8939f14bdd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md @@ -2,7 +2,7 @@ title: 'addTag( key, value )' description: 'adds a tag to the session' excerpt: 'adds a tag to the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addtag/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md index d20a9fc721..dbbc4ef0dd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md @@ -2,7 +2,7 @@ title: 'addTags( object )' description: 'adds multiple tags to the session' excerpt: 'adds multiple tags to the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addtags/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md index 7419541ae4..5928f34b29 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md @@ -2,7 +2,7 @@ title: 'clearTag( name )' description: 'removes tag from the session' excerpt: 'removes tag from the session' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/cleartag/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md index 7638b1579c..dde20d9722 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md @@ -1,7 +1,7 @@ --- title: "k6chaijs" excerpt: "Assertion library for k6" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/ --- `k6chaijs` is a library to provide BDD assertions in k6 based on [ChaiJS](https://www.chaijs.com/). You can use `k6chaijs` as an alternative to [check](/javascript-api/k6/check/) and [group](/javascript-api/k6/group/). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md index 45e78f577e..5a999f1b4c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md @@ -1,7 +1,7 @@ --- title: 'config' excerpt: 'Global configuration options for k6Chaijs' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/config/ --- Chai exposes a few options to change the library configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md index 16a5355c13..a9557d05cc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md @@ -1,7 +1,7 @@ --- title: 'describe( name, function )' excerpt: 'Entry point for creating test cases.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/describe/ --- `describe` is a wrapper of [group](/javascript-api/k6/group) that adds the ability to: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md index fb53852ba2..ab491cc870 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md @@ -1,7 +1,7 @@ --- title: 'expect()' excerpt: 'BDD style to construct k6 assertions.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/expect/ --- `expect` is a wrapper of [check](/javascript-api/k6/check/) to provide BDD style of assertions in k6. It implements the [Chai Expect API](https://www.chaijs.com/api/bdd/): diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md index e215d55ed8..8b2b6bd9a8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md @@ -1,7 +1,7 @@ --- title: 'Error handling' excerpt: 'How to handle errors in k6chaijs.' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/error-handling/ --- When you execute a load test, your System Under Test (SUT) may often become over saturated and start responding with errors. In this case, you need to consider what the iteration execution should do: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md index a0bab344a8..16f98949d1 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md @@ -1,7 +1,7 @@ --- title: "utils" excerpt: "A collection of small utility functions useful during load testing with k6. " -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/ --- The `utils` module contains number of small utility functions useful in every day load testing. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md index 819029450c..032106697c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md @@ -2,7 +2,7 @@ title: 'randomIntBetween(min, max)' description: 'Random integer' excerpt: 'Random integer' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomintbetween/ --- Function returns a random number between the specified range. The returned value is no lower than (and may possibly equal) min, and is no bigger than (and may possibly equal) max. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md index 15e3022af7..2e7bc32f9b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md @@ -2,7 +2,7 @@ title: 'randomItem(array)' description: 'Random item from an array' excerpt: 'Random item from an array' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomitem/ --- Function returns a random item from an array. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md index 5263910d76..383c9cc46b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md @@ -2,7 +2,7 @@ title: 'randomString(length, [charset])' description: 'Random string' excerpt: 'Random string' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomstring/ --- Function returns a random string of a given length, optionally selected from a custom character set. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md index 495d3ddb09..676708bca4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md @@ -2,7 +2,7 @@ title: 'uuidv4()' description: 'uuid v4 function' excerpt: 'uuid v4 function' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/uuidv4/ --- Function returns a random uuid v4 in a string form. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md index d1a20d3428..580633f2a7 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md @@ -2,7 +2,7 @@ title: 'findBetween(content, left, right, [repeat])' description: 'findBetween function' excerpt: 'findBetween function' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/findbetween/ --- Function that returns a string from between two other strings. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md index c53bc270d1..c8939a4bcc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md @@ -2,7 +2,7 @@ title: 'normalDistributionStages(maxVus, durationSeconds, [numberOfStages])' description: 'normalDistributionStages function' excerpt: 'normalDistributionStages function' -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/normaldistributionstages/ --- Function to create [stages](/using-k6/options/#stages) producing a _normal distribution (bell-curve)_ of VUs for a test. diff --git a/src/data/markdown/docs/20 jslib/20 jslib.md b/src/data/markdown/docs/20 jslib/20 jslib.md index d0d810d3da..1ad5163db5 100644 --- a/src/data/markdown/docs/20 jslib/20 jslib.md +++ b/src/data/markdown/docs/20 jslib/20 jslib.md @@ -1,7 +1,7 @@ --- title: "jslib" excerpt: "External JavaScript libraries for k6" -canonicalUrl: https://grafana.com/docs/k6 +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/ --- The [jslib.k6.io](https://jslib.k6.io/) is a collection of external JavaScript libraries that can be [directly imported](/using-k6/modules#remote-http-s-modules) in k6 scripts. From 5a0e0be4627b09fc5ba29cbd33f7560f128e008a Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Fri, 1 Dec 2023 15:18:14 -0600 Subject: [PATCH 16/16] Fix jack's script findings --- .../translated-guides/en/02 Using k6/17 HTTP debugging.md | 1 - .../en/02 Using k6/19 Javascript Compatibility Mode.md | 1 - .../en/02 Using k6/20 Workaround Iteration Duration.md | 1 - .../en/07 Testing Guides/01 API load testing.md | 3 ++- .../markdown/translated-guides/en/08 Misc/04 k6 REST API.md | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md b/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md index 8307abe3ce..a304fde4c3 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/17 HTTP debugging.md @@ -2,7 +2,6 @@ title: 'HTTP debugging' excerpt: "Things don't always work as expected. For those cases there is a handy CLI flag, --http-debug, that is good to be aware of." hideFromSidebar: true -canonicalUrl: https://grafana.com/docs/k6 --- Things don't always work as expected. For those cases, enabling the [--http-debug](/using-k6/k6-options/reference#http-debug) option will log HTTP requests and responses to help you debugging the script. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md b/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md index 629bbdd60b..5df66b3d2f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/19 Javascript Compatibility Mode.md @@ -2,7 +2,6 @@ title: JavaScript Compatibility Mode excerpt: 'k6 supports running test scripts with different ECMAScript compatibility modes using --compatibility-mode' hideFromSidebar: true -canonicalUrl: https://grafana.com/docs/k6 --- You can run test scripts with different ECMAScript compatibility modes with the diff --git a/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md b/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md index 537203965b..0b5ef88c02 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/20 Workaround Iteration Duration.md @@ -2,7 +2,6 @@ title: Workaround to calculate iteration_duration excerpt: 'A threshold can calculate the value of a metric excluding the results of the setup and teardown functions' hideFromSidebar: true -canonicalUrl: https://grafana.com/docs/k6 --- A common requested case is to track the `iteration_duration` metric without including time spent for `setup` and `teardown` functions. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md index 61fbf02cfd..0f58fb69fa 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md @@ -2,7 +2,8 @@ title: 'API load testing' head_title: 'Intro to API Load Testing: The k6 Guide' excerpt: 'Load testing APIs has many facets. This guide introduces you to performance testing and provides best practices to load test your APIs with k6.' -canonicalUrl: https://grafana.com/docs/k6 +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- An API load test generally starts with small loads on isolated components. diff --git a/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md b/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md index 82fe9e5539..95a40255ba 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md +++ b/src/data/markdown/translated-guides/en/08 Misc/04 k6 REST API.md @@ -4,7 +4,6 @@ excerpt: 'With this API you can see and control different execution aspects like number of VUs, pause or resume the test, list groups, set and get the setup data and more.' hideFromSidebar: true -canonicalUrl: https://grafana.com/docs/k6 --- When k6 starts, it spins up an HTTP server with a REST API that can be used to control some