Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 664 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 664 Bytes

k6-checks

Set of checks that are run through k6.

Installation

Install k6 on macOS as follows

brew install k6

For other platforms check the instructions available here.

Set up the npm project

npm install .

Usage

The checks are available in the src directory. They can be executed as follows:

Run the HTTP health check

k6 run src/https/healthcheck.js

Run the gRPC health check

k6 run src/grpc/healthcheck.js

Running authenticated checks

k6 run -e AUTH_TOKEN=xxx src/https/list-databases.js