Starting with v0.49, k6 provides a built-in web dashboard that we can use to visualize and monitor our test results in real-time.
How to use
You can enable it by setting the K6_WEB_DASHBOARD environment variable to true when running your test script
K6_WEB_DASHBOARD=true k6 run script.js
By default, the dashboard will be available on localhost:5665. However, you can set up a different port using one of the following options.
Enjoyed this article? Make sure to subscribe to my YouTube Channel for more Test Automation tutorials, and follow me on LinkedIn and Twitter for regular insights.
Looking to accelerate your test automation journey?
I’ve designed a personalized 1-on-1 mentoring program tailored to boost your skills. Reach out at iamqarv@gmail.com for more details 🚀
Post Views: 16