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.
![k6-dashboard1](https://razvanvancea.ro/blog/wp-content/uploads/2024/02/Screenshot-2024-02-08-at-10.39.52-1024x514.png.webp)
![k6-dashboard2](https://razvanvancea.ro/blog/wp-content/uploads/2024/02/Screenshot-2024-02-08-at-10.40.01-1024x321.png.webp)
![](https://razvanvancea.ro/blog/wp-content/uploads/2024/02/Screenshot-2024-02-08-at-10.40.08-1024x320.png.webp)
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
![k6-dashboard-url](https://razvanvancea.ro/blog/wp-content/uploads/2024/02/Screenshot-2024-02-08-at-10.45.52.png.webp)
By default, the dashboard will be available on localhost:5665. However, you can set up a different port using one of the following options.
If you liked this article, then please subscribe to my YouTube Channel for Test Automation video tutorials. You can also find me on LinkedIn and Twitter.