k6
k6 copied to clipboard
A modern load testing tool, using Go and JavaScript - https://k6.io
## Environment - k6 version: 0.26.2 - OS and version: Linux (though this probably happens on other OSes as well) ## Expected Behavior If I have the following as `test.js`:...
Following the discussion in https://community.k6.io/t/is-it-possible-to-create-bespoke-metrics-to-track-system-state/446, I think a new metric deserves consideration. We should do some research on how other metrics libraries handle this, and as I said in the...
A k6 [`Rate` metric](https://docs.k6.io/docs/result-metrics#section-rate-keeps-track-of-percentage-of-values-in-a-series-that-are-non-zero), either custom or predefined (e.g. `checks`), [consists](https://github.com/loadimpact/k6/blob/9af6e756546192ddda0bfc10d25e6fd9b8e98e76/stats/sink.go#L161-L164) of just 2 counters, `Trues` and `Total`, and the `rate` we [expose](https://github.com/loadimpact/k6/blob/9af6e756546192ddda0bfc10d25e6fd9b8e98e76/stats/sink.go#L176) to be used in threshold definitions is...
Currently, you can define thresholds on subsets of the metric data points that have specific tag values, like this: ```js export let options = { thresholds: { // We want...
PR #1240 fixes issue #1239 by moving [prepareHeaders](https://github.com/loadimpact/k6/blob/9c73438c80b896ac16be5b33f8980864d9f32f64/stats/cloud/client.go#L126) inside [Client.Do](https://github.com/loadimpact/k6/pull/1240/files#diff-4be65c9eb531948ce142781f1ed4abb7R111) That fixes the issue, but against original [discussion](https://github.com/loadimpact/k6/pull/1216#discussion_r338993633). There're some problems we can see: - `Client.NewRequest` always serializes data in...
**Release Date**: *25th of March 2024* ## Release Activities ### At the beginning of the cycle - [x] Obtain the Release coordinator's contact from the `@k6-browser` team and co-assign the...
## Problem Statement The [Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) is a specification for JavaScript which aims to provide users with programmatically access streams of data and process them as desired by the developer....
With version [v0.48.0](https://github.com/grafana/k6/releases/tag/v0.48.0) k6 introduces the `k6/experimental/fs` module and the ability for users to open and read from files in a normalized and efficient manner. ## Solution space We aim...
Node 16 is EoL and github is [deprecating](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/) it and actions based on it. We do apperantly used them quite a lot. This hopefully will be just a simple bump...
# What? Our [docker-compose example](https://github.com/grafana/k6/blob/master/docker-compose.yml) is based on InfluxDB v1. It will be good if we revisit it and migrate to the Prometheus. As the dashboard, we could use the...