Documentation

Java Go

Description

k6 is an open-source tool and cloud service that makes load testing easy for developers and QA engineers.

Examples

Dependency:
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>k6</artifactId>
    <version>1.20.0</version>
    <scope>test</scope>
</dependency>
Usage:
var k6 = new K6Container("grafana/k6:0.49.0");
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/k6
Usage:
k6Container, err := k6.Run(ctx, "szkiba/k6x:v0.3.1")