From e0d694d3eeca34f51f48c1ff040677458d4fe9f2 Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:14:24 +0200 Subject: [PATCH] Migration: frontend changes to redirect to Grafana Docs (v2) (#1670) * Create redirects * Layout changes * Rollback `announcementBanner` * Include warning blockquote on homepage --- gatsby-node.js | 18 +- src/components/blocks/footer/footer.view.js | 506 ++++++------------ .../doc-welcome/outdated-blockquote/index.js | 1 + .../outdated-blockquote.view.js | 27 + .../doc-welcome/use-cases/use-cases.view.js | 47 +- .../docs/02 javascript api/01 Init context.md | 1 + .../02 javascript api/01 Init context/open.md | 1 + .../markdown/docs/02 javascript api/02 k6.md | 1 + .../02 k6/check- val- sets- -tags- -.md | 1 + .../02 javascript api/02 k6/fail- -err- -.md | 1 + .../02 k6/group- name- fn -.md | 1 + .../02 javascript api/02 k6/random-seed.md | 1 + .../02 javascript api/02 k6/sleep- t -.md | 1 + .../docs/02 javascript api/03 k6-crypto.md | 1 + .../01-createHash- algorithm -.md | 1 + .../02-createHMAC- algorithm- secret -.md | 1 + ...gorithm- secret- data- outputEncoding -.md | 1 + .../04-md4- input- outputEncoding -.md | 1 + .../05-md5- input- outputEncoding -.md | 1 + .../03 k6-crypto/06-randomBytes- int -.md | 1 + .../07-ripemd160- input- outputEncoding -.md | 1 + .../08-sha1- input- outputEncoding -.md | 1 + .../09-sha256- input- outputEncoding -.md | 1 + .../10-sha384- input- outputEncoding -.md | 1 + .../11-sha512- input- outputEncoding -.md | 1 + .../12-sha512_256- input- outputEncoding -.md | 1 + .../13-sha512_224- input- outputEncoding -.md | 1 + .../03 k6-crypto/80-Hasher.md | 1 + .../docs/02 javascript api/04 k6-data.md | 1 + .../04 k6-data/1-SharedArray.md | 1 + .../docs/02 javascript api/05 k6-encoding.md | 1 + .../b64decode- input- -encoding- -format-.md | 1 + .../b64encode- input- -encoding- -.md | 1 + .../docs/02 javascript api/06 k6-execution.md | 1 + .../02 javascript api/07 k6-experimental.md | 1 + .../07 k6-experimental/01 browser.md | 1 + .../01 browser/02 BrowserContext.md | 1 + .../02 BrowserContext/addCookies.md | 1 + .../02 BrowserContext/clearCookies.md | 1 + .../02 BrowserContext/clearPermissions.md | 1 + .../01 browser/02 BrowserContext/close.md | 1 + .../01 browser/02 BrowserContext/cookie.md | 1 + .../01 browser/02 BrowserContext/cookies.md | 1 + .../02 BrowserContext/grantPermissions.md | 1 + .../01 browser/02 BrowserContext/newPage.md | 1 + .../01 browser/02 BrowserContext/pages.md | 1 + .../setDefaultNavigationTimeout.md | 1 + .../02 BrowserContext/setDefaultTimeout.md | 1 + .../02 BrowserContext/setGeolocation.md | 1 + .../02 BrowserContext/setOffline.md | 1 + .../02 BrowserContext/waitForEvent.md | 1 + .../01 browser/03-console-message.md | 1 + .../01 browser/04-element-handle.md | 1 + .../07 k6-experimental/01 browser/05-frame.md | 1 + .../01 browser/06-js-handle.md | 1 + .../01 browser/07-keyboard.md | 1 + .../01 browser/08 Locator.md | 1 + .../01 browser/08 Locator/check--options--.md | 1 + .../01 browser/08 Locator/click--options--.md | 1 + .../08 Locator/dblclick--options--.md | 1 + .../08 Locator/dispatchevent--options--.md | 1 + .../01 browser/08 Locator/fill--options--.md | 1 + .../01 browser/08 Locator/focus--options--.md | 1 + .../08 Locator/getattribute--options--.md | 1 + .../01 browser/08 Locator/hover--options--.md | 1 + .../08 Locator/innerhtml--options--.md | 1 + .../08 Locator/innertext--options--.md | 1 + .../08 Locator/inputvalue--options--.md | 1 + .../08 Locator/ischecked--options--.md | 1 + .../08 Locator/isdisabled--options--.md | 1 + .../08 Locator/iseditable--options--.md | 1 + .../08 Locator/isenabled--options--.md | 1 + .../08 Locator/ishidden--options--.md | 1 + .../08 Locator/isvisible--options--.md | 1 + .../01 browser/08 Locator/press--options--.md | 1 + .../08 Locator/selectoption--options--.md | 1 + .../01 browser/08 Locator/tap--options--.md | 1 + .../08 Locator/textcontent--options--.md | 1 + .../01 browser/08 Locator/type--options--.md | 1 + .../08 Locator/uncheck--options--.md | 1 + .../08 Locator/waitfor--options--.md | 1 + .../07 k6-experimental/01 browser/09-mouse.md | 1 + .../07 k6-experimental/01 browser/10 Page.md | 1 + .../01 browser/10 Page/bringToFront.md | 1 + .../01 browser/10 Page/check--options--.md | 1 + .../01 browser/10 Page/click--options--.md | 1 + .../01 browser/10 Page/close.md | 1 + .../01 browser/10 Page/content.md | 1 + .../01 browser/10 Page/context.md | 1 + .../01 browser/10 Page/dblclick--options--.md | 1 + .../10 Page/dispatchEvent--options--.md | 1 + .../01 browser/10 Page/dollar--options--.md | 1 + .../10 Page/doubledollar--options--.md | 1 + .../10 Page/emulateMedia--options--.md | 1 + .../emulateVisionDeficiency--type--.md | 1 + .../01 browser/10 Page/evaluate.md | 1 + .../01 browser/10 Page/evaluateHandle.md | 1 + .../01 browser/10 Page/fill--options--.md | 1 + .../01 browser/10 Page/focus--options--.md | 1 + .../01 browser/10 Page/frames.md | 1 + .../10 Page/getattribute--options--.md | 1 + .../01 browser/10 Page/goto--options--.md | 1 + .../01 browser/10 Page/hover--options--.md | 1 + .../10 Page/innerhtml--options--.md | 1 + .../10 Page/innertext--options--.md | 1 + .../10 Page/inputvalue--options--.md | 1 + .../10 Page/ischecked--options--.md | 1 + .../01 browser/10 Page/isclosed--options--.md | 1 + .../10 Page/isdisabled--options--.md | 1 + .../10 Page/iseditable--options--.md | 1 + .../10 Page/isenabled--options--.md | 1 + .../01 browser/10 Page/ishidden--options--.md | 1 + .../10 Page/isvisible--options--.md | 1 + .../01 browser/10 Page/keyboard.md | 1 + .../01 browser/10 Page/locator.md | 1 + .../01 browser/10 Page/mainframe.md | 1 + .../01 browser/10 Page/mouse.md | 1 + .../01 browser/10 Page/on.md | 1 + .../01 browser/10 Page/opener.md | 1 + .../01 browser/10 Page/press--options--.md | 1 + .../01 browser/10 Page/reload--options--.md | 1 + .../10 Page/screenshot--options--.md | 1 + .../10 Page/selectoption--options--.md | 1 + .../10 Page/setcontent--options--.md | 1 + .../10 Page/setdefaultnavigationtimeout.md | 1 + .../01 browser/10 Page/setdefaulttimeout.md | 1 + .../10 Page/setextrahttpheaders--options--.md | 1 + .../01 browser/10 Page/setviewportsize.md | 1 + .../01 browser/10 Page/tap--options--.md | 1 + .../10 Page/textcontent--options--.md | 1 + .../01 browser/10 Page/title.md | 1 + .../01 browser/10 Page/touchscreen.md | 1 + .../01 browser/10 Page/type--options--.md | 1 + .../01 browser/10 Page/uncheck--options--.md | 1 + .../01 browser/10 Page/url.md | 1 + .../01 browser/10 Page/viewportsize.md | 1 + .../10 Page/waitforfunction--options--.md | 1 + .../10 Page/waitforloadstate--options--.md | 1 + .../10 Page/waitfornavigation--options--.md | 1 + .../10 Page/waitforselector--options--.md | 1 + .../10 Page/waitfortimeout--options--.md | 1 + .../01 browser/10 Page/workers.md | 1 + .../01 browser/11 Request.md | 1 + .../01 browser/11 Request/size.md | 1 + .../01 browser/12-response.md | 1 + .../01 browser/13-touchscreen.md | 1 + .../01 browser/14 Worker.md | 1 + .../07 k6-experimental/01 browser/context.md | 1 + .../01 browser/isconnected.md | 1 + .../01 browser/newcontext--options--.md | 1 + .../01 browser/newpage--options--.md | 1 + .../07 k6-experimental/01 browser/version.md | 1 + .../07 k6-experimental/02 grpc.md | 1 + .../07 k6-experimental/02 grpc/10-Client.md | 1 + ...Client-load-importpaths-protoFiles copy.md | 1 + .../20 Client/11-Client-load-protoset.md | 1 + ...0-Client-connect-connect-address-params.md | 1 + .../30-Client-invokerpc-url-request-params.md | 1 + .../02 grpc/20 Client/40-Client-close.md | 1 + .../07 k6-experimental/02 grpc/20-Params.md | 1 + .../02 grpc/30 Stream/10-Stream-on.md | 1 + .../02 grpc/30 Stream/15-Stream-error.md | 1 + .../02 grpc/30 Stream/40-Stream-end.md | 1 + .../02 grpc/30 Stream/40-Stream-write.md | 1 + .../07 k6-experimental/02 grpc/30-Response.md | 1 + .../02 grpc/40-Constants.md | 1 + .../07 k6-experimental/02 grpc/50-Stream.md | 1 + .../07 k6-experimental/02 redis.md | 1 + .../07 k6-experimental/02 redis/10 Client.md | 1 + .../02 redis/10 Client/Client-decr.md | 1 + .../02 redis/10 Client/Client-decrby.md | 1 + .../02 redis/10 Client/Client-del.md | 1 + .../02 redis/10 Client/Client-exists.md | 1 + .../02 redis/10 Client/Client-expire.md | 1 + .../02 redis/10 Client/Client-get.md | 1 + .../02 redis/10 Client/Client-getdel.md | 1 + .../02 redis/10 Client/Client-getset.md | 1 + .../02 redis/10 Client/Client-hdel.md | 1 + .../02 redis/10 Client/Client-hget.md | 1 + .../02 redis/10 Client/Client-hgetall.md | 1 + .../02 redis/10 Client/Client-hincrby.md | 1 + .../02 redis/10 Client/Client-hkeys.md | 1 + .../02 redis/10 Client/Client-hlen.md | 1 + .../02 redis/10 Client/Client-hset.md | 1 + .../02 redis/10 Client/Client-hsetnx.md | 1 + .../02 redis/10 Client/Client-hvals.md | 1 + .../02 redis/10 Client/Client-incr.md | 1 + .../02 redis/10 Client/Client-incrby.md | 1 + .../02 redis/10 Client/Client-lindex.md | 1 + .../02 redis/10 Client/Client-llen.md | 1 + .../02 redis/10 Client/Client-lpop.md | 1 + .../02 redis/10 Client/Client-lpush.md | 1 + .../02 redis/10 Client/Client-lrange.md | 1 + .../02 redis/10 Client/Client-lrem.md | 1 + .../02 redis/10 Client/Client-lset.md | 1 + .../02 redis/10 Client/Client-mget.md | 1 + .../02 redis/10 Client/Client-persist.md | 1 + .../02 redis/10 Client/Client-randomkey.md | 1 + .../02 redis/10 Client/Client-rpop.md | 1 + .../02 redis/10 Client/Client-rpush.md | 1 + .../02 redis/10 Client/Client-sadd.md | 1 + .../02 redis/10 Client/Client-sendCommand.md | 1 + .../02 redis/10 Client/Client-set.md | 1 + .../02 redis/10 Client/Client-sismember.md | 1 + .../02 redis/10 Client/Client-smembers.md | 1 + .../02 redis/10 Client/Client-spop.md | 1 + .../02 redis/10 Client/Client-srandmember.md | 1 + .../02 redis/10 Client/Client-srem.md | 1 + .../02 redis/10 Client/Client-ttl.md | 1 + .../02 redis/20 Redis options.md | 1 + .../07 k6-experimental/03 timers.md | 1 + .../07 k6-experimental/04 tracing.md | 1 + .../04 tracing/01 instrumentHTTP.md | 1 + .../04 tracing/02 Client.md | 1 + .../04 tracing/03 Options.md | 1 + .../07 k6-experimental/05 websockets.md | 1 + .../10-WebSocket-addEventListener.md | 1 + .../10 WebSocket/10-WebSocket-send-data-.md | 1 + .../10 WebSocket/15-WebSocket-close--.md | 1 + .../10 WebSocket/20-WebSocket-ping--.md | 1 + .../10 WebSocket/30-WebSocket-onclose.md | 1 + .../10 WebSocket/30-WebSocket-onerror.md | 1 + .../10 WebSocket/30-WebSocket-onmessage.md | 1 + .../10 WebSocket/30-WebSocket-onopen.md | 1 + .../10 WebSocket/30-WebSocket-onping.md | 1 + .../10 WebSocket/30-WebSocket-onpong.md | 1 + .../05 websockets/10-WebSocket.md | 1 + .../05 websockets/20-Params.md | 1 + .../07 k6-experimental/06 webcrypto.md | 1 + .../06 webcrypto/01 Crypto.md | 1 + .../01 Crypto/01 getRandomValues.md | 1 + .../06 webcrypto/01 Crypto/02 randomUUID.md | 1 + .../06 webcrypto/02 SubtleCrypto.md | 1 + .../02 SubtleCrypto/01 decrypt.md | 1 + .../06 webcrypto/02 SubtleCrypto/02 digest.md | 1 + .../02 SubtleCrypto/03 encrypt.md | 1 + .../02 SubtleCrypto/04 exportKey.md | 1 + .../02 SubtleCrypto/05 generateKey.md | 1 + .../02 SubtleCrypto/06 importKey.md | 1 + .../06 webcrypto/02 SubtleCrypto/07 sign.md | 1 + .../06 webcrypto/02 SubtleCrypto/08 verify.md | 1 + .../06 webcrypto/03 CryptoKey.md | 1 + .../06 webcrypto/04 AesKeyGenParams.md | 1 + .../06 webcrypto/05 HmacKeyGenParams.md | 1 + .../06 webcrypto/06 AesCtrParams.md | 1 + .../06 webcrypto/07 AesCbcParams.md | 1 + .../06 webcrypto/08 AesGcmParams.md | 1 + .../docs/02 javascript api/08 k6-html.md | 1 + .../08 k6-html/10-parseHTML- src -.md | 1 + .../08 k6-html/20-Element -k6-html-.md | 1 + .../08 k6-html/50 Selection.md | 1 + .../50 Selection/Selection-attr-name-.md | 1 + .../Selection-children--selector--.md | 1 + .../Selection-closest-selector-.md | 1 + .../50 Selection/Selection-contents--.md | 1 + .../50 Selection/Selection-data--key--.md | 1 + .../50 Selection/Selection-each-fn-.md | 1 + .../50 Selection/Selection-eq-index-.md | 1 + .../Selection-filter-selector-.md | 1 + .../50 Selection/Selection-find-selector-.md | 1 + .../50 Selection/Selection-first--.md | 1 + .../50 Selection/Selection-get-index-.md | 1 + .../50 Selection/Selection-has-selector-.md | 1 + .../50 Selection/Selection-html--.md | 1 + .../50 Selection/Selection-is-selector-.md | 1 + .../50 Selection/Selection-last--.md | 1 + .../50 Selection/Selection-map-fn-.md | 1 + .../Selection-next--selector--.md | 1 + .../Selection-nextAll--selector--.md | 1 + .../Selection-nextUntil-selector-filter.md | 1 + .../50 Selection/Selection-not-selector-.md | 1 + .../Selection-parent--selector--.md | 1 + .../Selection-parents--selector--.md | 1 + .../Selection-parentsUntil-selector-filter.md | 1 + .../Selection-prev--selector--.md | 1 + .../Selection-prevAll--selector--.md | 1 + .../Selection-prevUntil-selector-filter.md | 1 + .../50 Selection/Selection-serialize--.md | 1 + .../Selection-serializeArray--.md | 1 + .../Selection-serializeObject--.md | 1 + .../50 Selection/Selection-size--.md | 1 + .../Selection-slice-start -- end--.md | 1 + .../50 Selection/Selection-text--.md | 1 + .../50 Selection/Selection-toArray--.md | 1 + .../50 Selection/Selection-val--.md | 1 + .../docs/02 javascript api/09 k6-http.md | 1 + ...equest- method- url- -body-- -params- -.md | 1 + .../09 k6-http/10-batch- requests -.md | 1 + .../09 k6-http/10-cookieJar--.md | 1 + .../10-del- url- -body-- -params- -.md | 1 + ...file- data- -filename-- -contentType- -.md | 1 + .../09 k6-http/10-get- url- -params- -.md | 1 + .../09 k6-http/10-haed- url- -params- -.md | 1 + .../10-options- url- -body-- -params- -.md | 1 + .../10-patch- url- -body-- -params- -.md | 1 + .../10-post- url- -body-- -params- -.md | 1 + .../10-put- url- -body-- -params- -.md | 1 + ...equest- method- url- -body-- -params- -.md | 1 + ...-set-response-callback-expectedStatuses.md | 1 + .../09 k6-http/10-url- url- .md | 1 + .../09 k6-http/11-expected-statuses.md | 1 + .../09 k6-http/60 CookieJar.md | 1 + .../60 CookieJar/CookieJar-clear-url.md | 1 + .../CookieJar-cookiesForUrl-url.md | 1 + .../60 CookieJar/CookieJar-delete-url-name.md | 1 + .../CookieJar-set-url-name-value-options.md | 1 + .../09 k6-http/60-FileData.md | 1 + .../02 javascript api/09 k6-http/60-Params.md | 1 + .../09 k6-http/61 Response.md | 1 + .../Response-clickLink- -params- -.md | 1 + .../09 k6-http/61 Response/Response-html--.md | 1 + .../Response-json- -selector- -.md | 1 + .../Response-submitForm- -params- -.md | 1 + .../docs/02 javascript api/10 k6-metrics.md | 1 + .../10 k6-metrics/70 Counter.md | 1 + .../70 Counter/Counter-add-value- -tags--.md | 1 + .../10 k6-metrics/71 Gauge.md | 1 + .../71 Gauge/Gauge-add-value- -tags--.md | 1 + .../10 k6-metrics/72 Rate.md | 1 + .../72 Rate/Rate-add-value- -tags--.md | 1 + .../10 k6-metrics/73 Trend.md | 1 + .../73 Trend/Trend-add-value- -tags--.md | 1 + .../docs/02 javascript api/11 k6-net-grpc.md | 1 + .../11 k6-net-grpc/10-Client.md | 1 + ...Client-load-importpaths-protoFiles copy.md | 1 + .../20 Client/11-Client-load-protoset.md | 1 + ...0-Client-connect-connect-address-params.md | 1 + .../30-Client-invokerpc-url-request-params.md | 1 + .../20 Client/40-Client-close.md | 1 + .../11 k6-net-grpc/20-Params.md | 1 + .../11 k6-net-grpc/30-Response.md | 1 + .../11 k6-net-grpc/40-Constants.md | 1 + .../docs/02 javascript api/12 k6-ws.md | 1 + .../10-connect- url- params- callback -.md | 1 + .../02 javascript api/12 k6-ws/20-Params.md | 1 + .../02 javascript api/12 k6-ws/80 Socket.md | 1 + .../12 k6-ws/80 Socket/Socket-close--.md | 1 + .../80 Socket/Socket-on-event- callback-.md | 1 + .../12 k6-ws/80 Socket/Socket-ping--.md | 1 + .../12 k6-ws/80 Socket/Socket-send-data-.md | 1 + .../12 k6-ws/80 Socket/Socket-sendBinary.md | 1 + .../Socket-setInterval-callback- interval-.md | 1 + .../Socket-setTimeout-callback- delay-.md | 1 + .../docs/02 javascript api/90 Error Codes.md | 1 + .../00 amazon-cloudwatch.md | 2 +- .../00 apache-kafka.md | 2 +- .../00 cloud-service.md | 2 +- .../04 Results visualization/00 csv.md | 2 +- .../04 Results visualization/00 datadog.md | 2 +- .../04 Results visualization/00 dynatrace.md | 2 +- .../00 elasticsearch.md | 2 +- .../00 grafana-cloud.md | 2 +- .../00 influxdb-grafana.md | 2 +- .../04 Results visualization/00 json.md | 2 +- .../04 Results visualization/00 netdata.md | 2 +- .../04 Results visualization/00 new-relic.md | 2 +- .../04 Results visualization/00 prometheus.md | 2 +- .../04 Results visualization/00 statsd.md | 2 +- .../00 timescaledb.md | 2 +- .../06 Chaos engineering/02 xk6-disruptor.md | 2 +- .../01 Examples/01 single-request.md | 1 + .../01 Examples/02 http-authentication.md | 1 + .../01 Examples/03 oauth-authentication.md | 1 + .../04 correlation-and-dynamic-data.md | 1 + .../01 Examples/05 data-parameterization.md | 1 + .../05 Examples/01 Examples/06 parse-html.md | 1 + .../05 Examples/01 Examples/07 html-forms.md | 1 + .../01 Examples/08 cookies-example.md | 1 + .../01 Examples/09 data-uploads.md | 1 + .../01 Examples/10 api-crud-operations.md | 1 + .../01 Examples/11 generating-uuids.md | 1 + .../docs/05 Examples/01 Examples/12 http2.md | 1 + .../05 Examples/01 Examples/13 websockets.md | 1 + .../docs/05 Examples/01 Examples/14 soap.md | 1 + .../docs/05 Examples/01 Examples/15 tls.md | 1 + .../01 Examples/16 data generation.md | 2 +- .../01 Examples/17 crawl-webpage.md | 2 +- .../18 Bundling and transpilation.md | 2 +- .../01 Examples/19 functional testing.md | 1 + .../01 Examples/20 tracking-data-per-url.md | 1 + .../01 Examples/21 URL query parameters.md | 1 + .../01 Examples/22 instant-load-increase.md | 1 + .../23 get-timings-for-an-http-metric.md | 1 + .../01 Examples/24 distribute-workloads.md | 1 + .../markdown/docs/05 Examples/02 Tutorials.md | 1 + .../02 Tutorials/01 Get started with k6.md | 1 + .../100 Test-for-functional-behavior.md | 1 + .../200 Test for performance.md | 1 + .../300 Analyze results.md | 1 + .../400 Reuse and re-run tests.md | 1 + .../07 extensions/01 Get started/04 Create.md | 1 + .../04 Create/01 JavaScript Extensions.md | 1 + .../04 Create/02 Output Extensions.md | 1 + .../010-extensions-registry.md | 1 + .../02 Explanations/020-go-js-bridge.md | 1 + .../030-extension-graduation.md | 1 + .../07 extensions/03 Guides/02 bundling.md | 1 + .../03 Guides/build-k6-using-docker.md | 1 + .../markdown/docs/20 jslib/01 jslib/01 aws.md | 1 + .../20 jslib/01 jslib/01 aws/00 AwsConfig.md | 1 + .../01 jslib/01 aws/00 EventBridgeClient.md | 1 + .../20 jslib/01 jslib/01 aws/00 KMSClient.md | 1 + .../20 jslib/01 jslib/01 aws/00 S3Client.md | 1 + .../20 jslib/01 jslib/01 aws/00 SQSClient.md | 1 + .../01 aws/00 SecretsManagerClient.md | 1 + .../01 jslib/01 aws/00 SignatureV4.md | 1 + .../01 aws/00 SystemsManagerClient.md | 1 + .../01 aws/EventBridgeClient/putEvents.md | 1 + .../01 aws/KMSClient/00 generateDataKey.md | 1 + .../01 jslib/01 aws/KMSClient/00 listKeys.md | 1 + .../01 aws/KMSClient/90 KMSDataKey.md | 1 + .../01 jslib/01 aws/KMSClient/90 KMSKey.md | 1 + ...Upload(bucketName, objectKey, uploadId).md | 1 + ...bucketName, objectKey, uploadId, parts).md | 1 + .../01 jslib/01 aws/S3Client/00 copyObject.md | 1 + ...eMultipartUpload(bucketName, objectKey).md | 1 + .../00 deleteObject(bucketName, objectKey).md | 1 + .../00 getObject(bucketName, objectKey).md | 1 + .../01 aws/S3Client/00 listBuckets().md | 1 + .../00 listObjects(bucketName, [prefix]).md | 1 + ... putObject(bucketName, objectKey, data).md | 1 + ...ctKey, uploadId, partNumber, data) copy.md | 1 + .../01 jslib/01 aws/S3Client/90 Bucket.md | 1 + .../01 jslib/01 aws/S3Client/90 Object.md | 1 + .../01 aws/S3Client/90 S3MultipartUpload.md | 1 + .../01 jslib/01 aws/S3Client/90 S3Part.md | 1 + .../01 aws/SQSClient/00 listQueues.md | 1 + .../01 aws/SQSClient/00 sendMessage.md | 1 + ...ring, description, [versionID], [tags]).md | 1 + .../SecretsManagerClient/00 deleteSecret.md | 1 + .../00 getSecret(secretID).md | 1 + .../SecretsManagerClient/00 listSecrets().md | 1 + ...ue(secretID, secretString, [versionID]).md | 1 + .../01 aws/SecretsManagerClient/99 Secret.md | 1 + .../01 aws/SignatureV4/00 presign().md | 1 + .../01 jslib/01 aws/SignatureV4/00 sign().md | 1 + .../SystemsManagerClient/00 getParameter.md | 1 + .../90 SystemsManagerParameter.md | 1 + .../docs/20 jslib/01 jslib/02 httpx.md | 1 + ...cRequest(method, url, [body], [params]).md | 1 + ... request(method, url, [body], [params]).md | 1 + .../02 httpx/10 get(url, [body], [params]).md | 1 + .../11 post(url, [body], [params]).md | 1 + .../02 httpx/12 put(url, [body], [params]).md | 1 + .../13 patch(url, [body], [params]).md | 1 + .../14 delete(url, [body], [params]).md | 1 + .../15 options(url, [body], [params]).md | 1 + .../16 head(url, [body], [params]).md | 1 + .../17 trace(url, [body], [params]).md | 1 + .../01 jslib/02 httpx/19 batch(requests).md | 1 + .../01 jslib/02 httpx/20 setBaseUrl(url).md | 1 + .../02 httpx/21 addHeader(key, value).md | 1 + .../02 httpx/22 addHeaders(object).md | 1 + .../01 jslib/02 httpx/23 clearHeader(name).md | 1 + .../02 httpx/24 addTag(key, value).md | 1 + .../01 jslib/02 httpx/25 addTags(object).md | 1 + .../01 jslib/02 httpx/26 clearTag(name).md | 1 + .../docs/20 jslib/01 jslib/03 k6chaijs.md | 1 + .../01 jslib/03 k6chaijs/31 config.md | 1 + .../01 jslib/03 k6chaijs/33 describe.md | 1 + .../01 jslib/03 k6chaijs/34 expect.md | 1 + .../01 jslib/03 k6chaijs/35 error handling.md | 1 + .../docs/20 jslib/01 jslib/04 utils.md | 1 + .../41 randomIntBetween(min, max) copy.md | 1 + .../01 jslib/04 utils/42 randomItem(array).md | 1 + .../04 utils/43 randomString(length).md | 1 + .../20 jslib/01 jslib/04 utils/44 uuidv4().md | 1 + .../45 findBetween(content, left, right).md | 1 + ...axVus, durationSeconds, numberOfStages).md | 1 + src/data/markdown/docs/20 jslib/20 jslib.md | 1 + .../docs/40 xk6-disruptor/00 About.md | 1 + .../docs/40 xk6-disruptor/01 Get started.md | 1 + .../01 Get started/01 First steps.md | 1 + .../01 Get started/02 Requirements.md | 1 + .../01 Get started/03 Installation.md | 1 + .../04 Expose Your Application.md | 1 + .../02 Explanations/01 How it works.md | 1 + .../markdown/docs/40 xk6-disruptor/03 API.md | 1 + .../docs/40 xk6-disruptor/03 API/01 Faults.md | 1 + .../03 API/01 Faults/01 Grpc.md | 1 + .../03 API/01 Faults/02 HTTP .md | 1 + .../03 API/01 Faults/03 Pod Termination.md | 1 + .../03 API/02 PodDisruptor.md | 1 + .../03 API/02 PodDisruptor/01 Constructor.md | 1 + .../02 PodDisruptor/02 injectGrpcFaults.md | 1 + .../02 PodDisruptor/03 injectHTTPFaults.md | 1 + .../02 PodDisruptor/04 TerminatePods.md | 1 + .../03 API/03 ServiceDisruptor.md | 1 + .../03 ServiceDisruptor/01 Constructor.md | 1 + .../02 injectGrpcFaults.md | 1 + .../03 injectHTTPFaults.md | 1 + .../03 ServiceDisruptor/04 TerminatePods.md | 1 + .../docs/40 xk6-disruptor/04 Examples.md | 1 + .../01 Inject Grpc faults into Service.md | 1 + .../02 Inject HTTP faults into Pod.md | 1 + .../en/01 Get started/02 Installation.md | 1 + .../02 Installation/01 Troubleshooting.md | 1 + .../en/01 Get started/03 Running k6.md | 1 + .../en/01 Get started/04 Results Output.md | 1 + .../en/01 Get started/05 resources.md | 1 + .../en/02 Using k6/01 HTTP requests.md | 1 + .../en/02 Using k6/02 Metrics.md | 1 + .../02 Using k6/02 Metrics/000-reference.md | 1 + .../02 Metrics/100 Create custom metrics.md | 1 + .../en/02 Using k6/03 Checks.md | 1 + .../en/02 Using k6/04 Thresholds.md | 1 + .../en/02 Using k6/05 k6 Options.md | 1 + .../en/02 Using k6/05 k6 Options/01 How to.md | 1 + .../02 Using k6/05 k6 Options/02 Reference.md | 1 + .../en/02 Using k6/06 Test lifecycle.md | 1 + .../en/02 Using k6/07 Modules.md | 1 + .../en/02 Using k6/08 Tags and Groups.md | 1 + .../en/02 Using k6/09 Cookies.md | 1 + .../en/02 Using k6/10 Protocols.md | 1 + .../en/02 Using k6/10 Protocols/01 HTTP-2.md | 1 + .../02 Using k6/10 Protocols/02 WebSockets.md | 1 + .../en/02 Using k6/10 Protocols/03 gRPC.md | 1 + .../en/02 Using k6/10 Protocols/04 SSL-TLS.md | 1 + ...line Certificate Status Protocol -OCSP-.md | 1 + .../04 SSL-TLS/SSL-TLS client certificates.md | 1 + .../04 SSL-TLS/SSL-TLS version and ciphers.md | 1 + .../02 Using k6/11 Environment variables.md | 1 + .../12 Execution context variables.md | 1 + .../en/02 Using k6/14 Scenarios.md | 1 + .../02 Using k6/14 Scenarios/00 Concepts.md | 1 + .../00 Concepts/00 Open-vs-closed.md | 1 + .../00 Concepts/01 Graceful stop.md | 1 + .../02 Arrival-rate VU allocation.md | 1 + .../00 Concepts/03 Dropped iterations.md | 1 + .../02 Using k6/14 Scenarios/01 Executors.md | 1 + .../01 Executors/01 shared-iterations.md | 1 + .../01 Executors/02 per-vu-iterations.md | 1 + .../01 Executors/03 constant-vus.md | 1 + .../01 Executors/04 ramping-vus.md | 1 + .../01 Executors/05 constant-arrival-rate.md | 1 + .../01 Executors/06 ramping-arrival-rate.md | 1 + .../01 Executors/07 externally-controlled.md | 1 + .../14 Scenarios/02 Advanced Examples.md | 1 + .../en/03 Using k6 browser/01 Overview.md | 1 + .../02 Running browser tests.md | 1 + .../en/03 Using k6 browser/03 Metrics.md | 1 + .../04 Migrating to k6 v0-46.md | 1 + .../100 Recommended Practices.md | 1 + .../01 Page object model pattern.md | 1 + .../02 Selecting elements.md | 1 + .../en/04 Results output/000-Overview.md | 1 + .../en/04 Results output/100 End-of-test.md | 1 + .../100 End-of-test/150-custom-summary.md | 1 + .../en/04 Results output/200 Real-time.md | 1 + .../200 Real-time/00 Amazon CloudWatch.md | 1 + .../200 Real-time/00 Apache Kafka.md | 1 + .../04 Results output/200 Real-time/00 CSV.md | 1 + .../200 Real-time/00 Cloud.md | 1 + .../200 Real-time/00 DataDog.md | 1 + .../200 Real-time/00 Dynatrace.md | 1 + .../200 Real-time/00 Elasticsearch.md | 1 + .../00 Grafana Cloud Prometheus.md | 1 + .../200 Real-time/00 InfluxDB.md | 1 + .../200 Real-time/00 JSON.md | 1 + .../200 Real-time/00 Netdata.md | 1 + .../200 Real-time/00 NewRelic.md | 1 + .../00 Prometheus remote write.md | 1 + .../200 Real-time/00 StatsD.md | 1 + .../200 Real-time/00 TimescaleDB.md | 1 + .../300 Grafana dashboards.md | 1 + .../en/05 Test authoring/01 test builder.md | 1 + .../02 Create tests from recordings.md | 1 + .../01 Using the browser recorder.md | 1 + .../02 Using the HAR converter.md | 1 + .../07 Testing Guides/01 API load testing.md | 1 + .../02 Automated performance testing.md | 1 + .../03 Load testing websites.md | 1 + .../04 Running large tests.md | 1 + .../05 Running distributed tests.md | 1 + .../en/08 Misc/01 Usage collection.md | 1 + .../en/08 Misc/02 IntelliSense.md | 1 + .../en/08 Misc/03 Fine tuning OS.md | 1 + .../en/08 Misc/06 Archive.md | 1 + .../en/08 Misc/09 Glossary.md | 1 + .../translated-guides/en/Testing Guides.md | 1 + src/layouts/doc-layout/doc-layout.view.js | 9 +- src/templates/docs/extensions.js | 19 - src/templates/docs/guides.js | 17 +- src/utils/versioning.js | 22 +- 584 files changed, 828 insertions(+), 432 deletions(-) create mode 100644 src/components/pages/doc-welcome/outdated-blockquote/index.js create mode 100644 src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js diff --git a/gatsby-node.js b/gatsby-node.js index a8b7e2b10d..760e017168 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -176,19 +176,11 @@ const getPageVersions = ( const topLevelLinks = [ { label: 'guides', - to: '/', + to: 'https://grafana.com/docs/k6/latest/', }, { label: 'JAVASCRIPT API', - to: '/javascript-api/', - submenu: [ - { label: 'k6 API', to: `/javascript-api/` }, - { - label: 'xk6-disruptor', - to: `/javascript-api/xk6-disruptor/`, - }, - { label: 'jslib', to: `/javascript-api/jslib/` }, - ], + to: 'https://grafana.com/docs/k6/latest/javascript-api/', }, { label: 'Cloud Docs', @@ -203,15 +195,15 @@ const topLevelLinks = [ }, { label: 'Extensions', - to: '/extensions/', + to: 'https://grafana.com/docs/k6/latest/extensions/', }, { label: 'Integrations', - to: '/integrations/', + to: 'https://grafana.com/docs/k6/latest/misc/integrations/', }, { label: 'examples', - to: '/examples/', + to: 'https://grafana.com/docs/k6/latest/examples/', }, ]; diff --git a/src/components/blocks/footer/footer.view.js b/src/components/blocks/footer/footer.view.js index e60e7231a1..f474ead8fe 100644 --- a/src/components/blocks/footer/footer.view.js +++ b/src/components/blocks/footer/footer.view.js @@ -1,353 +1,199 @@ -import SubscribeForm from 'components/shared/subscribe-form'; import { Link } from 'gatsby'; -import React, { useState, useEffect } from 'react'; +import React from 'react'; import Logo from 'svg/logo-with-grafana-labs.inline.svg'; -import { blog, main, docs } from 'utils/urls'; +import { blog, main } from 'utils/urls'; import styles from './footer.module.scss'; -import GithubLogo from './svg/github.inline.svg'; import HeartIcon from './svg/heart-purple.inline.svg'; -import LinkedinLogo from './svg/linkedin.inline.svg'; -import MeetupLogo from './svg/meetup.inline.svg'; -import SlackLogo from './svg/slack.inline.svg'; -import TwitterLogo from './svg/twitter.inline.svg'; -import YoutubeLogo from './svg/youtube.inline.svg'; import './footer.scss'; -const Badge = ({ children }) => ( - {children} -); - const Heart = () => ( ); -const fetchStatusIndicator = async (callback) => { - try { - const result = await fetch('https://status.k6.io/api/v2/status.json').then( - (res) => res.json(), - ); - callback(result?.status?.indicator || 'none'); - } catch (e) { - // eslint-disable-next-line no-console - console.error('failed while fetching status', e); - } -}; - -export const Footer = () => { - // possible values: 'none', 'minor', 'major', 'critical' - const [statusIndicator, setStatusIndicator] = useState('none'); - const [jobs, setJobs] = useState(null); - - useEffect(() => { - fetchStatusIndicator(setStatusIndicator); - }, []); - - useEffect(() => { - fetch('/data/jobs-positions.json') - .then((response) => response.json()) - .then((data) => setJobs(data)) - .catch((error) => { - // eslint-disable-next-line no-console - console.error('Failed to fetch jobs: ', error); - }); - }, []); - - return ( - +); diff --git a/src/components/pages/doc-welcome/outdated-blockquote/index.js b/src/components/pages/doc-welcome/outdated-blockquote/index.js new file mode 100644 index 0000000000..c156aec5c0 --- /dev/null +++ b/src/components/pages/doc-welcome/outdated-blockquote/index.js @@ -0,0 +1 @@ +export { OutdatedBlockquote } from './outdated-blockquote.view'; diff --git a/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js b/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js new file mode 100644 index 0000000000..7c559927e9 --- /dev/null +++ b/src/components/pages/doc-welcome/outdated-blockquote/outdated-blockquote.view.js @@ -0,0 +1,27 @@ +import Blockquote from 'components/shared/blockquote'; +import React from 'react'; + +export const OutdatedBlockquote = () => ( +
+
+

+ We've migrated the k6 documentation to Grafana!{' '} + + Click here + {' '} + to view the latest version of the k6 documentation. +
+
+ This page is still available for users to be able to view the{' '} + + k6 Cloud documentation + + , and will be removed at a later date. +

+
+
+
+); diff --git a/src/components/pages/doc-welcome/use-cases/use-cases.view.js b/src/components/pages/doc-welcome/use-cases/use-cases.view.js index a7f8e3d2c1..639f46a82b 100644 --- a/src/components/pages/doc-welcome/use-cases/use-cases.view.js +++ b/src/components/pages/doc-welcome/use-cases/use-cases.view.js @@ -1,6 +1,5 @@ import { Heading } from 'components/shared/heading'; import { useI18n } from 'contexts/i18n-provider'; -import { useLocale } from 'contexts/locale-provider'; import { Link } from 'gatsby'; import React from 'react'; @@ -8,7 +7,6 @@ import styles from './use-cases.module.scss'; export const UseCases = () => { const { t } = useI18n(); - const { urlLocale } = useLocale(); return (
@@ -26,9 +24,7 @@ export const UseCases = () => { spike @@ -37,9 +33,7 @@ export const UseCases = () => { stress @@ -48,9 +42,7 @@ export const UseCases = () => { soak tests @@ -65,7 +57,10 @@ export const UseCases = () => {

{t('welcome.use-cases.browser-testing.pre-description')} - + k6 browser {t('welcome.use-cases.browser-testing.description')} @@ -76,8 +71,15 @@ export const UseCases = () => { {t('welcome.use-cases.chaos-testing.title')}

- {t('welcome.use-cases.chaos-testing.description')} - + You can use k6 to simulate traffic as part of your chaos + experiments, trigger them from your k6 tests or inject different + types of faults in Kubernetes with{' '} + xk6-disruptor . @@ -87,7 +89,22 @@ export const UseCases = () => { {t('welcome.use-cases.performance-monitoring.title')} -

{t('welcome.use-cases.performance-monitoring.description')}

+

+ With k6, you can automate and schedule to trigger tests very + frequently with a small load to continuously validate the + performance and availability of your production environment. You can + also use{' '} + + Grafana Cloud Synthetic Monitoring + {' '} + for a managed solution built specifically for synthetic monitoring + that supports k6 test scripts. +

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 c5b5f2572d..c4122d7549 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 @@ -2,6 +2,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/latest/javascript-api/init-context/ +redirect: 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/01 Init context/open.md b/src/data/markdown/docs/02 javascript api/01 Init context/open.md index 77b90a61a4..ce2fc5c9fa 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/init-context/open/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/02 k6.md index dbd889ce7d..b66366387b 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6.md +++ b/src/data/markdown/docs/02 javascript api/02 k6.md @@ -2,6 +2,7 @@ title: 'k6' excerpt: 'The k6 module contains k6-specific functionality.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/ +redirect: 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/02 k6/check- val- sets- -tags- -.md b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md index cf7c89185f..7e4e4bc337 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 @@ -3,6 +3,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/latest/javascript-api/k6/check/ +redirect: 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 6e555e608c..2ca1e04550 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 @@ -3,6 +3,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/latest/javascript-api/k6/fail/ +redirect: 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 b814c23077..b14273879b 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 @@ -3,6 +3,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/latest/javascript-api/k6/group/ +redirect: 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 3906e88377..17f76f2d0c 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 @@ -3,6 +3,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/latest/javascript-api/k6/random-seed/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6/random-seed/ --- 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 40826fdfc9..68b73ba55a 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 @@ -3,6 +3,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/latest/javascript-api/k6/sleep/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md index 3194a13f93..d2a9d9a7b4 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 @@ -2,6 +2,7 @@ title: "k6/crypto" excerpt: "The k6/crypto module provides common hashing functionality available in the GoLang crypto." canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/ --- 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 efb2996c4c..49ab2e2d45 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/createhash/ +redirect: 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 8fd274a153..fa258c7d4b 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/createhmac/ +redirect: 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 ca79dd0a1f..3119a06f86 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/hmac/ +redirect: 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 ab1fe21e9f..e1c9cff5b5 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/md4/ +redirect: 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 fa9d188630..183a203462 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/md5/ +redirect: 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 d333b1c2b3..84005412f8 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 @@ -3,6 +3,7 @@ title: 'randomBytes( int )' description: 'randomBytes.' excerpt: 'randomBytes.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/randombytes/ +redirect: 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 aacd651420..1dda9d1bb7 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/ripemd160/ +redirect: 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 5aea396f97..e0ba2a040b 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha1/ +redirect: 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 b36f24a98e..2142769c3b 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha256/ +redirect: 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 3f03941fe0..685b5ec337 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha384/ +redirect: 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 4f9b545b04..ec7ea41474 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha512/ +redirect: 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 f71f2a3260..80ee6011be 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha512_256/ +redirect: 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 68e7008a03..07a7861621 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/sha512_224/ +redirect: 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 dd3a729432..eb6535cdf6 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 @@ -3,6 +3,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/latest/javascript-api/k6-crypto/hasher/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/hasher/ --- 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 aedf38e950..b0de97c096 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 @@ -2,6 +2,7 @@ title: "k6/data" excerpt: "k6 data API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-data/ +redirect: 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/04 k6-data/1-SharedArray.md b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md index a32a72d4ac..d7b1a8a289 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 @@ -2,6 +2,7 @@ title: SharedArray excerpt: 'SharedArray is an array-like object that shares the underlying memory between VUs.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-data/sharedarray/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md index 1cf5ce78de..24c6183aaf 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 @@ -2,6 +2,7 @@ title: "k6/encoding" excerpt: 'The encoding module provides base64 encoding/decoding as defined by RFC4648.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/ +redirect: 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/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 09572c5baf..4d9f0659ad 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 @@ -3,6 +3,7 @@ title: 'b64decode( input, [encoding], [format] )' description: 'Base64 decode a string.' excerpt: 'Base64 decode a string.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/b64decode/ +redirect: 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 97b2d8e30f..d3cf9d09a1 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 @@ -3,6 +3,7 @@ title: 'b64encode( input, [encoding] )' description: 'Encode data in base64.' excerpt: 'Encode data in base64.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/b64encode/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-encoding/b64encode/ --- | 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 0b95bacbfa..8a104fc4ee 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 @@ -2,6 +2,7 @@ title: "k6/execution" excerpt: "Get information about the current test's execution state." canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-execution/ +redirect: 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 e9b78feb0b..bd0f4888b9 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 @@ -2,6 +2,7 @@ title: "k6/experimental" excerpt: "k6 experimental APIs" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/ --- 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 3507b28bf7..f417174b74 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 @@ -2,6 +2,7 @@ title: 'browser' excerpt: 'An overview of the browser-level APIs from browser module.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/ +redirect: 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 1694806f13..9ea1509f5f 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 @@ -2,6 +2,7 @@ title: "BrowserContext" excerpt: "Browser module: BrowserContext Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 186d471b53..4bcd3f1399 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 @@ -2,6 +2,7 @@ title: 'addCookies()' excerpt: 'Clears context cookies.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/addcookies/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 e87efb6b0b..38cadad601 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 @@ -2,6 +2,7 @@ title: 'clearCookies()' excerpt: 'Clears context cookies.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/clearcookies/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 5d1f1f1bfe..720061b1cd 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 @@ -2,6 +2,7 @@ title: 'clearPermissions()' excerpt: 'Clears all permission overrides for the BrowserContext.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/clearpermissions/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 4b6501d69d..e9251d8543 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 @@ -2,6 +2,7 @@ title: 'close()' excerpt: 'Close the BrowserContext and all its pages.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/close/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 609f455782..766771e3ed 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 @@ -2,6 +2,7 @@ title: "Cookie" excerpt: "Browser module: Cookie Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/cookie/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 526084370d..5ecdbf5976 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 @@ -2,6 +2,7 @@ title: 'cookies([urls])' excerpt: 'Retrieves context cookies.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/cookies/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 df175440aa..71aaf4f2f2 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 @@ -2,6 +2,7 @@ title: 'grantPermissions(permissions[, options])' excerpt: 'Grants specified permissions to the BrowserContext.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/grantpermissions/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 bd44d02045..0b52d6b566 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 @@ -2,6 +2,7 @@ title: 'newPage()' excerpt: 'Creates a new page inside this BrowserContext.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/newpage/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 4e432931a5..e4d9431393 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 @@ -2,6 +2,7 @@ title: 'pages()' excerpt: 'Returns a list of pages inside this BrowserContext.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/pages/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 52a95c9ff3..e17c3ba36b 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 @@ -2,6 +2,7 @@ title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Sets the default navigation timeout in milliseconds.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/setdefaultnavigationtimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 11ae7c6dec..879ba848b3 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 @@ -2,6 +2,7 @@ title: 'setDefaultTimeout(timeout)' excerpt: 'Sets the default timeout in milliseconds.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/setdefaulttimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 929e9e4c06..95d8287b6e 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 @@ -2,6 +2,7 @@ title: 'setGeolocation(geolocation)' excerpt: "Sets the BrowserContext's geolocation." canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/setgeolocation/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 e625c967f2..3c390173d4 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 @@ -2,6 +2,7 @@ title: 'setOffline(offline)' excerpt: "Toggles the BrowserContext's connectivity on/off." canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/browsercontext/setoffline/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 09f16972e2..e32dbd0fe7 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 @@ -2,6 +2,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/latest/javascript-api/k6-browser/browsercontext/waitforevent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b9ed89d940..8827884adb 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 @@ -2,6 +2,7 @@ title: "ConsoleMessage" excerpt: "Browser module: ConsoleMessage Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/consolemessage/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 5b68e4f6d2..0880535dc3 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 @@ -2,6 +2,7 @@ title: "ElementHandle" excerpt: "Browser module: ElementHandle Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/elementhandle/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 93f97e1b93..b8743a5c97 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 @@ -2,6 +2,7 @@ title: "Frame" excerpt: "Browser module: Frame Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/frame/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 8934829e9c..d0838efbf4 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 @@ -2,6 +2,7 @@ title: "JSHandle" excerpt: "Browser module: JSHandle Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/jshandle/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 54579fb415..20695061b2 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 @@ -2,6 +2,7 @@ title: "Keyboard" excerpt: "Browser module: Keyboard Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/keyboard/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 d03400c550..bebaced129 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 @@ -2,6 +2,7 @@ title: "Locator" excerpt: "Browser module: Locator Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b77b958db5..3d8ded5b18 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 @@ -2,6 +2,7 @@ title: 'check([options])' excerpt: 'Browser module: locator.check method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/check/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 2abd3fe85b..0975d74a55 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 @@ -2,6 +2,7 @@ title: 'click([options])' excerpt: 'Browser module: locator.click method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/click/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 e04e9d57f8..eeaa6bf516 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 @@ -2,6 +2,7 @@ title: 'dblclick([options])' excerpt: 'Browser module: locator.dblclick method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/dblclick/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 62582a35f7..050fc0197a 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 @@ -2,6 +2,7 @@ title: 'dispatchEvent(type, eventInit, [options])' excerpt: 'Browser module: locator.dispatchEvent method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/dispatchevent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 acb18f00ad..801b2f8638 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 @@ -2,6 +2,7 @@ title: 'fill(value, [options])' excerpt: 'Browser module: locator.fill method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/fill/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1d506756af..df00790c42 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 @@ -2,6 +2,7 @@ title: 'focus([options])' excerpt: 'Browser module: locator.focus method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/focus/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 bf6f0af69c..ae0c09ce9b 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 @@ -2,6 +2,7 @@ title: 'getAttribute(name, [options])' excerpt: 'Browser module: locator.getAttribute method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/getattribute/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1047ed8873..0e2c8c27e3 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 @@ -2,6 +2,7 @@ title: 'hover([options])' excerpt: 'Browser module: locator.hover method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/hover/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 439fb1d090..a437548cee 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 @@ -2,6 +2,7 @@ title: 'innerHTML([options])' excerpt: 'Browser module: locator.innerHTML method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/innerhtml/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 62d5a3fa25..6fe1e54d7e 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 @@ -2,6 +2,7 @@ title: 'innerText([options])' excerpt: 'Browser module: locator.innerText method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/innertext/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f703b445b9..542a12b99b 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 @@ -2,6 +2,7 @@ title: 'inputValue([options])' excerpt: 'Browser module: locator.inputValue method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/inputvalue/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 8923d1fae0..ce1647c510 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 @@ -2,6 +2,7 @@ title: 'isChecked([options])' excerpt: 'Browser module: locator.isChecked method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/ischecked/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 9784390496..18f4fe4122 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 @@ -2,6 +2,7 @@ title: 'isDisabled([options])' excerpt: 'Browser module: locator.isDisabled method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/isdisabled/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 2a183a61bf..10b9a82c0e 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 @@ -2,6 +2,7 @@ title: 'isEditable([options])' excerpt: 'Browser module: locator.isEditable method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/iseditable/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f65c521333..b02529e773 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 @@ -2,6 +2,7 @@ title: 'isEnabled([options])' excerpt: 'Browser module: locator.isEnabled method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/isenabled/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 9e9fd57ac9..1de62b833c 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 @@ -2,6 +2,7 @@ title: 'isHidden([options])' excerpt: 'Browser module: locator.isHidden method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/ishidden/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 50cb674a4b..1a545ed255 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 @@ -2,6 +2,7 @@ title: 'isVisible([options])' excerpt: 'Browser module: locator.isVisible method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/isvisible/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 3b072072ad..8174f4155d 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 @@ -2,6 +2,7 @@ title: 'press(key, [options])' excerpt: 'Browser module: locator.press method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/press/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b1b29f0841..a7ccada0ce 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 @@ -2,6 +2,7 @@ title: 'selectOption(values, [options])' excerpt: 'Browser module: locator.selectOption method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/selectoption/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 608e45cbf9..0cb2b415b3 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 @@ -2,6 +2,7 @@ title: 'tap([options])' excerpt: 'Browser module: locator.tap method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/tap/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 686688c892..b71fc31609 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 @@ -2,6 +2,7 @@ title: 'textContent([options])' excerpt: 'Browser module: locator.textContent method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/textcontent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 4d69ef2ba6..a1fc9108e0 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 @@ -2,6 +2,7 @@ title: 'type(text, [options])' excerpt: 'Browser module: locator.type method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/type/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1bafa3614b..b2866ad444 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 @@ -2,6 +2,7 @@ title: 'uncheck([options])' excerpt: 'Browser module: locator.uncheck method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/uncheck/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f740d9d68b..1d2f43a56f 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 @@ -2,6 +2,7 @@ title: 'waitFor([options])' excerpt: 'Browser module: locator.waitFor method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/waitfor/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1e970fcb7a..9249dc2570 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 @@ -2,6 +2,7 @@ title: "Mouse" excerpt: "Browser module: Mouse Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/mouse/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 84822529c3..8911ca9979 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 @@ -2,6 +2,7 @@ title: "Page" excerpt: "Browser module: Page Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 39273fce63..d83fcad8d7 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 @@ -2,6 +2,7 @@ title: 'bringToFront()' excerpt: 'Browser module: page.bringToFront method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/bringtofront/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b8816c984f..3a3113ee98 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 @@ -2,6 +2,7 @@ title: 'check(selector[, options])' excerpt: 'Browser module: page.check(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/check/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 3ad77ad99e..8ba200e3dc 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 @@ -2,6 +2,7 @@ title: 'click(selector[, options])' excerpt: 'Browser module: page.click(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/click/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 ae08d17483..8dad024796 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 @@ -2,6 +2,7 @@ title: 'close()' excerpt: 'Browser module: page.close method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/close/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 72a6eeab6d..0a8d73fa85 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 @@ -2,6 +2,7 @@ title: 'content()' excerpt: 'Browser module: page.content method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/content/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 9d9b9b419a..a7ca0078e1 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 @@ -2,6 +2,7 @@ title: 'context()' excerpt: 'Browser module: page.context method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/context/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 fe5698cf2d..aaf4f6c487 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 @@ -2,6 +2,7 @@ title: 'dblclick(selector[, options])' excerpt: 'Browser module: page.dblclick(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/dblclick/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 05b85c4790..c9da60d6ae 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 @@ -2,6 +2,7 @@ title: 'dispatchEvent(selector, type, eventInit[, options])' excerpt: 'Browser module: page.dispatchEvent(selector, type, eventInit[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/dispatchevent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 50840ca898..a1c23e1918 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 @@ -2,6 +2,7 @@ title: 'page.$(selector)' excerpt: 'Browser module: page.$(selector) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/page-dollar/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 aafdf7b2b9..2a4491374a 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 @@ -2,6 +2,7 @@ title: 'page.$$(selector)' excerpt: 'Browser module: page.$$(selector) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/page-doubledollar/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 8048d96c06..922d3fc4ec 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 @@ -2,6 +2,7 @@ title: 'emulateMedia([options])' excerpt: 'Browser module: page.emulateMedia([options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/emulatemedia/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 98ad882ecd..17d58d171d 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 @@ -2,6 +2,7 @@ title: 'emulateVisionDeficiency(type)' excerpt: 'Browser module: page.emulateVisionDeficiency(type) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/emulatevisiondeficiency/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 6d2f769c0c..bd54ded513 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 @@ -2,6 +2,7 @@ title: 'evaluate(pageFunction[, arg])' excerpt: 'Browser module: page.evaluate(pageFunction[, arg]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/evaluate/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 a4ede4039e..10df756bbb 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 @@ -2,6 +2,7 @@ title: 'evaluateHandle(pageFunction[, arg])' excerpt: 'Browser module: page.evaluateHandle(pageFunction[, arg]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/evaluatehandle/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 e868e03d84..cf0ef0bb3d 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 @@ -2,6 +2,7 @@ title: 'fill(selector, value[, options])' excerpt: 'Browser module: page.fill(selector, value[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/fill/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 5b9deb263d..225ee5c776 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 @@ -2,6 +2,7 @@ title: 'focus(selector[, options])' excerpt: 'Browser module: page.focus(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/focus/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 2808686418..a504ea4b3c 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 @@ -2,6 +2,7 @@ title: 'frames()' excerpt: 'Browser module: page.frames method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/frames/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 e4ed13f89a..d3db0ff02f 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 @@ -2,6 +2,7 @@ title: 'getAttribute(selector, name[, options])' excerpt: 'Browser module: page.getAttribute(selector, name[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/getattribute/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 a8c68db187..269359cc4f 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 @@ -2,6 +2,7 @@ title: 'goto(url[, options])' excerpt: 'Browser module: page.goto(url[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/goto/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 02645c35d6..a9e467efa0 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 @@ -2,6 +2,7 @@ title: 'hover(selector[, options])' excerpt: 'Browser module: page.hover(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/hover/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 158409836c..06a374c382 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 @@ -2,6 +2,7 @@ title: 'innerHTML(selector[, options])' excerpt: 'Browser module: page.innerHTML(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/innerhtml/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1e5a543960..2335a43770 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 @@ -2,6 +2,7 @@ title: 'innerText(selector[, options])' excerpt: 'Browser module: page.innerText(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/innertext/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 6aa5a936dc..03a58625be 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 @@ -2,6 +2,7 @@ title: 'inputValue(selector[, options])' excerpt: 'Browser module: page.inputValue(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/inputvalue/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f33fb8ec80..fcde8f8a01 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 @@ -2,6 +2,7 @@ title: 'isChecked(selector[, options])' excerpt: 'Browser module: page.isChecked(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/ischecked/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 6eee2eccc8..72b4364efb 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 @@ -2,6 +2,7 @@ title: 'isClosed()' excerpt: 'Browser module: page.isClosed() method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/isclosed/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 ad175b28fe..656c99fdf0 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 @@ -2,6 +2,7 @@ title: 'isDisabled(selector[, options])' excerpt: 'Browser module: page.isDisabled(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/isdisabled/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 77f5abe9a3..bbe1c18da5 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 @@ -2,6 +2,7 @@ title: 'isEditable(selector[, options])' excerpt: 'Browser module: page.isEditable(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/iseditable/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 5d777f935b..cb3ad2a9ba 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 @@ -2,6 +2,7 @@ title: 'isEnabled(selector[, options])' excerpt: 'Browser module: page.isEnabled(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/isenabled/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 8d3eb97cd3..f3692452e9 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 @@ -2,6 +2,7 @@ title: 'isHidden(selector[, options])' excerpt: 'Browser module: page.isHidden(selector[, options) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/ishidden/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 01ffef5412..0dc3bf1711 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 @@ -2,6 +2,7 @@ title: 'isVisible(selector[, options])' excerpt: 'Browser module: page.isVisible(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/isvisible/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b875392797..91db09be70 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 @@ -2,6 +2,7 @@ title: 'keyboard' excerpt: 'Browser module: page.keyboard method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/keyboard/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 c88b2900b9..93224d3fc7 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 @@ -2,6 +2,7 @@ title: 'locator(selector)' excerpt: 'Browser module: page.locator(selector) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/locator/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 55eef5eea0..e16f984a72 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 @@ -2,6 +2,7 @@ title: 'mainFrame()' excerpt: 'Browser module: page.mainFrame method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/mainframe/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 a661ac3949..2b4f5405f0 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 @@ -2,6 +2,7 @@ title: 'mouse' excerpt: 'Browser module: page.mouse method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/mouse/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 62de9239a9..0fe31a5fb5 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 @@ -2,6 +2,7 @@ title: 'on(event, handler)' excerpt: 'Browser module: page.on method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/on/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 30f340d564..09834bd400 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 @@ -2,6 +2,7 @@ title: 'opener()' excerpt: 'Browser module: page.opener method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/opener/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 9eeed8b56c..efa7490012 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 @@ -2,6 +2,7 @@ title: 'press(selector, key[, options])' excerpt: 'Browser module: page.press(selector, key[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/press/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 098dcc8bb6..b418ea48cd 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 @@ -2,6 +2,7 @@ title: 'reload([options])' excerpt: 'Browser module: page.reload([options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/reload/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 faaab0810e..36c03f764b 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 @@ -2,6 +2,7 @@ title: 'screenshot([options])' excerpt: 'Browser module: page.screenshot([options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/screenshot/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 d29d8f69cc..0d2a2ddc78 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 @@ -2,6 +2,7 @@ title: 'selectOption(selector, values[, options])' excerpt: 'Browser module: page.selectOption(selector, values[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/selectoption/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1f6d98bc7c..85e8fc8ced 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 @@ -2,6 +2,7 @@ title: 'setContent(html[, options])' excerpt: 'Browser module: page.setContent(html[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/setcontent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b120e6dbf6..b3c1cc827f 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 @@ -2,6 +2,7 @@ title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Browser module: page.setDefaultNavigationTimeout(timeout) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/setdefaultnavigationtimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 827e456c08..9794b5fd5c 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 @@ -2,6 +2,7 @@ title: 'setDefaultTimeout(timeout)' excerpt: 'Browser module: page.setDefaultTimeout(timeout) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/setdefaulttimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 d2548e6482..c39ac051f9 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 @@ -2,6 +2,7 @@ title: 'setExtraHTTPHeaders(headers)' excerpt: 'Browser module: page.setExtraHTTPHeaders(headers) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/setextrahttpheaders/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 32d080454d..82c7148d33 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 @@ -2,6 +2,7 @@ title: 'setViewportSize(viewportSize)' excerpt: 'Browser module: page.setViewportSize(viewportSize) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/setviewportsize/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 fe822e811f..42d7ccf873 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 @@ -2,6 +2,7 @@ title: 'tap(selector[, options])' excerpt: 'Browser module: locator.tap(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/tap/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f56fc261d9..bd828fdf47 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 @@ -2,6 +2,7 @@ title: 'textContent(selector[, options])' excerpt: 'Browser module: locator.textContent(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/textcontent/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 dec0830453..f63ca85468 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 @@ -2,6 +2,7 @@ title: 'title()' excerpt: 'Browser module: page.title method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/title/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 23dd1c39b4..63abc6bd26 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 @@ -2,6 +2,7 @@ title: 'touchScreen' excerpt: 'Browser module: page.touchScreen method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/touchscreen/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 6d8cb2630f..7c20bdb250 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 @@ -2,6 +2,7 @@ title: 'type(selector, text[, options])' excerpt: 'Browser module: page.type(selector, text[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/type/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 3ba417e69f..fa07dd8fb2 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 @@ -2,6 +2,7 @@ title: 'uncheck(selector[, options])' excerpt: 'Browser module: page.uncheck(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/uncheck/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 a2348bd915..7ccfae8927 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 @@ -2,6 +2,7 @@ title: 'url()' excerpt: 'Browser module: page.url method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/url/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 09bfd752e6..3bb9b82bf5 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 @@ -2,6 +2,7 @@ title: 'viewportSize()' excerpt: 'Browser module: page.viewportSize method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/viewportsize/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 49e63a37cd..d07a968bf9 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 @@ -2,6 +2,7 @@ title: 'waitForFunction(pageFunction, arg[, options])' excerpt: 'Browser module: page.waitForFunction(pageFunction, arg[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitforfunction/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 c49581a5ff..bbe9402c06 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 @@ -2,6 +2,7 @@ title: 'waitForLoadState(state[, options])' excerpt: 'Browser module: page.waitForLoadState(state[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitforloadstate/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 da0794f205..664837c8d2 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 @@ -2,6 +2,7 @@ title: 'waitForNavigation([options])' excerpt: 'Browser module: page.waitForNavigation([options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitfornavigation/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 3667ba4dec..718a5a7343 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 @@ -2,6 +2,7 @@ title: 'waitForSelector(selector[, options])' excerpt: 'Browser module: page.waitForSelector(selector[, options]) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitforselector/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1a2671bf3c..96e4c847f1 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 @@ -2,6 +2,7 @@ title: 'waitForTimeout(timeout)' excerpt: 'Browser module: waitForTimeout(timeout) method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitfortimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1ce5df781f..45556a6dbf 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 @@ -2,6 +2,7 @@ title: 'workers()' excerpt: 'Browser module: page.workers method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/workers/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 1f562a433b..8153273645 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 @@ -2,6 +2,7 @@ title: "Request" excerpt: "Browser module: Request Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/request/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 d643d6beed..6856201631 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 @@ -2,6 +2,7 @@ title: 'size()' excerpt: 'Browser module: Request.size method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/request/size/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 23ea45cb40..6c38bc9606 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 @@ -2,6 +2,7 @@ title: "Response" excerpt: "Browser module: Response Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/response/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 648b1fe8bb..12a7642d0e 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 @@ -2,6 +2,7 @@ title: "Touchscreen" excerpt: "Browser module: Touchscreen Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/touchscreen/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 f835aa09d3..28d58aca3f 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 @@ -2,6 +2,7 @@ title: "Worker" excerpt: "Browser module: Worker Class" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/worker/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 4560e97b30..59c083e1e0 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 @@ -2,6 +2,7 @@ title: 'context()' excerpt: 'Browser module: context method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/context/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 84a6d20962..8623095c18 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 @@ -2,6 +2,7 @@ title: 'isConnected()' excerpt: 'Browser module: isConnected method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/isconnected/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 dd70dc2c12..4333b4fea8 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 @@ -2,6 +2,7 @@ title: 'newContext([options])' excerpt: 'Browser module: newContext method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/newcontext/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 4f85262396..da4360c21b 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 @@ -2,6 +2,7 @@ title: 'newPage([options])' excerpt: 'Browser module: newPage method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/newpage/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 5a296ad801..7a29833ec4 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 @@ -2,6 +2,7 @@ title: 'version()' excerpt: 'Browser module: version method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/version/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-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 b18a7f40b3..7cc73c5e8a 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 @@ -2,6 +2,7 @@ title: "grpc" excerpt: "Experimental GRPC module" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/ +redirect: 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 9d86ff0d97..7143c00b1a 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 @@ -2,6 +2,7 @@ title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/ +redirect: 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 563cecc13e..7e134d72c6 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/grpc/client/client-load/ +redirect: 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 1d73ac89b1..d872c995c2 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/grpc/client/client-loadprotoset/ +redirect: 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 1ca42c349a..bc777297e1 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/grpc/client/client-connect/ +redirect: 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 c0b2499f9d..ada3018a3e 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 @@ -2,6 +2,7 @@ title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-invoke/ +redirect: 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 fc25beb99a..8cb7fee6db 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 @@ -2,6 +2,7 @@ title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/client/client-close/ +redirect: 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 635705d6d2..ea45dab16f 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 @@ -3,6 +3,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/latest/javascript-api/k6-experimental/grpc/params/ +redirect: 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 2a7b104740..de5dcdccf8 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 @@ -2,6 +2,7 @@ title: "Stream.on()" excerpt: 'Set up handler functions for various events on the GRPC stream.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-on/ +redirect: 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 527170f627..f5c3a2c266 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 @@ -3,6 +3,7 @@ title: "Error" head_title: 'gRPC.Error' excerpt: 'The error object of a gRPC stream.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-error/ +redirect: 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 d3c9560e85..553a24c359 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 @@ -2,6 +2,7 @@ title: "Stream.end()" excerpt: 'Signals to the server that the client has finished sending.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-end/ +redirect: 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 b289b92b87..b990caa183 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 @@ -2,6 +2,7 @@ title: "Stream.write()" excerpt: 'Writes a message to the stream.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/stream-write/ +redirect: 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 3738e2a53e..7943defc3c 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 @@ -3,6 +3,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/response/ +redirect: 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 8045bbda83..5bb20d3da2 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 @@ -2,6 +2,7 @@ title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/constants/ +redirect: 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 0f62756252..68269debc4 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 @@ -2,6 +2,7 @@ title: Stream excerpt: 'GRPC Streams' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/ +redirect: 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 a9473fa561..c19522c8e5 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 @@ -2,6 +2,7 @@ title: "redis" excerpt: "k6 Redis experimental API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/ +redirect: 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 ad156dd5f4..04b77b587b 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 @@ -2,6 +2,7 @@ title: 'Client' excerpt: 'Client is a Redis client to interact with a Redis server or cluster.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/ +redirect: 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 965a3be502..6159a01f55 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 @@ -2,6 +2,7 @@ title: 'Client.decr(key)' excerpt: 'Decrements the number stored at `key` by one.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-decr/ +redirect: 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 a5d2a8a930..a0e8abe17f 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 @@ -2,6 +2,7 @@ title: 'Client.decrBy(key, decrement)' excerpt: 'Decrements the number stored at `key` by `decrement`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-decrby/ +redirect: 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 fa3b85f8a7..ab7ef89831 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 @@ -2,6 +2,7 @@ title: 'Client.del(keys)' excerpt: '' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-del/ +redirect: 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 00e37337b7..813c682d2a 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 @@ -2,6 +2,7 @@ title: 'Client.exists(keys)' excerpt: 'Returns the number of `key` arguments that exist.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-exists/ +redirect: 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 82dfa32d01..4c4be22245 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 @@ -2,6 +2,7 @@ title: 'Client.expire(key, seconds)' excerpt: 'Sets an expiration date (a timeout) on the key `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-expire/ +redirect: 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 825f5f86f3..572eeef785 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 @@ -2,6 +2,7 @@ title: 'Client.get(key)' excerpt: 'Get the value of `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-get/ +redirect: 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 0761a73e29..fc42b77ac2 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 @@ -2,6 +2,7 @@ title: 'Client.getDel(key)' excerpt: 'Get the value of `key` and delete the key.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-getdel/ +redirect: 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 46813aa37e..f250cb5bf0 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-getset/ +redirect: 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 c4d61066ac..25b13a3496 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 @@ -2,6 +2,7 @@ title: 'Client.hdel(key, fields)' excerpt: 'Deletes fields from the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hdel/ +redirect: 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 6cb26fd859..ae4b702afe 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 @@ -2,6 +2,7 @@ title: 'Client.hget(key, field)' excerpt: 'Returns the value of field in the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hget/ +redirect: 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 53feef5342..b20af790f8 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 @@ -2,6 +2,7 @@ title: 'Client.hgetall(key)' excerpt: 'Returns all fields and values of the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hgetall/ +redirect: 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 90f7da3de6..5f2a3050c2 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-hincrby/ +redirect: 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 240d29cb02..ea17447a16 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 @@ -2,6 +2,7 @@ title: 'Client.hkeys(key)' excerpt: 'Returns all fields of the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hkeys/ +redirect: 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 ac241a9098..d42cf3a8c7 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 @@ -2,6 +2,7 @@ title: 'Client.hlen(key)' excerpt: 'Returns the number of fields in the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hlen/ +redirect: 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 053c279510..421af1f3bc 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-hset/ +redirect: 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 4ac7ae8bd9..3387684cc0 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-hsetnx/ +redirect: 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 fb63b24f52..e75634bd73 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 @@ -2,6 +2,7 @@ title: 'Client.hvals(key)' excerpt: 'Returns all values of the hash stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-hvals/ +redirect: 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 992192a384..21439557c7 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 @@ -2,6 +2,7 @@ title: 'Client.incr(key)' excerpt: 'Increments the number stored at `key` by one.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-incr/ +redirect: 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 10a89d5a8b..3d0467354b 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 @@ -2,6 +2,7 @@ title: 'Client.incrBy(key, increment)' excerpt: 'Increments the number stored at `key` by `increment`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-incrby/ +redirect: 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 9790f4cf20..6346309eda 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 @@ -2,6 +2,7 @@ title: 'Client.lindex(key)' excerpt: 'Returns the element at index `index` of the list stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lindex/ +redirect: 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 fee1c521af..a09eebcae1 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 @@ -2,6 +2,7 @@ title: 'Client.llen(key)' excerpt: 'Returns the length of the list stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-llen/ +redirect: 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 437101a803..c3b6fb2241 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 @@ -2,6 +2,7 @@ title: 'Client.lpop(key)' excerpt: 'Removes and returns the first element of the list stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lpop/ +redirect: 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 b8b7d8f5d5..c7d0032dfc 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-lpush/ +redirect: 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 c7f991233b..60860ee973 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 @@ -2,6 +2,7 @@ title: 'Client.lrange(key, start, stop)' excerpt: 'Returns the specified elements of the list stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-lrange/ +redirect: 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 b92b8dd139..1b379c3a16 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-lrem/ +redirect: 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 648cd6f8b6..7c6f9bdd0d 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-lset/ +redirect: 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 974ec2c9c4..22c2bae76d 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 @@ -2,6 +2,7 @@ title: 'Client.mget(keys)' excerpt: 'Returns the values of all specified keys.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-mget/ +redirect: 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 cb9c85fa9c..53d3066b7e 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 @@ -2,6 +2,7 @@ title: 'Client.persist(key)' excerpt: 'Remove the expiration from a key.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-persist/ +redirect: 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 e2571bb35e..5fdb8a0aa9 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 @@ -2,6 +2,7 @@ title: 'Client.randomKey()' excerpt: 'Returns a random key from the keyspace.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-randomkey/ +redirect: 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 e49eea7803..b1af50d350 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 @@ -2,6 +2,7 @@ title: 'Client.rpop(key)' excerpt: 'Removes and returns the last element of the list stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-rpop/ +redirect: 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 5f543cb7de..4e0dba5347 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-rpush/ +redirect: 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 fd2c95c11a..490a9c5a90 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 @@ -2,6 +2,7 @@ title: 'Client.sadd(key, members)' excerpt: 'Adds the specified members to the set stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-sadd/ +redirect: 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 6f6015fc9e..8d1fa11fe6 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 @@ -2,6 +2,7 @@ title: 'Client.sendCommand(command, args)' excerpt: 'Issue a command to the Redis server.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-sendcommand/ +redirect: 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 6fa656b9e3..b16157725a 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-set/ +redirect: 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 69f52e14d3..cddca5d24e 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/redis/client/client-sismember/ +redirect: 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 0bc3ed8b23..e7b6d9acab 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 @@ -2,6 +2,7 @@ title: 'Client.smembers(key)' excerpt: 'Returns all the members of the set stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-smembers/ +redirect: 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 b7a169df2b..ba9abc34e5 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 @@ -2,6 +2,7 @@ title: 'Client.spop(key)' excerpt: 'Removes and returns a random member of the set stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-spop/ +redirect: 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 61ab89f048..1aad00316e 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 @@ -2,6 +2,7 @@ title: 'Client.srandmember(key)' excerpt: 'Returns a random member of the set stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-srandmember/ +redirect: 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 89e4a21781..74ae40e1eb 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 @@ -2,6 +2,7 @@ title: 'Client.srem(key, members)' excerpt: 'Removes the specified members from the set stored at `key`.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-srem/ +redirect: 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 6508869b55..77ac42d2ea 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 @@ -2,6 +2,7 @@ title: 'Client.ttl(key)' excerpt: 'Returns the remaining time to live of a key.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-ttl/ +redirect: 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 00f22d72f3..92849dfada 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 @@ -3,6 +3,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/latest/javascript-api/k6-experimental/redis/redis-options/ +redirect: 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 d9e6b98cd7..65e37e7339 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 @@ -2,6 +2,7 @@ title: "timers" excerpt: "k6 timers experimental API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/timers/ +redirect: 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 22559bdb88..cfbcdb3611 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 @@ -2,6 +2,7 @@ title: "tracing" excerpt: "k6 Tracing experimental API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/ +redirect: 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 740988d82c..02bc156279 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 @@ -2,6 +2,7 @@ title: 'instrumentHTTP' excerpt: 'instrumentHTTP instruments the k6 http module with tracing capabilities.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/instrumenthttp/ +redirect: 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 9df7e75b8e..0973a1914e 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 @@ -2,6 +2,7 @@ title: 'Client' excerpt: 'Client is a HTTP client attaching tracing information to its requests.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/client/ +redirect: 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 35444f1618..8152c83cb8 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 @@ -2,6 +2,7 @@ title: 'Options' excerpt: 'Options allows to configure the tracing instrumentation behavior.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/options/ +redirect: 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 fd484c69f3..506d18c427 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 @@ -2,6 +2,7 @@ title: 'websockets' excerpt: "k6 websockets experimental API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/ +redirect: 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 defb3efdc2..0e14688e85 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 @@ -2,6 +2,7 @@ title: 'WebSocket.addEventListener(event, handler)' excerpt: 'Set up handler functions for various events on the WebSocket connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-addeventlistener/ +redirect: 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 f77df4e459..3cba7d2706 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 @@ -2,6 +2,7 @@ title: 'WebSocket.send(data)' excerpt: 'Send a data string through the connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-send/ +redirect: 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 c963a417f2..c2daa20dd8 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 @@ -2,6 +2,7 @@ title: 'WebSocket.close([code])' excerpt: 'Close the WebSocket connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-close/ +redirect: 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 1065cf2057..4288270361 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/websockets/websocket/websocket-ping/ +redirect: 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 f4ca7911b8..1d8d989252 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onclose' excerpt: 'A handler function for WebSocket connection close event.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onclose/ +redirect: 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 d278607574..fd7d723571 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onerror' excerpt: 'A handler function for WebSocket connection error event.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onerror/ +redirect: 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 d83afba587..5dc44cf97a 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onmessage' excerpt: 'A handler function for message event WebSocket.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onmessage/ +redirect: 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 67a3de2c1a..fe6dddacf5 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onopen' excerpt: 'A handler function for WebSocket connection open event.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onopen/ +redirect: 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 ce18c89262..bae74a1dd4 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onping' excerpt: 'A handler function for WebSocket connection ping event.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onping/ +redirect: 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 eb399cdf15..cb45d46fe0 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 @@ -2,6 +2,7 @@ title: 'WebSocket.onpong' excerpt: 'A handler function for WebSocket connection pong event.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/websocket/websocket-onpong/ +redirect: 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 f92e06b453..62cd9c2c5d 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 @@ -3,6 +3,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/latest/javascript-api/k6-experimental/websockets/websocket/ +redirect: 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 6a2998e9c2..691aa86acd 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 @@ -3,6 +3,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/latest/javascript-api/k6-experimental/websockets/params/ +redirect: 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 9f7075cd37..7aed2a0075 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 @@ -2,6 +2,7 @@ title: 'webcrypto' excerpt: "k6 webcrypto experimental API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/ +redirect: 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 99210fc099..3795a7e255 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 @@ -2,6 +2,7 @@ title: 'Crypto' excerpt: 'Crypto offers basic cryptography features.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/ +redirect: 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 59e8cdc0e6..ca4fe304e2 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 @@ -2,6 +2,7 @@ title: 'getRandomValues' excerpt: 'getRandomValues fills the passed TypedArray with cryptographically sound random values.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/getrandomvalues/ +redirect: 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 508c9760cd..28480dc022 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 @@ -2,6 +2,7 @@ title: 'randomUUID' excerpt: 'randomUUID produces a 36-characters long string containing a cryptographically random UUID v4.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/randomuuid/ +redirect: 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 0ac89cfd7e..089f52a328 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 @@ -2,6 +2,7 @@ title: 'SubtleCrypto' excerpt: 'SubtleCrypto offers low-level cryptographic functions.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/ +redirect: 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 5ce85def58..474db7c179 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 @@ -2,6 +2,7 @@ title: 'decrypt' excerpt: 'decrypt decrypts some encrypted data' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt/ +redirect: 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 524fd5bcca..7431f803fd 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 @@ -2,6 +2,7 @@ title: 'digest' excerpt: 'digest decrypts some encrypted data' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/digest/ +redirect: 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 2ebf1c4796..6cce61bc52 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 @@ -2,6 +2,7 @@ title: 'encrypt' excerpt: 'encrypt decrypts some encrypted data' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt/ +redirect: 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 e95f657d8c..248cac39a5 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 @@ -2,6 +2,7 @@ title: 'exportKey' excerpt: 'exportKey exports a key in an external, portable format.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/exportkey/ +redirect: 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 f949440cc2..7cfe145f8c 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 @@ -2,6 +2,7 @@ title: 'generateKey' excerpt: 'generateKey generates a new key.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey/ +redirect: 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 fdae2bc703..350106979e 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/importkey/ +redirect: 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 c0ffa515d6..3ed2b0a0f8 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 @@ -2,6 +2,7 @@ title: 'sign' excerpt: 'sign generates a digital signature.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign/ +redirect: 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 720d81c9e0..b5a8c3075b 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 @@ -2,6 +2,7 @@ title: 'verify' excerpt: 'verify verifies a digital signature.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify/ +redirect: 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 4e43bdc761..7ba54a92cb 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 @@ -2,6 +2,7 @@ title: 'CryptoKey' excerpt: 'CryptoKey represents a cryptographic key used for encryption, decryption, signing, or verification.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/cryptokey/ +redirect: 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 e36e036433..4895e187e7 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/aeskeygenparams/ +redirect: 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 e615d000db..83a4b3382b 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/hmackeygenparams/ +redirect: 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 85582b1ff9..6f65fd148c 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/aesctrparams/ +redirect: 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 6032a7f7eb..0ce61f068c 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/aescbcparams/ +redirect: 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 31cc86aecb..878bb5499f 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 @@ -2,6 +2,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/latest/javascript-api/k6-experimental/webcrypto/aesgcmparams/ +redirect: 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. 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 5af000a75b..058b6a814e 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 @@ -2,6 +2,7 @@ title: "k6/html" excerpt: 'The k6/html module contains functionality for HTML parsing.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/ +redirect: 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/08 k6-html/10-parseHTML- src -.md b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md index a743e37ecd..c1064c814b 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 @@ -3,6 +3,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/latest/javascript-api/k6-html/parsehtml/ +redirect: 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 419e1448d0..34cb40f814 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 @@ -3,6 +3,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/latest/javascript-api/k6-html/element/ +redirect: 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 aba758aef2..44874ba1be 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 @@ -3,6 +3,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/latest/javascript-api/k6-html/selection/ +redirect: 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 dd89fa86b6..7390ccda5e 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-attr/ +redirect: 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 3f9b80a180..94091ceeb2 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-children/ +redirect: 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 95d6b5dd70..529b897bd8 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-closest/ +redirect: 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 71921ea312..a4543bd429 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-contents/ +redirect: 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 f39abbdf43..6c150a3fc6 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-data/ +redirect: 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 b2878c1d52..3fad212457 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 @@ -2,6 +2,7 @@ title: 'Selection.each(fn)' excerpt: 'Iterate over a Selection, executing a function for each matched element.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-each/ +redirect: 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 b85d6502b7..e4f5aa0700 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-eq/ +redirect: 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 d82a55cde7..3a3b93c85b 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-filter/ +redirect: 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 e3ea104cad..31e320bc75 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 @@ -2,6 +2,7 @@ title: 'Selection.find(selector)' excerpt: 'Find the selection descendants, filtered by a selector.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-find/ +redirect: 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 0c21dc0371..915e6983f1 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 @@ -2,6 +2,7 @@ title: 'Selection.first()' excerpt: 'Reduce the set of matched elements to the first in the set.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-first/ +redirect: 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 210b945d63..2d6f88fb04 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 @@ -2,6 +2,7 @@ title: 'Selection.get(index)' excerpt: 'Retrieve the Element matched by the selector.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-get/ +redirect: 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 ff288ff2c1..089481e79e 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-has/ +redirect: 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 c79f582c4f..30cbd7c04c 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-html/ +redirect: 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 fe396431ef..d6be648b6f 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-is/ +redirect: 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 40c08d2881..127333823c 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 @@ -2,6 +2,7 @@ title: 'Selection.last()' excerpt: 'Reduce the set of matched elements to the final one in the set.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-last/ +redirect: 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 48eb000250..2fdbfe79e6 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-map/ +redirect: 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 46f49f29ad..3f05700c7b 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 @@ -3,6 +3,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/latest/javascript-api/k6-html/selection/selection-next/ +redirect: 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 7cfbbf3cc6..b4e317643d 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-nextall/ +redirect: 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 26e127f65b..23e7ef48fc 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-nextuntil/ +redirect: 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 b172b72828..2808e8cfb6 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 @@ -2,6 +2,7 @@ title: 'Selection.not(selector)' excerpt: 'Remove elements from the set of matched elements.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-not/ +redirect: 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 88f73f0935..cf167499f3 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-parent/ +redirect: 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 163279ce63..a614dc76c6 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-parents/ +redirect: 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 406c8f47d1..530cedb726 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-parentsuntil/ +redirect: 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 63378dc1b4..72646343c6 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-prev/ +redirect: 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 a7d0c277eb..bfe7a077a7 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-prevall/ +redirect: 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 1877b3897b..5a9d40d339 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-prevuntil/ +redirect: 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 21d3267c13..3d71e4ed9b 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-serialize/ +redirect: 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 2399a789bc..e39cba1b55 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 @@ -2,6 +2,7 @@ title: 'Selection.serializeArray()' excerpt: 'Encode a set of form elements as an array of names and values.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-serializearray/ +redirect: 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 b67a3bb97d..754a4fb1ac 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 @@ -2,6 +2,7 @@ title: 'Selection.serializeObject()' excerpt: 'Encode a set of form elements as an object.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-serializeobject/ +redirect: 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 c3a2f0ba4a..7785cf4485 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 @@ -2,6 +2,7 @@ title: 'Selection.size()' excerpt: 'Return the number of elements in the Selection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-size/ +redirect: 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 cc9d6765ea..197ed0dcad 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-slice/ +redirect: 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 0a8321143c..3a6c9ceab1 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 @@ -2,6 +2,7 @@ title: 'Selection.text()' excerpt: 'Get the text content of the Selection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-text/ +redirect: 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 64d72525da..341a2e2d14 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 @@ -2,6 +2,7 @@ title: 'Selection.toArray()' excerpt: 'Retrieve all the elements contained in the Selection, as an array.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-toarray/ +redirect: 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 bafde1a74e..3517a854f0 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 @@ -2,6 +2,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/latest/javascript-api/k6-html/selection/selection-val/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/09 k6-http.md index e266a3a6dd..7a5d123905 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 @@ -2,6 +2,7 @@ title: 'k6/http' excerpt: 'The k6/http module contains functionality for performing HTTP transactions.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/ +redirect: 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/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 59f36f3184..5a03a97799 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/asyncrequest/ +redirect: 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 6d630613fe..639fee7846 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/batch/ +redirect: 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 82572d6f0b..3464690b53 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/k6-http/cookiejar-method/ +redirect: 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 e453253ec7..01300bccf8 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 @@ -3,6 +3,7 @@ title: 'del( url, [body], [params] )' description: 'Issue an HTTP DELETE request.' excerpt: 'Issue an HTTP DELETE request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/del/ +redirect: 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 dd52ca2481..b59cea9bd0 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/file/ +redirect: 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 c75fc22a54..b9fb9fe57d 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 @@ -3,6 +3,7 @@ title: 'get( url, [params] )' description: 'Issue an HTTP GET request.' excerpt: 'Issue an HTTP GET request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/get/ +redirect: 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 a6f944ad21..1dd3f44acc 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 @@ -3,6 +3,7 @@ title: 'head( url, [params] )' description: 'Issue an HTTP HEAD request.' excerpt: 'Issue an HTTP HEAD request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/head/ +redirect: 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 97d45198d3..4d30c98b8c 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 @@ -3,6 +3,7 @@ title: "options( url, [body], [params] )" description: "Issue an HTTP OPTIONS request." excerpt: "Issue an HTTP OPTIONS request." canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/options/ +redirect: 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 2397b99776..7f0732bc95 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 @@ -3,6 +3,7 @@ title: 'patch( url, [body], [params] )' description: 'Issue an HTTP PATCH request.' excerpt: 'Issue an HTTP PATCH request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/patch/ +redirect: 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 2aad946264..3a20b8e051 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 @@ -3,6 +3,7 @@ title: 'post( url, [body], [params] )' description: 'Issue an HTTP POST request.' excerpt: 'Issue an HTTP POST request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/post/ +redirect: 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 4be880d25b..99466003db 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 @@ -3,6 +3,7 @@ title: 'put( url, [body], [params] )' description: 'Issue an HTTP PUT request.' excerpt: 'Issue an HTTP PUT request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/put/ +redirect: 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 e5c0fccad1..1e21cd07dc 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/request/ +redirect: 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 1d1b98ea9e..6e64755788 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/set-response-callback/ +redirect: 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 cafee8568d..818d3b0668 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/url/ +redirect: 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 725a95b605..c07c8e3222 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/expected-statuses/ +redirect: 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 9f99eaf3b4..c02c6cb242 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/k6-http/cookiejar/ +redirect: 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 f8ad5e193f..f390e74dc3 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 @@ -2,6 +2,7 @@ title: 'CookieJar.clear(url)' excerpt: 'Delete all cookies for the given URL.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-clear/ +redirect: 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 3b2312ddd4..526fc0f821 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 @@ -2,6 +2,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/latest/javascript-api/k6-http/cookiejar/cookiejar-cookiesforurl/ +redirect: 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 1100da1b64..0873273915 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 @@ -2,6 +2,7 @@ title: 'CookieJar.delete(url, name)' excerpt: 'Delete a cookie of a specified `name` for the given URL.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/cookiejar/cookiejar-delete/ +redirect: 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 57e976f935..0be70271de 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 @@ -2,6 +2,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/latest/javascript-api/k6-http/cookiejar/cookiejar-set/ +redirect: 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 e747a25acd..799bd8d049 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/filedata/ +redirect: 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 aff01e66e8..1709d5e222 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/params/ +redirect: 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 23f5e60be0..a5f6372f79 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 @@ -3,6 +3,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/latest/javascript-api/k6-http/response/ +redirect: 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 49b63131ff..92710f98f3 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 @@ -2,6 +2,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/latest/javascript-api/k6-http/response/response-clicklink/ +redirect: 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 07080fae00..1b5a94991d 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 @@ -2,6 +2,7 @@ title: 'Response.html()' excerpt: 'Parses response as HTML and populate a Selection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-html/ +redirect: 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 3a772cc238..0490c06087 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 @@ -2,6 +2,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/latest/javascript-api/k6-http/response/response-json/ +redirect: 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 8a618b147e..be3f782914 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 @@ -2,6 +2,7 @@ title: 'Response.submitForm( [params] )' excerpt: 'Fill in and submit form found in HTML of response.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-http/response/response-submitform/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md index b76ff74c92..1d17033ee5 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 @@ -2,6 +2,7 @@ title: 'k6/metrics' excerpt: 'k6 Custom Metrics API' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/ +redirect: 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/10 k6-metrics/70 Counter.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md index b137fdfa99..8809fa24dd 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 @@ -2,6 +2,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/latest/javascript-api/k6-metrics/counter/ +redirect: 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 fc55b0d55d..e5755bd027 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 @@ -2,6 +2,7 @@ title: "Counter.add(value, [tags])" excerpt: 'Add a value to the Counter metric.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/counter/counter-add/ +redirect: 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 ce44f8d8c2..4d9153a219 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 @@ -2,6 +2,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/latest/javascript-api/k6-metrics/gauge/ +redirect: 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 06fafede93..e305f0ad7d 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 @@ -2,6 +2,7 @@ title: "Gauge.add(value, [tags])" excerpt: 'Set the value of the Gauge metric.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/gauge/gauge-add/ +redirect: 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 68ba194651..214563c78a 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 @@ -2,6 +2,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/latest/javascript-api/k6-metrics/rate/ +redirect: 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 654d6bca84..ce3c721a2e 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 @@ -2,6 +2,7 @@ title: "Rate.add(value, [tags])" excerpt: 'Set the value of the Rate metric.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/rate/rate-add/ +redirect: 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 9b88dbb330..3baa370c11 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 @@ -2,6 +2,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/latest/javascript-api/k6-metrics/trend/ +redirect: 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 5092ed607c..ef8b9ac5cc 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 @@ -2,6 +2,7 @@ title: "Trend.add(value, [tags])" excerpt: 'Add a value to the Trend metric.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/trend/trend-add/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md index 6cf2944698..52f6259965 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 @@ -2,6 +2,7 @@ title: "k6/net/grpc" excerpt: "k6 gRPC API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/ --- 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 caacb1e747..8991caf070 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 @@ -2,6 +2,7 @@ title: Client excerpt: 'Client is a gRPC client that can interact with a gRPC server.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/ +redirect: 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 7f96c1d14e..1946941c5a 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 @@ -2,6 +2,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/latest/javascript-api/k6-net-grpc/client/client-load/ +redirect: 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 c609812232..e848afd527 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 @@ -2,6 +2,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/latest/javascript-api/k6-net-grpc/client/client-loadprotoset/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-net-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/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 d31e6501ed..717c4a8676 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 @@ -2,6 +2,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/latest/javascript-api/k6-net-grpc/client/client-connect/ +redirect: 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 16e49734f2..5e5603cc86 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 @@ -2,6 +2,7 @@ title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-invoke/ +redirect: 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 0667e76099..e7959e0815 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 @@ -2,6 +2,7 @@ title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-close/ +redirect: 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 d1f98718d4..01649f5128 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 @@ -3,6 +3,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/latest/javascript-api/k6-net-grpc/params/ +redirect: 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 acb64ed98d..1bf64404c0 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 @@ -3,6 +3,7 @@ title: "Response" head_title: 'gRPC.Response' excerpt: 'The response object of a gRPC request.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/response/ +redirect: 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 91fe3e165e..a771f2f346 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 @@ -2,6 +2,7 @@ title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/constants/ +redirect: 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.md b/src/data/markdown/docs/02 javascript api/12 k6-ws.md index 288894405d..f4dd23b497 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 @@ -2,6 +2,7 @@ title: "k6/ws" excerpt: "k6 WebSocket API" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/ --- 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 c3a3838994..e1285107c2 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 @@ -3,6 +3,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/latest/javascript-api/k6-ws/connect/ +redirect: 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 03e719e91e..1414e13dc1 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 @@ -3,6 +3,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/latest/javascript-api/k6-ws/params/ +redirect: 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 32ac9eb921..3173ab3da8 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 @@ -2,6 +2,7 @@ title: 'Socket' excerpt: 'Socket is a WebSocket client to interact with a WebSocket connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/ +redirect: 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 302bdccbc8..1866c0a4f3 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 @@ -2,6 +2,7 @@ title: 'Socket.close([code])' excerpt: 'Close the WebSocket connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-close/ +redirect: 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 b472cab052..57d756d838 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 @@ -2,6 +2,7 @@ title: 'Socket.on(event, callback)' excerpt: 'Set up callback functions for various events on the WebSocket connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-on/ +redirect: 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 7863e19482..99c78ffcad 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 @@ -2,6 +2,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/latest/javascript-api/k6-ws/socket/socket-ping/ +redirect: 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 20fdfb7ce6..9c5792293c 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 @@ -2,6 +2,7 @@ title: 'Socket.send(data)' excerpt: 'Send a data string through the connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-send/ +redirect: 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 158910cf93..c6a72ebcaf 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 @@ -2,6 +2,7 @@ title: 'Socket.sendBinary(data)' excerpt: 'Send binary data through the connection.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-sendbinary/ +redirect: 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 388219c13c..5d5341c7c6 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 @@ -2,6 +2,7 @@ title: 'Socket.setInterval(callback, interval)' excerpt: 'Call a function repeatedly, while the WebSocket connection is open.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-setinterval/ +redirect: 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 0077abb87a..79f2c262b7 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 @@ -2,6 +2,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/latest/javascript-api/k6-ws/socket/socket-settimeout/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-settimeout/ --- 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 ab1d7804f2..f96b57a314 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 @@ -2,6 +2,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/latest/javascript-api/error-codes/ +redirect: 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. diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 amazon-cloudwatch.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 amazon-cloudwatch.md index b39f2f7fb3..f4177e2964 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 amazon-cloudwatch.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 amazon-cloudwatch.md @@ -1,4 +1,4 @@ --- title: 'Amazon CloudWatch' -redirect: 'https://k6.io/docs/results-output/real-time/amazon-cloudwatch' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/amazon-cloudwatch/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 apache-kafka.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 apache-kafka.md index 29ccb83335..7666ec97e6 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 apache-kafka.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 apache-kafka.md @@ -1,4 +1,4 @@ --- title: 'Apache Kafka' -redirect: 'https://k6.io/docs/results-output/real-time/apache-kafka' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/apache-kafka/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 cloud-service.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 cloud-service.md index f60da1f903..6704e04f61 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 cloud-service.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 cloud-service.md @@ -1,4 +1,4 @@ --- title: 'Cloud' -redirect: 'https://k6.io/docs/results-output/real-time/cloud' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/cloud/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 csv.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 csv.md index 4f894f5466..c072243fc7 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 csv.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 csv.md @@ -1,4 +1,4 @@ --- title: 'CSV' -redirect: 'https://k6.io/docs/results-output/real-time/csv' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/csv/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 datadog.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 datadog.md index e8b980d364..49b28b97da 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 datadog.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 datadog.md @@ -1,4 +1,4 @@ --- title: 'Datadog' -redirect: 'https://k6.io/docs/results-output/real-time/datadog' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/datadog/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 dynatrace.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 dynatrace.md index bf64e3ed76..82cd5a9592 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 dynatrace.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 dynatrace.md @@ -1,4 +1,4 @@ --- title: 'Dynatrace' -redirect: 'https://k6.io/docs/results-output/real-time/dynatrace' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/dynatrace/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 elasticsearch.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 elasticsearch.md index ff82702aa5..686dd870c5 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 elasticsearch.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 elasticsearch.md @@ -1,4 +1,4 @@ --- title: 'Elasticsearch' -redirect: 'https://k6.io/docs/results-output/real-time/elasticsearch' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/elasticsearch/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 grafana-cloud.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 grafana-cloud.md index 47b06f55ba..429f2f34ba 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 grafana-cloud.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 grafana-cloud.md @@ -1,4 +1,4 @@ --- title: 'Grafana Cloud Prometheus' -redirect: 'https://k6.io/docs/results-output/real-time/grafana-cloud-prometheus/' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/cloud/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 influxdb-grafana.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 influxdb-grafana.md index c38a7b608b..9cc18fa8cb 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 influxdb-grafana.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 influxdb-grafana.md @@ -1,4 +1,4 @@ --- title: 'InfluxDB' -redirect: 'https://k6.io/docs/results-output/real-time/influxdb' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/influxdb/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 json.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 json.md index a76f762515..c764e58a1e 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 json.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 json.md @@ -1,4 +1,4 @@ --- title: 'JSON' -redirect: 'https://k6.io/docs/results-output/real-time/json' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/json/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 netdata.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 netdata.md index f41dcc88a9..04395c42d0 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 netdata.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 netdata.md @@ -1,4 +1,4 @@ --- title: 'Netdata' -redirect: 'https://k6.io/docs/results-output/real-time/netdata/' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/netdata/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 new-relic.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 new-relic.md index b913655cca..793c6e5954 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 new-relic.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 new-relic.md @@ -1,4 +1,4 @@ --- title: 'New Relic' -redirect: 'https://k6.io/docs/results-output/real-time/new-relic' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/new-relic/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 prometheus.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 prometheus.md index 72de356226..a2fe1c0914 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 prometheus.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 prometheus.md @@ -1,4 +1,4 @@ --- title: 'Prometheus' -redirect: 'https://k6.io/docs/results-output/real-time/prometheus-remote-write' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/prometheus-remote-write/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 statsd.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 statsd.md index 64227ca619..e159a60b8e 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 statsd.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 statsd.md @@ -1,4 +1,4 @@ --- title: 'StatsD' -redirect: 'https://k6.io/docs/results-output/real-time/statsd' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/statsd/' --- diff --git a/src/data/markdown/docs/04 integrations/04 Results visualization/00 timescaledb.md b/src/data/markdown/docs/04 integrations/04 Results visualization/00 timescaledb.md index 5dc1872070..693e99f823 100644 --- a/src/data/markdown/docs/04 integrations/04 Results visualization/00 timescaledb.md +++ b/src/data/markdown/docs/04 integrations/04 Results visualization/00 timescaledb.md @@ -1,4 +1,4 @@ --- title: 'TimescaleDB' -redirect: 'https://k6.io/docs/results-output/real-time/timescaledb' +redirect: 'https://grafana.com/docs/k6/latest/results-output/real-time/timescaledb/' --- diff --git a/src/data/markdown/docs/04 integrations/06 Chaos engineering/02 xk6-disruptor.md b/src/data/markdown/docs/04 integrations/06 Chaos engineering/02 xk6-disruptor.md index cb8b4b6f8d..fbe3eb69de 100644 --- a/src/data/markdown/docs/04 integrations/06 Chaos engineering/02 xk6-disruptor.md +++ b/src/data/markdown/docs/04 integrations/06 Chaos engineering/02 xk6-disruptor.md @@ -1,4 +1,4 @@ --- title: 'xk6-disruptor' -redirect: 'https://k6.io/docs/javascript-api/xk6-disruptor/' +redirect: 'https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/' --- 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 bdfb8c8219..369099a03e 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 @@ -3,6 +3,7 @@ title: 'Single request' excerpt: 'Example of one HTTP GET request' draft: 'false' canonicalUrl: https://grafana.com/docs/k6/latest/examples/single-request/ +redirect: 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 7fbd756f3d..94c9d788d9 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 @@ -2,6 +2,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/latest/examples/http-authentication/ +redirect: 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 49f601f89d..229c13d157 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 @@ -2,6 +2,7 @@ title: 'OAuth Authentication' excerpt: 'Scripting examples on how to use OAuth authentication in your load test.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/oauth-authentication/ +redirect: 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 1e0441dc86..f3bd73d4be 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 @@ -6,6 +6,7 @@ excerpt: | 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/latest/examples/correlation-and-dynamic-data/ +redirect: 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 696b984e44..0606f1ea70 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 @@ -7,6 +7,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/latest/examples/data-parameterization/ +redirect: 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 729914aa0d..ae627f57b8 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 @@ -2,6 +2,7 @@ title: 'Parse HTML' excerpt: 'Scripting examples parsing HTML content.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/parse-html/ +redirect: 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 8ce4bff509..7daa381d4a 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 @@ -2,6 +2,7 @@ title: 'HTML Forms' excerpt: 'Scripting example on how to handle HTML forms in a k6 test.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/html-forms/ +redirect: 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 d081b30b4e..3b868ae1ed 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 @@ -2,6 +2,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/latest/examples/cookies-example/ +redirect: 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 d4125148a3..0639c8d9d3 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 @@ -2,6 +2,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/latest/examples/data-uploads/ +redirect: 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 5be8364d98..c9e985dbdc 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 @@ -2,6 +2,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/latest/examples/api-crud-operations/ +redirect: 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 5c1dd80917..81296a294e 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 @@ -2,6 +2,7 @@ title: 'Generating UUIDs' excerpt: 'Scripting example on how to generate UUIDs in your load test.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/generating-uuids/ +redirect: 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 a69221ea06..75859aadc7 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 @@ -2,6 +2,7 @@ title: 'HTTP2' excerpt: 'Information on how to load test HTTP/2.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/http2/ +redirect: 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 0c1c41de29..48e7257709 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 @@ -3,6 +3,7 @@ title: 'WebSockets' excerpt: | Scripting example on how to use WebSocket API in k6. canonicalUrl: https://grafana.com/docs/k6/latest/examples/websockets/ +redirect: 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 7d1a58a2c3..43bdf8157a 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 @@ -2,6 +2,7 @@ title: 'SOAP' excerpt: 'Load Testing SOAP API.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/soap/ +redirect: 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 50166760e6..7c9bb0018f 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 @@ -4,6 +4,7 @@ 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/latest/examples/tls/ +redirect: 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 eb6292c840..3e2069ca45 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 @@ -1,7 +1,7 @@ --- 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/latest/examples/data-generation/ +redirect: 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 439b5d3766..7f2dbf025e 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 @@ -1,7 +1,7 @@ --- 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/latest/examples/crawl-webpage/ +redirect: 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 406abab2a1..3fc67af14b 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 @@ -1,8 +1,8 @@ --- title: 'Bundling and transpilation' -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/latest/examples/bundling-and-transpilation/ +redirect: 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 065d4fc48b..ae446c3c43 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 @@ -3,6 +3,7 @@ title: 'Functional testing' excerpt: | Use Chaijs library for functional and integration testing. canonicalUrl: https://grafana.com/docs/k6/latest/examples/functional-testing/ +redirect: 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 cda0bee6bd..60d813ec11 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 @@ -2,6 +2,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/latest/examples/track-transmitted-data-per-url/ +redirect: 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 c7573eb464..3437a76506 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 @@ -2,6 +2,7 @@ title: 'URLs with query parameters' excerpt: 'Scripting examples using URL and URLSearchParams modules.' canonicalUrl: https://grafana.com/docs/k6/latest/examples/url-query-parameters/ +redirect: 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 4a778c42dc..bdd28fa9a2 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 @@ -3,6 +3,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/latest/examples/instant-load-increase/ +redirect: 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 8ceb6208c7..09127ec23d 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 @@ -2,6 +2,7 @@ title: Get timings for an HTTP metric excerpt: How to calculate timings for an individual k6 metric canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-timings-for-an-http-metric/ +redirect: 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 79b9846112..8283f4e02d 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 @@ -3,6 +3,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/latest/examples/distribute-workloads/ +redirect: 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 9b4826081a..5e0b274046 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials.md @@ -2,6 +2,7 @@ title: 'Tutorials' excerpt: 'k6 Tutorials' canonicalUrl: https://grafana.com/docs/k6/latest/examples/tutorials/ +redirect: 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 f6f1fc4d2b..2b54ad380d 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 @@ -2,6 +2,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/latest/examples/get-started-with-k6/ +redirect: 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 4a91d4bb2e..fb5190514f 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 @@ -2,6 +2,7 @@ title: Test for functional behavior excerpt: Use k6 to write requests and assert that they respond correctly canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/test-for-functional-behavior/ +redirect: 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 bafadb17dd..82e52fa626 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 @@ -2,6 +2,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/latest/examples/get-started-with-k6/test-for-performance/ +redirect: 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 0e7d1251c6..2c6509fc17 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 @@ -2,6 +2,7 @@ title: Analyze results excerpt: Use k6 to write custom metrics and filter results. canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/analyze-results/ +redirect: 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 f1d2812fbd..856ba36a4e 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 @@ -2,6 +2,7 @@ title: Reuse and re-run tests excerpt: Modularize your k6 test logic and workload configuration. canonicalUrl: https://grafana.com/docs/k6/latest/examples/get-started-with-k6/reuse-and-re-run-tests/ +redirect: 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. 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 2d73262089..249d468a3c 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 @@ -2,6 +2,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/latest/extensions/create/ +redirect: 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 0cfd7fe515..9929d1a1b1 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 @@ -2,6 +2,7 @@ title: 'JavaScript Extensions' excerpt: 'Follow these steps to build a JS extension for k6.' canonicalUrl: https://grafana.com/docs/k6/latest/extensions/create/javascript-extensions/ +redirect: 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 4ce5ab33cb..2fdc425461 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 @@ -2,6 +2,7 @@ title: 'Output Extensions' excerpt: 'Follow these steps to build an output extension for k6.' canonicalUrl: https://grafana.com/docs/k6/latest/extensions/create/output-extensions/ +redirect: 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 76480bb7a9..5b776c4319 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 @@ -3,6 +3,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/latest/extensions/explanations/extensions-registry/ +redirect: 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 5acceee621..028de089dc 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 @@ -3,6 +3,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/latest/extensions/explanations/go-js-bridge/ +redirect: 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 cccf9f4728..3af5da1e9c 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 @@ -3,6 +3,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/latest/extensions/explanations/extension-graduation/ +redirect: 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 7997ae68ee..7cc7ae2c43 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 @@ -2,6 +2,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/latest/extensions/build-k6-binary-using-go/ +redirect: 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 5258e2cfcd..960200b78b 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 @@ -3,6 +3,7 @@ title: 'Build a k6 binary using Docker' excerpt: '' hideFromSidebar: false canonicalUrl: https://grafana.com/docs/k6/latest/extensions/build-k6-binary-using-docker/ +redirect: 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. 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 09b4a1d73d..fa9f972cd7 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/ +redirect: 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 a7e4f46834..7f25c3f4f8 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/awsconfig/ +redirect: 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 c96904cf4e..bf3e6267a2 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/eventbridgeclient/ +redirect: 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 86bcdac0c0..9c383937fc 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/kmsclient/ +redirect: 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 ce5905cd87..5e85c1d2bf 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/s3client/ +redirect: 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 88b6ae26a2..1016d1e3b9 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/sqsclient/ +redirect: 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 86b6598453..3e454536c5 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/secretsmanagerclient/ +redirect: 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 d13aa7bb3b..8c4d8165f4 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/signaturev4/ +redirect: 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 29eeeca0ab..6ab20b3a60 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/aws/systemsmanagerclient/ +redirect: 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 2398bf606e..dc244a109d 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/eventbridgeclient/putevents/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 1b1d9a676b..d68405b080 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/kmsclient/generatedatakey/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 f1e90cfa8c..c051a98bcd 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/kmsclient/listkeys/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 f244a7a868..621d3eb14b 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/kmsclient/kmsdatakey/ +redirect: 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 23a634c6df..17506e2f5b 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/kmsclient/kmskey/ +redirect: 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 4db0f94955..1eacafb934 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/abortmultipartupload/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 fde3652aeb..0bf2c4f84e 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/completemultipartupload/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 21eafc547f..3ac4c469a9 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/copyobject/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 bcedb71c2e..01d2b45f2e 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/createmultipartupload/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 a21dd58353..58331f2eee 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/deleteobject/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 709cbac9d6..61b918c602 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/getobject/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 525dc9bb89..c5fdc48d88 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/listbuckets/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 b4993d335d..c86a1ce2d4 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/listobjects/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 e8e0044628..b6772fc422 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/putobject/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 255a74d3d3..5fb6b72448 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/uploadpart/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 b9741f96ee..c40da4d86a 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/bucket/ +redirect: 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 f13d0ca3dd..0486e56bb7 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/object/ +redirect: 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 8404878163..c268af9ec7 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/s3multipartupload/ +redirect: 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 8f9555f3b8..bd564d5f84 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/s3client/s3part/ +redirect: 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 3a8c146651..8e5c7a57e3 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/sqsclient/sqsclient-listqueues/ +redirect: 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 a02ce04407..0b49b584eb 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/sqsclient/sqsclient-sendmessage/ +redirect: 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 7f1ae48fa5..0eb386881e 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 @@ -3,6 +3,7 @@ title: 'SecretsManagerClient.createSecret(name, secretString, description, [vers description: 'SecretsManagerClient.createSecret creates a new secret' excerpt: 'SecretsManagerClient.createSecret creates a new secret' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/createsecret/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 448dfc8189..0e88525b44 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 @@ -3,6 +3,7 @@ title: 'SecretsManagerClient.deleteSecret(secretID, { recoveryWindow: 30, noReco description: 'SecretsManagerClient.deleteSecret deletes a secret' excerpt: 'SecretsManagerClient.deleteSecret deletes a secret' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/deletesecret/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 9484b802d1..279bd632ed 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/secretsmanagerclient/getsecret/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 ed8252f370..7570fa6586 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/secretsmanagerclient/listsecrets/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 c48486c844..4dbe43f3ca 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 @@ -3,6 +3,7 @@ title: 'SecretsManagerClient.putSecretValue(secretID, secretString, [versionID], description: "SecretsManagerClient.putSecretValue updates an existing secret's value" excerpt: "SecretsManagerClient.putSecretValue updates an existing secret's value" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/putsecretvalue/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 77cb6e8666..7e94ab7ed1 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/secretsmanagerclient/secret/ +redirect: 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 dfc9f3a2a3..f04ee88080 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/signaturev4/presign/ +redirect: 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 76b0425b2d..af1182e11e 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/signaturev4/sign/ +redirect: 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 9e63fc9eb9..e3431f628c 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/systemsmanagerclient/getparameter/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/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 b51a8d597a..58c94efd5b 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 @@ -3,6 +3,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/latest/javascript-api/jslib/aws/systemsmanagerclient/systemsmanagerparameter/ +redirect: 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 b935bd81b4..fb8d40f49c 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 @@ -2,6 +2,7 @@ title: "httpx" excerpt: "httpx is a wrapper library around the native k6 http module" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/ +redirect: 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 3448c14e76..2eea3c5771 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/httpx/asyncrequest/ +redirect: 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 c0c0b59710..ab1a3ca036 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/httpx/request/ +redirect: 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 64232c1287..a3c0effb11 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 @@ -3,6 +3,7 @@ title: 'get(url, [body], [params])' description: 'httpx.get makes GET requests' excerpt: 'httpx.get makes GET requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/get/ +redirect: 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 8035ceb280..1dbc3545c8 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 @@ -4,6 +4,7 @@ head_title: 'httpx.post' description: 'httpx.post makes POST requests' excerpt: 'httpx.post makes POST requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/post/ +redirect: 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 a639d731e9..1efd3b6401 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 @@ -4,6 +4,7 @@ head_title: 'httpx.put' description: 'httpx.put makes PUT requests' excerpt: 'httpx.put makes PUT requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/put/ +redirect: 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 284dc5ee54..c0bfaf8ff3 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 @@ -4,6 +4,7 @@ head_title: 'httpx.patch' description: 'httpx.patch makes PATCH requests' excerpt: 'httpx.patch makes PATCH requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/patch/ +redirect: 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 9957abce3d..3b8b2c7ee8 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 @@ -3,6 +3,7 @@ title: 'delete(url, [body], [params])' description: 'httpx.delete makes DELETE requests' excerpt: 'httpx.delete makes DELETE requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/delete/ +redirect: 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 6657b4880d..e3eb3a4c83 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 @@ -3,6 +3,7 @@ title: 'options(url, [body], [params])' description: 'httpx.options makes OPTIONS requests' excerpt: 'httpx.options makes OPTIONS requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/options/ +redirect: 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 ae5aecc63d..36dcac7f20 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 @@ -3,6 +3,7 @@ title: 'head(url, [body], [params])' description: 'httpx.head makes HEAD requests' excerpt: 'httpx.head makes HEAD requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/head/ +redirect: 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 84c22d6302..67c86f45ef 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 @@ -3,6 +3,7 @@ title: 'trace(url, [body], [params])' description: 'httpx.trace makes TRACE requests' excerpt: 'httpx.trace makes TRACE requests' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/trace/ +redirect: 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 4c44a8e702..578ef6a526 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 @@ -4,6 +4,7 @@ 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/latest/javascript-api/jslib/httpx/batch/ +redirect: 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 ccc7049695..4ea23ebe68 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 @@ -3,6 +3,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/latest/javascript-api/jslib/httpx/setbaseurl/ +redirect: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/batch/ --- 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 8eecf55a68..cc6bac05c8 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 @@ -3,6 +3,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/latest/javascript-api/jslib/httpx/addheader/ +redirect: 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 e61e9d4e06..87781bf596 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 @@ -3,6 +3,7 @@ title: 'addHeaders( object )' description: 'adds multiple headers to the session' excerpt: 'adds multiple headers to the session' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addheaders/ +redirect: 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 f9090fcbd8..e1edf13883 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 @@ -3,6 +3,7 @@ title: 'clearHeader( name )' description: 'removes header from the session' excerpt: 'removes header from the session' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/clearheader/ +redirect: 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 8939f14bdd..841a10720e 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 @@ -3,6 +3,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/latest/javascript-api/jslib/httpx/addtag/ +redirect: 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 dbbc4ef0dd..887d0e89b2 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 @@ -3,6 +3,7 @@ title: 'addTags( object )' description: 'adds multiple tags to the session' excerpt: 'adds multiple tags to the session' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/addtags/ +redirect: 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 5928f34b29..f3e02aaeb4 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 @@ -3,6 +3,7 @@ title: 'clearTag( name )' description: 'removes tag from the session' excerpt: 'removes tag from the session' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/cleartag/ +redirect: 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 dde20d9722..6333205761 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 @@ -2,6 +2,7 @@ title: "k6chaijs" excerpt: "Assertion library for k6" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/ +redirect: 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 5a999f1b4c..cc10b09cdd 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 @@ -2,6 +2,7 @@ title: 'config' excerpt: 'Global configuration options for k6Chaijs' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/config/ +redirect: 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 a9557d05cc..26efd935dc 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 @@ -2,6 +2,7 @@ title: 'describe( name, function )' excerpt: 'Entry point for creating test cases.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/describe/ +redirect: 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 ab491cc870..40f9de458c 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 @@ -2,6 +2,7 @@ title: 'expect()' excerpt: 'BDD style to construct k6 assertions.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/expect/ +redirect: 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 8b2b6bd9a8..2a3eaf932d 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 @@ -2,6 +2,7 @@ title: 'Error handling' excerpt: 'How to handle errors in k6chaijs.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/error-handling/ +redirect: 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 16f98949d1..8205184c09 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 @@ -2,6 +2,7 @@ title: "utils" excerpt: "A collection of small utility functions useful during load testing with k6. " canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/ +redirect: 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 032106697c..665c7371e3 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 @@ -3,6 +3,7 @@ title: 'randomIntBetween(min, max)' description: 'Random integer' excerpt: 'Random integer' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomintbetween/ +redirect: 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 2e7bc32f9b..166bef79fb 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 @@ -3,6 +3,7 @@ title: 'randomItem(array)' description: 'Random item from an array' excerpt: 'Random item from an array' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomitem/ +redirect: 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 383c9cc46b..5722cd390a 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 @@ -3,6 +3,7 @@ title: 'randomString(length, [charset])' description: 'Random string' excerpt: 'Random string' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomstring/ +redirect: 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 676708bca4..130f4d47bb 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 @@ -3,6 +3,7 @@ title: 'uuidv4()' description: 'uuid v4 function' excerpt: 'uuid v4 function' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/uuidv4/ +redirect: 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 580633f2a7..674620795d 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 @@ -3,6 +3,7 @@ title: 'findBetween(content, left, right, [repeat])' description: 'findBetween function' excerpt: 'findBetween function' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/findbetween/ +redirect: 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 c8939a4bcc..f1528571bb 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 @@ -3,6 +3,7 @@ title: 'normalDistributionStages(maxVus, durationSeconds, [numberOfStages])' description: 'normalDistributionStages function' excerpt: 'normalDistributionStages function' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/normaldistributionstages/ +redirect: 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 1ad5163db5..54a8cb771b 100644 --- a/src/data/markdown/docs/20 jslib/20 jslib.md +++ b/src/data/markdown/docs/20 jslib/20 jslib.md @@ -2,6 +2,7 @@ title: "jslib" excerpt: "External JavaScript libraries for k6" canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/ +redirect: 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. 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 7953b35453..0c516ec35b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/00 About.md +++ b/src/data/markdown/docs/40 xk6-disruptor/00 About.md @@ -4,6 +4,7 @@ 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/ +redirect: 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.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md index 472b52fc06..eb96ddcf02 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 @@ -2,6 +2,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/latest/javascript-api/xk6-disruptor/get-started/ +redirect: 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/01 Get started/01 First steps.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md index b26769105b..d80d724219 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 @@ -4,6 +4,7 @@ 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/ +redirect: 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 86372afc6f..62c4b9681b 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 @@ -2,6 +2,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/ +redirect: 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 e74a5fb23d..ffa7508994 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 @@ -2,6 +2,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/ +redirect: 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 719fb52679..b2f7c0f177 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 @@ -2,6 +2,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/ +redirect: 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 dfea34e2d9..4dd11849e3 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 @@ -2,6 +2,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/ +redirect: 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/03 API.md b/src/data/markdown/docs/40 xk6-disruptor/03 API.md index 45919ba74d..b31fd94dcf 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API.md @@ -2,6 +2,7 @@ title: 'API' excerpt: 'An overview of the API for xk6-disruptor.' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/ +redirect: 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 3a5b7a55ee..3717a3e9d6 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 @@ -2,6 +2,7 @@ title: 'Faults' excerpt: 'xk6-disruptor: Fault Description' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/ +redirect: 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 89f0128db5..c0309ea3eb 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 @@ -2,6 +2,7 @@ title: 'gRPC' excerpt: 'xk6-disruptor: gRPC Fault attributes' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/grpc/ +redirect: 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 8bae1a4dae..c418560799 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 @@ -2,6 +2,7 @@ title: 'HTTP' excerpt: 'xk6-disruptor: HTTP Fault attributes' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/http/ +redirect: 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 70e05f0aed..8598f9de45 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 @@ -2,6 +2,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/ +redirect: 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 db3a904015..0b4c2dcd49 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 @@ -2,6 +2,7 @@ title: 'PodDisruptor' excerpt: 'xk6-disruptor: PodDisruptor class' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/ +redirect: 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 abd9d012ea..969ad92b3a 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 @@ -2,6 +2,7 @@ title: 'Constructor' excerpt: 'xk6-disruptor: PodDisruptor constructor' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/constructor/ +redirect: 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 7f29dc3e34..783d55fa96 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 @@ -2,6 +2,7 @@ title: 'injectGrpcFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectGrpcFaults method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injectgrpcfaults/ +redirect: 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 748f81579b..b0ae456dcd 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 @@ -2,6 +2,7 @@ title: 'injectHTTPFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectHTTPFaults method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injecthttpfaults/ +redirect: 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 51e9bf0946..4dfb20ba8d 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 @@ -2,6 +2,7 @@ title: 'terminatePods()' excerpt: 'xk6-disruptor: PodDisruptor.terminatePods method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/terminate-pods/ +redirect: 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 b6c9d7d21f..ea3597da07 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 @@ -2,6 +2,7 @@ title: 'ServiceDisruptor' excerpt: 'xk6-disruptor: ServiceDisruptor class' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/ +redirect: 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 98b4f60cd3..e393b8154b 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 @@ -2,6 +2,7 @@ title: 'Constructor' excerpt: 'xk6-disruptor: ServiceDisruptor constructor' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/constructor/ +redirect: 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 f7075938c8..2889c60931 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 @@ -2,6 +2,7 @@ title: 'injectGrpcFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectGrpcFaults method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injectgrpcfaults/ +redirect: 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 6d47adf740..91dc7bdd0c 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 @@ -2,6 +2,7 @@ title: 'injectHTTPFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectHTTPFaults method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injecthttpfaults/ +redirect: 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 ccd0af30bf..cfb1167ca0 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 @@ -2,6 +2,7 @@ title: 'terminatePods()' excerpt: 'xk6-disruptor: ServiceDisruptor.terminatePods method' canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/terminate-pods/ +redirect: 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. 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 5cb4596cca..4a9b40fed9 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md @@ -2,6 +2,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/ +redirect: 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 5955dc649e..5ab152c5e9 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 @@ -2,6 +2,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/ +redirect: 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 5ce94d38cd..84fbe8c0d6 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 @@ -2,6 +2,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/ +redirect: 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. 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 d5d706f7ed..73005b0b5b 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 @@ -2,6 +2,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/latest/set-up/install-k6/ +redirect: https://grafana.com/docs/k6/latest/set-up/install-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 0e2cc9172c..7ce8c1d2e6 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 @@ -2,6 +2,7 @@ title: 'Troubleshooting' excerpt: 'Instructions to fix the most common installation issues.' canonicalUrl: https://grafana.com/docs/k6/latest/set-up/install-k6/troubleshooting/ +redirect: https://grafana.com/docs/k6/latest/set-up/install-k6/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 6f85eef30a..a7fb26501d 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 @@ -2,6 +2,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/latest/get-started/running-k6/ +redirect: 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 e39b13457d..62a02742d6 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 @@ -2,6 +2,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/latest/get-started/results-output/ +redirect: 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 33b41eae34..a9c69c6fb3 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 @@ -3,6 +3,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/latest/get-started/resources/ +redirect: 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 a7c646066e..2d39197584 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 @@ -2,6 +2,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/latest/using-k6/http-requests/ +redirect: 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 ac23dbdc40..84293030ea 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 @@ -2,6 +2,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/latest/using-k6/metrics/ +redirect: 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 3e826e6bca..acdf7d7c2a 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 @@ -3,6 +3,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/latest/using-k6/metrics/reference/ +redirect: 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 5b93684cf7..32172bc04b 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 @@ -2,6 +2,7 @@ title: Create custom metrics excerpt: How to build custom k6 metrics for each metric type. canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/metrics/create-custom-metrics/ +redirect: 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 d64d138d9e..c707c2c2fc 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 @@ -2,6 +2,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/latest/using-k6/checks/ +redirect: 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 2fb87b57cd..766a927146 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 @@ -2,6 +2,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/latest/using-k6/thresholds/ +redirect: 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 f2625db5b8..b04da822b9 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 @@ -3,6 +3,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/latest/using-k6/k6-options/ +redirect: 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 15317c3007..4f99c78fb0 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 @@ -3,6 +3,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/latest/using-k6/k6-options/how-to/ +redirect: 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 2b10b27bb3..1b61142f69 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 @@ -3,6 +3,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/latest/using-k6/k6-options/reference/ +redirect: 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 c019c9eb39..c9c4e79162 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 @@ -2,6 +2,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/latest/using-k6/test-lifecycle/ +redirect: 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 f588cf74df..d39bd88b2d 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 @@ -3,6 +3,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/latest/using-k6/modules/ +redirect: 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 af6f08da0d..36d896f80e 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 @@ -3,6 +3,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/latest/using-k6/tags-and-groups/ +redirect: 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 ad13733e2e..03472aff6e 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 @@ -2,6 +2,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/latest/using-k6/cookies/ +redirect: 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 d10b0399e4..6f8364b666 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 @@ -2,6 +2,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/latest/using-k6/protocols/ +redirect: 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 0142794d44..b1f134baed 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 @@ -2,6 +2,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/latest/using-k6/protocols/http-2/ +redirect: 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 dcb12135b0..9150ce894a 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 @@ -2,6 +2,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/latest/using-k6/protocols/websockets/ +redirect: 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 bbe4407757..17b41d8478 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 @@ -2,6 +2,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/latest/using-k6/protocols/grpc/ +redirect: 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 a8f436ccbd..47ec27c3c9 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 @@ -2,6 +2,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/latest/using-k6/protocols/ssl-tls/ +redirect: 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 72e37a7186..cad8de04d2 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 @@ -3,6 +3,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/latest/using-k6/protocols/ssl-tls/online-certificate-status-protocol-ocsp/ +redirect: 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 8e2e2ecf3a..58ec46e251 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 @@ -2,6 +2,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/latest/using-k6/protocols/ssl-tls/ssl-tls-client-certificates/ +redirect: 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 922fd9d8e4..5b20048cc1 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 @@ -3,6 +3,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/latest/using-k6/protocols/ssl-tls/ssl-tls-version-and-ciphers/ +redirect: 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 471b96c584..02eec79aec 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 @@ -2,6 +2,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/latest/using-k6/environment-variables/ +redirect: 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 d811d4106f..d83fad592d 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 @@ -2,6 +2,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/latest/using-k6/execution-context-variables/ +redirect: 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 7e8cf1e5b1..c877445a6e 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 @@ -3,6 +3,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/latest/using-k6/scenarios/ +redirect: 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 b9b0f64125..f17ce17593 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 @@ -2,6 +2,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/latest/using-k6/scenarios/concepts/ +redirect: 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 0101497470..40a3cb3c34 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 @@ -3,6 +3,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/latest/using-k6/scenarios/concepts/open-vs-closed/ +redirect: 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 45638e8e51..b91955f6bf 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 @@ -2,6 +2,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/latest/using-k6/scenarios/concepts/graceful-stop/ +redirect: 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 0b588efd19..a8eac79468 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 @@ -2,6 +2,7 @@ title: Arrival-rate VU allocation excerpt: How k6 allocates VUs in the open-model, arrival-rate executors canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/arrival-rate-vu-allocation/ +redirect: 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 cdc34bd199..fe939a27f1 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 @@ -2,6 +2,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/latest/using-k6/scenarios/concepts/dropped-iterations/ +redirect: 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 5c1dcc433f..91c502eb40 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/ +redirect: 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 08bb885805..d149ea1a47 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/shared-iterations/ +redirect: 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 273f6510b5..052b179035 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 @@ -2,6 +2,7 @@ title: 'Per VU iterations' excerpt: 'Each VU executes an exact number of iterations.' canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/per-vu-iterations/ +redirect: 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 c78cd83b34..091d437b05 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/constant-vus/ +redirect: 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 208f844b20..ff8b0e6fb1 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/ramping-vus/ +redirect: 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 eb5232eca7..2c91199fd4 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/constant-arrival-rate/ +redirect: 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 7c2a9026ea..5dc27315f6 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 @@ -2,6 +2,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/latest/using-k6/scenarios/executors/ramping-arrival-rate/ +redirect: 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 d94617a84e..776d23fb79 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 @@ -2,6 +2,7 @@ title: 'Externally controlled' excerpt: 'Control and scale execution at runtime via k6 REST API or the CLI.' canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/externally-controlled/ +redirect: 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 d44edec78b..de2f2aa47c 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 @@ -2,6 +2,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/latest/using-k6/scenarios/advanced-examples/ +redirect: 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 b46082cdd1..cdb19b445d 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 @@ -4,6 +4,7 @@ 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/latest/using-k6-browser/ +redirect: 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 a6899dcfc8..19bfe35383 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 @@ -2,6 +2,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/latest/using-k6-browser/running-browser-tests/ +redirect: 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 a20d0b49e1..d9627c3b0d 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 @@ -2,6 +2,7 @@ title: 'Browser metrics' excerpt: 'An overview of the different browser performance metrics that the browser module tracks.' canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/metrics/ +redirect: 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 d5797b873d..bd053ce9a8 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 @@ -3,6 +3,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/latest/using-k6-browser/migrating-to-k6-v0-46/ +redirect: 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 de53638888..77fdf79de4 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 @@ -2,6 +2,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/latest/using-k6-browser/recommended-practices/ +redirect: 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 60f2d98047..974e7f4836 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 @@ -4,6 +4,7 @@ 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/latest/using-k6-browser/recommended-practices/page-object-model-pattern/ +redirect: 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 405db92c76..ee2ec7fb65 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 @@ -2,6 +2,7 @@ title: 'Selecting elements' excerpt: 'A guide on how to select elements with the browser module.' canonicalUrl: https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/selecting-elements/ +redirect: 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 e44e87662b..05a2a3c9dd 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 @@ -2,6 +2,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/latest/results-output/ +redirect: 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 8f074a4398..f249b7b56c 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 @@ -2,6 +2,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/latest/results-output/end-of-test/ +redirect: 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 e790475a69..362fc1fcef 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 @@ -2,6 +2,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/latest/results-output/end-of-test/custom-summary/ +redirect: 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 2399712c40..b9e7087db9 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 @@ -2,6 +2,7 @@ title: Real time excerpt: Send your time-series k6 metrics to multiple file formats and services canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/ +redirect: 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 e09df8e8cb..3aaafd71ce 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 @@ -2,6 +2,7 @@ title: 'Amazon CloudWatch' excerpt: 'You can send k6 results output to Amazon CloudWatch and later visualize them.' canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/amazon-cloudwatch/ +redirect: 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 fdc62cb90e..903faccfba 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 @@ -2,6 +2,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/latest/results-output/real-time/apache-kafka/ +redirect: 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 8aa1685b15..b2dd1dd82b 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 @@ -2,6 +2,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/latest/results-output/real-time/csv/ +redirect: 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 aecbf7c2d0..2ca1887542 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 @@ -2,6 +2,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/latest/results-output/real-time/cloud/ +redirect: 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 46d3145360..217262378f 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 @@ -2,6 +2,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/latest/results-output/real-time/datadog/ +redirect: 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 04bd1863d2..063fb09bb4 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 @@ -2,6 +2,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/latest/results-output/real-time/dynatrace/ +redirect: 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 85ab4b3bf5..1df681f69c 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 @@ -2,6 +2,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/latest/results-output/real-time/elasticsearch/ +redirect: 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 868e17a539..9c8a8bcb19 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 @@ -3,6 +3,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/latest/results-output/real-time/grafana-cloud-prometheus/ +redirect: 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 9d5d1d4c18..aff68089a0 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 @@ -2,6 +2,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/latest/results-output/real-time/influxdb/ +redirect: 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 ca1b2f0dca..e7a75b7b08 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 @@ -2,6 +2,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/latest/results-output/real-time/json/ +redirect: 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 d221bb6ecc..e5b48f7579 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 @@ -2,6 +2,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/latest/results-output/real-time/netdata/ +redirect: 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 bed930850d..f9c2eee484 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 @@ -2,6 +2,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/latest/results-output/real-time/new-relic/ +redirect: 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 e56e55bea4..7d78eec201 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 @@ -2,6 +2,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/latest/results-output/real-time/prometheus-remote-write/ +redirect: 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 3d258f03ac..ff1b464d16 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 @@ -2,6 +2,7 @@ title: 'StatsD' excerpt: 'k6 has a built-in output to a StatsD service.' canonicalUrl: https://grafana.com/docs/k6/latest/results-output/real-time/statsd/ +redirect: 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 c3ce3247f9..dfcabe060f 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 @@ -2,6 +2,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/latest/results-output/real-time/timescaledb/ +redirect: 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 86834818c1..060723bbdc 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 @@ -2,6 +2,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/latest/results-output/grafana-dashboards/ +redirect: 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 61edada43d..72244d0559 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 @@ -2,6 +2,7 @@ title: 'Test builder' excerpt: 'Use a graphical interface to create a k6 test.' canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/test-builder/ +redirect: 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 d182583f16..0d94df3359 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 @@ -2,6 +2,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/latest/using-k6/test-authoring/create-tests-from-recordings/ +redirect: 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 0627fc1723..8e361c920c 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 @@ -2,6 +2,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/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder/ +redirect: 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 2d7de6c39b..6d4b716c4e 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 @@ -2,6 +2,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/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter/ +redirect: 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/07 Testing Guides/01 API load testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md index 91a2ad99a7..67defc34de 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 @@ -3,6 +3,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/blog/2024/01/30/api-load-testing/ +redirect: https://grafana.com/blog/2024/01/30/api-load-testing/ --- 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 f0e4fb4e62..a6b437563b 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 @@ -3,6 +3,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/latest/testing-guides/automated-performance-testing/ +redirect: 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 5517c82523..00a63f9c0f 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 @@ -3,6 +3,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/blog/2024/01/30/load-testing-websites/ +redirect: https://grafana.com/blog/2024/01/30/load-testing-websites/ --- 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 e3c8479a27..cb54049009 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 @@ -2,6 +2,7 @@ title: 'Running large tests' excerpt: 'How to run large-scale k6 tests without distributed-execution' canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/running-large-tests/ +redirect: 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 2986b16f93..6748da9f11 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 @@ -2,6 +2,7 @@ title: 'Running distributed tests' excerpt: 'How to run distributed tests in Kubernetes' canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/running-distributed-tests/ +redirect: 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 0d367e25ed..6af6a2f924 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 @@ -2,6 +2,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/latest/set-up/usage-collection/ +redirect: https://grafana.com/docs/k6/latest/set-up/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 a51672f171..9d7b5fe575 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 @@ -2,6 +2,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/latest/set-up/configure-k6-intellisense/ +redirect: https://grafana.com/docs/k6/latest/set-up/configure-k6-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 466878185d..89ce2c9f48 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 @@ -2,6 +2,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/latest/set-up/fine-tune-os/ +redirect: https://grafana.com/docs/k6/latest/set-up/fine-tune-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 200b4ed9ae..b83e0b766e 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 @@ -2,6 +2,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/latest/misc/archive/ +redirect: 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 89d79f38ae..67fd073c8b 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 @@ -2,6 +2,7 @@ title: Glossary excerpt: 'A list of technical terms commonly used when discussing k6, with definitions.' canonicalUrl: https://grafana.com/docs/k6/latest/misc/glossary/ +redirect: 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/Testing Guides.md b/src/data/markdown/translated-guides/en/Testing Guides.md index 427a412663..078b54cfab 100644 --- a/src/data/markdown/translated-guides/en/Testing Guides.md +++ b/src/data/markdown/translated-guides/en/Testing Guides.md @@ -2,6 +2,7 @@ title: 'Testing guides' excerpt: 'A series of guides to help you defining your load testing strategies.' canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/ +redirect: https://grafana.com/docs/k6/latest/testing-guides/ --- diff --git a/src/layouts/doc-layout/doc-layout.view.js b/src/layouts/doc-layout/doc-layout.view.js index 60e4a887ec..efb9d7cb35 100644 --- a/src/layouts/doc-layout/doc-layout.view.js +++ b/src/layouts/doc-layout/doc-layout.view.js @@ -26,7 +26,7 @@ import { } from 'react-cookie-banner'; import { childrenToList, isInIFrame } from 'utils'; import AlgoliaQueries from 'utils/algolia'; -import { main, app } from 'utils/urls'; +import { main } from 'utils/urls'; import styles from './doc-layout.module.scss'; import ArrowLeft from './svg/arrow-left.inline.svg'; @@ -378,8 +378,11 @@ export const DocLayout = ({ k6.io - - app.k6.io + + Grafana Cloud k6 diff --git a/src/templates/docs/extensions.js b/src/templates/docs/extensions.js index c7bed5cd01..307f8b0c49 100644 --- a/src/templates/docs/extensions.js +++ b/src/templates/docs/extensions.js @@ -1,16 +1,12 @@ import classNames from 'classnames'; import { - ExtensionsQuickstart, ExtensionsOverview, ExtensionsUseCases, - WhatIsXk6, } from 'components/pages/doc-extensions'; -import TableOfContents from 'components/pages/doc-page/table-of-contents'; import { PageInfo } from 'components/shared/page-info'; import { SEO } from 'components/shared/seo'; import docPageContent from 'components/templates/doc-page/doc-page-content/doc-page-content.module.scss'; import LocaleProvider from 'contexts/locale-provider'; -import { Link } from 'gatsby'; import { useScrollToAnchor } from 'hooks'; import { DocLayout } from 'layouts/doc-layout'; import React, { useRef } from 'react'; @@ -39,24 +35,9 @@ const Extensions = ({ pageContext: { sidebarTree, navLinks } }) => { />
- - - Next,{' '} - - explore - {' '} - the available extensions to see how you can expand your use of k6 - right now.
-
diff --git a/src/templates/docs/guides.js b/src/templates/docs/guides.js index bd41628542..5dfe5d185d 100644 --- a/src/templates/docs/guides.js +++ b/src/templates/docs/guides.js @@ -1,13 +1,8 @@ import classNames from 'classnames'; import { DocPageNavigation } from 'components/pages/doc-page/doc-page-navigation'; import TableOfContents from 'components/pages/doc-page/table-of-contents'; -import { - Features, - Manifesto, - Quickstart, - WhatIs, -} from 'components/pages/doc-welcome'; -import { K6DoesNot } from 'components/pages/doc-welcome/k6-does-not'; +import { WhatIs } from 'components/pages/doc-welcome'; +import { OutdatedBlockquote } from 'components/pages/doc-welcome/outdated-blockquote'; import { UseCases } from 'components/pages/doc-welcome/use-cases'; import { PageInfo } from 'components/shared/page-info'; import { SEO } from 'components/shared/seo'; @@ -23,8 +18,7 @@ import { flattenSidebarTree } from 'utils/utils'; const pageInfo = { en: { title: 'Welcome to the k6 documentation', - description: - 'This documentation will help you go from a total beginner to a seasoned k6 expert!', + description: '', }, es: { title: 'Bienvenido a la documentación de k6', @@ -66,12 +60,9 @@ const GuidesContent = ({
- + - - -