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.
- Git
- Docker
- Docker Compose
git clone https://github.com/timfanda35/simple-k6.git
cd simple-k6
make docker-build
docker compose up -d
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