k6-docs
k6-docs copied to clipboard
The k6 documentation website.
### Brief summary If you use [next()](https://k6.io/docs/javascript-api/k6-html/selection/selection-next/) to get the next selection there is not indication that you have run out of selections - it will continue returning you a...
In the [docs](https://k6.io/docs/results-output/real-time/csv/#csv-format) we have the output columns as below: ``` metric_name,timestamp,metric_value,check,error,error_code,group,method,name,proto,scenario,status,subproto,tls_version,url,extra_tags http_reqs,1595325560,1.000000,,,,,GET,http://test.k6.io,HTTP/1.1,default,200,,,http://test.k6.io, ``` Currently, the output is adding a `metadata` column: ``` metric_name,timestamp,metric_value,check,error,error_code,expected_response,group,method,name,proto,scenario,service,status,subproto,tls_version,url,extra_tags,metadata http_reqs,1669309480,1.000000,,,,true,,POST,https://httpbin.test.k6.io/post,HTTP/1.1,default,,200,,tls1.3,https://httpbin.test.k6.io/post,, ``` We should change the...
As reported on the community slack, we have some pages where we can only see the entire text with scrolling. And it's not easy to scroll. E.g. https://k6.io/docs/using-k6/metrics/ https://user-images.githubusercontent.com/4788634/224300017-73be7269-cfca-413e-ba7f-392c6f2919bf.mov Even...
k6 emits a `group_duration` metric which contains the total time to execute the group function. The [Groups page](https://k6.io/docs/using-k6/tags-and-groups/) describe this but the [metrics page](https://k6.io/docs/using-k6/metrics/) does not list the `group_duration` metric.
Based on https://community.k6.io/t/getting-error-unexpected-http-error-from-https-ingest-k6-io-v1-archive-upload-413-request-entity-too-large-when-running-test-on-k6-cloud-with-large-json-files-and-160-users/5983, k6 cloud has a limit of 100Mb to upload files (`client_max_body_size 100M`). Which I could not find documented. We should probably add this to the cloud docs.
There likely should be more information around this property and how it behaves. FOr the record it is done through using `delete exec.vu.tags["tagToDelete"]`
Each of these search terms has an inappropriate result. - [x] "xk6-browser" - goes to `extensions`, should go to `/javascript-api/` - [x] "Options" - goes to Redis, should go to...
There are probably more stuff that need explaining around the event loop and async code within k6, but the bare minimum is: 1. Have some mention of event loop and...
TODO: Add a page on k6 Guides about Logging with k6 -- Gives our best practices about logging in your load tests https://k6.io/docs/cloud/cloud-faq/what-is-the-best-way-to-debug-my-load-test-scripts -- `http_debug` option -- log-output and `log-format`...
https://community.k6.io/t/protobuf-proto-format-payload-to-rest-endpoints/4369 https://community.k6.io/t/read-protobuf-message-from-websocket-connection/1439 by @mstoykov