To setup check out README.md, to load trustify endpoints with 3 concurrent users.
> cargo run --bin loadtest -- --host http://localhost:8080 -u 3
To stop load test hit [ctl-C], which should generate aggregate statistics.
To load trustify endpoints against 10 concurrent users, generating an html report.
cargo run --release -- --host http://localhost:8080 --report-file=report.html --no-reset-metrics -u 10
Note - opted to just wrap oidc-cli instead of pull over a lot of code ... also it was handy to be able to reuse oidc-cli client when encountering problems to manually test with auth token with curl.
Adds a standalone setset of goose loadtests.
To setup check out README.md, to load trustify endpoints with 3 concurrent users.
To stop load test hit [ctl-C], which should generate aggregate statistics.
To load trustify endpoints against 10 concurrent users, generating an html report.
Note - opted to just wrap oidc-cli instead of pull over a lot of code ... also it was handy to be able to reuse oidc-cli client when encountering problems to manually test with auth token with curl.