From 5c78be1f75d7edf3e06d978c911586078e8cbcba Mon Sep 17 00:00:00 2001 From: Heitor Tashiro Sergent Date: Wed, 6 Dec 2023 11:30:13 -0500 Subject: [PATCH] Add canonicalUrl to point to grafana.com/docs/k6 pages (#1429) * Set `canonicalUrl` for non-markdown pages * Update canonicalUrl for non-markdown pages * prepare `canonicalURLs` for `translated-guides/en` * Update canonicalUrl for translated-guides section * Update canonicalUrl for xk6-disruptor * prepare `canonicalURLs` option on `javascript api` folders * prepare `canonicalURLs` option on `Examples` and `Extensions` folders * prepare `canonicalURLs` option on `jslib` and `xk6-disruptor` folders * Update canonicalUrls for examples section * Update canonicalUrls for extensions section * Update canonicalUrls for xk6-disruptor section * Update canonicalUrls for root js api pages * Update canonicalUrl for js-api 1 * Update canonicalUrl for js-api 2 * Update canonicalUrl for jslib section * Fix jack's script findings --------- Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com> --- .../docs/02 javascript api/01 Init context.md | 1 + .../02 javascript api/01 Init context/open.md | 1 + src/data/markdown/docs/02 javascript api/02 k6.md | 1 + .../02 k6/check- val- sets- -tags- -.md | 1 + .../docs/02 javascript api/02 k6/fail- -err- -.md | 1 + .../02 javascript api/02 k6/group- name- fn -.md | 1 + .../docs/02 javascript api/02 k6/random-seed.md | 1 + .../docs/02 javascript api/02 k6/sleep- t -.md | 1 + .../docs/02 javascript api/03 k6-crypto.md | 1 + .../03 k6-crypto/01-createHash- algorithm -.md | 1 + .../02-createHMAC- algorithm- secret -.md | 1 + ...- algorithm- 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 + .../02 javascript api/03 k6-crypto/80-Hasher.md | 1 + .../markdown/docs/02 javascript api/04 k6-data.md | 1 + .../02 javascript api/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 + .../docs/02 javascript api/07 k6-experimental.md | 1 + .../07 k6-experimental/01 browser.md | 1 + .../01 browser/02 BrowserContext.md | 1 + .../01 browser/02 BrowserContext/addCookies.md | 1 + .../01 browser/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 + .../01 browser/02 BrowserContext/setOffline.md | 1 + .../01 browser/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 + .../07 k6-experimental/01 browser/06-js-handle.md | 1 + .../07 k6-experimental/01 browser/07-keyboard.md | 1 + .../07 k6-experimental/01 browser/08 Locator.md | 1 + .../01 browser/08 Locator/check--options--.md | 1 + .../01 browser/08 Locator/click--options--.md | 1 + .../01 browser/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 + .../01 browser/08 Locator/innerhtml--options--.md | 1 + .../01 browser/08 Locator/innertext--options--.md | 1 + .../08 Locator/inputvalue--options--.md | 1 + .../01 browser/08 Locator/ischecked--options--.md | 1 + .../08 Locator/isdisabled--options--.md | 1 + .../08 Locator/iseditable--options--.md | 1 + .../01 browser/08 Locator/isenabled--options--.md | 1 + .../01 browser/08 Locator/ishidden--options--.md | 1 + .../01 browser/08 Locator/isvisible--options--.md | 1 + .../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 + .../01 browser/08 Locator/uncheck--options--.md | 1 + .../01 browser/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 + .../01 browser/10 Page/doubledollar--options--.md | 1 + .../01 browser/10 Page/emulateMedia--options--.md | 1 + .../10 Page/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 + .../01 browser/10 Page/getattribute--options--.md | 1 + .../01 browser/10 Page/goto--options--.md | 1 + .../01 browser/10 Page/hover--options--.md | 1 + .../01 browser/10 Page/innerhtml--options--.md | 1 + .../01 browser/10 Page/innertext--options--.md | 1 + .../01 browser/10 Page/inputvalue--options--.md | 1 + .../01 browser/10 Page/ischecked--options--.md | 1 + .../01 browser/10 Page/isclosed--options--.md | 1 + .../01 browser/10 Page/isdisabled--options--.md | 1 + .../01 browser/10 Page/iseditable--options--.md | 1 + .../01 browser/10 Page/isenabled--options--.md | 1 + .../01 browser/10 Page/ishidden--options--.md | 1 + .../01 browser/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 + .../07 k6-experimental/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 + .../01 browser/10 Page/screenshot--options--.md | 1 + .../01 browser/10 Page/selectoption--options--.md | 1 + .../01 browser/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 + .../01 browser/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 + .../07 k6-experimental/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 + .../07 k6-experimental/01 browser/11 Request.md | 1 + .../01 browser/11 Request/size.md | 1 + .../07 k6-experimental/01 browser/12-response.md | 1 + .../01 browser/13-touchscreen.md | 1 + .../07 k6-experimental/01 browser/14 Worker.md | 1 + .../07 k6-experimental/01 browser/context.md | 1 + .../07 k6-experimental/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 + .../10-Client-load-importpaths-protoFiles copy.md | 1 + .../02 grpc/20 Client/11-Client-load-protoset.md | 1 + .../20-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 + .../07 k6-experimental/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 + .../07 k6-experimental/04 tracing/02 Client.md | 1 + .../07 k6-experimental/04 tracing/03 Options.md | 1 + .../07 k6-experimental/05 websockets.md | 1 + .../10 WebSocket/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 + .../07 k6-experimental/05 websockets/20-Params.md | 1 + .../07 k6-experimental/06 webcrypto.md | 1 + .../07 k6-experimental/06 webcrypto/01 Crypto.md | 1 + .../06 webcrypto/01 Crypto/01 getRandomValues.md | 1 + .../06 webcrypto/01 Crypto/02 randomUUID.md | 1 + .../06 webcrypto/02 SubtleCrypto.md | 1 + .../06 webcrypto/02 SubtleCrypto/01 decrypt.md | 1 + .../06 webcrypto/02 SubtleCrypto/02 digest.md | 1 + .../06 webcrypto/02 SubtleCrypto/03 encrypt.md | 1 + .../06 webcrypto/02 SubtleCrypto/04 exportKey.md | 1 + .../02 SubtleCrypto/05 generateKey.md | 1 + .../06 webcrypto/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 + .../markdown/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 + .../02 javascript api/08 k6-html/50 Selection.md | 1 + .../50 Selection/Selection-attr-name-.md | 1 + .../Selection-children--selector--.md | 1 + .../50 Selection/Selection-closest-selector-.md | 1 + .../50 Selection/Selection-contents--.md | 1 + .../50 Selection/Selection-data--key--.md | 1 + .../08 k6-html/50 Selection/Selection-each-fn-.md | 1 + .../50 Selection/Selection-eq-index-.md | 1 + .../50 Selection/Selection-filter-selector-.md | 1 + .../50 Selection/Selection-find-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-first--.md | 1 + .../50 Selection/Selection-get-index-.md | 1 + .../50 Selection/Selection-has-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-html--.md | 1 + .../50 Selection/Selection-is-selector-.md | 1 + .../08 k6-html/50 Selection/Selection-last--.md | 1 + .../08 k6-html/50 Selection/Selection-map-fn-.md | 1 + .../50 Selection/Selection-next--selector--.md | 1 + .../50 Selection/Selection-nextAll--selector--.md | 1 + .../Selection-nextUntil-selector-filter.md | 1 + .../50 Selection/Selection-not-selector-.md | 1 + .../50 Selection/Selection-parent--selector--.md | 1 + .../50 Selection/Selection-parents--selector--.md | 1 + .../Selection-parentsUntil-selector-filter.md | 1 + .../50 Selection/Selection-prev--selector--.md | 1 + .../50 Selection/Selection-prevAll--selector--.md | 1 + .../Selection-prevUntil-selector-filter.md | 1 + .../50 Selection/Selection-serialize--.md | 1 + .../50 Selection/Selection-serializeArray--.md | 1 + .../50 Selection/Selection-serializeObject--.md | 1 + .../08 k6-html/50 Selection/Selection-size--.md | 1 + .../Selection-slice-start -- end--.md | 1 + .../08 k6-html/50 Selection/Selection-text--.md | 1 + .../50 Selection/Selection-toArray--.md | 1 + .../08 k6-html/50 Selection/Selection-val--.md | 1 + .../markdown/docs/02 javascript api/09 k6-http.md | 1 + ...yncRequest- method- url- -body-- -params- -.md | 1 + .../09 k6-http/10-batch- requests -.md | 1 + .../09 k6-http/10-cookieJar--.md | 1 + .../09 k6-http/10-del- url- -body-- -params- -.md | 1 + .../10-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 + .../09 k6-http/10-put- url- -body-- -params- -.md | 1 + ...10-request- method- url- -body-- -params- -.md | 1 + .../10-set-response-callback-expectedStatuses.md | 1 + .../02 javascript api/09 k6-http/10-url- url- .md | 1 + .../09 k6-http/11-expected-statuses.md | 1 + .../02 javascript api/09 k6-http/60 CookieJar.md | 1 + .../60 CookieJar/CookieJar-clear-url.md | 1 + .../60 CookieJar/CookieJar-cookiesForUrl-url.md | 1 + .../60 CookieJar/CookieJar-delete-url-name.md | 1 + .../CookieJar-set-url-name-value-options.md | 1 + .../02 javascript api/09 k6-http/60-FileData.md | 1 + .../02 javascript api/09 k6-http/60-Params.md | 1 + .../02 javascript api/09 k6-http/61 Response.md | 1 + .../61 Response/Response-clickLink- -params- -.md | 1 + .../09 k6-http/61 Response/Response-html--.md | 1 + .../61 Response/Response-json- -selector- -.md | 1 + .../Response-submitForm- -params- -.md | 1 + .../docs/02 javascript api/10 k6-metrics.md | 1 + .../02 javascript api/10 k6-metrics/70 Counter.md | 1 + .../70 Counter/Counter-add-value- -tags--.md | 1 + .../02 javascript api/10 k6-metrics/71 Gauge.md | 1 + .../71 Gauge/Gauge-add-value- -tags--.md | 1 + .../02 javascript api/10 k6-metrics/72 Rate.md | 1 + .../72 Rate/Rate-add-value- -tags--.md | 1 + .../02 javascript api/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 + .../02 javascript api/11 k6-net-grpc/10-Client.md | 1 + .../10-Client-load-importpaths-protoFiles copy.md | 1 + .../20 Client/11-Client-load-protoset.md | 1 + .../20-Client-connect-connect-address-params.md | 1 + .../30-Client-invokerpc-url-request-params.md | 1 + .../11 k6-net-grpc/20 Client/40-Client-close.md | 1 + .../02 javascript api/11 k6-net-grpc/20-Params.md | 1 + .../11 k6-net-grpc/30-Response.md | 1 + .../11 k6-net-grpc/40-Constants.md | 1 + .../markdown/docs/02 javascript api/12 k6-ws.md | 1 + .../10-connect- url- params- callback -.md | 1 + .../docs/02 javascript api/12 k6-ws/20-Params.md | 1 + .../docs/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 + .../05 Examples/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 + .../docs/05 Examples/01 Examples/06 parse-html.md | 1 + .../docs/05 Examples/01 Examples/07 html-forms.md | 1 + .../05 Examples/01 Examples/08 cookies-example.md | 1 + .../05 Examples/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 + .../docs/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 + .../05 Examples/01 Examples/16 data generation.md | 1 + .../05 Examples/01 Examples/17 crawl-webpage.md | 1 + .../01 Examples/18 Bundling and transpilation.md | 1 + .../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 + .../01 Get started with k6/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 + .../02 Explanations/010-extensions-registry.md | 1 + .../02 Explanations/020-go-js-bridge.md | 1 + .../02 Explanations/030-extension-graduation.md | 1 + .../docs/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 + .../docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md | 1 + .../01 jslib/01 aws/00 EventBridgeClient.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 KMSClient.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 S3Client.md | 1 + .../docs/20 jslib/01 jslib/01 aws/00 SQSClient.md | 1 + .../01 jslib/01 aws/00 SecretsManagerClient.md | 1 + .../20 jslib/01 jslib/01 aws/00 SignatureV4.md | 1 + .../01 jslib/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 jslib/01 aws/KMSClient/90 KMSDataKey.md | 1 + .../01 jslib/01 aws/KMSClient/90 KMSKey.md | 1 + ...partUpload(bucketName, objectKey, uploadId).md | 1 + ...oad(bucketName, objectKey, uploadId, parts).md | 1 + .../01 jslib/01 aws/S3Client/00 copyObject.md | 1 + ...reateMultipartUpload(bucketName, objectKey).md | 1 + .../00 deleteObject(bucketName, objectKey).md | 1 + .../00 getObject(bucketName, objectKey).md | 1 + .../01 jslib/01 aws/S3Client/00 listBuckets().md | 1 + .../00 listObjects(bucketName, [prefix]).md | 1 + .../00 putObject(bucketName, objectKey, data).md | 1 + ...objectKey, 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 jslib/01 aws/SQSClient/00 listQueues.md | 1 + .../01 jslib/01 aws/SQSClient/00 sendMessage.md | 1 + ...etString, description, [versionID], [tags]).md | 1 + .../SecretsManagerClient/00 deleteSecret.md | 1 + .../00 getSecret(secretID).md | 1 + .../SecretsManagerClient/00 listSecrets().md | 1 + ...tValue(secretID, secretString, [versionID]).md | 1 + .../01 aws/SecretsManagerClient/99 Secret.md | 1 + .../01 jslib/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 + .../markdown/docs/20 jslib/01 jslib/02 httpx.md | 1 + ...asyncRequest(method, url, [body], [params]).md | 1 + .../09 request(method, url, [body], [params]).md | 1 + .../02 httpx/10 get(url, [body], [params]).md | 1 + .../02 httpx/11 post(url, [body], [params]).md | 1 + .../02 httpx/12 put(url, [body], [params]).md | 1 + .../02 httpx/13 patch(url, [body], [params]).md | 1 + .../02 httpx/14 delete(url, [body], [params]).md | 1 + .../02 httpx/15 options(url, [body], [params]).md | 1 + .../02 httpx/16 head(url, [body], [params]).md | 1 + .../02 httpx/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 + .../01 jslib/02 httpx/21 addHeader(key, value).md | 1 + .../01 jslib/02 httpx/22 addHeaders(object).md | 1 + .../01 jslib/02 httpx/23 clearHeader(name).md | 1 + .../01 jslib/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 + .../20 jslib/01 jslib/03 k6chaijs/31 config.md | 1 + .../20 jslib/01 jslib/03 k6chaijs/33 describe.md | 1 + .../20 jslib/01 jslib/03 k6chaijs/34 expect.md | 1 + .../01 jslib/03 k6chaijs/35 error handling.md | 1 + .../markdown/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 + .../01 jslib/04 utils/43 randomString(length).md | 1 + .../20 jslib/01 jslib/04 utils/44 uuidv4().md | 1 + .../45 findBetween(content, left, right).md | 1 + ...es(maxVus, durationSeconds, numberOfStages).md | 1 + src/data/markdown/docs/20 jslib/20 jslib.md | 1 + .../markdown/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 + .../01 Get started/04 Expose Your Application.md | 1 + .../02 Explanations/01 How it works.md | 1 + src/data/markdown/docs/40 xk6-disruptor/03 API.md | 1 + .../docs/40 xk6-disruptor/03 API/01 Faults.md | 1 + .../40 xk6-disruptor/03 API/01 Faults/01 Grpc.md | 1 + .../40 xk6-disruptor/03 API/01 Faults/02 HTTP .md | 1 + .../03 API/01 Faults/03 Pod Termination.md | 1 + .../40 xk6-disruptor/03 API/02 PodDisruptor.md | 1 + .../03 API/02 PodDisruptor/01 Constructor.md | 1 + .../03 API/02 PodDisruptor/02 injectGrpcFaults.md | 1 + .../03 API/02 PodDisruptor/03 injectHTTPFaults.md | 1 + .../03 API/02 PodDisruptor/04 TerminatePods.md | 1 + .../03 API/03 ServiceDisruptor.md | 1 + .../03 API/03 ServiceDisruptor/01 Constructor.md | 1 + .../03 ServiceDisruptor/02 injectGrpcFaults.md | 1 + .../03 ServiceDisruptor/03 injectHTTPFaults.md | 1 + .../03 ServiceDisruptor/04 TerminatePods.md | 1 + .../markdown/docs/40 xk6-disruptor/04 Examples.md | 1 + .../01 Inject Grpc faults into Service.md | 1 + .../04 Examples/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 + .../en/02 Using k6/02 Metrics/000-reference.md | 1 + .../02 Metrics/100 Create custom metrics.md | 1 + .../translated-guides/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 + .../en/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 + .../en/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 + .../Online 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 + .../en/02 Using k6/11 Environment variables.md | 1 + .../02 Using k6/12 Execution context variables.md | 1 + .../en/02 Using k6/14 Scenarios.md | 1 + .../en/02 Using k6/14 Scenarios/00 Concepts.md | 1 + .../14 Scenarios/00 Concepts/00 Open-vs-closed.md | 1 + .../14 Scenarios/00 Concepts/01 Graceful stop.md | 1 + .../00 Concepts/02 Arrival-rate VU allocation.md | 1 + .../00 Concepts/03 Dropped iterations.md | 1 + .../en/02 Using k6/14 Scenarios/01 Executors.md | 1 + .../01 Executors/01 shared-iterations.md | 1 + .../01 Executors/02 per-vu-iterations.md | 1 + .../14 Scenarios/01 Executors/03 constant-vus.md | 1 + .../14 Scenarios/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 + .../en/04 Results output/200 Real-time/00 CSV.md | 1 + .../04 Results output/200 Real-time/00 Cloud.md | 1 + .../04 Results output/200 Real-time/00 DataDog.md | 1 + .../200 Real-time/00 Dynatrace.md | 1 + .../200 Real-time/00 Elasticsearch.md | 1 + .../200 Real-time/00 Grafana Cloud Prometheus.md | 1 + .../200 Real-time/00 InfluxDB.md | 1 + .../en/04 Results output/200 Real-time/00 JSON.md | 1 + .../04 Results output/200 Real-time/00 Netdata.md | 1 + .../200 Real-time/00 NewRelic.md | 1 + .../200 Real-time/00 Prometheus remote write.md | 1 + .../04 Results output/200 Real-time/00 StatsD.md | 1 + .../200 Real-time/00 TimescaleDB.md | 1 + .../04 Results output/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 + .../en/06 Test Types/00 Load test types.md | 2 ++ .../en/06 Test Types/01 Smoke Testing.md | 2 ++ .../en/06 Test Types/02 Load Testing.md | 2 ++ .../en/06 Test Types/03 Stress testing.md | 2 ++ .../en/06 Test Types/05 Soak Testing.md | 2 ++ .../en/06 Test Types/06-spike-testing.md | 1 + .../en/06 Test Types/07-breakpoint-testing.md | 2 ++ .../en/07 Testing Guides/01 API load testing.md | 2 ++ .../02 Automated performance testing.md | 1 + .../07 Testing Guides/03 Load testing websites.md | 2 ++ .../07 Testing Guides/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 + .../translated-guides/en/08 Misc/06 Archive.md | 1 + .../translated-guides/en/08 Misc/09 Glossary.md | 1 + .../markdown/translated-guides/en/Test Types.md | 2 ++ .../translated-guides/en/Testing Guides.md | 1 + src/utils/seo-metadata.js | 15 +++++++++++++++ 568 files changed, 591 insertions(+) diff --git a/src/data/markdown/docs/02 javascript api/01 Init context.md b/src/data/markdown/docs/02 javascript api/01 Init context.md index 12b2a871d4..c5b5f2572d 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context.md @@ -1,6 +1,7 @@ --- title: "Init context" excerpt: 'The init context (aka "init code") is code in the global context that has access to a few functions not accessible during main script execution.' +canonicalUrl: https://grafana.com/docs/k6/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 2f00ae6642..77b90a61a4 100644 --- a/src/data/markdown/docs/02 javascript api/01 Init context/open.md +++ b/src/data/markdown/docs/02 javascript api/01 Init context/open.md @@ -3,6 +3,7 @@ head_title: 'JavaScript API: open' title: 'open( filePath, [mode] )' description: 'Opens a file and reads all the contents into memory.' excerpt: 'Opens a file and reads all the contents into memory.' +canonicalUrl: https://grafana.com/docs/k6/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 254d41d532..dbd889ce7d 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6.md +++ b/src/data/markdown/docs/02 javascript api/02 k6.md @@ -1,6 +1,7 @@ --- title: 'k6' excerpt: 'The k6 module contains k6-specific functionality.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/ --- The k6 module contains k6-specific functionality. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md index ec74ba4c40..cf7c89185f 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/check- val- sets- -tags- -.md @@ -2,6 +2,7 @@ title: 'check( val, sets, [tags] )' description: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' excerpt: 'Runs one or more checks on a value and generates a pass/fail result but does not throw errors or otherwise interrupt execution upon failure.' +canonicalUrl: https://grafana.com/docs/k6/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 2a71b80b07..6e555e608c 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/fail- -err- -.md @@ -2,6 +2,7 @@ title: 'fail( [err] )' description: 'Throws an error, failing and aborting the current VU script iteration immediately.' excerpt: 'Throws an error, failing and aborting the current VU script iteration immediately.' +canonicalUrl: https://grafana.com/docs/k6/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 3fddda7f1f..b814c23077 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/group- name- fn -.md @@ -2,6 +2,7 @@ title: 'group( name, fn )' description: 'Runs code inside a group. Used to organize results in a test.' excerpt: 'Runs code inside a group. Used to organize results in a test.' +canonicalUrl: https://grafana.com/docs/k6/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 12e4f0fe87..26a3bac946 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/random-seed.md @@ -2,6 +2,7 @@ title: 'randomSeed( int )' description: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' excerpt: 'Set seed to get a reproducible pseudo-random number using `Math.random`.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6/randomseed/ --- Set seed to get a reproducible pseudo-random number using `Math.random`. diff --git a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md index 3ad6c4c0b8..40826fdfc9 100644 --- a/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md +++ b/src/data/markdown/docs/02 javascript api/02 k6/sleep- t -.md @@ -2,6 +2,7 @@ title: 'sleep( t )' description: 'Suspends VU execution for the specified duration.' excerpt: 'Suspends VU execution for the specified duration.' +canonicalUrl: https://grafana.com/docs/k6/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 9126444377..3194a13f93 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto.md @@ -1,6 +1,7 @@ --- title: "k6/crypto" excerpt: "The k6/crypto module provides common hashing functionality available in the GoLang crypto." +canonicalUrl: https://grafana.com/docs/k6/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 b707d6b8de..efb2996c4c 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/01-createHash- algorithm -.md @@ -2,6 +2,7 @@ title: 'createHash( algorithm )' description: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create a Hasher object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' +canonicalUrl: https://grafana.com/docs/k6/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 4d054fe5d6..8fd274a153 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/02-createHMAC- algorithm- secret -.md @@ -2,6 +2,7 @@ title: 'createHMAC( algorithm, secret )' description: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' excerpt: 'Create an HMAC hashing object, allowing the user to add data to hash multiple times, and extract hash digests along the way.' +canonicalUrl: https://grafana.com/docs/k6/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 a1a30318fc..ca79dd0a1f 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/03-hmac- algorithm- secret- data- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'hmac( algorithm, secret, data, outputEncoding )' description: 'Use HMAC to sign input data.' excerpt: 'Use HMAC to sign input data.' +canonicalUrl: https://grafana.com/docs/k6/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 956cd0dddb..ab1fe21e9f 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/04-md4- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'md4( input, outputEncoding )' description: 'Use MD4 to hash input data.' excerpt: 'Use MD4 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 d46a0a5ac5..fa9d188630 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/05-md5- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'md5( input, outputEncoding )' description: 'Use MD5 to hash input data.' excerpt: 'Use MD5 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 1389b52661..d333b1c2b3 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/06-randomBytes- int -.md @@ -2,6 +2,7 @@ title: 'randomBytes( int )' description: 'randomBytes.' excerpt: 'randomBytes.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-crypto/randombytes/ --- diff --git a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md index c83040d9e0..aacd651420 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/07-ripemd160- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'ripemd160( input, outputEncoding )' description: 'Use RIPEMD-160 to hash input data.' excerpt: 'Use RIPEMD-160 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 3399dde988..5aea396f97 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/08-sha1- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha1( input, outputEncoding )' description: 'Use SHA-1 to hash input data.' excerpt: 'Use SHA-1 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 8a6dcbb676..b36f24a98e 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/09-sha256- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha256( input, outputEncoding )' description: 'Use SHA-256 to hash input data.' excerpt: 'Use SHA-256 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 32d6f8f39b..3f03941fe0 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/10-sha384- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha384( input, outputEncoding )' description: 'Use SHA-384 to hash input data.' excerpt: 'Use SHA-384 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 9ad6996945..4f9b545b04 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/11-sha512- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512( input, outputEncoding )' description: 'Use SHA-512 to hash input data.' excerpt: 'Use SHA-512 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 17989973c7..f71f2a3260 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/12-sha512_256- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512_256( input, outputEncoding )' description: 'Use SHA-512/256 to hash input data.' excerpt: 'Use SHA-512/256 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 bdf01166b1..68e7008a03 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/13-sha512_224- input- outputEncoding -.md @@ -2,6 +2,7 @@ title: 'sha512_224( input, outputEncoding )' description: 'Use SHA-512/224 to hash input data.' excerpt: 'Use SHA-512/224 to hash input data.' +canonicalUrl: https://grafana.com/docs/k6/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 83da208615..dd3a729432 100644 --- a/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md +++ b/src/data/markdown/docs/02 javascript api/03 k6-crypto/80-Hasher.md @@ -2,6 +2,7 @@ title: 'Hasher' description: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' excerpt: 'Object returned by crypto.createHash(). It allows adding more data to be hashed and to extract digests along the way.' +canonicalUrl: https://grafana.com/docs/k6/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 33133d8ead..aedf38e950 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data.md @@ -1,6 +1,7 @@ --- title: "k6/data" excerpt: "k6 data API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-data/ --- The data module provides helpers to work with data. diff --git a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md index dccd31670d..a32a72d4ac 100644 --- a/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md +++ b/src/data/markdown/docs/02 javascript api/04 k6-data/1-SharedArray.md @@ -1,6 +1,7 @@ --- title: SharedArray excerpt: 'SharedArray is an array-like object that shares the underlying memory between VUs.' +canonicalUrl: https://grafana.com/docs/k6/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 7a90d75c86..1cf5ce78de 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding.md @@ -1,6 +1,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/ --- The encoding module provides [base64](https://en.wikipedia.org/wiki/Base64) encoding/decoding as defined by [RFC4648](https://tools.ietf.org/html/rfc4648). diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md index e59c8ec1ef..09572c5baf 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64decode- input- -encoding- -format-.md @@ -2,6 +2,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/ --- Decode the passed base64 encoded `input` string into the unencoded original input in either binary or string formats. diff --git a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md index b941b9a769..97b2d8e30f 100644 --- a/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md +++ b/src/data/markdown/docs/02 javascript api/05 k6-encoding/b64encode- input- -encoding- -.md @@ -2,6 +2,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/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/06 k6-execution.md b/src/data/markdown/docs/02 javascript api/06 k6-execution.md index f036abced3..0b95bacbfa 100644 --- a/src/data/markdown/docs/02 javascript api/06 k6-execution.md +++ b/src/data/markdown/docs/02 javascript api/06 k6-execution.md @@ -1,6 +1,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/ --- `k6/execution` provides the capability to get information about the current test execution state inside the test script. You can read in your script the execution state during the test execution and change your script logic based on the current state. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md index 2541680046..e9b78feb0b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental.md @@ -1,6 +1,7 @@ --- title: "k6/experimental" excerpt: "k6 experimental APIs" +canonicalUrl: 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 bf0de47fea..3507b28bf7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser.md @@ -1,6 +1,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/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md index 9b9a3cf628..7eea523ca7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext.md @@ -1,6 +1,7 @@ --- title: "BrowserContext" excerpt: "Browser module: BrowserContext Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/ --- `BrowserContext`s provide a way to operate multiple independent sessions, with separate pages, cache, and cookies. A default `BrowserContext` is created when a browser is launched. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md index a84eb0a904..a2b27324a9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/addCookies.md @@ -1,6 +1,7 @@ --- title: 'addCookies()' excerpt: 'Clears context cookies.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/addcookies/ --- Adds a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) into the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie). All pages within this [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/cookie) will have these [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) set. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md index 20e102910f..0d8346b8b8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearCookies.md @@ -1,6 +1,7 @@ --- title: 'clearCookies()' excerpt: 'Clears context cookies.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/clearcookies/ --- Clears the `BrowserContext`'s cookies. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md index 70d2484257..3b1a4395e2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/clearPermissions.md @@ -1,6 +1,7 @@ --- title: 'clearPermissions()' excerpt: 'Clears all permission overrides for the BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/clearpermissions/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md index 84744d4e44..0c42722512 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/close.md @@ -1,6 +1,7 @@ --- title: 'close()' excerpt: 'Close the BrowserContext and all its pages.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/close/ --- Close the `BrowserContext` and all its [page](/javascript-api/k6-experimental/browser/page/)s. The `BrowserContext` is unusable after this call and a new one must be created. This is typically called to cleanup before ending the test. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md index 4d0b1a9088..f95e1bf41f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookie.md @@ -1,6 +1,7 @@ --- title: "Cookie" excerpt: "Browser module: Cookie Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/cookie/ --- Cookie class represents a cookie in the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md index 3805dc75c1..8ac793d456 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/cookies.md @@ -1,6 +1,7 @@ --- title: 'cookies([urls])' excerpt: 'Retrieves context cookies.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/cookies/ --- Returns a list of [cookies](/javascript-api/k6-experimental/browser/browsercontext/cookie) from the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext) filtered by the provided `urls`. If no `urls` are provided, all cookies are returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md index c863ac86dd..61ee8ed702 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/grantPermissions.md @@ -1,6 +1,7 @@ --- title: 'grantPermissions(permissions[, options])' excerpt: 'Grants specified permissions to the BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/grantpermissions/ --- Grants specified permissions to the `BrowserContext`. Only grants corresponding permissions to the given origin if specified. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md index 1d580a09b2..9562fec45e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/newPage.md @@ -1,6 +1,7 @@ --- title: 'newPage()' excerpt: 'Creates a new page inside this BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/newpage/ --- Uses the `BrowserContext` to create a new [Page](/javascript-api/k6-experimental/browser/page/) and returns it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md index b81aa4aee9..4bdae87c3a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/pages.md @@ -1,6 +1,7 @@ --- title: 'pages()' excerpt: 'Returns a list of pages inside this BrowserContext.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/pages/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md index 4869f8984b..e00a0380e8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultNavigationTimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Sets the default navigation timeout in milliseconds.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setdefaultnavigationtimeout/ --- Sets the default maximum navigation timeout for [Page.goto()](https://playwright.dev/docs/api/class-page#page-goto). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md index 53b42307cd..e468c15df8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setDefaultTimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Sets the default timeout in milliseconds.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setdefaulttimeout/ --- Sets the default maximum timeout for all methods accepting a `timeout` option in milliseconds. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md index ecb5ec8fda..b1bc210c3e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setGeolocation.md @@ -1,6 +1,7 @@ --- title: 'setGeolocation(geolocation)' excerpt: "Sets the BrowserContext's geolocation." +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setgeolocation/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md index 61a091c202..a366199213 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/setOffline.md @@ -1,6 +1,7 @@ --- title: 'setOffline(offline)' excerpt: "Toggles the BrowserContext's connectivity on/off." +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/setoffline/ --- Toggles the `BrowserContext`'s connectivity on/off. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md index a5b7392ea8..1d67cb0a5c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/02 BrowserContext/waitForEvent.md @@ -1,6 +1,7 @@ --- title: 'waitForEvent(event[, optionsOrPredicate])' excerpt: 'Waits for event to fire and passes its value into the predicate function.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/browsercontext/waitforevent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md index 3f7dcb26f7..754c309094 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/03-console-message.md @@ -1,6 +1,7 @@ --- title: "ConsoleMessage" excerpt: "Browser module: ConsoleMessage Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/consolemessage/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md index 37a137257e..a0f42a1fbb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/04-element-handle.md @@ -1,6 +1,7 @@ --- title: "ElementHandle" excerpt: "Browser module: ElementHandle Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/elementhandle/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md index 1ee5f0fae8..a114eae7cb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/05-frame.md @@ -1,6 +1,7 @@ --- title: "Frame" excerpt: "Browser module: Frame Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/frame/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md index 76cc2ac26c..ac8fa40155 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/06-js-handle.md @@ -1,6 +1,7 @@ --- title: "JSHandle" excerpt: "Browser module: JSHandle Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/jshandle/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md index 009f11fd9f..63be38ba80 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/07-keyboard.md @@ -1,6 +1,7 @@ --- title: "Keyboard" excerpt: "Browser module: Keyboard Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/keyboard/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md index 14afe8c388..6669163353 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator.md @@ -1,6 +1,7 @@ --- title: "Locator" excerpt: "Browser module: Locator Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ --- The Locator API makes it easier to work with dynamically changing elements. Some of the benefits of using it over existing ways to locate an element (e.g. `Page.$()`) include: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md index efe818b058..39880fd9ff 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/check--options--.md @@ -1,6 +1,7 @@ --- title: 'check([options])' excerpt: 'Browser module: locator.check method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/check/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md index 478240f896..fa02f32301 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/click--options--.md @@ -1,6 +1,7 @@ --- title: 'click([options])' excerpt: 'Browser module: locator.click method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/click/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md index d0a702de57..ca0bb8003f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dblclick--options--.md @@ -1,6 +1,7 @@ --- title: 'dblclick([options])' excerpt: 'Browser module: locator.dblclick method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/dblclick/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md index 55efeab773..d8bf75fc70 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/dispatchevent--options--.md @@ -1,6 +1,7 @@ --- title: 'dispatchEvent(type, eventInit, [options])' excerpt: 'Browser module: locator.dispatchEvent method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/dispatchevent/ --- Dispatches HTML DOM event types e.g. `'click'`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md index d466e7679f..d6dba47bdb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/fill--options--.md @@ -1,6 +1,7 @@ --- title: 'fill(value, [options])' excerpt: 'Browser module: locator.fill method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/fill/ --- Fill an `input`, `textarea` or `contenteditable` element with the provided value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md index 11da8af49f..3f00efe3a3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/focus--options--.md @@ -1,6 +1,7 @@ --- title: 'focus([options])' excerpt: 'Browser module: locator.focus method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/focus/ --- Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on the element, if it can be focused on. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md index f14947b889..299400e731 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/getattribute--options--.md @@ -1,6 +1,7 @@ --- title: 'getAttribute(name, [options])' excerpt: 'Browser module: locator.getAttribute method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/getattribute/ --- Returns the element attribute value for the given attribute name. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md index dfe25e6459..28736e2582 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/hover--options--.md @@ -1,6 +1,7 @@ --- title: 'hover([options])' excerpt: 'Browser module: locator.hover method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/hover/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md index 3982654a4f..ae6eefb289 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innerhtml--options--.md @@ -1,6 +1,7 @@ --- title: 'innerHTML([options])' excerpt: 'Browser module: locator.innerHTML method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/innerhtml/ --- Returns the `element.innerHTML`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md index 3be75b4dbd..f1c1cb3b2e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/innertext--options--.md @@ -1,6 +1,7 @@ --- title: 'innerText([options])' excerpt: 'Browser module: locator.innerText method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/innertext/ --- Returns the `element.innerText`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md index c83dc07110..a1fb8d8b96 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/inputvalue--options--.md @@ -1,6 +1,7 @@ --- title: 'inputValue([options])' excerpt: 'Browser module: locator.inputValue method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/inputvalue/ --- Returns `input.value` for the selected `input`, `textarea` or `select` element. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md index e57ffcd0b8..08fa76dd16 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ischecked--options--.md @@ -1,6 +1,7 @@ --- title: 'isChecked([options])' excerpt: 'Browser module: locator.isChecked method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ischecked/ --- Checks to see if the `checkbox` `input` type is selected or not. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md index 02c3bf2f7e..cd975b30f7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isdisabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isDisabled([options])' excerpt: 'Browser module: locator.isDisabled method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isdisabled/ --- Checks if the element is `disabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md index 91f025332e..cd05ff5e51 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/iseditable--options--.md @@ -1,6 +1,7 @@ --- title: 'isEditable([options])' excerpt: 'Browser module: locator.isEditable method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/iseditable/ --- Checks if the element is `editable`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md index 3466bae953..7bf36ccfd5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isenabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isEnabled([options])' excerpt: 'Browser module: locator.isEnabled method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isenabled/ --- Checks if the element is `enabled`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md index 2ace3b0a8d..c5933e6f1d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/ishidden--options--.md @@ -1,6 +1,7 @@ --- title: 'isHidden([options])' excerpt: 'Browser module: locator.isHidden method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/ishidden/ --- Checks if the element is `hidden`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md index 3c58606549..0ab6521e48 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/isvisible--options--.md @@ -1,6 +1,7 @@ --- title: 'isVisible([options])' excerpt: 'Browser module: locator.isVisible method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/isvisible/ --- Checks if the element is `visible`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md index 7e62158d90..8f67c0db36 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/press--options--.md @@ -1,6 +1,7 @@ --- title: 'press(key, [options])' excerpt: 'Browser module: locator.press method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/press/ --- Press a single key on the keyboard or a combination of keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md index 67f9cf4b36..e476ab9fed 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/selectoption--options--.md @@ -1,6 +1,7 @@ --- title: 'selectOption(values, [options])' excerpt: 'Browser module: locator.selectOption method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/selectoption/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md index 660d57781b..1b7e85d702 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/tap--options--.md @@ -1,6 +1,7 @@ --- title: 'tap([options])' excerpt: 'Browser module: locator.tap method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/tap/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md index a742911ff5..9e43bedcf3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/textcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'textContent([options])' excerpt: 'Browser module: locator.textContent method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/textcontent/ --- Returns the `element.textContent`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md index 792109b3a2..d3ff7ab515 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/type--options--.md @@ -1,6 +1,7 @@ --- title: 'type(text, [options])' excerpt: 'Browser module: locator.type method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/type/ --- Type in the text into the input field. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md index 5d57a916cb..973ab5ee23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/uncheck--options--.md @@ -1,6 +1,7 @@ --- title: 'uncheck([options])' excerpt: 'Browser module: locator.uncheck method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/uncheck/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md index 36627c1347..5b72f8dc3b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/08 Locator/waitfor--options--.md @@ -1,6 +1,7 @@ --- title: 'waitFor([options])' excerpt: 'Browser module: locator.waitFor method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/locator/waitfor/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md index ec9eb46205..a1c2b37951 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/09-mouse.md @@ -1,6 +1,7 @@ --- title: "Mouse" excerpt: "Browser module: Mouse Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/mouse/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md index c5f5754bef..c4fa1bccd9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page.md @@ -1,6 +1,7 @@ --- title: "Page" excerpt: "Browser module: Page Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ --- Page provides methods to interact with a single tab in a running web browser. A single [BrowserContext](https://k6.io/docs/javascript-api/k6-experimental/browser/browsercontext/) can have many `pages`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md index 002691742c..70e977c0ac 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/bringToFront.md @@ -1,6 +1,7 @@ --- title: 'bringToFront()' excerpt: 'Browser module: page.bringToFront method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/bringtofront/ --- Activates the browser tab which brings the page in focus to allow actions to be performed onto it. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md index d056f840f4..4bedaf7dd1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/check--options--.md @@ -1,6 +1,7 @@ --- title: 'check(selector[, options])' excerpt: 'Browser module: page.check(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/check/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md index 91aa83fe00..fa17b59a79 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/click--options--.md @@ -1,6 +1,7 @@ --- title: 'click(selector[, options])' excerpt: 'Browser module: page.click(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/click/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md index 2560607909..67c804a392 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/close.md @@ -1,6 +1,7 @@ --- title: 'close()' excerpt: 'Browser module: page.close method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/close/ --- This will close the tab that this page is associated with. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md index 4b9f8c61d8..05d6be446c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/content.md @@ -1,6 +1,7 @@ --- title: 'content()' excerpt: 'Browser module: page.content method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/content/ --- Gets the HTML contents of the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md index 0a3b1b3fd8..9ce03a13dc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/context.md @@ -1,6 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: page.context method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/context/ --- Gets the [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) that the page belongs to. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md index c6e4942097..522439ad4a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dblclick--options--.md @@ -1,6 +1,7 @@ --- title: 'dblclick(selector[, options])' excerpt: 'Browser module: page.dblclick(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/dblclick/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md index d9785a1bb1..ef5228bfd5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dispatchEvent--options--.md @@ -1,6 +1,7 @@ --- title: 'dispatchEvent(selector, type, eventInit[, options])' excerpt: 'Browser module: page.dispatchEvent(selector, type, eventInit[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/dispatchevent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md index 9d15b0b386..073b707526 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/dollar--options--.md @@ -1,6 +1,7 @@ --- title: 'page.$(selector)' excerpt: 'Browser module: page.$(selector) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/page-dollar/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md index 8746390254..132dc20935 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/doubledollar--options--.md @@ -1,6 +1,7 @@ --- title: 'page.$$(selector)' excerpt: 'Browser module: page.$$(selector) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/page-doubledollar/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md index 690a95da0c..ee067930c5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateMedia--options--.md @@ -1,6 +1,7 @@ --- title: 'emulateMedia([options])' excerpt: 'Browser module: page.emulateMedia([options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/emulatemedia/ --- This method changes the CSS `@media type` through the `media` argument, and/or the `'prefers-colors-scheme'` media feature, using the `colorScheme` argument. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md index c11690f779..492df433bd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/emulateVisionDeficiency--type--.md @@ -1,6 +1,7 @@ --- title: 'emulateVisionDeficiency(type)' excerpt: 'Browser module: page.emulateVisionDeficiency(type) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/emulatevisiondeficiency/ --- This emulates your website with the specified vision deficiency type. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md index 820305df75..df47c9f693 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluate.md @@ -1,6 +1,7 @@ --- title: 'evaluate(pageFunction[, arg])' excerpt: 'Browser module: page.evaluate(pageFunction[, arg]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/evaluate/ --- Returns the value of the `pageFunction` invocation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md index c8a871d9b5..5587fad54a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/evaluateHandle.md @@ -1,6 +1,7 @@ --- title: 'evaluateHandle(pageFunction[, arg])' excerpt: 'Browser module: page.evaluateHandle(pageFunction[, arg]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/evaluatehandle/ --- Returns the value of the `pageFunction` invocation as a [JSHandle](/javascript-api/k6-experimental/browser/jshandle/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md index d6655cc181..ed63e9278a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/fill--options--.md @@ -1,6 +1,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-experimental/browser/page/fill/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md index 9eb91827d2..52a238afab 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/focus--options--.md @@ -1,6 +1,7 @@ --- title: 'focus(selector[, options])' excerpt: 'Browser module: page.focus(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/focus/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md index 33e83b1a58..4fc546626f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/frames.md @@ -1,6 +1,7 @@ --- title: 'frames()' excerpt: 'Browser module: page.frames method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/frames/ --- Returns an array of [Frames](/javascript-api/k6-experimental/browser/frame/) on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md index 05474f01eb..e70c46b23d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/getattribute--options--.md @@ -1,6 +1,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-experimental/browser/page/getattribute/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md index 66f47ed4eb..03153cf2ba 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/goto--options--.md @@ -1,6 +1,7 @@ --- title: 'goto(url[, options])' excerpt: 'Browser module: page.goto(url[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/goto/ --- Navigates to the specified URL and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md index 801a0ed42d..1138811453 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/hover--options--.md @@ -1,6 +1,7 @@ --- title: 'hover(selector[, options])' excerpt: 'Browser module: page.hover(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/hover/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md index d5933d5683..241a70736b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innerhtml--options--.md @@ -1,6 +1,7 @@ --- title: 'innerHTML(selector[, options])' excerpt: 'Browser module: page.innerHTML(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/innerhtml/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md index e1bc9b6857..d542c6411b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/innertext--options--.md @@ -1,6 +1,7 @@ --- title: 'innerText(selector[, options])' excerpt: 'Browser module: page.innerText(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/innertext/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md index b95489406b..9afdc6b60b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/inputvalue--options--.md @@ -1,6 +1,7 @@ --- title: 'inputValue(selector[, options])' excerpt: 'Browser module: page.inputValue(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/inputvalue/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md index 4aa2340135..d39468be6a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ischecked--options--.md @@ -1,6 +1,7 @@ --- title: 'isChecked(selector[, options])' excerpt: 'Browser module: page.isChecked(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ischecked/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md index 2e94e1a33a..a2af081679 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isclosed--options--.md @@ -1,6 +1,7 @@ --- title: 'isClosed()' excerpt: 'Browser module: page.isClosed() method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isclosed/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md index e4efebc8ae..bd96c6e57b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isdisabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isDisabled(selector[, options])' excerpt: 'Browser module: page.isDisabled(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isdisabled/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md index d70eb5aff5..c891d26903 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/iseditable--options--.md @@ -1,6 +1,7 @@ --- title: 'isEditable(selector[, options])' excerpt: 'Browser module: page.isEditable(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/iseditable/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md index 429db00753..f07617ef91 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isenabled--options--.md @@ -1,6 +1,7 @@ --- title: 'isEnabled(selector[, options])' excerpt: 'Browser module: page.isEnabled(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isenabled/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md index c228edefa8..de109b3c0a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/ishidden--options--.md @@ -1,6 +1,7 @@ --- title: 'isHidden(selector[, options])' excerpt: 'Browser module: page.isHidden(selector[, options) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/ishidden/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md index 95e152e080..28689a7ae8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/isvisible--options--.md @@ -1,6 +1,7 @@ --- title: 'isVisible(selector[, options])' excerpt: 'Browser module: page.isVisible(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/isvisible/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md index 62e0209263..8c3d3c7c06 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/keyboard.md @@ -1,6 +1,7 @@ --- title: 'keyboard' excerpt: 'Browser module: page.keyboard method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/keyboard/ --- Returns the [Keyboard](/javascript-api/k6-experimental/browser/keyboard/) instance to interact with a virtual keyboard on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md index f6b9c3f2ee..418db24f0d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/locator.md @@ -1,6 +1,7 @@ --- title: 'locator(selector)' excerpt: 'Browser module: page.locator(selector) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/locator/ --- The method returns an element [Locator](/javascript-api/k6-experimental/browser/locator/). Locators resolve to the element when the action takes place, which means locators can span over navigations where the underlying dom changes. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md index 757dacc40b..aabdcc0028 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mainframe.md @@ -1,6 +1,7 @@ --- title: 'mainFrame()' excerpt: 'Browser module: page.mainFrame method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/mainframe/ --- The page's main frame. Page is made up of frames in a hierarchical. At the top is `mainFrame`. A page is guaranteed to have a main frame. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md index 40491efafb..8783a8171a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/mouse.md @@ -1,6 +1,7 @@ --- title: 'mouse' excerpt: 'Browser module: page.mouse method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/mouse/ --- Returns the [Mouse](/javascript-api/k6-experimental/browser/mouse/) instance to interact with a virtual mouse on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md index 11c8afac38..805b0fa1ae 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/on.md @@ -1,6 +1,7 @@ --- title: 'on(event, handler)' excerpt: 'Browser module: page.on method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/on/ --- Registers a handler to be called whenever the specified event occurs. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md index a856324ad3..8e12aadcde 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/opener.md @@ -1,6 +1,7 @@ --- title: 'opener()' excerpt: 'Browser module: page.opener method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/opener/ --- Returns the page that opened the current page. The first page that is navigated to will have a `null` opener. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md index c19e73af17..ae908bffc7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/press--options--.md @@ -1,6 +1,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-experimental/browser/page/press/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md index d70484fa04..711adf14c0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/reload--options--.md @@ -1,6 +1,7 @@ --- title: 'reload([options])' excerpt: 'Browser module: page.reload([options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/reload/ --- This reloads the current page and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md index b1974c55bc..fa029873ba 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/screenshot--options--.md @@ -1,6 +1,7 @@ --- title: 'screenshot([options])' excerpt: 'Browser module: page.screenshot([options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/screenshot/ --- Returns the buffer with the captured screenshot from the browser. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md index cb974856a2..a8bf6ea936 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/selectoption--options--.md @@ -1,6 +1,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-experimental/browser/page/selectoption/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md index a097e0f83f..38a1628fea 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'setContent(html[, options])' excerpt: 'Browser module: page.setContent(html[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setcontent/ --- Sets the supplied HTML string to the current page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md index 1c04021246..fc6a0b4a53 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaultnavigationtimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultNavigationTimeout(timeout)' excerpt: 'Browser module: page.setDefaultNavigationTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setdefaultnavigationtimeout/ --- This setting will change the navigation timeout for the following methods: diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md index 7817eff46b..e540bdc734 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setdefaulttimeout.md @@ -1,6 +1,7 @@ --- title: 'setDefaultTimeout(timeout)' excerpt: 'Browser module: page.setDefaultTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setdefaulttimeout/ --- This setting will change the timeout for all the methods accepting a `timeout` option. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md index 03dd2ba67b..6d4bdea320 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setextrahttpheaders--options--.md @@ -1,6 +1,7 @@ --- title: 'setExtraHTTPHeaders(headers)' excerpt: 'Browser module: page.setExtraHTTPHeaders(headers) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setextrahttpheaders/ --- This sets extra HTTP headers which will be sent with subsequent HTTP requests. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md index 4f180d27cb..e717620d68 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/setviewportsize.md @@ -1,6 +1,7 @@ --- title: 'setViewportSize(viewportSize)' excerpt: 'Browser module: page.setViewportSize(viewportSize) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/setviewportsize/ --- This will update the page's width and height. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md index fb16320bed..a654aedf50 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/tap--options--.md @@ -1,6 +1,7 @@ --- title: 'tap(selector[, options])' excerpt: 'Browser module: locator.tap(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/tap/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md index 014f7fb9b5..9112aded9a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/textcontent--options--.md @@ -1,6 +1,7 @@ --- title: 'textContent(selector[, options])' excerpt: 'Browser module: locator.textContent(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/textcontent/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md index cccae78627..8e4e5bdea6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/title.md @@ -1,6 +1,7 @@ --- title: 'title()' excerpt: 'Browser module: page.title method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/title/ --- Returns the page's title. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md index d6ed5aa41e..a318c49212 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/touchscreen.md @@ -1,6 +1,7 @@ --- title: 'touchScreen' excerpt: 'Browser module: page.touchScreen method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/touchscreen/ --- Returns the [Touchscreen](/javascript-api/k6-experimental/browser/touchscreen/) instance to interact with a virtual touchscreen on the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md index f601947f1d..62bd437df7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/type--options--.md @@ -1,6 +1,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-experimental/browser/page/type/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md index 100cd8b3f0..3db897a458 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/uncheck--options--.md @@ -1,6 +1,7 @@ --- title: 'uncheck(selector[, options])' excerpt: 'Browser module: page.uncheck(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/uncheck/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md index 5de8e735fe..cea06f89c1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/url.md @@ -1,6 +1,7 @@ --- title: 'url()' excerpt: 'Browser module: page.url method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/url/ --- Returns the page's URL. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md index 5160e4872d..d75cdc6b23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/viewportsize.md @@ -1,6 +1,7 @@ --- title: 'viewportSize()' excerpt: 'Browser module: page.viewportSize method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/viewportsize/ --- Returns the page's size (width and height). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md index e307f1d4ee..b74c4632b2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforfunction--options--.md @@ -1,6 +1,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-experimental/browser/page/waitforfunction/ --- Returns when the `pageFunction` returns a truthy value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md index 82c10560f7..5e09eca7e8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforloadstate--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForLoadState(state[, options])' excerpt: 'Browser module: page.waitForLoadState(state[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitforloadstate/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md index e760e950eb..b361617e5a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfornavigation--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForNavigation([options])' excerpt: 'Browser module: page.waitForNavigation([options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitfornavigation/ --- Waits for the given navigation lifecycle event to occur and returns the main resource response. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md index bee5df62bd..7c054f9fde 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitforselector--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForSelector(selector[, options])' excerpt: 'Browser module: page.waitForSelector(selector[, options]) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitforselector/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md index 540c7d618f..46f738f916 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/waitfortimeout--options--.md @@ -1,6 +1,7 @@ --- title: 'waitForTimeout(timeout)' excerpt: 'Browser module: waitForTimeout(timeout) method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/waitfortimeout/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md index 7f1f5b2a2a..083b7636a7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/10 Page/workers.md @@ -1,6 +1,7 @@ --- title: 'workers()' excerpt: 'Browser module: page.workers method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/page/workers/ --- This method returns an array of the dedicated [WebWorkers](/javascript-api/k6-experimental/browser/worker/) associated with the page. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md index 9af55e6986..4c321978f7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request.md @@ -1,6 +1,7 @@ --- title: "Request" excerpt: "Browser module: Request Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/request/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md index 4b147e72da..a41c9ca97f 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/11 Request/size.md @@ -1,6 +1,7 @@ --- title: 'size()' excerpt: 'Browser module: Request.size method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/request/size/ --- Similar to Playwright's [`request.sizes()`](https://playwright.dev/docs/api/class-request#request-sizes), this method returns the size (in bytes) of body and header sections of the [Request](/javascript-api/k6-experimental/browser/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md index 18511ec19d..3407941edb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/12-response.md @@ -1,6 +1,7 @@ --- title: "Response" excerpt: "Browser module: Response Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/response/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md index adf5afee09..375cd12372 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/13-touchscreen.md @@ -1,6 +1,7 @@ --- title: "Touchscreen" excerpt: "Browser module: Touchscreen Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/touchscreen/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md index 37d4617cdb..e250205ebd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/14 Worker.md @@ -1,6 +1,7 @@ --- title: "Worker" excerpt: "Browser module: Worker Class" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/worker/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md index d7cc0369db..34f6f1a11b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/context.md @@ -1,6 +1,7 @@ --- title: 'context()' excerpt: 'Browser module: context method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/context/ --- Returns the current [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md index 454b9824e1..d3728c660a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/isconnected.md @@ -1,6 +1,7 @@ --- title: 'isConnected()' excerpt: 'Browser module: isConnected method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/isconnected/ ---
diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md index fda7e53d7c..cbd4cfbeee 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newcontext--options--.md @@ -1,6 +1,7 @@ --- title: 'newContext([options])' excerpt: 'Browser module: newContext method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/newcontext/ --- Creates and returns a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/), if one hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If one has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md index e44be2f4d6..a817e142cc 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/newpage--options--.md @@ -1,6 +1,7 @@ --- title: 'newPage([options])' excerpt: 'Browser module: newPage method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/newpage/ --- Creates and returns a new [Page](/javascript-api/k6-experimental/browser/page/) in a new [BrowserContext](/javascript-api/k6-experimental/browser/browsercontext/) if a `BrowserContext` hasn't already been initialized for the [Browser](/javascript-api/k6-experimental/browser). If a `BrowserContext` has already been initialized an error is thrown. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md index 7d9e3a786b..695d212c6e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/01 browser/version.md @@ -1,6 +1,7 @@ --- title: 'version()' excerpt: 'Browser module: version method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/browser/version/ --- Returns the browser application's version. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md index 8c9ed69328..b18a7f40b3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md @@ -1,6 +1,7 @@ --- title: "grpc" excerpt: "Experimental GRPC module" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md index 90a006db7f..9d86ff0d97 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md @@ -1,6 +1,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/ --- `Client` is a gRPC client that can interact with a gRPC server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index f4dbc8b7a0..563cecc13e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,6 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6/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 1b585f20fe..1d73ac89b1 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/11-Client-load-protoset.md @@ -1,6 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6/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 b13c7ea44b..1ca42c349a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,6 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' +canonicalUrl: https://grafana.com/docs/k6/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 336f6c4eb7..c0b2499f9d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,6 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' +canonicalUrl: https://grafana.com/docs/k6/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 9402dc6da3..fc25beb99a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20 Client/40-Client-close.md @@ -1,6 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' +canonicalUrl: https://grafana.com/docs/k6/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 6786e7e4b9..635705d6d2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/20-Params.md @@ -2,6 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' +canonicalUrl: https://grafana.com/docs/k6/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 1721c545e6..2a7b104740 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/10-Stream-on.md @@ -1,6 +1,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/ --- Set up handler functions for various events on the GRPC stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md index 3b676c6922..527170f627 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/15-Stream-error.md @@ -2,6 +2,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/ --- The error object is the object that is passed to the `error` event handler function. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md index 37fd1c1bee..d3c9560e85 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-end.md @@ -1,6 +1,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/ --- Signals to the server that the client has finished sending messages. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md index 0b8087749b..b289b92b87 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30 Stream/40-Stream-write.md @@ -1,6 +1,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/ --- Writes a message to the stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md index cf81cb578a..3738e2a53e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md @@ -2,6 +2,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/ --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md index 879d850f1d..8045bbda83 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md @@ -1,6 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/constants/ --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-experimental/grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md index b70f413abc..0f62756252 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/50-Stream.md @@ -1,6 +1,7 @@ --- title: Stream excerpt: 'GRPC Streams' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/grpc/stream/ --- Using a GRPC client creates a stream. An important note that the client should be already connected (client.connect called) to the server before creating a stream. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md index 532918543a..a9473fa561 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis.md @@ -1,6 +1,7 @@ --- title: "redis" excerpt: "k6 Redis experimental API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md index 4303267c50..ad156dd5f4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client.md @@ -1,6 +1,7 @@ --- title: 'Client' excerpt: 'Client is a Redis client to interact with a Redis server or cluster.' +canonicalUrl: https://grafana.com/docs/k6/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 145e68d4fe..965a3be502 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decr.md @@ -1,6 +1,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/ --- Decrements the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md index 98401cd079..a5d2a8a930 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-decrby.md @@ -1,6 +1,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/ --- Decrements the number stored at `key` by `decrement`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md index 2e909590a7..fa3b85f8a7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-del.md @@ -1,6 +1,7 @@ --- title: 'Client.del(keys)' excerpt: '' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/redis/client/client-del/ --- Removes the specified keys. A key is ignored if it does not exist. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md index b47f805b06..00e37337b7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-exists.md @@ -1,6 +1,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/ --- Returns the number of `key` arguments that exist. Note that if the same existing key is mentioned in the argument multiple times, it will be counted multiple times. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md index 39519ce621..82dfa32d01 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-expire.md @@ -1,6 +1,7 @@ --- title: 'Client.expire(key, seconds)' excerpt: 'Sets an expiration date (a timeout) on the key `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 79a87859eb..825f5f86f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-get.md @@ -1,6 +1,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/ --- Get the key's value. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md index c19e8ccbea..0761a73e29 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getdel.md @@ -1,6 +1,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/ --- Get the value of `key` and delete the key. This functionality is similar to `get`, except for the fact that it also deletes the key on success. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md index 2fcf1d23c0..46813aa37e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-getset.md @@ -1,6 +1,7 @@ --- title: 'Client.getSet(key, value)' excerpt: 'Atomically sets `key` to `value` and returns the old value stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 65b1da8e15..c4d61066ac 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hdel.md @@ -1,6 +1,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/ --- Deletes the specified fields from the hash stored at `key`. The number of fields that were removed from the hash is returned on resolution (non including non existing fields). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md index d0e6920b5c..6cb26fd859 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hget.md @@ -1,6 +1,7 @@ --- title: 'Client.hget(key, field)' excerpt: 'Returns the value of field in the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 559d2a9f95..53feef5342 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hgetall.md @@ -1,6 +1,7 @@ --- title: 'Client.hgetall(key)' excerpt: 'Returns all fields and values of the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 4abb400e93..90f7da3de6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hincrby.md @@ -1,6 +1,7 @@ --- title: 'Client.hincrby(key, field, increment)' excerpt: 'Increments the value of a hash field by the given number.' +canonicalUrl: https://grafana.com/docs/k6/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 cc2343557f..240d29cb02 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hkeys.md @@ -1,6 +1,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/ --- Returns all fields of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md index 6ae3aef52b..ac241a9098 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hlen.md @@ -1,6 +1,7 @@ --- title: 'Client.hlen(key)' excerpt: 'Returns the number of fields in the hash stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 793e7440d9..053c279510 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hset.md @@ -1,6 +1,7 @@ --- title: 'Client.hset(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value`.' +canonicalUrl: https://grafana.com/docs/k6/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 1fabb7c43d..4ac7ae8bd9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hsetnx.md @@ -1,6 +1,7 @@ --- title: 'Client.hsetnx(key, field, value)' excerpt: 'Sets the value of field in the hash stored at `key` to `value` only if field does not exist in the hash.' +canonicalUrl: https://grafana.com/docs/k6/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 2937eda62b..fb63b24f52 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-hvals.md @@ -1,6 +1,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/ --- Returns all values of the hash stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md index 7849caa5a0..992192a384 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incr.md @@ -1,6 +1,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/ --- Increments the number stored at `key` by one. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md index 6052136ab9..10a89d5a8b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-incrby.md @@ -1,6 +1,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/ --- Increments the number stored at `key` by `increment`. If the key does not exist, it is set to zero before performing the operation. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md index 0fb6781d63..9790f4cf20 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lindex.md @@ -1,6 +1,7 @@ --- title: 'Client.lindex(key)' excerpt: 'Returns the element at index `index` of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 ddbcb8cf5d..fee1c521af 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-llen.md @@ -1,6 +1,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/ --- Returns the length of the list stored at `key`. If `key` does not exist, it is interpreted as an empty list and 0 is returned. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md index fff3964a36..437101a803 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpop.md @@ -1,6 +1,7 @@ --- title: 'Client.lpop(key)' excerpt: 'Removes and returns the first element of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 739d9226a6..b8b7d8f5d5 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lpush.md @@ -1,6 +1,7 @@ --- title: 'Client.lpush(key, values)' excerpt: 'Adds the string `value` to the left of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 dcfac444de..c7f991233b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrange.md @@ -1,6 +1,7 @@ --- title: 'Client.lrange(key, start, stop)' excerpt: 'Returns the specified elements of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 1108dd7d48..b92b8dd139 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lrem.md @@ -1,6 +1,7 @@ --- title: 'Client.lrem(key, count, value)' excerpt: 'Removes the first count occurrences of elements equal to value from the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 dc4d7c6d44..648cd6f8b6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-lset.md @@ -1,6 +1,7 @@ --- title: 'Client.lset(key, index, element)' excerpt: 'Sets the list element at index `index` of the list stored at `key` to `value`.' +canonicalUrl: https://grafana.com/docs/k6/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 09ac82d5c7..974ec2c9c4 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-mget.md @@ -1,6 +1,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/ --- Returns the values of all specified keys. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md index bd8429939f..cb9c85fa9c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-persist.md @@ -1,6 +1,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/ --- Removes the existing timeout on `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md index 7532c7575c..e2571bb35e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-randomkey.md @@ -1,6 +1,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/ --- Returns a random key. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md index 6ff49494e1..e49eea7803 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpop.md @@ -1,6 +1,7 @@ --- title: 'Client.rpop(key)' excerpt: 'Removes and returns the last element of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 67b3a7d44a..5f543cb7de 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-rpush.md @@ -1,6 +1,7 @@ --- title: 'Client.rpush(key, values)' excerpt: 'Adds the string `value` to the right of the list stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 92e17d6369..fd2c95c11a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sadd.md @@ -1,6 +1,7 @@ --- title: 'Client.sadd(key, members)' excerpt: 'Adds the specified members to the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 029c8a5c7c..6f6015fc9e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sendCommand.md @@ -1,6 +1,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/ --- In the event a Redis command you wish to use is not implemented yet, the `sendCommand` method can be used to send a custom commands to the server. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md index 47b68f104a..6fa656b9e3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-set.md @@ -1,6 +1,7 @@ --- title: 'Client.set(key, value, expiration)' excerpt: 'Set `key` to hold `value`, with a time to live equal to `expiration`.' +canonicalUrl: https://grafana.com/docs/k6/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 538ef23eaf..69f52e14d3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-sismember.md @@ -1,6 +1,7 @@ --- title: 'Client.sismember(key, member)' excerpt: 'Determines if a given value is a member of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 716bbcb8c4..0bc3ed8b23 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-smembers.md @@ -1,6 +1,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/ --- Returns all the members of the set values stored at `keys`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md index 08664d6941..b7a169df2b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-spop.md @@ -1,6 +1,7 @@ --- title: 'Client.spop(key)' excerpt: 'Removes and returns a random member of the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 7f8f4418e3..61ab89f048 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srandmember.md @@ -1,6 +1,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/ --- Returns a random element from the set value stored at `key`. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md index eca8adfbd8..89e4a21781 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-srem.md @@ -1,6 +1,7 @@ --- title: 'Client.srem(key, members)' excerpt: 'Removes the specified members from the set stored at `key`.' +canonicalUrl: https://grafana.com/docs/k6/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 ca1c829471..6508869b55 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/10 Client/Client-ttl.md @@ -1,6 +1,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/ --- Returns the remaining time to live of a key that has a timeout. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md index 4242063924..00f22d72f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/02 redis/20 Redis options.md @@ -2,6 +2,7 @@ title: 'Redis options' slug: '/javascript-api/k6-experimental/redis/options/' excerpt: 'Options allow to fine tune how a Redis client behaves and interacts with a Redis server or cluster.' +canonicalUrl: https://grafana.com/docs/k6/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 d9b93c5913..d9e6b98cd7 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/03 timers.md @@ -1,6 +1,7 @@ --- title: "timers" excerpt: "k6 timers experimental API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/timers/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md index 907116498d..22559bdb88 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing.md @@ -1,6 +1,7 @@ --- title: "tracing" excerpt: "k6 Tracing experimental API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/tracing/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md index 6a27b4c85c..740988d82c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/01 instrumentHTTP.md @@ -1,6 +1,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/ --- The `instrumentHTTP` function instruments the k6 http module with tracing capabilities. It transparently replaces each of the k6 http module functions with versions that automatically attach a trace context to every request. Instrumented functions include [del](/javascript-api/k6-http/del), [get](/javascript-api/k6-http/get), [head](/javascript-api/k6-http/head), [options](/javascript-api/k6-http/options), [patch](/javascript-api/k6-http/patch), [post](/javascript-api/k6-http/post), [put](/javascript-api/k6-http/head), and [request](/javascript-api/k6-http/request). diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md index ef1c4618d1..9df7e75b8e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/02 Client.md @@ -1,6 +1,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/ --- `Client` is an HTTP client constructor that attaches tracing information to its requests. Use it to include a tracing context in HTTP requests so that tracing backends (such as [Grafana Tempo](https://grafana.com/oss/tempo/)) can incorporate their results. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md index 7f239fe342..35444f1618 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/04 tracing/03 Options.md @@ -1,6 +1,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/ --- Use the `Options` object to configure the tracing instrumentation behavior. It is used during the instantiation of a [`Client`](/javascript-api/k6-experimental/tracing/client) instance and also as a parameter to the [`instrumentHTTP`](/javascript-api/k6-experimental/tracing/instrumenthttp) function. It controls the general behavior of the tracing instrumentation and is unspecific to any particular tracing client instance. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md index 2299a22967..fd484c69f3 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets.md @@ -1,6 +1,7 @@ --- title: 'websockets' excerpt: "k6 websockets experimental API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/websockets/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md index d73b99c499..defb3efdc2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-addEventListener.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.addEventListener(event, handler)' excerpt: 'Set up handler functions for various events on the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6/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 feca71c18e..f77df4e459 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/10-WebSocket-send-data-.md @@ -1,6 +1,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/ --- Send a data string through the connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md index bafaef7929..c963a417f2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/15-WebSocket-close--.md @@ -1,6 +1,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/ --- Close the WebSocket connection. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md index bc0bbf636a..1065cf2057 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/20-WebSocket-ping--.md @@ -1,6 +1,7 @@ --- title: 'WebSocket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' +canonicalUrl: https://grafana.com/docs/k6/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 6e81fc97d1..f4ca7911b8 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onclose.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `close` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md index bcee46fbd3..d278607574 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onerror.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `error` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md index b4210b270e..d83afba587 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onmessage.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `message` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md index 8db2dd562c..67a3de2c1a 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onopen.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `open` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md index 491629d0de..6f5f08ce3d 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onping.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `ping` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md index 5857f5c57f..9d0ee1593b 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10 WebSocket/30-WebSocket-onpong.md @@ -1,6 +1,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/ --- A handler for a WebSocket connection `pong` event. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md index a33f2e811c..f92e06b453 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/10-WebSocket.md @@ -2,6 +2,7 @@ title: 'WebSocket' description: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a WebSocket instance to interact with the service.' +canonicalUrl: https://grafana.com/docs/k6/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 0af808336d..6a2998e9c2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/05 websockets/20-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' +canonicalUrl: https://grafana.com/docs/k6/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 4c8fdd8c3f..9f7075cd37 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto.md @@ -1,6 +1,7 @@ --- title: 'webcrypto' excerpt: "k6 webcrypto experimental API" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/ --- diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md index 061ea36d4f..99210fc099 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto.md @@ -1,6 +1,7 @@ --- title: 'Crypto' excerpt: 'Crypto offers basic cryptography features.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/crypto/ --- `Crypto` allows access to a cryptographically strong random number generator and to cryptographic primitives. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md index 856207444b..59e8cdc0e6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/01 getRandomValues.md @@ -1,6 +1,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/ --- The `getRandomValues()` method fills the passed `TypedArray` with cryptographically sound random values. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md index 2e79d19335..508c9760cd 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/01 Crypto/02 randomUUID.md @@ -1,6 +1,7 @@ --- title: 'randomUUID' excerpt: 'randomUUID produces a 36-characters long string containing a cryptographically random UUID v4.' +canonicalUrl: https://grafana.com/docs/k6/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 46f207fcbb..0ac89cfd7e 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto.md @@ -1,6 +1,7 @@ --- title: 'SubtleCrypto' excerpt: 'SubtleCrypto offers low-level cryptographic functions.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/ --- The `SubtleCrypto` interface provides a set of low-level cryptographic primitives such as encryption, decryption, digital signature generation and verification, and key generation and management. It is useful for using secure and efficient cryptographic operations within k6 scripts. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md index 8b6035ebfd..5ce85def58 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/01 decrypt.md @@ -1,6 +1,7 @@ --- title: 'decrypt' excerpt: 'decrypt decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt/ --- The `decrypt()` method decrypts some encrypted data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md index 0f2db66bf5..524fd5bcca 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/02 digest.md @@ -1,6 +1,7 @@ --- title: 'digest' excerpt: 'digest decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/digest/ --- The `digest()` method generates a cryptographically secure [digest](https://developer.mozilla.org/en-US/docs/Glossary/Digest) of the given data. A digest is a short fixed-length value derived from some input data. The `digest()` method is commonly used to compute a checksum of data or to verify the integrity of data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md index e13a88edc0..2ebf1c4796 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/03 encrypt.md @@ -1,6 +1,7 @@ --- title: 'encrypt' excerpt: 'encrypt decrypts some encrypted data' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt/ --- The `encrypt()` method encrypts some data. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md index 2bd90d74b8..e95f657d8c 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/04 exportKey.md @@ -1,6 +1,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/ --- The `exportKey()` method takes a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object as input and exports it in an external, portable format. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md index 50883f8d3d..f949440cc2 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/05 generateKey.md @@ -1,6 +1,7 @@ --- title: 'generateKey' excerpt: 'generateKey generates a new key.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/generatekey/ --- The `generateKey()` generates a new cryptographic key and returns it as a [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object that can be used with the Web Crypto API. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md index 25dcd67553..fdae2bc703 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/06 importKey.md @@ -1,6 +1,7 @@ --- title: 'importKey' excerpt: 'importKey imports a key from an external, portable format and gives you a CryptoKey object.' +canonicalUrl: https://grafana.com/docs/k6/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 4e566c2696..c0ffa515d6 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/07 sign.md @@ -1,6 +1,7 @@ --- title: 'sign' excerpt: 'sign generates a digital signature.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign/ --- The `sign()` operation generates a digital signature of the provided `data`, using the given [CryptoKey](/javascript-api/k6-experimental/webcrypto/cryptokey) object. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md index bc7ae73f2d..720d81c9e0 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/02 SubtleCrypto/08 verify.md @@ -1,6 +1,7 @@ --- title: 'verify' excerpt: 'verify verifies a digital signature.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify/ --- The `verify()` operation verifies a digital signature. It ensures that some data was signed by a known key and that the data has not been tampered with since it was signed. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md index 8b1c50a73e..4e43bdc761 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/03 CryptoKey.md @@ -1,6 +1,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/ --- The `CryptoKey` object represents a cryptographic key used for [encryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/encrypt), [decryption](/javascript-api/k6-experimental/webcrypto/subtlecrypto/decrypt), [signing](/javascript-api/k6-experimental/webcrypto/subtlecrypto/sign), or [verification](/javascript-api/k6-experimental/webcrypto/subtlecrypto/verify) within the webcrypto module. The `CryptoKey` object is created using the SubtleCrypto.generateKey() or SubtleCrypto.importKey() methods. diff --git a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md index 53ca53fea1..e36e036433 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/04 AesKeyGenParams.md @@ -1,6 +1,7 @@ --- title: 'AesKeyGenParams' excerpt: 'AesKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an AES key.' +canonicalUrl: https://grafana.com/docs/k6/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 68d3646210..e615d000db 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/05 HmacKeyGenParams.md @@ -1,6 +1,7 @@ --- title: 'HmacKeyGenParams' excerpt: 'HmacKeyGenParams represents the object that should be passed as the algorithm parameter into the generateKey operation, when generating an HMAC key.' +canonicalUrl: https://grafana.com/docs/k6/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 1484475826..85582b1ff9 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/06 AesCtrParams.md @@ -1,6 +1,7 @@ --- title: 'AesCtrParams' excerpt: 'AesCtrParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CTR algorithm.' +canonicalUrl: https://grafana.com/docs/k6/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 44d1b074ad..6032a7f7eb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/07 AesCbcParams.md @@ -1,6 +1,7 @@ --- title: 'AesCbcParams' excerpt: 'AesCbcParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-CBC algorithm.' +canonicalUrl: https://grafana.com/docs/k6/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 0623353456..31cc86aecb 100644 --- a/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md +++ b/src/data/markdown/docs/02 javascript api/07 k6-experimental/06 webcrypto/08 AesGcmParams.md @@ -1,6 +1,7 @@ --- title: 'AesGcmParams' excerpt: 'AesGcmParams represents the object that should be passed as the algorithm parameter into the encrypt and decrypt operation when using the AES-GCM algorithm.' +canonicalUrl: https://grafana.com/docs/k6/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 b3bd3d4652..5af000a75b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html.md @@ -1,6 +1,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/ --- The k6/html module contains functionality for HTML parsing. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md index 3b1f2e3cca..a743e37ecd 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/10-parseHTML- src -.md @@ -2,6 +2,7 @@ title: 'parseHTML( src )' description: 'Parse an HTML string and populate a Selection object.' excerpt: 'Parse an HTML string and populate a Selection object.' +canonicalUrl: https://grafana.com/docs/k6/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 66055f1f9a..419e1448d0 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/20-Element -k6-html-.md @@ -2,6 +2,7 @@ title: 'Element' description: 'An HTML DOM element as returned by the Selection API.' excerpt: 'An HTML DOM element as returned by the Selection API.' +canonicalUrl: https://grafana.com/docs/k6/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 3327e12ce5..aba758aef2 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection.md @@ -2,6 +2,7 @@ title: 'Selection' description: 'A jQuery-like API for accessing HTML DOM elements.' excerpt: 'A jQuery-like API for accessing HTML DOM elements.' +canonicalUrl: https://grafana.com/docs/k6/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 58afda0ac1..dd89fa86b6 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-attr-name-.md @@ -1,6 +1,7 @@ --- title: 'Selection.attr(name)' excerpt: 'Get the value of an attribute for the first element in the Selection.' +canonicalUrl: https://grafana.com/docs/k6/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 6b82faad63..3f9b80a180 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-children--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.children([selector])' excerpt: 'Get the children of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 1cd68eca6b..95d6b5dd70 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-closest-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.closest(selector)' excerpt: 'For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.' +canonicalUrl: https://grafana.com/docs/k6/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 0fbb6edb6f..71921ea312 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-contents--.md @@ -1,6 +1,7 @@ --- title: 'Selection.contents()' excerpt: 'Get the children of each element in the set of matched elements, including text and comment nodes.' +canonicalUrl: https://grafana.com/docs/k6/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 feb15dc0ab..f39abbdf43 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-data--key--.md @@ -1,6 +1,7 @@ --- title: 'Selection.data([key])' excerpt: 'Return the value at the named data store for the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6/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 dd7e24bea4..b2878c1d52 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-each-fn-.md @@ -1,6 +1,7 @@ --- title: 'Selection.each(fn)' excerpt: 'Iterate over a Selection, executing a function for each matched element.' +canonicalUrl: https://grafana.com/docs/k6/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 d35addbb6a..b85d6502b7 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-eq-index-.md @@ -1,6 +1,7 @@ --- title: 'Selection.eq(index)' excerpt: 'Reduce the set of matched elements to the one at the specified index.' +canonicalUrl: https://grafana.com/docs/k6/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 c236962697..d82a55cde7 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-filter-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.filter(selector)' excerpt: 'Reduce the set of matched elements to those that match the selector or pass the function test.' +canonicalUrl: https://grafana.com/docs/k6/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 f53fb957be..e3ea104cad 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-find-selector-.md @@ -1,6 +1,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/ --- Find the selection descendants, filtered by a selector. It returns a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md index 4ac438db35..0c21dc0371 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-first--.md @@ -1,6 +1,7 @@ --- title: 'Selection.first()' excerpt: 'Reduce the set of matched elements to the first in the set.' +canonicalUrl: https://grafana.com/docs/k6/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 6fdf6be9a1..210b945d63 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-get-index-.md @@ -1,6 +1,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/ --- Retrieve the Element matched by the selector. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md index 7aaced59f6..ff288ff2c1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-has-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.has(selector)' excerpt: 'Reduce the set of matched elements to those that have a descendant that matches the selector.' +canonicalUrl: https://grafana.com/docs/k6/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 a1b12d19a7..c79f582c4f 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-html--.md @@ -1,6 +1,7 @@ --- title: 'Selection.html()' excerpt: 'Get the HTML contents of the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6/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 5251a506ec..fe396431ef 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-is-selector-.md @@ -1,6 +1,7 @@ --- title: 'Selection.is(selector)' excerpt: 'Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments.' +canonicalUrl: https://grafana.com/docs/k6/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 18e42d0028..40c08d2881 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-last--.md @@ -1,6 +1,7 @@ --- title: 'Selection.last()' excerpt: 'Reduce the set of matched elements to the final one in the set.' +canonicalUrl: https://grafana.com/docs/k6/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 3c38c53c0a..48eb000250 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-map-fn-.md @@ -1,6 +1,7 @@ --- title: 'Selection.map(fn)' excerpt: 'Pass each selection in the current matched set through a function, producing a new Array containing the return values.' +canonicalUrl: https://grafana.com/docs/k6/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 8c18f7725d..46f49f29ad 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-next--selector--.md @@ -2,6 +2,7 @@ title: 'Selection.next([selector])' excerpt: 'Get the immediately following sibling of each element in the set of matched elements Mimics jquery.next.' +canonicalUrl: https://grafana.com/docs/k6/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 0327a90b83..7cfbbf3cc6 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextAll--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.nextAll([selector])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 bdd9847661..26e127f65b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-nextUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.nextUntil([selector], [filter])' excerpt: 'Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 9a45e5a0bf..b172b72828 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-not-selector-.md @@ -1,6 +1,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/ --- Remove elements from the set of matched elements. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md index b302dee087..88f73f0935 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parent--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.parent([selector])' excerpt: 'Get the parent of each element in the current set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 d40165f194..163279ce63 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parents--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.parents([selector])' excerpt: 'Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 c2dd8cd679..406c8f47d1 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-parentsUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.parentsUntil([selector], [filter])' excerpt: 'Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector.' +canonicalUrl: https://grafana.com/docs/k6/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 05869d19d5..63378dc1b4 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prev--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.prev([selector])' excerpt: 'Get the immediately preceding sibling of each element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6/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 daade6d6db..a7d0c277eb 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevAll--selector--.md @@ -1,6 +1,7 @@ --- title: 'Selection.prevAll([selector])' excerpt: 'Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.' +canonicalUrl: https://grafana.com/docs/k6/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 9fe4a41b72..1877b3897b 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-prevUntil-selector-filter.md @@ -1,6 +1,7 @@ --- title: 'Selection.prevUntil([selector], [filter])' excerpt: 'Get all preceding siblings of each element up to but not including the element matched by the selector.' +canonicalUrl: https://grafana.com/docs/k6/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 f4f078960a..21d3267c13 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serialize--.md @@ -1,6 +1,7 @@ --- title: 'Selection.serialize()' excerpt: 'Encode a set of form elements as a string in standard URL-encoded notation for submission.' +canonicalUrl: https://grafana.com/docs/k6/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 aff61485b7..2399a789bc 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeArray--.md @@ -1,6 +1,7 @@ --- title: 'Selection.serializeArray()' excerpt: 'Encode a set of form elements as an array of names and values.' +canonicalUrl: https://grafana.com/docs/k6/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 88b07e20a1..b67a3bb97d 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-serializeObject--.md @@ -1,6 +1,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/ --- Encode a set of form elements as an object (`{ "inputName": "value", "checkboxName": "value" }`). diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md index fbc6e517b8..c3a2f0ba4a 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-size--.md @@ -1,6 +1,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/ --- Return the number of elements in the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md index b68fdcd394..cc9d6765ea 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-slice-start -- end--.md @@ -1,6 +1,7 @@ --- title: 'Selection.slice(start [, end])' excerpt: 'Reduce the set of matched elements to a subset specified by a range of indices.' +canonicalUrl: https://grafana.com/docs/k6/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 be18769bc6..0a8321143c 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-text--.md @@ -1,6 +1,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/ --- Get the text content of the Selection. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md index ae041cfe18..64d72525da 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-toArray--.md @@ -1,6 +1,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/ --- Retrieve all the elements contained in the Selection, as an array. diff --git a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md index 2478ccc840..bafde1a74e 100644 --- a/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md +++ b/src/data/markdown/docs/02 javascript api/08 k6-html/50 Selection/Selection-val--.md @@ -1,6 +1,7 @@ --- title: 'Selection.val()' excerpt: 'Get the current value of the first element in the set of matched elements.' +canonicalUrl: https://grafana.com/docs/k6/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 6ebded04c0..e266a3a6dd 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http.md @@ -1,6 +1,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/ --- The k6/http module contains functionality for performing HTTP transactions. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md index f59786698f..59f36f3184 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-asyncRequest- method- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'asyncRequest( method, url, [body], [params] )' description: 'Issue any type of HTTP request asynchronously.' excerpt: 'Issue any type of HTTP request asynchronously.' +canonicalUrl: https://grafana.com/docs/k6/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 f49387ff22..6d630613fe 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-batch- requests -.md @@ -2,6 +2,7 @@ title: 'batch( requests )' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' +canonicalUrl: https://grafana.com/docs/k6/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 1c840578d9..82572d6f0b 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-cookieJar--.md @@ -3,6 +3,7 @@ title: 'cookieJar()' slug: '/javascript-api/k6-http/cookiejar-method' description: 'Get active HTTP Cookie jar.' excerpt: 'Get active HTTP Cookie jar.' +canonicalUrl: https://grafana.com/docs/k6/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 2fa3e716a2..e453253ec7 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-del- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'del( url, [body], [params] )' description: 'Issue an HTTP DELETE request.' excerpt: 'Issue an HTTP DELETE request.' +canonicalUrl: https://grafana.com/docs/k6/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 5d133be998..dd52ca2481 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-file- data- -filename-- -contentType- -.md @@ -2,6 +2,7 @@ title: 'file( data, [filename], [contentType] )' description: 'Create a file object that is used for building multi-part requests.' excerpt: 'Create a file object that is used for building multi-part requests.' +canonicalUrl: https://grafana.com/docs/k6/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 64f59c292e..c75fc22a54 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-get- url- -params- -.md @@ -2,6 +2,7 @@ title: 'get( url, [params] )' description: 'Issue an HTTP GET request.' excerpt: 'Issue an HTTP GET request.' +canonicalUrl: https://grafana.com/docs/k6/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 73636f023c..a6f944ad21 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-haed- url- -params- -.md @@ -2,6 +2,7 @@ title: 'head( url, [params] )' description: 'Issue an HTTP HEAD request.' excerpt: 'Issue an HTTP HEAD request.' +canonicalUrl: https://grafana.com/docs/k6/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 7334c213ee..97d45198d3 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-options- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: "options( url, [body], [params] )" description: "Issue an HTTP OPTIONS request." excerpt: "Issue an HTTP OPTIONS request." +canonicalUrl: https://grafana.com/docs/k6/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 2a9b14e949..2397b99776 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-patch- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'patch( url, [body], [params] )' description: 'Issue an HTTP PATCH request.' excerpt: 'Issue an HTTP PATCH request.' +canonicalUrl: https://grafana.com/docs/k6/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 1659965c9b..2aad946264 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-post- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'post( url, [body], [params] )' description: 'Issue an HTTP POST request.' excerpt: 'Issue an HTTP POST request.' +canonicalUrl: https://grafana.com/docs/k6/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 86b03f8303..4be880d25b 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-put- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'put( url, [body], [params] )' description: 'Issue an HTTP PUT request.' excerpt: 'Issue an HTTP PUT request.' +canonicalUrl: https://grafana.com/docs/k6/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 d88738686e..e5c0fccad1 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-request- method- url- -body-- -params- -.md @@ -2,6 +2,7 @@ title: 'request( method, url, [body], [params] )' description: 'Issue any type of HTTP request.' excerpt: 'Issue any type of HTTP request.' +canonicalUrl: https://grafana.com/docs/k6/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 e14a4002ff..1d1b98ea9e 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-set-response-callback-expectedStatuses.md @@ -2,6 +2,7 @@ title: 'setResponseCallback( callback )' description: 'set responseCallback to mark responses as expected' excerpt: 'set responseCallback to mark responses as expected' +canonicalUrl: https://grafana.com/docs/k6/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 e17f7bba1d..cafee8568d 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/10-url- url- .md @@ -2,6 +2,7 @@ title: 'url`url`' description: 'Creates a URL with a name tag.' excerpt: 'Creates a URL with a name tag.' +canonicalUrl: https://grafana.com/docs/k6/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 7fab3c9d2f..725a95b605 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/11-expected-statuses.md @@ -2,6 +2,7 @@ title: 'expectedStatuses( statuses )' description: 'generates a responseCallback to check status codes' excerpt: 'generates a responseCallback to check status codes' +canonicalUrl: https://grafana.com/docs/k6/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 418fa65297..9f99eaf3b4 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar.md @@ -3,6 +3,7 @@ title: 'CookieJar' head_title: 'CookieJar object' description: 'Used for storing cookies, set by the server and/or added by the client.' excerpt: 'Used for storing cookies, set by the server and/or added by the client.' +canonicalUrl: https://grafana.com/docs/k6/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 04616edfca..f8ad5e193f 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-clear-url.md @@ -1,6 +1,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/ --- | Parameter | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md index 6f00ee25d6..3b2312ddd4 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-cookiesForUrl-url.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.cookiesForURL(url)' excerpt: 'Get object with all cookies for the given URL, where the key is the cookie name and the value is an array.' +canonicalUrl: https://grafana.com/docs/k6/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 76d7801573..1100da1b64 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-delete-url-name.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.delete(url, name)' excerpt: 'Delete a cookie of a specified `name` for the given URL.' +canonicalUrl: https://grafana.com/docs/k6/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 b8ec7f9cad..57e976f935 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60 CookieJar/CookieJar-set-url-name-value-options.md @@ -1,6 +1,7 @@ --- title: 'CookieJar.set(url, name, value, [options])' excerpt: 'Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc.' +canonicalUrl: https://grafana.com/docs/k6/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 4dfde0bbc4..e747a25acd 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-FileData.md @@ -2,6 +2,7 @@ title: 'FileData' description: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' excerpt: 'Used for wrapping data representing a file when doing multipart requests (file uploads).' +canonicalUrl: https://grafana.com/docs/k6/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 2904805a12..aff01e66e8 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/60-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' excerpt: 'Used for setting various HTTP request-specific parameters such as headers, cookies, etc.' +canonicalUrl: https://grafana.com/docs/k6/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 c4a432d1ed..23f5e60be0 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response.md @@ -2,6 +2,7 @@ title: 'Response' description: 'Returned by the http.* methods that generate HTTP requests.' excerpt: 'Returned by the http.* methods that generate HTTP requests.' +canonicalUrl: https://grafana.com/docs/k6/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 4339813589..49b63131ff 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-clickLink- -params- -.md @@ -1,6 +1,7 @@ --- title: 'Response.clickLink( [params] )' excerpt: 'Create and make a request corresponding to a link, found in the HTML of response, being clicked.' +canonicalUrl: https://grafana.com/docs/k6/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 ec65063649..07080fae00 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-html--.md @@ -1,6 +1,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/ --- Parses response as HTML and populate a [Selection](/javascript-api/k6-html/selection) object. diff --git a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md index 25d6a4a316..3a772cc238 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-json- -selector- -.md @@ -1,6 +1,7 @@ --- title: 'Response.json( [selector] )' excerpt: 'Parses the response body data as JSON and returns a JS object or array.' +canonicalUrl: https://grafana.com/docs/k6/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 36e4c39872..8a618b147e 100644 --- a/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md +++ b/src/data/markdown/docs/02 javascript api/09 k6-http/61 Response/Response-submitForm- -params- -.md @@ -1,6 +1,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/ --- Fill in and submit form found in HTML of response. By default it will look for the first `form` tag in the HTML, but this can be overridden using the `formSelector` option. To set/override the form fields you set properties of an object in the `fields` option. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md index 08b301775a..b76ff74c92 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics.md @@ -1,6 +1,7 @@ --- title: 'k6/metrics' excerpt: 'k6 Custom Metrics API' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-metrics/ --- The metrics module provides functionality to [create custom metrics](/using-k6/metrics/create-custom-metrics) of various types. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md index fb1e134a78..b137fdfa99 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter.md @@ -1,6 +1,7 @@ --- title: 'Counter' excerpt: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.' +canonicalUrl: https://grafana.com/docs/k6/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 9cf21168e9..fc55b0d55d 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/70 Counter/Counter-add-value- -tags--.md @@ -1,6 +1,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/ --- Add a value to the `Counter` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md index 50e4206512..ce44f8d8c2 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge.md @@ -1,6 +1,7 @@ --- title: 'Gauge' excerpt: 'Gauge is an object for representing a custom metric holding only the latest value added.' +canonicalUrl: https://grafana.com/docs/k6/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 cbd300f2c0..06fafede93 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/71 Gauge/Gauge-add-value- -tags--.md @@ -1,6 +1,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/ --- Set the value of the `Gauge` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md index 07c0a94866..68ba194651 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate.md @@ -1,6 +1,7 @@ --- title: 'Rate' excerpt: 'Rate is an object for representing a custom metric keeping track of the percentage of added values that are non-zero.' +canonicalUrl: https://grafana.com/docs/k6/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 36ced7cff4..654d6bca84 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/72 Rate/Rate-add-value- -tags--.md @@ -1,6 +1,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/ --- Set the value of the `Rate` metric. diff --git a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md index c80967809b..9b88dbb330 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend.md @@ -1,6 +1,7 @@ --- title: 'Trend' excerpt: 'Trend is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles)' +canonicalUrl: https://grafana.com/docs/k6/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 fa7ebfb677..5092ed607c 100644 --- a/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md +++ b/src/data/markdown/docs/02 javascript api/10 k6-metrics/73 Trend/Trend-add-value- -tags--.md @@ -1,6 +1,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/ --- Add a value to the `Trend` metric. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md index a3df47785f..6cf2944698 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md @@ -1,6 +1,7 @@ --- title: "k6/net/grpc" excerpt: "k6 gRPC API" +canonicalUrl: 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 ff5dba6503..caacb1e747 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md @@ -1,6 +1,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/ --- diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md index bfc5d2aff9..7f96c1d14e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/10-Client-load-importpaths-protoFiles copy.md @@ -1,6 +1,7 @@ --- title: "Client.load(importPaths, ...protoFiles)" excerpt: 'Loads and parses the protocol buffer descriptors so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6/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 993c114adc..4b8fc26658 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/11-Client-load-protoset.md @@ -1,6 +1,7 @@ --- title: "Client.loadProtoset(protosetPath)" excerpt: 'Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/client/client-load-protoset/ --- Loads and parses the protoset file (serialized FileDescriptor set) so they are available to the client to marshal/unmarshal the correct request and response data structures for the RPC schema. diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md index b65447ad9c..d31e6501ed 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/20-Client-connect-connect-address-params.md @@ -1,6 +1,7 @@ --- title: "Client.connect(address [,params])" excerpt: 'Opens a connection to a gRPC server; will block until a connection is made or a connection error is thrown.' +canonicalUrl: https://grafana.com/docs/k6/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 6882c542b0..16e49734f2 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/30-Client-invokerpc-url-request-params.md @@ -1,6 +1,7 @@ --- title: "Client.invoke(url, request [,params])" excerpt: 'Invokes an unary RPC request to the given method.' +canonicalUrl: https://grafana.com/docs/k6/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 3068863a08..0667e76099 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20 Client/40-Client-close.md @@ -1,6 +1,7 @@ --- title: "Client.close()" excerpt: 'Close the connection to the gRPC service. Tear down all underlying connections.' +canonicalUrl: https://grafana.com/docs/k6/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 3ca65bfe14..d1f98718d4 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/20-Params.md @@ -2,6 +2,7 @@ title: "Params" head_title: 'gRPC.params' excerpt: 'Params is an object used by the gRPC methods that generate RPC requests.' +canonicalUrl: https://grafana.com/docs/k6/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 24fce7fd7b..acb64ed98d 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md @@ -2,6 +2,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/ --- | Name | Type | Description | diff --git a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md index a5b6f4d060..91fe3e165e 100644 --- a/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md +++ b/src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md @@ -1,6 +1,7 @@ --- title: 'Constants' excerpt: 'Define constants to distinguish between gRPC Response' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-net-grpc/constants/ --- Define constants to distinguish between [gRPC Response](/javascript-api/k6-net-grpc/response) statuses. diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws.md b/src/data/markdown/docs/02 javascript api/12 k6-ws.md index 255a95e2c6..288894405d 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws.md @@ -1,6 +1,7 @@ --- title: "k6/ws" excerpt: "k6 WebSocket API" +canonicalUrl: 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 4353f3b9cc..c3a3838994 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/10-connect- url- params- callback -.md @@ -2,6 +2,7 @@ title: 'connect( url, params, callback )' description: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' excerpt: 'Create a WebSocket connection, and provides a Socket client to interact with the service.' +canonicalUrl: https://grafana.com/docs/k6/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 f3e333b056..03e719e91e 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/20-Params.md @@ -2,6 +2,7 @@ title: 'Params' description: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' excerpt: 'Used for setting various WebSocket request-specific parameters such as headers, tags, etc.' +canonicalUrl: https://grafana.com/docs/k6/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 fd35e6618c..32ac9eb921 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket.md @@ -1,6 +1,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/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md index ea6170df14..302bdccbc8 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-close--.md @@ -1,6 +1,7 @@ --- title: 'Socket.close([code])' excerpt: 'Close the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/k6-ws/socket/socket-close/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md index e8d1b3152d..b472cab052 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-on-event- callback-.md @@ -1,6 +1,7 @@ --- title: 'Socket.on(event, callback)' excerpt: 'Set up callback functions for various events on the WebSocket connection.' +canonicalUrl: https://grafana.com/docs/k6/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 ee6118223b..7863e19482 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-ping--.md @@ -1,6 +1,7 @@ --- title: 'Socket.ping()' excerpt: 'Send a ping. Ping messages can be used to verify that the remote endpoint is responsive.' +canonicalUrl: https://grafana.com/docs/k6/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 1a403bdac1..20fdfb7ce6 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-send-data-.md @@ -1,6 +1,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/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md index 61e38f684e..158910cf93 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-sendBinary.md @@ -1,6 +1,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/ --- diff --git a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md index 24ac38270d..388219c13c 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setInterval-callback- interval-.md @@ -1,6 +1,7 @@ --- title: 'Socket.setInterval(callback, interval)' excerpt: 'Call a function repeatedly, while the WebSocket connection is open.' +canonicalUrl: https://grafana.com/docs/k6/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 112c7ec649..0077abb87a 100644 --- a/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md +++ b/src/data/markdown/docs/02 javascript api/12 k6-ws/80 Socket/Socket-setTimeout-callback- delay-.md @@ -1,6 +1,7 @@ --- title: 'Socket.setTimeout(callback, delay)' excerpt: 'Call a function at a later time, if the WebSocket connection is still open then.' +canonicalUrl: https://grafana.com/docs/k6/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 7c456d98d0..ab1d7804f2 100644 --- a/src/data/markdown/docs/02 javascript api/90 Error Codes.md +++ b/src/data/markdown/docs/02 javascript api/90 Error Codes.md @@ -1,6 +1,7 @@ --- title: 'Error Codes' excerpt: 'Error codes are unique numbers that can be used to identify and handle different application and network errors more easily.' +canonicalUrl: https://grafana.com/docs/k6/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/05 Examples/01 Examples/01 single-request.md b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md index 537b912c96..bdfb8c8219 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/01 single-request.md @@ -2,6 +2,7 @@ title: 'Single request' excerpt: 'Example of one HTTP GET request' draft: 'false' +canonicalUrl: https://grafana.com/docs/k6/latest/examples/single-request/ --- diff --git a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md index 9bb52f25b5..7fbd756f3d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/02 http-authentication.md @@ -1,6 +1,7 @@ --- title: 'HTTP Authentication' excerpt: 'Scripting examples on how to use different authentication or authorization methods in your load test.' +canonicalUrl: https://grafana.com/docs/k6/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 4cb161c14d..49f601f89d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/03 oauth-authentication.md @@ -1,6 +1,7 @@ --- title: 'OAuth Authentication' excerpt: 'Scripting examples on how to use OAuth authentication in your load test.' +canonicalUrl: https://grafana.com/docs/k6/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 fabaa9e0e5..1e0441dc86 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/04 correlation-and-dynamic-data.md @@ -5,6 +5,7 @@ excerpt: | often required when using the Chrome Extension or HAR converter to generate your test script. This is due to the fact that those tools will capture session IDs, CSRF tokens, VIEWSTATE, wpnonce, and other dynamic values from your specific session. +canonicalUrl: https://grafana.com/docs/k6/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 ebce161a82..696b984e44 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/05 data-parameterization.md @@ -6,6 +6,7 @@ excerpt: | Parameterization helps to prevent server-side caching from impacting your load test. This will, in turn, make your test more realistic. +canonicalUrl: https://grafana.com/docs/k6/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 3e73f35905..729914aa0d 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/06 parse-html.md @@ -1,6 +1,7 @@ --- title: 'Parse HTML' excerpt: 'Scripting examples parsing HTML content.' +canonicalUrl: https://grafana.com/docs/k6/latest/examples/parse-html/ --- Examples parsing HTML content. Use the `k6/html` module for HTML parsing. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md index 95dd222cd3..8ce4bff509 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/07 html-forms.md @@ -1,6 +1,7 @@ --- title: 'HTML Forms' excerpt: 'Scripting example on how to handle HTML forms in a k6 test.' +canonicalUrl: https://grafana.com/docs/k6/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 55ec149060..d081b30b4e 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/08 cookies-example.md @@ -1,6 +1,7 @@ --- title: 'Cookies Example' excerpt: 'Scripting examples on how you can interact with cookies during your load test if required.' +canonicalUrl: https://grafana.com/docs/k6/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 7983318e6b..d4125148a3 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/09 data-uploads.md @@ -1,6 +1,7 @@ --- title: 'Data Uploads' excerpt: 'Scripting examples on how to execute a load test that will upload a file to the System Under Test (SUT).' +canonicalUrl: https://grafana.com/docs/k6/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 1d9a82daac..5be8364d98 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/10 api-crud-operations.md @@ -1,6 +1,7 @@ --- title: 'API CRUD Operations' excerpt: 'This example covers the usage of k6 to test a REST API CRUD operations.' +canonicalUrl: https://grafana.com/docs/k6/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 29a46ac771..5c1dd80917 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/11 generating-uuids.md @@ -1,6 +1,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/ --- If you want to make a version 4 UUID, diff --git a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md index d44552c197..a69221ea06 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/12 http2.md @@ -1,6 +1,7 @@ --- title: 'HTTP2' excerpt: 'Information on how to load test HTTP/2.' +canonicalUrl: https://grafana.com/docs/k6/latest/examples/http2/ --- If the target system indicates that a connection can be upgraded from HTTP/1.1 to HTTP/2, k6 will do so automatically. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md index 91251bc264..0c1c41de29 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/13 websockets.md @@ -2,6 +2,7 @@ title: 'WebSockets' excerpt: | Scripting example on how to use WebSocket API in k6. +canonicalUrl: https://grafana.com/docs/k6/latest/examples/websockets/ --- Here's a load test for CrocoChat - a WebSocket chat API available on [https://test-api.k6.io/](https://test-api.k6.io/). diff --git a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md index e8f0c6dff7..7d1a58a2c3 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/14 soap.md @@ -1,6 +1,7 @@ --- title: 'SOAP' excerpt: 'Load Testing SOAP API.' +canonicalUrl: https://grafana.com/docs/k6/latest/examples/soap/ --- Although k6 doesn't have any built-in APIs for working with SOAP or XML data in general, you diff --git a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md index df71ce7bf5..50166760e6 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/15 tls.md @@ -3,6 +3,7 @@ title: 'Transport Layer Security (TLS)' excerpt: | TLS is the mechanism through which encrypted connections can be established between clients and servers on the web and through which data can flow with integrity intact. +canonicalUrl: https://grafana.com/docs/k6/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 eb1cfa3029..eb6292c840 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/16 data generation.md @@ -3,4 +3,5 @@ title: 'Generating realistic data' redirect: 'https://github.com/k6io/example-data-generation/' excerpt: | Reference project demonstrating how to generate data with realistic traits at runtime using faker.js +canonicalUrl: https://grafana.com/docs/k6/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 087df2f987..439b5d3766 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/17 crawl-webpage.md @@ -3,4 +3,5 @@ title: 'Crawl a web page' redirect: 'https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/' excerpt: | Stack overflow answer demonstrating how to crawl a web page +canonicalUrl: https://grafana.com/docs/k6/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 177ed6f6c2..406abab2a1 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/18 Bundling and transpilation.md @@ -4,4 +4,5 @@ redirect: 'https://github.com/k6io/k6-es6/' excerpt: | Reference project demonstrating how to use webpack and babel to bundle node modules or transpile code to ES5.1+ for usage in k6 tests. +canonicalUrl: https://grafana.com/docs/k6/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 815e9f7cd8..065d4fc48b 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/19 functional testing.md @@ -2,6 +2,7 @@ title: 'Functional testing' excerpt: | Use Chaijs library for functional and integration testing. +canonicalUrl: https://grafana.com/docs/k6/latest/examples/functional-testing/ --- ### Most basic integration test diff --git a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md index b34c0e9c22..cda0bee6bd 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/20 tracking-data-per-url.md @@ -1,6 +1,7 @@ --- title: 'Track transmitted data per URL' excerpt: 'This example shows how to track data sent and received for a individual URL.' +canonicalUrl: https://grafana.com/docs/k6/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 5aead573f4..c7573eb464 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/21 URL query parameters.md @@ -1,6 +1,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/ --- How to use **URL** and **URLSearchParams** imported from [jslib.k6.io](/using-k6/modules#the-jslib-repository) to construct URLs with/without query parameters. diff --git a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md index 8c88eecc6c..682bf20138 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/22 instant-load-increase.md @@ -2,6 +2,7 @@ title: 'Instant load increase' excerpt: 'Scripting example on how to instantly increase the number of VUs or iterations and hold them for a period of time' draft: 'false' +canonicalUrl: https://grafana.com/docs/k6/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 bbf2b3df70..8ceb6208c7 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/23 get-timings-for-an-http-metric.md @@ -1,6 +1,7 @@ --- title: Get timings for an HTTP metric excerpt: How to calculate timings for an individual k6 metric +canonicalUrl: https://grafana.com/docs/k6/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 7d0277efaf..79b9846112 100644 --- a/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md +++ b/src/data/markdown/docs/05 Examples/01 Examples/24 distribute-workloads.md @@ -2,6 +2,7 @@ title: Distribute workloads across VUs excerpt: How to configure different amounts of traffic for different VU behaviors slug: /examples/distribute-workloads +canonicalUrl: https://grafana.com/docs/k6/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 033a96a98e..9b4826081a 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials.md @@ -1,6 +1,7 @@ --- title: 'Tutorials' excerpt: 'k6 Tutorials' +canonicalUrl: https://grafana.com/docs/k6/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 09620fce26..f6f1fc4d2b 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6.md @@ -1,6 +1,7 @@ --- title: 'Get started with k6' excerpt: A series of docs to learn how to use the major features of k6 +canonicalUrl: https://grafana.com/docs/k6/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 8a9e1616e0..4a91d4bb2e 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/100 Test-for-functional-behavior.md @@ -1,6 +1,7 @@ --- title: Test for functional behavior excerpt: Use k6 to write requests and assert that they respond correctly +canonicalUrl: https://grafana.com/docs/k6/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 7dc0259882..4d98a8b35a 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/200 Test for performance.md @@ -1,6 +1,7 @@ --- title: Test for performance excerpt: Write thresholds to evaluate performance criteria, then increase load to see how the system performs. +canonicalUrl: https://grafana.com/docs/k6/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 7b5451b377..0e7d1251c6 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/300 Analyze results.md @@ -1,6 +1,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/ --- In this tutorial, learn how to: diff --git a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md index 289891cbf2..f1d2812fbd 100644 --- a/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md +++ b/src/data/markdown/docs/05 Examples/02 Tutorials/01 Get started with k6/400 Reuse and re-run tests.md @@ -1,6 +1,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/ --- In the previous tutorials, you designed k6 scripts to assert performance and make comparing results easy. diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md index 769d9c1c66..2d73262089 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create.md @@ -1,6 +1,7 @@ --- title: 'Create' excerpt: 'Creating k6 extensions does not have to be a daunting task, but there are some prerequisites to succeed.' +canonicalUrl: https://grafana.com/docs/k6/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 3edf72c8bd..0cfd7fe515 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/01 JavaScript Extensions.md @@ -1,6 +1,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/ --- Take advantage of Go's speed, power, and efficiency while providing the flexibility of using JavaScript APIs diff --git a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md index 713ff1130d..4ce5ab33cb 100644 --- a/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md +++ b/src/data/markdown/docs/07 extensions/01 Get started/04 Create/02 Output Extensions.md @@ -1,6 +1,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/ --- k6 provides many [metrics](/using-k6/metrics) and [output formats](/results-output/overview/), but it cannot directly support all possibilities. diff --git a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md index 4b3fe9deff..76480bb7a9 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/010-extensions-registry.md @@ -2,6 +2,7 @@ title: About the Extensions Registry excerpt: Reasons for the registry and what is required to be included. hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6/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 ccba0d05e1..5acceee621 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/020-go-js-bridge.md @@ -2,6 +2,7 @@ title: About the Go-to-JS bridge excerpt: Technical details about how JavaScript works in the goja engine. slug: /extensions/explanations/go-js-bridge +canonicalUrl: https://grafana.com/docs/k6/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 23683f7c97..cccf9f4728 100644 --- a/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md +++ b/src/data/markdown/docs/07 extensions/02 Explanations/030-extension-graduation.md @@ -2,6 +2,7 @@ title: Extension Graduation excerpt: Some extensions are created with the intent to become a part of core of k6. hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6/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 9dcc212a9b..7997ae68ee 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/02 bundling.md @@ -1,6 +1,7 @@ --- title: 'Build a k6 binary using Go' excerpt: 'Guide to build a k6 binary that includes one or many extensions using xk6.' +canonicalUrl: https://grafana.com/docs/k6/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 ee30da0362..5258e2cfcd 100644 --- a/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md +++ b/src/data/markdown/docs/07 extensions/03 Guides/build-k6-using-docker.md @@ -2,6 +2,7 @@ title: 'Build a k6 binary using Docker' excerpt: '' hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6/latest/extensions/build-k6-binary-using-docker/ --- Using the [xk6 Docker image](https://hub.docker.com/r/grafana/xk6/) can simplify the process of creating a custom k6 binary. It avoids having to setup a local Go environment, and install xk6 manually. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md index 3e47f4ac84..09b4a1d73d 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws.md @@ -2,6 +2,7 @@ title: "aws" excerpt: "aws is a library implementing APIs for accessing a selection of AWS services" description: "aws is a library implementing APIs for accessing a selection of AWS servicese" +canonicalUrl: https://grafana.com/docs/k6/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 abd37bcad2..a7e4f46834 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 AwsConfig.md @@ -3,6 +3,7 @@ title: 'AWSConfig' head_title: 'AWSConfig' description: 'AWSConfig is used to configure an AWS service client instances' excerpt: 'AWSConfig is used to configure an AWS service client instances' +canonicalUrl: https://grafana.com/docs/k6/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 704587f815..c96904cf4e 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 EventBridgeClient.md @@ -3,6 +3,7 @@ title: 'EventBridgeClient' head_title: 'EventBridgeClient' description: 'EventBridgeClient allows interacting with AWS EventBridge service' excerpt: 'EventBridgeClient class allows sending custom events to Amazon EventBridge so that they can be matched to rules.' +canonicalUrl: https://grafana.com/docs/k6/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 573e813916..86bcdac0c0 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 KMSClient.md @@ -3,6 +3,7 @@ title: 'KMSClient' head_title: 'KMSClient' description: 'KMSClient allows interacting with the AWS Key Management Service' excerpt: 'KMSClient allows interacting with the AWS Key Management Service' +canonicalUrl: https://grafana.com/docs/k6/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 cfd2bfde80..ce5905cd87 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 S3Client.md @@ -3,6 +3,7 @@ title: 'S3Client' head_title: 'S3Client' description: 'S3Client allows interacting with AWS S3 buckets and objects' excerpt: 'S3Client class allows interacting with AWS S3 buckets and objects' +canonicalUrl: https://grafana.com/docs/k6/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 ab9caeee43..88b6ae26a2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SQSClient.md @@ -3,6 +3,7 @@ title: 'SQSClient' head_title: 'SQSClient' description: 'SQSClient enables interaction with the AWS Simple Queue Service (SQS)' excerpt: 'SQSClient allows interacting with the AWS Simple Queue Service (SQS)' +canonicalUrl: https://grafana.com/docs/k6/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 0e2e05241a..86b6598453 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SecretsManagerClient.md @@ -3,6 +3,7 @@ title: 'SecretsManagerClient' head_title: 'SecretsManagerClient' description: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' excerpt: 'SecretsManagerClient allows interacting with AWS secrets stored in Secrets Manager' +canonicalUrl: https://grafana.com/docs/k6/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 9e5259a177..d13aa7bb3b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SignatureV4.md @@ -3,6 +3,7 @@ title: 'SignatureV4' head_title: 'SignatureV4' description: 'SignatureV4 is used to sign or pre-sign requests to AWS services using the Signature V4 algorithm' excerpt: 'SignatureV4 is used to sign and pre-sign requests to AWS services using the Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6/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 7fa5f106db..29eeeca0ab 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/00 SystemsManagerClient.md @@ -3,6 +3,7 @@ title: 'SystemsManagerClient' head_title: 'SystemsManagerClient' description: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' excerpt: 'SystemsManagerClient allows interacting with the AWS Systems Manager Service' +canonicalUrl: https://grafana.com/docs/k6/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 76c698c0ff..d6662f80d2 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/EventBridgeClient/putEvents.md @@ -2,6 +2,7 @@ title: 'EventBridgeClient.putEvents' description: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' excerpt: 'EventBridgeClient.putEvents sends custom events to Amazon EventBridge' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/eventbridgeclient/eventbridgeclient-putevents/ --- `EventBridgeClient.putEvents` sends custom events to Amazon EventBridge so that they can be matched to rules. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md index 7c6d0d2ded..f34b1ad45d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 generateDataKey.md @@ -2,6 +2,7 @@ title: 'KMSClient.generateDataKey' description: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' excerpt: 'KMSClient.generateDataKey generates a symmetric data key for use outside of the AWS Key Management Service' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmsclient-generatedatakey/ --- `KMSClient.generateDataKey` generates a symmetric data key for use outside of the AWS Key Management Service. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md index 35f4820a29..9383fe2d04 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/00 listKeys.md @@ -2,6 +2,7 @@ title: 'KMSClient.listKeys()' description: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" excerpt: "KMSClient.listKeys lists all the KMS keys in the caller's AWS account and region" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/kmsclient/kmsclient-listkeys/ --- `KMSClient.listKeys()` lists all the Key Management Service keys in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md index 985fb42704..f244a7a868 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSDataKey.md @@ -2,6 +2,7 @@ title: 'KMSDataKey' description: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' excerpt: 'KMSDataKey is returned by the KMSClient.*DataKey methods that query KMS data keys' +canonicalUrl: https://grafana.com/docs/k6/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 ebda12fda7..23a634c6df 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/KMSClient/90 KMSKey.md @@ -2,6 +2,7 @@ title: 'KMSKey' description: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' excerpt: 'KMSKey is returned by the KMSClient.* methods that query KMS keys' +canonicalUrl: https://grafana.com/docs/k6/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 21a63e7c5e..2c9b9bd98a 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 abortMultipartUpload(bucketName, objectKey, uploadId).md @@ -2,6 +2,7 @@ title: 'S3Client.abortMultipartUpload(bucketName, objectKey, uploadId)' description: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' excerpt: 'S3Client.abortMultipartUpload aborts a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-abortmultipartupload/ --- `S3Client.abortMultipartUpload` aborts a multipart upload to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md index 9bbe3aa712..6923bd85e7 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 completeMultipartUpload(bucketName, objectKey, uploadId, parts).md @@ -2,6 +2,7 @@ title: 'S3Client.completeMultipartUpload(bucketName, objectKey, uploadId, parts)' description: 'S3Client.completeMultipartUpload uploads a multipar object to a bucket' excerpt: 'S3Client.completeMultipartUpload uploads a multipart object to a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-completemultipartupload/ --- `S3Client.completeMultipartUpload` uploads a multipart object to an S3 bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md index 6c45e0b9b6..42af06dafc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 copyObject.md @@ -2,6 +2,7 @@ title: 'S3Client.copyObject' description: 'S3Client.copyObject copies an object from a bucket to another' excerpt: 'S3Client.copyObject copies an object from a bucket to another' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-copyobject/ --- `S3Client.copyObject` copies an object from one bucket to another. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md index 262e91b3c0..2da54b3c79 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 createMultipartUpload(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.createMultipartUpload(bucketName, objectKey)' description: 'S3Client.createMultipartUpload creates a multipart upload for an object key to a bucket' excerpt: 'S3Client.createMultipartUpload creates a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-createmultipartupload/ --- `S3Client.createMultipartUpload` creates a new multipart upload for a given an object key in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md index 53fdb1becb..e2cc9563bf 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 deleteObject(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.deleteObject(bucketName, objectKey)' description: 'S3Client.deleteObject deletes an object from a bucket' excerpt: 'S3Client.deleteObject deletes an object from a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-deleteobject/ --- `S3Client.deleteObject` deletes an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md index e866173bab..9c8d5e1007 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 getObject(bucketName, objectKey).md @@ -2,6 +2,7 @@ title: 'S3Client.getObject(bucketName, objectKey)' description: 'S3Client.getObject downloads an object from a bucket' excerpt: 'S3Client.getObject downloads an object from a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-getobject/ --- `S3Client.getObject` downloads an object from a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md index fc691dcfe8..c0f7b85f23 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listBuckets().md @@ -2,6 +2,7 @@ title: 'S3Client.listBuckets()' description: 'S3Client.listBuckets lists the buckets the authenticated user has access to' excerpt: 'S3Client.listBuckets lists the buckets the authenticated user has access to' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-listbuckets/ --- `S3Client.listBuckets()` lists the buckets the authenticated user has access to in the region set by the `S3Client` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md index 29335bca12..97a7f381d2 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 listObjects(bucketName, [prefix]).md @@ -2,6 +2,7 @@ title: 'S3Client.listObjects(bucketName, [prefix])' description: 'S3Client.listObjects lists the objects contained in a bucket' excerpt: 'S3Client.listObjects lists the objects contained in a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-listobjects/ --- `S3Client.listObjects()` lists the objects contained in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md index fab43df5c3..0af26b2f46 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 putObject(bucketName, objectKey, data).md @@ -2,6 +2,7 @@ title: 'S3Client.putObject(bucketName, objectKey, data)' description: 'S3Client.putObject uploads an object to a bucket' excerpt: 'S3Client.putObject uploads an object to a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-putobject/ --- `S3Client.putObject` uploads an object to a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md index 9b4a52433a..4565338265 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/00 uploadPart(bucketName, objectKey, uploadId, partNumber, data) copy.md @@ -2,6 +2,7 @@ title: 'S3Client.uploadPart(bucketName, objectKey, uploadId,partNumber, data)' description: 'S3Client.uploadPart a part in a multipart upload to a bucket' excerpt: 'S3Client.uploadPart a part in a multipart upload to a bucket' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/s3client/s3client-uploadpart/ --- `S3Client.uploadPart` uploads a part to multipart upload in a bucket. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md index c83d078bee..b9741f96ee 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Bucket.md @@ -2,6 +2,7 @@ title: 'Bucket' description: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' excerpt: 'Bucket is returned by the S3Client.* methods who query S3 buckets.' +canonicalUrl: https://grafana.com/docs/k6/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 2654cc1bc3..f13d0ca3dd 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 Object.md @@ -2,6 +2,7 @@ title: 'Object' description: "Object is returned by the S3Client.* methods who query S3 buckets' objects." excerpt: "Object is returned by the S3Client.* methods who query S3 buckets' objects." +canonicalUrl: https://grafana.com/docs/k6/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 07f86619e9..8404878163 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3MultipartUpload.md @@ -2,6 +2,7 @@ title: 'S3MultipartUpload' description: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' excerpt: 'S3MultipartUpload is returned by the S3Client.createMultipartUpload method when creating a multipart upload.' +canonicalUrl: https://grafana.com/docs/k6/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 320bf3f4cc..8f9555f3b8 100755 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/S3Client/90 S3Part.md @@ -2,6 +2,7 @@ title: 'S3Part' description: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' excerpt: 'S3Part is returned by the S3Client.uploadPart method when uploading a part to a multipart upload.' +canonicalUrl: https://grafana.com/docs/k6/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 c8b5fa69e0..3a8c146651 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 listQueues.md @@ -2,6 +2,7 @@ title: 'SQSClient.listQueues()' description: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" excerpt: "SQSClient.listQueues retrieves a list of available Amazon SQS queues" +canonicalUrl: https://grafana.com/docs/k6/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 bfb1e20f3d..a02ce04407 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SQSClient/00 sendMessage.md @@ -2,6 +2,7 @@ title: 'SQSClient.sendMessage()' description: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" excerpt: "SQSClient.sendMessage sends a message to the specified Amazon SQS queue" +canonicalUrl: https://grafana.com/docs/k6/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 79c03fda6c..88d6e13a17 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 createSecret(name, secretString, description, [versionID], [tags]).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.createSecret(name, secretString, description, [versionID], [tags])' description: 'SecretsManagerClient.createSecret creates a new secret' excerpt: 'SecretsManagerClient.createSecret creates a new secret' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-createsecret/ --- `SecretsManagerClient.createSecret` creates a secret in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md index 3f1dca9fac..4cf9da46c3 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 deleteSecret.md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.deleteSecret(secretID, { recoveryWindow: 30, noRecovery: false}})' description: 'SecretsManagerClient.deleteSecret deletes a secret' excerpt: 'SecretsManagerClient.deleteSecret deletes a secret' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-deletesecret/ --- `SecretsManagerClient.deleteSecret` deletes a secret from AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md index 4c868f9379..19a4744383 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 getSecret(secretID).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.getSecret(secretID)' description: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' excerpt: 'SecretsManagerClient.getSecret(secretID) downloads a secret from AWS secrets manager' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-getsecret/ --- `SecretsManagerClient.getSecret` downloads a secret from AWS secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md index f9bbf35ed5..51fd76d4c4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 listSecrets().md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.listSecrets()' description: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' excerpt: 'SecretsManagerClient.listSecrets lists the secrets the authenticated user has access to' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-listsecrets/ --- `S3Client.listSecrets` lists the secrets the authenticated user has access to in the region set by the `SecretsManagerClient` instance's configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md index 07cb38d153..8e82a18341 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/00 putSecretValue(secretID, secretString, [versionID]).md @@ -2,6 +2,7 @@ title: 'SecretsManagerClient.putSecretValue(secretID, secretString, [versionID], [tags])' description: "SecretsManagerClient.putSecretValue updates an existing secret's value" excerpt: "SecretsManagerClient.putSecretValue updates an existing secret's value" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/secretsmanagerclient/secretsmanagerclient-putsecretvalue/ --- `SecretsManagerClient.putSecretValue` updates a secret's value in AWS' secrets manager. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md index bec0d34bba..77cb6e8666 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SecretsManagerClient/99 Secret.md @@ -2,6 +2,7 @@ title: 'Secret' description: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' excerpt: 'Secret is returned by the SecretsManagerClient.* methods who query secrets from AWS secrets manager.' +canonicalUrl: https://grafana.com/docs/k6/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 1fa2959055..dfc9f3a2a3 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 presign().md @@ -2,6 +2,7 @@ title: 'presign' description: 'Signaturev4.presign pre-signs a URL with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign pre-signs a URL with the AWS Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6/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 778b96d243..76b0425b2d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/00 sign().md @@ -2,6 +2,7 @@ title: 'sign' description: 'Signaturev4.sign signs an HTTP request with the AWS Signature V4 algorithm' excerpt: 'SignatureV4.sign signs an HTTP request with the AWS Signature V4 algorithm' +canonicalUrl: https://grafana.com/docs/k6/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 5457d2aac3..6270d01932 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/00 getParameter.md @@ -2,6 +2,7 @@ title: 'SystemsManagerClient.getParameter()' description: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" excerpt: "SystemsManagerClient.getParameter gets a Systems Manager parameter in the caller's AWS account and region" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/aws/systemsmanagerclient/systemsmanagerclient-getparameter/ --- `SystemsManagerClient.getParameter` gets a Systems Manager parameter in the caller's AWS account and region. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md index 4ee91eaf87..b51a8d597a 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/01 aws/SystemsManagerClient/90 SystemsManagerParameter.md @@ -2,6 +2,7 @@ title: 'SystemsManagerParameter' description: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query parameters' excerpt: 'SystemsManagerParameter is returned by the SystemsManagerClient.* methods that query KMS parameters' +canonicalUrl: https://grafana.com/docs/k6/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 a0c6bd9094..b935bd81b4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx.md @@ -1,6 +1,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/ --- The `httpx` module is an external JavaScript library that wraps around the native [k6/http](/javascript-api/k6-http) module. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md index 0ab081cfde..3448c14e76 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/08 asyncRequest(method, url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'asyncRequest(method, url, [body], [params])' head_title: 'httpx.asyncRequest()' description: 'Generic method for making asynchronous HTTP requests' excerpt: 'Generic method for making asynchronous HTTP requests' +canonicalUrl: https://grafana.com/docs/k6/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 917d6d3a99..c0c0b59710 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/09 request(method, url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'request(method, url, [body], [params])' head_title: 'httpx.request()' description: 'Generic method for making arbitrary HTTP requests' excerpt: 'Generic method for making arbitrary HTTP requests' +canonicalUrl: https://grafana.com/docs/k6/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 aeffa8f590..64232c1287 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/10 get(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'get(url, [body], [params])' description: 'httpx.get makes GET requests' excerpt: 'httpx.get makes GET requests' +canonicalUrl: https://grafana.com/docs/k6/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 ba007aab8c..8035ceb280 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/11 post(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'post(url, [body], [params])' head_title: 'httpx.post' description: 'httpx.post makes POST requests' excerpt: 'httpx.post makes POST requests' +canonicalUrl: https://grafana.com/docs/k6/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 9b05e55d3d..a639d731e9 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/12 put(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'put(url, [body], [params])' head_title: 'httpx.put' description: 'httpx.put makes PUT requests' excerpt: 'httpx.put makes PUT requests' +canonicalUrl: https://grafana.com/docs/k6/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 09fdc55254..284dc5ee54 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/13 patch(url, [body], [params]).md @@ -3,6 +3,7 @@ title: 'patch(url, [body], [params])' head_title: 'httpx.patch' description: 'httpx.patch makes PATCH requests' excerpt: 'httpx.patch makes PATCH requests' +canonicalUrl: https://grafana.com/docs/k6/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 9bf1526bd9..9957abce3d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/14 delete(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'delete(url, [body], [params])' description: 'httpx.delete makes DELETE requests' excerpt: 'httpx.delete makes DELETE requests' +canonicalUrl: https://grafana.com/docs/k6/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 7135233df2..6657b4880d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/15 options(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'options(url, [body], [params])' description: 'httpx.options makes OPTIONS requests' excerpt: 'httpx.options makes OPTIONS requests' +canonicalUrl: https://grafana.com/docs/k6/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 69d618d969..ae5aecc63d 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/16 head(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'head(url, [body], [params])' description: 'httpx.head makes HEAD requests' excerpt: 'httpx.head makes HEAD requests' +canonicalUrl: https://grafana.com/docs/k6/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 e017dc04d0..84c22d6302 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/17 trace(url, [body], [params]).md @@ -2,6 +2,7 @@ title: 'trace(url, [body], [params])' description: 'httpx.trace makes TRACE requests' excerpt: 'httpx.trace makes TRACE requests' +canonicalUrl: https://grafana.com/docs/k6/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 3aa3f6fec9..4c44a8e702 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/19 batch(requests).md @@ -3,6 +3,7 @@ title: 'batch( requests )' head_title: 'httpx.batch(requests)' description: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' excerpt: 'Issue multiple HTTP requests in parallel (like e.g. browsers tend to do).' +canonicalUrl: https://grafana.com/docs/k6/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 eb25fd68c3..ccc7049695 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/20 setBaseUrl(url).md @@ -2,6 +2,7 @@ title: 'setBaseUrl( url )' description: 'sets the base URL for the session' excerpt: 'sets the base URL for the session' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/httpx/setbaseurl/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md index 6a9f5e1dbc..8eecf55a68 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/21 addHeader(key, value).md @@ -2,6 +2,7 @@ title: 'addHeader( key, value )' description: 'adds a header to the session' excerpt: 'adds a header to the session' +canonicalUrl: https://grafana.com/docs/k6/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 d39ca3e970..e61e9d4e06 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/22 addHeaders(object).md @@ -2,6 +2,7 @@ title: 'addHeaders( object )' description: 'adds multiple headers to the session' excerpt: 'adds multiple headers to the session' +canonicalUrl: https://grafana.com/docs/k6/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 be7ed1bc5f..f9090fcbd8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/23 clearHeader(name).md @@ -2,6 +2,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/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md index ace50c5b8b..8939f14bdd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/24 addTag(key, value).md @@ -2,6 +2,7 @@ title: 'addTag( key, value )' description: 'adds a tag to the session' excerpt: 'adds a tag to the session' +canonicalUrl: https://grafana.com/docs/k6/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 3d4a07983f..dbbc4ef0dd 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/25 addTags(object).md @@ -2,6 +2,7 @@ title: 'addTags( object )' description: 'adds multiple tags to the session' excerpt: 'adds multiple tags to the session' +canonicalUrl: https://grafana.com/docs/k6/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 96ef4e22b0..5928f34b29 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/02 httpx/26 clearTag(name).md @@ -2,6 +2,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/ --- diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md index c1fef43116..dde20d9722 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs.md @@ -1,6 +1,7 @@ --- title: "k6chaijs" excerpt: "Assertion library for k6" +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/ --- `k6chaijs` is a library to provide BDD assertions in k6 based on [ChaiJS](https://www.chaijs.com/). You can use `k6chaijs` as an alternative to [check](/javascript-api/k6/check/) and [group](/javascript-api/k6/group/). diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md index 98a992bc1a..5a999f1b4c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/31 config.md @@ -1,6 +1,7 @@ --- title: 'config' excerpt: 'Global configuration options for k6Chaijs' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/config/ --- Chai exposes a few options to change the library configuration. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md index 43ca0c64aa..a9557d05cc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/33 describe.md @@ -1,6 +1,7 @@ --- title: 'describe( name, function )' excerpt: 'Entry point for creating test cases.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/describe/ --- `describe` is a wrapper of [group](/javascript-api/k6/group) that adds the ability to: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md index 011609a57e..ab491cc870 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/34 expect.md @@ -1,6 +1,7 @@ --- title: 'expect()' excerpt: 'BDD style to construct k6 assertions.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/expect/ --- `expect` is a wrapper of [check](/javascript-api/k6/check/) to provide BDD style of assertions in k6. It implements the [Chai Expect API](https://www.chaijs.com/api/bdd/): diff --git a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md index 5c44b4dec0..8b2b6bd9a8 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/03 k6chaijs/35 error handling.md @@ -1,6 +1,7 @@ --- title: 'Error handling' excerpt: 'How to handle errors in k6chaijs.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/k6chaijs/error-handling/ --- When you execute a load test, your System Under Test (SUT) may often become over saturated and start responding with errors. In this case, you need to consider what the iteration execution should do: diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md index 0fc52fae6a..16f98949d1 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils.md @@ -1,6 +1,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/ --- The `utils` module contains number of small utility functions useful in every day load testing. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md index 4321a17632..032106697c 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/41 randomIntBetween(min, max) copy.md @@ -2,6 +2,7 @@ title: 'randomIntBetween(min, max)' description: 'Random integer' excerpt: 'Random integer' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomintbetween/ --- Function returns a random number between the specified range. The returned value is no lower than (and may possibly equal) min, and is no bigger than (and may possibly equal) max. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md index 9eff7164f0..2e7bc32f9b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/42 randomItem(array).md @@ -2,6 +2,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/ --- Function returns a random item from an array. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md index e6943daa10..383c9cc46b 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/43 randomString(length).md @@ -2,6 +2,7 @@ title: 'randomString(length, [charset])' description: 'Random string' excerpt: 'Random string' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/randomstring/ --- Function returns a random string of a given length, optionally selected from a custom character set. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md index c698fbf71a..676708bca4 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/44 uuidv4().md @@ -2,6 +2,7 @@ title: 'uuidv4()' description: 'uuid v4 function' excerpt: 'uuid v4 function' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/uuidv4/ --- Function returns a random uuid v4 in a string form. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md index 448b56b914..580633f2a7 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/45 findBetween(content, left, right).md @@ -2,6 +2,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/ --- Function that returns a string from between two other strings. diff --git a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md index 5701f96525..c8939a4bcc 100644 --- a/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md +++ b/src/data/markdown/docs/20 jslib/01 jslib/04 utils/46 normalDistributionStages(maxVus, durationSeconds, numberOfStages).md @@ -2,6 +2,7 @@ title: 'normalDistributionStages(maxVus, durationSeconds, [numberOfStages])' description: 'normalDistributionStages function' excerpt: 'normalDistributionStages function' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/jslib/utils/normaldistributionstages/ --- Function to create [stages](/using-k6/options/#stages) producing a _normal distribution (bell-curve)_ of VUs for a test. diff --git a/src/data/markdown/docs/20 jslib/20 jslib.md b/src/data/markdown/docs/20 jslib/20 jslib.md index 8146fdd716..1ad5163db5 100644 --- a/src/data/markdown/docs/20 jslib/20 jslib.md +++ b/src/data/markdown/docs/20 jslib/20 jslib.md @@ -1,6 +1,7 @@ --- title: "jslib" excerpt: "External JavaScript libraries for k6" +canonicalUrl: https://grafana.com/docs/k6/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 7779b4b304..7953b35453 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/00 About.md +++ b/src/data/markdown/docs/40 xk6-disruptor/00 About.md @@ -3,6 +3,7 @@ title: 'About' heading: 'xk6-disruptor Documentation' head_title: 'xk6-disruptor Documentation' excerpt: 'xk6-disruptor is a k6 extension providing fault injection capabilities to test system reliability under turbulent conditions.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/ --- [xk6-disruptor](https://github.com/grafana/xk6-disruptor) is an extension that adds fault injection capabilities to k6. It implements the principles of the Chaos Engineering discipline to test the reliability of our applications under turbulent conditions such as delays and response errors. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md index 34471869e8..472b52fc06 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started.md @@ -1,6 +1,7 @@ --- title: 'Get started' excerpt: 'xk6-disruptor is an extension that adds fault injection capabilities to k6. Start here to learn the basics and how to use the disruptor' +canonicalUrl: https://grafana.com/docs/k6/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 31f34c3bed..b26769105b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/01 First steps.md @@ -3,6 +3,7 @@ title: 'First steps' heading: 'xk6-disruptor first steps' head_title: 'xk6-disruptor First steps' excerpt: 'xk6-disruptor is a k6 extension providing fault injection capabilities to k6.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/first-steps/ --- [xk6-disruptor](https://github.com/grafana/xk6-disruptor) is an extension that adds fault injection capabilities to k6. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md index 40e53c5580..86372afc6f 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/02 Requirements.md @@ -1,6 +1,7 @@ --- title: 'Requirements' excerpt: 'Requirements for using xk6-disruptor in your test scripts' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/requirements/ --- The xk6-disruptor is a k6 extension. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md index 802972f3b2..e74a5fb23d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md @@ -1,6 +1,7 @@ --- title: 'Installation' excerpt: 'A step-by-step guide on how to install xk6-disruptor.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/installation/ --- xk6-disruptor is a [k6 extension](/extensions). You have to run a k6 version built with the disruptor extension to use the [disruptor APIs](/javascript-api/xk6-disruptor/api/) in your k6 tests. diff --git a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md index e69183c680..719fb52679 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md +++ b/src/data/markdown/docs/40 xk6-disruptor/01 Get started/04 Expose Your Application.md @@ -1,6 +1,7 @@ --- title: 'Expose your application' excerpt: 'How to make your applications accessible from the test scripts.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/expose-your-application/ --- To access your application from the test scripts, you must assign it an external IP in the cluster where it's running. diff --git a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md index ce501723c4..dfea34e2d9 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md +++ b/src/data/markdown/docs/40 xk6-disruptor/02 Explanations/01 How it works.md @@ -1,6 +1,7 @@ --- title: 'How xk6-disruptor works' excerpt: 'A brief description of the components of the xk6-disruptor and how they work when inject faults in a target system.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/how-it-works/ --- xk6-disruptor consists of two main components: diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API.md b/src/data/markdown/docs/40 xk6-disruptor/03 API.md index 3b97b3c35b..45919ba74d 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API.md @@ -1,6 +1,7 @@ --- title: 'API' excerpt: 'An overview of the API for xk6-disruptor.' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/ --- The xk6-disruptor API is organized around _disruptors_ that affect specific targets such as pods or services. These disruptors can inject different types of [faults](/javascript-api/xk6-disruptor/api/faults) on their targets. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md index c78a1e38c8..3a5b7a55ee 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults.md @@ -1,6 +1,7 @@ --- title: 'Faults' excerpt: 'xk6-disruptor: Fault Description' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/ --- A fault is as an abnormal condition that affects a system component and which may lead to a failure. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md index e5f77f5401..89f0128db5 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/01 Grpc.md @@ -1,6 +1,7 @@ --- title: 'gRPC' excerpt: 'xk6-disruptor: gRPC Fault attributes' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/grpc/ --- A gRPC Fault describes the characteristics of the faults to be injected in the gRPC requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md index 209dc9305f..8bae1a4dae 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/02 HTTP .md @@ -1,6 +1,7 @@ --- title: 'HTTP' excerpt: 'xk6-disruptor: HTTP Fault attributes' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/http/ --- A HTTP Fault describes the characteristics of the faults to be injected in the HTTP requests served by a target. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md index 6f0fc39022..70e05f0aed 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/01 Faults/03 Pod Termination.md @@ -1,6 +1,7 @@ --- title: 'Pod Termination' excerpt: 'xk6-disruptor: Pod Termination Fault attributes' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/faults/pod-termination/ --- A Pod Termination Fault allows terminating either a fixed number or a percentage of the pods that matching a selector or back a service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md index 6c34da7f8e..db3a904015 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor.md @@ -1,6 +1,7 @@ --- title: 'PodDisruptor' excerpt: 'xk6-disruptor: PodDisruptor class' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/ --- The `PodDisruptor` class can inject different types of faults into the pods that match a selection criteria. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md index 123b8773ba..abd9d012ea 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/01 Constructor.md @@ -1,6 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: PodDisruptor constructor' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/constructor/ --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md index 019645772a..7f29dc3e34 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/02 injectGrpcFaults.md @@ -1,6 +1,7 @@ --- title: 'injectGrpcFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectGrpcFaults method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injectgrpcfaults/ --- injectGrpcFaults injects gRPC faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md index 151b0a186c..748f81579b 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/03 injectHTTPFaults.md @@ -1,6 +1,7 @@ --- title: 'injectHTTPFaults()' excerpt: 'xk6-disruptor: PodDisruptor.injectHTTPFaults method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/injecthttpfaults/ --- injectHTTPFaults injects HTTP faults in the requests served by a target Pod. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md index 408ae44d4b..51e9bf0946 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/02 PodDisruptor/04 TerminatePods.md @@ -1,6 +1,7 @@ --- title: 'terminatePods()' excerpt: 'xk6-disruptor: PodDisruptor.terminatePods method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/poddisruptor/terminate-pods/ --- `terminatePods` terminates a number of the pods matching the selector configured in the PodDisruptor. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md index 7f5fed4b4a..b6c9d7d21f 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor.md @@ -1,6 +1,7 @@ --- title: 'ServiceDisruptor' excerpt: 'xk6-disruptor: ServiceDisruptor class' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/ --- The `ServiceDisruptor` class can inject different types of faults into the pods that back a Kubernetes service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md index bd7da7c1fd..98b4f60cd3 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/01 Constructor.md @@ -1,6 +1,7 @@ --- title: 'Constructor' excerpt: 'xk6-disruptor: ServiceDisruptor constructor' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/constructor/ --- diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md index ac24fffdbf..f7075938c8 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/02 injectGrpcFaults.md @@ -1,6 +1,7 @@ --- title: 'injectGrpcFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectGrpcFaults method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injectgrpcfaults/ --- injectGrpcFaults injects gRPC faults in the requests served by a target Service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md index 2c10ce666a..6d47adf740 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/03 injectHTTPFaults.md @@ -1,6 +1,7 @@ --- title: 'injectHTTPFaults' excerpt: 'xk6-disruptor: ServiceDisruptor.injectHTTPFaults method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/injecthttpfaults/ --- injectHTTPFaults injects HTTP faults in the requests served by a target Service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md index ac3a5e2aac..ccd0af30bf 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md +++ b/src/data/markdown/docs/40 xk6-disruptor/03 API/03 ServiceDisruptor/04 TerminatePods.md @@ -1,6 +1,7 @@ --- title: 'terminatePods()' excerpt: 'xk6-disruptor: ServiceDisruptor.terminatePods method' +canonicalUrl: https://grafana.com/docs/k6/latest/javascript-api/xk6-disruptor/servicedisruptor/terminate-pods/ --- `terminatePods` terminates a number of pods that belong to the service specified in the ServiceDisruptor. diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md index e0289ceb27..5cb4596cca 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples.md @@ -1,6 +1,7 @@ --- title: 'Examples' excerpt: 'Examples of how to use the xk6-disruptor extension to introduce faults in k6 tests.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/ --- In this section, we present some examples of using the `xk6-disruptor` extension to introduce faults in `k6` tests. diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md index bd4c561e54..5955dc649e 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md @@ -1,6 +1,7 @@ --- title: 'Inject gRPC faults into Service' excerpt: 'This example shows how to test the effect of faults injected in the gRPC requests served by a service.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/inject-grpc-faults-into-service/ --- This example shows a way to use the [ServiceDisruptor](/javascript-api/xk6-disruptor/api/servicedisruptor) to test the effect of faults injected in the gRPC requests served by a service. diff --git a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md index c4d330b305..5ce94d38cd 100644 --- a/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md +++ b/src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md @@ -1,6 +1,7 @@ --- title: 'Inject HTTP faults into Pod' excerpt: 'This example shows how to test the effect of faults injected in the HTTP requests served by a pod.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/injecting-faults-with-xk6-disruptor/examples/inject-http-faults-into-pod/ --- This example shows how [PodDisruptor](/javascript-api/xk6-disruptor/api/poddisruptor) can be used for testing the effect of faults injected in the HTTP requests served by a pod. diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md index b00111f9ca..fd2a4fe40f 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation.md @@ -1,6 +1,7 @@ --- title: 'Installation' excerpt: 'k6 has packages for Linux, Mac, and Windows. As alternatives, you can also using a Docker container or a standalone binary.' +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/installation/ --- k6 has packages for Linux, Mac, and Windows. Alternatively, you can use a Docker container or a standalone binary. diff --git a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md index 22837d168a..1bfe4876db 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md +++ b/src/data/markdown/translated-guides/en/01 Get started/02 Installation/01 Troubleshooting.md @@ -1,6 +1,7 @@ --- title: 'Troubleshooting' excerpt: 'Instructions to fix the most common installation issues.' +canonicalUrl: https://grafana.com/docs/k6/latest/get-started/installation/troubleshooting/ --- ## System lacks ca-certificates or gnupg2 diff --git a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md index d412740c1f..6f85eef30a 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md +++ b/src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md @@ -1,6 +1,7 @@ --- title: 'Running k6' excerpt: 'Follow along to learn how to run a test, add virtual users, increase the test duration, and ramp the number of requests up and down as the test runs.' +canonicalUrl: https://grafana.com/docs/k6/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 c866756866..e39b13457d 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md +++ b/src/data/markdown/translated-guides/en/01 Get started/04 Results Output.md @@ -1,6 +1,7 @@ --- title: 'Results output' excerpt: 'For basic tests, the top-level summary that k6 provides might be enough. For detailed analysis, you can stream all data your test outputs to an external source.' +canonicalUrl: https://grafana.com/docs/k6/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 3982af6b41..14a6e00c20 100644 --- a/src/data/markdown/translated-guides/en/01 Get started/05 resources.md +++ b/src/data/markdown/translated-guides/en/01 Get started/05 resources.md @@ -2,6 +2,7 @@ title: k6 resources excerpt: 'An overview of the k6 resources beyond the k6 docs: videos, repositories, test servers, courses, and more' slug: '/get-started/resources/' +canonicalUrl: https://grafana.com/docs/k6/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 19601419ee..a7c646066e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md @@ -1,6 +1,7 @@ --- title: 'HTTP Requests' excerpt: 'Define the HTTP requests and methods you want to use. k6 adds tags to the requests, making it easier to filter results. You can customize tags as you wish.' +canonicalUrl: https://grafana.com/docs/k6/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 df97041ce2..e6dafba412 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md @@ -1,6 +1,7 @@ --- title: 'Metrics' excerpt: 'This section covers the important aspect of metrics management in k6. How and what kind of metrics k6 collects automatically (_built-in_ metrics), and what custom metrics you can make k6 collect.' +canonicalUrl: https://grafana.com/docs/k6/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 dd59943344..3e826e6bca 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/000-reference.md @@ -2,6 +2,7 @@ title: Built-in metrics slug: '/using-k6/metrics/reference' excerpt: A reference of built-in metrics for different supported protocols. +canonicalUrl: https://grafana.com/docs/k6/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 be6db753bc..5b93684cf7 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics/100 Create custom metrics.md @@ -1,6 +1,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/ --- Besides the [built-in metrics](/using-k6/metrics/reference), you can create custom metrics. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md index 11febe6bdb..d64d138d9e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/03 Checks.md @@ -1,6 +1,7 @@ --- title: 'Checks' excerpt: 'Checks are like asserts but differ in that they do not halt the execution, instead, they just store the result of the check, pass or fail, and let the script execution continue.' +canonicalUrl: https://grafana.com/docs/k6/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 e2fe89ceef..7fd94dca0f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md @@ -1,6 +1,7 @@ --- title: 'Thresholds' excerpt: 'Thresholds are a pass/fail criteria used to specify the performance expectations of the system under test.' +canonicalUrl: https://grafana.com/docs/k6/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 266fc2da06..f2625db5b8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options.md @@ -2,6 +2,7 @@ title: 'Options' slug: '/using-k6/k6-options' excerpt: 'Options configure test-run behavior. You can set options in multiple locations. Examples for how to use options, and a complete reference.' +canonicalUrl: https://grafana.com/docs/k6/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 e0293d67de..15317c3007 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/01 How to.md @@ -2,6 +2,7 @@ title: 'How to use options' slug: '/using-k6/k6-options/how-to' excerpt: 'How to set options in different places (with examples), how to override options, and how to access the value of an option as the test runs.' +canonicalUrl: https://grafana.com/docs/k6/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 0dd0145c26..2b10b27bb3 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md @@ -2,6 +2,7 @@ title: 'Options reference' slug: '/using-k6/k6-options/reference' excerpt: 'A complete list of all k6 options, with descriptions, defaults, and examples of how to set the option in your script, config files, environment variables, or CLI.' +canonicalUrl: https://grafana.com/docs/k6/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 da283e9424..c019c9eb39 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/06 Test lifecycle.md @@ -1,6 +1,7 @@ --- title: 'Test lifecycle' excerpt: 'The four distinct lifecycle stages in a k6 test are "init", "setup", "VU", and "teardown".' +canonicalUrl: https://grafana.com/docs/k6/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 c2b5d50506..f588cf74df 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/07 Modules.md @@ -2,6 +2,7 @@ title: 'Modules' excerpt: 'While writing test scripts, it is common to import different modules, or part of modules, for usage throughout the script. In k6, it is possible to import three different kinds of modules.' +canonicalUrl: https://grafana.com/docs/k6/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 f914d07659..af6f08da0d 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md @@ -2,6 +2,7 @@ title: 'Tags and Groups' excerpt: 'k6 provides the Tags and Groups APIs to help you during the analysis and easily visualize, sort and filter your test results.' +canonicalUrl: https://grafana.com/docs/k6/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 1648cc6aa9..ad13733e2e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/09 Cookies.md @@ -1,6 +1,7 @@ --- title: 'Cookies' excerpt: 'k6 will transparently manage the receiving, storage and sending of cookies as described above, so that testing of your cookie-based web site or app will just work.' +canonicalUrl: https://grafana.com/docs/k6/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 dafc50704b..d10b0399e4 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols.md @@ -1,6 +1,7 @@ --- title: "Protocols" excerpt: "Out of the box k6 comes with support for a few protocols: HTTP / WebSockets / gRPC / ..." +canonicalUrl: https://grafana.com/docs/k6/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 4372703d22..0142794d44 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/01 HTTP-2.md @@ -1,6 +1,7 @@ --- title: 'HTTP/2' excerpt: 'When you make HTTP requests in k6 it will automatically upgrade the connection to HTTP/2.0 if the server supports it, just like your web browser would.' +canonicalUrl: https://grafana.com/docs/k6/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 436883150e..dcb12135b0 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/02 WebSockets.md @@ -1,6 +1,7 @@ --- title: 'WebSockets' excerpt: 'Comparing HTTP based tests to WebSocket ones, there are some differences in the structure and inner workings of k6.' +canonicalUrl: https://grafana.com/docs/k6/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 cce87e5ff7..bbe4407757 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/03 gRPC.md @@ -1,6 +1,7 @@ --- title: 'gRPC' excerpt: 'gRPC is a lightweight open-source RPC framework. Starting with k6 v0.29.0, we support unary gRPC requests.' +canonicalUrl: https://grafana.com/docs/k6/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 723b4a213d..a8f436ccbd 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS.md @@ -1,6 +1,7 @@ --- title: 'SSL/TLS' excerpt: 'By default and without any special configuration, k6 will connect and talk to servers over TLS. You just need to make sure to specify your request URLs with the https scheme.' +canonicalUrl: https://grafana.com/docs/k6/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 de7d340e7a..72e37a7186 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/Online Certificate Status Protocol -OCSP-.md @@ -2,6 +2,7 @@ title: 'Online Certificate Status Protocol (OCSP)' excerpt: 'k6 supports OCSP stapling, receiving and parsing a stapled response as part of the TLS connection setup.' +canonicalUrl: https://grafana.com/docs/k6/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 13f6f22a99..8e2e2ecf3a 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS client certificates.md @@ -1,6 +1,7 @@ --- title: 'SSL/TLS client certificates' excerpt: 'To use client certificates, you specify global that tell k6 how to map a public certificate and private key to the domains they are valid for.' +canonicalUrl: https://grafana.com/docs/k6/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 788a202a8a..922fd9d8e4 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/10 Protocols/04 SSL-TLS/SSL-TLS version and ciphers.md @@ -2,6 +2,7 @@ title: 'SSL/TLS version and ciphers' excerpt: 'To support testing specific client configurations, you can set a specific version or range of versions of SSL/TLS that should be allowed for a connection.' +canonicalUrl: https://grafana.com/docs/k6/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 e64ec8f8c5..471b96c584 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/11 Environment variables.md @@ -1,6 +1,7 @@ --- title: 'Environment variables' excerpt: 'You can access any environment variables from your k6 script code and use this to supply your VUs with configuration information.' +canonicalUrl: https://grafana.com/docs/k6/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 f9dbbc66ea..d811d4106f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/12 Execution context variables.md @@ -1,6 +1,7 @@ --- title: 'Execution context variables' excerpt: 'k6/execution module provides the capability to get information about the current test execution state inside the test script' +canonicalUrl: https://grafana.com/docs/k6/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 6064459d63..7e8cf1e5b1 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios.md @@ -2,6 +2,7 @@ title: Scenarios excerpt: 'Scenarios allow us to make in-depth configurations to how VUs and iterations are scheduled. This makes it possible to model diverse traffic patterns in load tests.' hideFromSidebar: false +canonicalUrl: https://grafana.com/docs/k6/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 2dd3463d94..b9b0f64125 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts.md @@ -1,6 +1,7 @@ --- title: "Concepts" excerpt: High-level explanations about how your executor configuration can change the test execution and test results +canonicalUrl: https://grafana.com/docs/k6/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 3252fb57c5..0101497470 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/00 Open-vs-closed.md @@ -2,6 +2,7 @@ title: 'Open and closed models' slug: '/using-k6/scenarios/concepts/open-vs-closed/' excerpt: 'k6 has two ways to schedule VUs, which can affect test results. k6 implements the open model in its arrival-rate executors.' +canonicalUrl: https://grafana.com/docs/k6/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 0f5592f18b..45638e8e51 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/01 Graceful stop.md @@ -1,6 +1,7 @@ --- title: 'Graceful stop' excerpt: 'This option is available for all executors except externally-controlled and allows the user to specify a duration to wait before forcefully interrupting them.' +canonicalUrl: https://grafana.com/docs/k6/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 45bc9f1dce..0b588efd19 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/02 Arrival-rate VU allocation.md @@ -1,6 +1,7 @@ --- title: Arrival-rate VU allocation excerpt: How k6 allocates VUs in the open-model, arrival-rate executors +canonicalUrl: https://grafana.com/docs/k6/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 419f695c2e..cdc34bd199 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/00 Concepts/03 Dropped iterations.md @@ -1,6 +1,7 @@ --- title: Dropped iterations excerpt: Explanations about how your scenario configuration or SUT performance can lead to dropped iterations +canonicalUrl: https://grafana.com/docs/k6/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 19a425715c..5c1dcc433f 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors.md @@ -1,6 +1,7 @@ --- title: 'Executors' excerpt: 'Executors control how k6 schedules VUs and iterations. Choose the executor to model traffic you want to model to test your services' +canonicalUrl: https://grafana.com/docs/k6/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 2d88187505..08bb885805 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/01 shared-iterations.md @@ -1,6 +1,7 @@ --- title: 'Shared iterations' excerpt: 'A fixed number of iterations are "shared" between a number of VUs, and the test ends once all iterations are executed.' +canonicalUrl: https://grafana.com/docs/k6/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 79de6db613..273f6510b5 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/02 per-vu-iterations.md @@ -1,6 +1,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/ --- With the `per-vu-iterations` executor, each VU executes an exact number of iterations. diff --git a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md index 41c0523c50..c78cd83b34 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/03 constant-vus.md @@ -1,6 +1,7 @@ --- title: 'Constant VUs' excerpt: 'A fixed number of VUs execute as many iterations as possible for a specified amount of time.' +canonicalUrl: https://grafana.com/docs/k6/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 7a730b3f73..208f844b20 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/04 ramping-vus.md @@ -1,6 +1,7 @@ --- title: 'Ramping VUs' excerpt: 'A variable number of VUs execute as many iterations as possible for a specified amount of time.' +canonicalUrl: https://grafana.com/docs/k6/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 7e64c8216a..eb5232eca7 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/05 constant-arrival-rate.md @@ -1,6 +1,7 @@ --- title: 'Constant arrival rate' excerpt: 'A fixed number of iterations are started in a specified period of time.' +canonicalUrl: https://grafana.com/docs/k6/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 7d0bf429e2..7c2a9026ea 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md @@ -1,6 +1,7 @@ --- title: 'Ramping arrival rate' excerpt: 'A variable number of iterations are started in a specified period of time.' +canonicalUrl: https://grafana.com/docs/k6/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 298272ae65..d94617a84e 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/07 externally-controlled.md @@ -1,6 +1,7 @@ --- title: 'Externally controlled' excerpt: 'Control and scale execution at runtime via k6 REST API or the CLI.' +canonicalUrl: https://grafana.com/docs/k6/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 af06a43cae..d44edec78b 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/02 Advanced Examples.md @@ -1,6 +1,7 @@ --- title: 'Advanced Examples' excerpt: 'Advanced Examples using the k6 Scenario API - Using multiple scenarios, different environment variables and tags per scenario.' +canonicalUrl: https://grafana.com/docs/k6/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 cf3ee43451..b46082cdd1 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/01 Overview.md @@ -3,6 +3,7 @@ title: 'Overview' heading: 'Browser Module Documentation' head_title: 'Browser Module Documentation' excerpt: 'The browser module brings browser automation and end-to-end testing to k6 while supporting core k6 features. Interact with real browsers and collect frontend metrics as part of your k6 tests.' +canonicalUrl: https://grafana.com/docs/k6/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 60b9328f9f..a6899dcfc8 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/02 Running browser tests.md @@ -1,6 +1,7 @@ --- title: 'Running browser tests' excerpt: 'Follow along to learn how to run a browser test, interact with elements on the page, wait for page navigation, write assertions and run both browser-level and protocol-level tests in a single script.' +canonicalUrl: https://grafana.com/docs/k6/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 0a556af42e..a20d0b49e1 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/03 Metrics.md @@ -1,6 +1,7 @@ --- title: 'Browser metrics' excerpt: 'An overview of the different browser performance metrics that the browser module tracks.' +canonicalUrl: https://grafana.com/docs/k6/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 5c8344eea8..d5797b873d 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/04 Migrating to k6 v0-46.md @@ -2,6 +2,7 @@ title: 'Migrating to k6 v0.46' excerpt: 'A migration guide to ease the process of transitioning to the new k6 browser module version' slug: '/using-k6-browser/migrating-to-k6-v0-46/' +canonicalUrl: https://grafana.com/docs/k6/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 b7a0390ed1..de53638888 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices.md @@ -1,6 +1,7 @@ --- title: 'Recommended practices' excerpt: 'A list of different examples and recommended practices when working with the k6 browser module' +canonicalUrl: https://grafana.com/docs/k6/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 ebf48263f6..60f2d98047 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/01 Page object model pattern.md @@ -3,6 +3,7 @@ title: 'Page object model' heading: 'Page object model with k6 browser' head_title: 'Page object model with k6 browser' excerpt: 'An example on how to implement page object model design pattern with k6 browser' +canonicalUrl: https://grafana.com/docs/k6/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 f7b46a3aaa..405db92c76 100644 --- a/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md +++ b/src/data/markdown/translated-guides/en/03 Using k6 browser/100 Recommended Practices/02 Selecting elements.md @@ -1,6 +1,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/ --- Selectors are strings that represents a specific DOM element on the page. When writing browser-level tests, it's recommended to use selectors that are robust to avoid test flakiness when the DOM structure changes. diff --git a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md index 822104f289..e44e87662b 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md +++ b/src/data/markdown/translated-guides/en/04 Results output/000-Overview.md @@ -1,6 +1,7 @@ --- title: Overview excerpt: All the ways you can look at k6 results. While the test runs, after the test runs, on an external platform, as summary statistics. +canonicalUrl: https://grafana.com/docs/k6/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 2601c69b74..8f074a4398 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test.md @@ -1,6 +1,7 @@ --- title: End of test excerpt: When a test finishes, k6 prints a summary of results, with aggregated metrics and meta-data about the test. You can customize this, or configure the test to write granular metrics to a file. +canonicalUrl: https://grafana.com/docs/k6/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 323f51a7ab..e790475a69 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md +++ b/src/data/markdown/translated-guides/en/04 Results output/100 End-of-test/150-custom-summary.md @@ -1,6 +1,7 @@ --- title: Custom summary excerpt: With handlesummary(), you can customize every part of your report. Change the content, redirect output, and more. +canonicalUrl: https://grafana.com/docs/k6/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 f21a5ad2bd..2399712c40 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time.md @@ -1,6 +1,7 @@ --- title: Real time excerpt: Send your time-series k6 metrics to multiple file formats and services +canonicalUrl: https://grafana.com/docs/k6/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 427bdebc2b..e09df8e8cb 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md @@ -1,6 +1,7 @@ --- title: 'Amazon CloudWatch' excerpt: 'You can send k6 results output to Amazon CloudWatch and later visualize them.' +canonicalUrl: https://grafana.com/docs/k6/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 33829b5374..fdc62cb90e 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Apache Kafka.md @@ -1,6 +1,7 @@ --- title: 'Apache Kafka' excerpt: 'You can use xk6-output-kafka to send k6 metrics in real-time to Kafka, and, optionally, ingest them from InfluxDB.' +canonicalUrl: https://grafana.com/docs/k6/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 359e0d4116..8aa1685b15 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 CSV.md @@ -1,6 +1,7 @@ --- title: 'CSV' excerpt: 'You can also make k6 output detailed statistics in a CSV format by using the --out option.' +canonicalUrl: https://grafana.com/docs/k6/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 64852e0f24..aecbf7c2d0 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Cloud.md @@ -1,6 +1,7 @@ --- title: 'Cloud' excerpt: 'When streaming the results to the cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.' +canonicalUrl: https://grafana.com/docs/k6/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 7ae4acfd5e..46d3145360 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 DataDog.md @@ -1,6 +1,7 @@ --- title: 'Datadog' excerpt: 'Send k6 output to Datadog to visualize load test results and correlate performance testing metrics in Datadog.' +canonicalUrl: https://grafana.com/docs/k6/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 433449badb..04bd1863d2 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Dynatrace.md @@ -1,6 +1,7 @@ --- title: 'Dynatrace' excerpt: Send k6 output to Dynatrace to visualize load test results and correlate performance testing metrics in Dynatrace. +canonicalUrl: https://grafana.com/docs/k6/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 fc17323ead..85ab4b3bf5 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Elasticsearch.md @@ -1,6 +1,7 @@ --- title: 'Elasticsearch' excerpt: k6 has an output extension to store k6 metrics in Elasticsearch. This document shows you how to configure the k6 Elasticsearch integration. +canonicalUrl: https://grafana.com/docs/k6/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 7ade9c26bd..868e17a539 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Grafana Cloud Prometheus.md @@ -2,6 +2,7 @@ title: 'Grafana Cloud Prometheus' excerpt: > How to upload the test result metrics to Grafana Cloud using Grafana Cloud Prometheus and the k6 output for Prometheus remote write' +canonicalUrl: https://grafana.com/docs/k6/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 6ece73ecf1..9d5d1d4c18 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 InfluxDB.md @@ -1,6 +1,7 @@ --- title: 'InfluxDB' excerpt: 'k6 has an output extension to store k6 metrics in InfluxDB v2. This document shows you how to configure this integration.' +canonicalUrl: https://grafana.com/docs/k6/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 2b91c0af00..ca1b2f0dca 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 JSON.md @@ -1,6 +1,7 @@ --- title: 'JSON' excerpt: 'You can also make k6 output detailed statistics in JSON format by using the --out option.' +canonicalUrl: https://grafana.com/docs/k6/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 5ef802c002..d221bb6ecc 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Netdata.md @@ -1,6 +1,7 @@ --- title: 'Netdata' excerpt: 'You can send k6 output to Netdata. With this integration, visualize test results with zero configuration, in seconds' +canonicalUrl: https://grafana.com/docs/k6/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 5d005ec85f..bed930850d 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md @@ -1,6 +1,7 @@ --- title: 'New Relic' excerpt: 'You can send k6 output to New Relic. With this integration visualize load test results and correlate them your New Relic telemetry data, create and share reports, and alert on k6 telemetry.' +canonicalUrl: https://grafana.com/docs/k6/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 70c5defc30..e56e55bea4 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Prometheus remote write.md @@ -1,6 +1,7 @@ --- title: 'Prometheus remote write' excerpt: 'Use the Prometheus remote write output to send test results to any Prometheus remote write endpoint.' +canonicalUrl: https://grafana.com/docs/k6/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 39da216ec7..8f30fa9aa3 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 StatsD.md @@ -1,6 +1,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/ ---
diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md index 41ef92f7a0..c3ce3247f9 100755 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 TimescaleDB.md @@ -1,6 +1,7 @@ --- title: 'TimescaleDB' excerpt: k6 has an output extension to store k6 metrics in TimescaleDB. This document shows you how to configure the k6 TimescaleDB integration. +canonicalUrl: https://grafana.com/docs/k6/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 39e0b7240b..86834818c1 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md +++ b/src/data/markdown/translated-guides/en/04 Results output/300 Grafana dashboards.md @@ -1,6 +1,7 @@ --- title: Grafana dashboards excerpt: With multiple k6 output formats, you also have multiple ways to visualize test results in a Grafana dashboard. +canonicalUrl: https://grafana.com/docs/k6/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 972cab8100..61edada43d 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/01 test builder.md @@ -1,6 +1,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/ --- The k6 Test Builder provides a graphical interface to generate a k6 test script based on your input. Then, you can copy the test script and [run the test from the CLI](/get-started/running-k6). diff --git a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md index 2d27dc7ba1..d182583f16 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings.md @@ -1,6 +1,7 @@ --- title: 'Create tests from recordings' excerpt: 'In load testing, recording usually refers to the process of creating a load test from the recording of a user session.' +canonicalUrl: https://grafana.com/docs/k6/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 7f9bd185f4..0627fc1723 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/01 Using the browser recorder.md @@ -1,6 +1,7 @@ --- title: 'Using the browser recorder' excerpt: 'The browser recorder allows generating a k6 script based on a web session. It is available as extensions for Chrome and Firefox.' +canonicalUrl: https://grafana.com/docs/k6/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 eabc1593a8..093baacd21 100644 --- a/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md +++ b/src/data/markdown/translated-guides/en/05 Test authoring/02 Create tests from recordings/02 Using the HAR converter.md @@ -1,6 +1,7 @@ --- title: 'Using the HAR converter' excerpt: 'The HAR converter is an alternative to the Browser recorder. It generates a k6 script based on the HTTP requests included on a HAR file.' +canonicalUrl: https://grafana.com/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter/ --- The [har-to-k6 converter](https://github.com/k6io/har-to-k6) is a NodeJS tool that generates a k6 script based on the HTTP requests included in a [HAR file](). diff --git a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md index ac1598593e..c07a852bdc 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/00 Load test types.md @@ -2,6 +2,8 @@ title: 'Load test types' head_title: 'Understanding the Different Types of Load Tests: Goals and Recommendations' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/load-testing/load-testing-types/ --- Many things can go wrong when a system is under load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md index a96ea93a8f..44edb46cb6 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/01 Smoke Testing.md @@ -2,6 +2,8 @@ title: "Smoke testing" head_title: 'What is Smoke Testing? How to create a Smoke Test in k6' excerpt: "A Smoke test is a minimal load test to run when you create or modify a script." +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Smoke tests have a minimal load. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md index af1fb1f6a4..5d1f4868fb 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/02 Load Testing.md @@ -2,6 +2,8 @@ title: 'Load testing' head_title: 'What is Load Testing? How to create a Load Test in k6' excerpt: 'An average load test assesses the performance of your system in terms of concurrent users or requests per second.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- An average-load test assesses how the system performs under typical load. Typical load might be a regular day in production or an average moment. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md index 0f08b4e658..75261595b5 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/03 Stress testing.md @@ -2,6 +2,8 @@ title: 'Stress testing' head_title: 'What is Stress Testing? How to create a Stress Test in k6' excerpt: 'Stress tests assess the limits of your system and stability under extreme conditions.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Stress testing assesses how the system performs when loads are heavier than usual. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md index 17dd5ad3a8..e2acd5cd31 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/05 Soak Testing.md @@ -2,6 +2,8 @@ title: 'Soak testing' head_title: 'What is Soak Testing? How to create a Soak Test in k6' excerpt: 'A Soak Test tests the reliability and performance of your system over extended periods of use.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Soak testing is another variation of the Average-Load test. It focuses on extended periods, analyzing the following: diff --git a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md index 61d40a5f0a..8179d08fbe 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/06-spike-testing.md @@ -1,6 +1,7 @@ --- title: 'Spike testing' excerpt: 'Spike tests simulate moments of short, extreme load' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/test-types/spike-testing/ --- A spike test verifies whether the system survives and performs under sudden and massive rushes of utilization. diff --git a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md index 453305c1d9..8d09a65197 100644 --- a/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md +++ b/src/data/markdown/translated-guides/en/06 Test Types/07-breakpoint-testing.md @@ -1,6 +1,8 @@ --- title: 'Breakpoint testing' excerpt: 'Breakpoint tests aim to find system limits. They increase load until the system fails.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- Breakpoint testing aims to find system limits. Reasons you might want to know the limits include: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md index e4faa227cb..0f58fb69fa 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md @@ -2,6 +2,8 @@ title: 'API load testing' head_title: 'Intro to API Load Testing: The k6 Guide' excerpt: 'Load testing APIs has many facets. This guide introduces you to performance testing and provides best practices to load test your APIs with k6.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- An API load test generally starts with small loads on isolated components. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md index 59879a5d8a..f0e4fb4e62 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/02 Automated performance testing.md @@ -2,6 +2,7 @@ title: 'Automated performance testing' head_title: 'How to Automate Performance Testing: The k6 Guide' excerpt: 'Performance testing automation is about establishing a repeatable and consistent process that checks reliability issues at different stages of the development and release cycle.' +canonicalUrl: https://grafana.com/docs/k6/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 11c801468e..43533f76f8 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/03 Load testing websites.md @@ -2,6 +2,8 @@ title: 'Load testing websites' head_title: 'How to Load Test a Website: The k6 Guide' excerpt: 'Do you know how many users your site can handle? This guide answers the WHY and WHEN you should load test your website and gives you the best practices for load testing websites or web apps with k6. Let’s get started.' +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- This doc explains some key concepts about load testing websites, including: diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md index 84afa0b414..e3c8479a27 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/04 Running large tests.md @@ -1,6 +1,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/ --- k6 can generate a lot of load from a single machine. With proper monitoring and script optimization, you might be able to run a rather large load test without needing [distributed execution](#distributed-execution). This document explains how to launch such a test, and some of the aspects you should be aware of. diff --git a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md index 0e147721b9..2986b16f93 100644 --- a/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md +++ b/src/data/markdown/translated-guides/en/07 Testing Guides/05 Running distributed tests.md @@ -1,6 +1,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/ --- It has already been established that k6 can [run large load tests](/testing-guides/running-large-tests/) from a single instance, but what about _multiple instances running a single test_? diff --git a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md index ca28d29d7c..589d3bcad7 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md +++ b/src/data/markdown/translated-guides/en/08 Misc/01 Usage collection.md @@ -1,6 +1,7 @@ --- title: 'Usage collection' excerpt: 'By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting an environment variable or option.' +canonicalUrl: https://grafana.com/docs/k6/latest/misc/usage-collection/ --- By default, k6 sends a usage report each time it is run, so that we can track how often people use it. This report can be turned off by setting the environment variable `K6_NO_USAGE_REPORT` or by adding the option `--no-usage-report` when executing k6. diff --git a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md index 8eca39d5ca..116dbb278a 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md +++ b/src/data/markdown/translated-guides/en/08 Misc/02 IntelliSense.md @@ -1,6 +1,7 @@ --- title: 'IntelliSense' excerpt: 'k6 has its TypeScript Type Definition that you can configure with your editor to unlock code editing features.' +canonicalUrl: https://grafana.com/docs/k6/latest/misc/intellisense/ --- [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense) refers to code editing features like **intelligent code completion** and **quick access to documentation**. These features can significantly improve the developer experience and productivity when working on k6 scripts in your editor of choice. Notable features are: diff --git a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md index 944ef87e4d..d43399aa61 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md +++ b/src/data/markdown/translated-guides/en/08 Misc/03 Fine tuning OS.md @@ -1,6 +1,7 @@ --- title: 'Fine tuning OS' excerpt: 'In this article we will show you how to inspect the OS imposed limits of your system, tweak them and scale for larger tests.' +canonicalUrl: https://grafana.com/docs/k6/latest/misc/fine-tuning-os/ --- When running large test scripts locally, users sometimes run into limits within their OS that prevent them from making the necessary number of requests to complete the test. diff --git a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md index 06f3ee7697..200b4ed9ae 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md +++ b/src/data/markdown/translated-guides/en/08 Misc/06 Archive.md @@ -1,6 +1,7 @@ --- title: 'Archive Command' excerpt: 'A k6 archive is simply a tar file with all files needed to execute a k6 test.' +canonicalUrl: https://grafana.com/docs/k6/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 e6a2877f1a..89d79f38ae 100644 --- a/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md +++ b/src/data/markdown/translated-guides/en/08 Misc/09 Glossary.md @@ -1,6 +1,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/ --- What we talk about when we talk about k6. diff --git a/src/data/markdown/translated-guides/en/Test Types.md b/src/data/markdown/translated-guides/en/Test Types.md index df0e94714c..2d9fc5689a 100644 --- a/src/data/markdown/translated-guides/en/Test Types.md +++ b/src/data/markdown/translated-guides/en/Test Types.md @@ -2,6 +2,8 @@ title: 'Test types' excerpt: 'A series of conceptual articles explaining the different types of load tests. Learn about planning, running, and interpreting different tests for different performance goals.' robots: NOINDEX, FOLLOW +# // TODO: Point canonical to new URL once it's published +# canonicalUrl: https://grafana.com/ --- A series of articles explaining the different [load test types](/test-types/load-test-types/). \ No newline at end of file diff --git a/src/data/markdown/translated-guides/en/Testing Guides.md b/src/data/markdown/translated-guides/en/Testing Guides.md index 5d785fa6b9..427a412663 100644 --- a/src/data/markdown/translated-guides/en/Testing Guides.md +++ b/src/data/markdown/translated-guides/en/Testing Guides.md @@ -1,6 +1,7 @@ --- title: 'Testing guides' excerpt: 'A series of guides to help you defining your load testing strategies.' +canonicalUrl: https://grafana.com/docs/k6/latest/testing-guides/ --- diff --git a/src/utils/seo-metadata.js b/src/utils/seo-metadata.js index 8c76c1dabd..3639b580c0 100644 --- a/src/utils/seo-metadata.js +++ b/src/utils/seo-metadata.js @@ -12,6 +12,7 @@ export default { 'javascript-api': { data: { title: 'k6 JavaScript API', + canonicalUrl: 'https://grafana.com/docs/k6/latest/javascript-api/', slug: '/javascript-api/', description: 'This page provides the documentation of the k6 JavaScript API.', @@ -20,10 +21,19 @@ export default { extensions: { data: { title: 'k6 Extensions', + canonicalUrl: 'https://grafana.com/docs/k6/latest/extensions/', description: 'The extension ecosystem enables developers and testers to extend k6 to cover use cases not supported natively in the core. Explore the endless possibilities of k6 and xk6.', }, }, + 'explore-extensions': { + data: { + title: 'k6 Extensions', + canonicalUrl: 'https://grafana.com/docs/k6/latest/extensions/explore/', + description: + 'Discover the k6 extensions available to meet your specific needs..', + }, + }, 'bundle-builder': { data: { title: 'k6 Bundle Builder', @@ -34,6 +44,8 @@ export default { examples: { data: { title: 'k6 Examples & Tutorials', + // TODO: Point canonical to new URL once it's published + // canonicalUrl: 'https://grafana.com/load-testing/load-testing-examples/', description: 'The k6 Examples & Tutorials is a directory with common k6 examples and the most popular tutorials using k6.', }, @@ -41,6 +53,7 @@ export default { cloud: { data: { title: 'k6 Cloud Documentation', + canonicalUrl: 'https://grafana.com/docs/grafana-cloud/k6/', description: 'The k6 Cloud documentation helps you in your usage of the k6 Cloud. The k6 Cloud is the perfect companion to k6 with an aim to bring ease-of-use and convenience to scale your performance testing efforts.', }, @@ -48,6 +61,7 @@ export default { guides: { data: { title: 'k6 Documentation', + canonicalUrl: 'https://grafana.com/docs/k6/latest/', description: 'The k6 Documentation helps you to use k6 to get your performance testing on the right track. Learn more about load and performance testing. Get started in minutes.', }, @@ -63,6 +77,7 @@ export default { integrations: { data: { title: 'k6 Integrations', + canonicalUrl: 'https://grafana.com/docs/k6/latest/misc/integrations/', description: 'The k6 Integrations page lists the most popular k6 integrations. Integrate k6 with CI tools, store results in different services, select different Grafana dashboards, or use converters for the auto-generation of your load test.', },