test-engineering

k6

Tutorial

This scenario use kubernetes, terraform.

See ./infra/terraform/k8s-local/README.md

Outputs

Types

  • influxdb-grafana : Test worker's metric are saved into influxdb and can be visualized with grafana.
  • prometheus-grafana : Test worker's metric are saved into prometheus and can be visualized with grafana.

Docker

How to run?

Go to ./k6/outputs directory.

Run using docker compose.

docker-compose up -d

Sample Test Target

Hotel Booking Service (Spring)

How to run?

Go to ./sampleTestTarget directory.

Run using docker compose.

docker-compose up -d

Run as a java application. You have to installed java and maven before run.

mvn jetty:run