A modern load testing tool, using Go and JavaScript

"like unit testing, for performance"

k6 is a modern load testing tool, building on Load Impact's years of experience. It provides a clean, approachable JavaScript scripting API, distributed and cloud execution, and orchestration via a REST API.

Get Started    Documentation

Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

Load Impact Insights

Insights introduction

Load Impact offers a SaaS solution for k6 results storage and analysis. It is called Load Impact Insights and allows you to run your load tests locally using k6, but stream results to loadimpact.com where you can look at the test in real time and also perform detailed results analysis.

_Load Impact Insights screenshot_

Load Impact Insights screenshot

This means you can run your own load generator and test internal systems, but benefit from a more powerful and convenient SaaS solution when you want to store, share and analyze test results. In the near future, k6 will also be able to utilize the loadimpact.com cloud to execute tests (but such tests will of course require that the target system is reachable from the public Internet).

Getting started with k6 and Load Impact Insights

  • First you need to create a loadimpact.com account

  • Then you open up your account page on loadimpact.com and click the "join our insider program" to enable early access to Load Impact Insights

  • Set your local environment variable K6CLOUD_TOKEN to contain your loadimpact.com API key and run k6 using the -o cloud option:

K6CLOUD_TOKEN=c3b391149764640ed7d51476cd34a947f0d0762552a5bae79ee10b07ee84c1f7 k6 run -o cloud script.js
docker run -i -e "K6CLOUD_TOKEN=c3b391149764640ed7d51476cd34a947f0d0762552a5bae79ee10b07ee84c1f7" loadimpact/k6 run -o cloud - <script.js

Now your test should be running, and results should be streamed live to loadimpact.com. k6 will output something like this when it starts:

As you can see in the screenshot above, k6 will tell you that you can use the URL https://app.loadimpact.com/k6/runs/179 to go directly to the test result/analysis page where results will be updated continuously throughout the test.

More information

Load Impact Insights