asprin107 / test-engineering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Smarty 69.4%Language:Mustache 12.2%Language:JavaScript 11.2%Language:HCL 3.3%Language:Shell 3.1%Language:Dockerfile 0.8%