No results for

Powered byAlgolia

Test builder

The k6 Test Builder allows you to utilize a graphical interface to create a k6 test.

Based on your input, the test builder will automatically generate the k6 script for you. Once done, you can copy the script and run the test from the CLI.

Note: you need a k6 Cloud account to use the test builder. However, it is free to use, and you do not need an active subscription to utilize this feature.

Although we strongly believe that scriptable/code-based tools will help you get the most out of your performance testing efforts, a GUI-based tool like the test builder could benefit you in:

  • Speeding up the test creation.
  • Learning quickly the k6 API.
  • Collaborating on building tests with non-coders.

k6 Test Builder


1 - Login into the k6 Cloud.

2 - On the sidebar menu, click the Create New Test button.

3 - Select Test builder.

k6 Test Builder

4 - Now, you can start building your k6 test using the graphical interface.

k6 Test Builder

Test builder features

We are continuously improving and adding new capabilities to the test builder. A few of the most prominent features are:

Load zones

Configure the geographical zones that the load test should be run from. Select even to distribute load equally across all zones, and manual to set the percentage of load for each zone chosen.
Full list of available load zones.

Test Builder - Load Zones UI

Ramping VUs

Control the number of VUs (Virtual Users) throughout the test, including ramp up and ramp down phases.

Test Builder - Ramping VUs UI

Cloud APM

Select where you want to export metrics from a running test in real-time.
Find out how to set up your provider here.

Test Builder - Cloud APM UI


Thresholds are global pass/fail criteria that you can configure k6 to use, that can act on any result metrics.
Read more in depth about thresholds here.

Test Builder - Thresholds UI


  • Add a request and name it for better description.
  • Change the URL/Endpoint.
  • Change the HTTP METHOD using the drop down menu.
  • Specify Headers.
  • Specify Query Parameters.
  • Specify a request body (JSON, Text, or File Content) for POST/PUT/PATCH requests.
  • Reorganize requests by clicking and dragging.
  • Duplicate or delete requests when hovering over a specific request.

k6 API

And more

  • Populate the test builder with the recorded requests using the browser recorder.
  • Populate the test builder with the requests included in a HAR file.
  • Capture a variable when dealing with dynamic data, such as authentication tokens.
  • Show examples for better onboarding.
  • Toggle the view mode to see or copy the generated k6 script.
  • Run the test on the k6 Cloud.