K6

Ramya P
YavarTechWorks
Published in
2 min readOct 29, 2022

The K6 (short for Kiosk №6) was designed in 1935 by British designer and architect Sir Giles Gilbert Scott.

k6 is an open-source load testing tool that makes performance testing easy and productive for engineering teams. k6 is free, developer-centric, and extensible.

Using k6, you can test the reliability and performance of your systems and catch performance regressions and problems earlier.

One of the important concepts in k6 is Metrics and the types of metrics are given below.

K6 Metrics

Metrics measure how a system performs under test conditions. By default, k6 automatically collects built-in metrics. And also we have Custom Metrics.

Custom Metrics

There are four different types of Custom metrics .

  1. Counter -A metric that cumulatively sums added values.

2. Gauge -A metric that stores the min, max and last values added to it.

3. Rate -A metric that tracks the percentage of added values that are non-zero.

4. Trend -A metric that allows for calculating statistics on the added values (min, max, average and percentiles).

  1. Counter

Output:

2. Gauge

Output:

3.Rate

Output:

4.Trend

Output:

Thank You!!

--

--