xk6

Build k6 load testing tool with custom extensions and modules

brewmacoslinux
Try with needOr install directly
Source

About

Build k6 with extensions

Commands

xk6

Examples

create a custom k6 binary with a single extension$ xk6 build v0.47.0 --with github.com/grafana/xk6-websocket
build k6 with multiple extensions at once$ xk6 build v0.47.0 --with github.com/grafana/xk6-websocket --with github.com/grafana/xk6-sql
build k6 with a local extension from your computer$ xk6 build v0.47.0 --with ./my-custom-extension
build k6 with specific extension version$ xk6 build v0.47.0 --with github.com/grafana/xk6-websocket@v0.2.0
build k6 and output binary to custom location$ xk6 build v0.47.0 --with github.com/grafana/xk6-websocket --output ./dist/k6