Who says things slow down in the summer? Don’t let the hot sun and a little time off bog down your applications. This month, turn down the heat with k6 Operator support for Cloud output, org-level API tokens, and our most powerful Test Builder to date.
We would also like to inform the community about a few important features that we're currently working on and give notice of breaking changes we plan to make in the near future. These features include:
- We like to test new features as xk6 extensions until they're ready to be merged into core, such as xk6-websockets, xk6-timers, and xk6-redis. But leaving them as extensions may also make it more difficult for people to test them. In the next k6 v0.040.0 release, we will be releasing these as built-in k6 modules under k6/experimental/ import paths to serve as a new middle ground between the unstable and purely external xk6 extensions and the stable built-in k6 APIs.
- We are working on supporting ECMAScript modules natively in k6 and will announce any breaking changes in the release notes of the k6 version that they happen in.
- We have also slowly been refactoring and improving how k6 handles metrics. These changes will pave the way for exciting new features like an improved Prometheus Remote Write output module and distributed tracing.
Read more about our plan and potential breaking changes in the Roadmap and future plans section of Release Notes.
- New Organization-level API tokens grant organization-wide access for actions not tied to a user. You can use it to run tests without linking the run to a specific user, e.g. when running tests from a CI platform.
- Test Builder now supports creating multiple script scenarios in a test.
- The new deleteSensitiveData option enables deleting sensitive data as soon as the test starts. The deleteSensitiveData option is unavailable in default subscriptions. If you want to activate it, contact our CS team at email@example.com.
- k6 Cloud now supports Grafana Single Sign On for Grafana Cloud users.
k6-operator is a Kubernetes operator for running distributed k6 tests in your cluster. Starting with v0.0.7 k6 operator has support for Cloud output, as a subscription feature. This means you can now run distributed tests in your K8s cluster, send results to k6 Cloud, and visualize them in the app. Read this complete tutorial to learn more about how to use the k6-Operator project.
Some other improvements in v0.0.7 include:
- Addition of resource limits
- Support for Istio
- Support for securityContext
For a full list of new features, check out the k6-Operator v0.0.7 release notes.
xk6-browser is our extension for browser automation to test end-to-end websites.
In xk6-browser v0.3.0, we released a few new features including:
- Implemented Browser.on(event).
- Exposed preconfigured mobile device emulation settings.
- Made concealed elements clickable.
In this video, we walk you through how to get started with xk6-browser.
xk6-amqp: Enable explicitly setting the content type for message payloads.
xk6-redis: General and performance improvements in preparation for merge into k6 core.
- What is K6 & How to get started with k6 (Video by Is it Observable)
- Grafana k6: Testing without limits (GrafanaCONline 2022 talk)
- Load Testing in Kubernetes with k6 and Testkube (Kubeshop blog)
- On maintaining a k6 codebase, Part 1 (Filipe Freire’s blog)
- Test, test and test again. How QA engineering enables our clients to do more (OpenPayd’s blog)
- Parameterize your k6 scripts effectively (Koscik R’s blog)
- Continuous Load Testing (Slack Engineering’s blog)
- Rendezvous in k6 (k6 blog, by Leandro Melendez)
-The k6 team