Skip to content

dweber019/k6-keycloak

Repository files navigation

k6 meet Keycloak

The porpuse of this repository is to load test Keycloak functionality with k6.
Each isolated functionality is separated in a file.

Install

Please see installation instructions.

Run load test

To run a load test you have to run a file. You can do this by

$ k6 run webserver.js

CI

To run the load tests on a CI platform, we recommend using Docker.
You can run the same comand with Docker by

$ docker run -i loadimpact/k6 run - < webserver.js

Envariable

For local testing you can use the following command to load the .env conveniently:

$ npm run env -- k6 run webserver.js

As we load and pipe over npm, it's not recommended to use this when performing a load test.
Use the recommended way and not dotenv with npm.

About

Load tests keycloak with K6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published