timfanda35 / simple-k6

POC for a web ui to run k6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple K6

Caution

This is just a workable POC. It does not filter the incoming websocket message. Be care for it.

Web UI

Grafana Dashboard: https://grafana.com/grafana/dashboards/4411-k6-load-testing-results/

Ports:

  • 8080: UI
  • 3000: Grafana
  • 5665: K6 Status, only work when k6 script is running

Note:

  • K6 Report will save under reports directory.

Dependency

  • Git
  • Docker
  • Docker Compose

Usage

git clone https://github.com/timfanda35/simple-k6.git 
cd simple-k6

make docker-build
docker compose up -d

Note

The container user is k6

uid=12345(k6) gid=12345(k6) groups=12345(k6)

We can grant permission on Ubuntu:

sudo apt-get install -y acl

setfacl -m u:12345:rwx reports

About

POC for a web ui to run k6

License:MIT License


Languages

Language:CSS 51.2%Language:HTML 35.2%Language:Go 8.2%Language:JavaScript 2.3%Language:Dockerfile 1.8%Language:Makefile 1.2%