AI-assisted testing, extensions updates, and more: k6 2.0 is here
Blog post from Grafana Labs
k6 2.0, an open-source performance testing tool, builds on its predecessor, k6 1.0, by introducing AI-assisted testing workflows, enhanced Playwright compatibility, a new Assertions API, and an expanded extensions system to streamline and automate testing processes. The release aims to support faster software delivery lifecycles by facilitating the creation, validation, and scaling of performance tests, while maintaining core functionalities like scripts, thresholds, and CI/CD workflows. New commands such as k6 x agent and k6 x mcp enable deeper AI integration, allowing developers to automate testing strategies and manage resources efficiently. The update also includes a curated catalog of official and community extensions to broaden k6's capabilities, supporting diverse protocols and systems beyond HTTP. Additionally, k6 2.0 offers improved compatibility between the k6 browser module and the Playwright API, making it easier to conduct both functional and performance tests. With enhanced JSON summary outputs and OpenTelemetry integration, k6 2.0 facilitates real-time observability and scalability, especially in Kubernetes environments through the stable k6 Operator 1.0.