k6-docs icon indicating copy to clipboard operation
k6-docs copied to clipboard

Logging in k6

Open FloorD opened this issue 4 years ago • 3 comments

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

Related articles:

https://k6.io/docs/cloud/cloud-faq/what-is-the-best-way-to-debug-my-load-test-scripts

https://k6.io/docs/cloud/analyzing-results/logs

https://k6.io/docs/using-k6/http-debugging/

FloorD avatar Jun 11 '21 12:06 FloorD

We can probably user https://github.com/grafana/k6-learn/blob/main/Modules/III-k6-Intermediate/01-How-to-debug-k6-load-testing-scripts.md as well.

immavalls avatar Jan 25 '23 14:01 immavalls

Also this: https://k6.io/blog/k6-load-testing-debugging-using-a-web-proxy/

tom-miseur avatar Feb 02 '23 15:02 tom-miseur

Examples where it can help users: https://community.k6.io/t/how-do-i-extract-custom-response-headers/5866

immavalls avatar Feb 03 '23 11:02 immavalls