Bigdata

K6

https://github.com/k6io

https://github.com/k6io/k6

k6 is a developer-centric, free and open-source load testing tool built for making performance testing a productive and enjoyable experience.

Using k6, you'll be able to catch performance regression and problems earlier, allowing you to build resilient systems and robust applications.

Installation

Mac (brew)

Docker

docker pull loadimpact/k6

Running local tests

Let's start by running a simple local script. Copy the code below, paste it into your favourite editor, and save it as "script.js":

// script.js
import http from 'k6/http';
import { sleep } from 'k6';

export default function () {
  http.get('http://test.k6.io');
  sleep(1);
}