From 4188bbb135e4c03395e4e969215272c35e4b0892 Mon Sep 17 00:00:00 2001 From: Lorenzo Ceccon <lorenzo.ceccon@holi.team> Date: Thu, 10 Aug 2023 16:49:45 +0200 Subject: [PATCH] HOLI-5404 Updated README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab1fc2c..88ca4e8 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,19 @@ Holi Load Testing is implemented using [Grafana k6](https://k6.io/docs/). +## Development + +To build and run k6 with extensions for local development, follow these steps: + +1. Install [Go](https://go.dev/doc/install) +2. Download xk6: `go install go.k6.io/xk6/cmd/xk6@latest` +3. Build the k6 binary with the xk6-dashboard extension: `xk6 build --with github.com/szkiba/xk6-dashboard@latest` +4. Execute k6: `./k6 run --out dashboard=open scripts/main.js` + ## Installation: +### Docker + To run Holi Load Testing locally, follow these steps: 1. Clone the repository. @@ -17,4 +28,4 @@ To run Holi Load Testing locally, follow these steps: / \/ \ | ( / ‾‾\ / \ | |\ \ | (‾) | / __________ \ |__| \__\ \_____/ .io -``` \ No newline at end of file +``` -- GitLab