You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To have a successful kcb.sh execution command secript
Actual behavior
sh kcb.sh
INFO: Running benchmark in single-run mode.
INFO: Running benchmark with users-per-sec=1, result output will be available in: /home/testuser/dev_2024/keycloak-benchmark/benchmark/src/main/content/bin/../results/
Error: Could not find or load main class io.gatling.app.Gatling
Caused by: java.lang.ClassNotFoundException: io.gatling.app.Gatling
How to Reproduce?
Followed the prerequisites:
Keycloak URL from [Preparing Keycloak for testing]
Build benchmark module using JDK21 (and not 11 as specified in teh doc)
Anything else?
The way to have it working is to place the benchmark module build locally in the directory
$ cd <install-dir>/keycloak-benchmark/benchmark/src/main/content/lib$
$ cp /home/testuser/dev_2024/keycloak-benchmark/benchmark/target/keycloak-benchmark-0.14-SNAPSHOT.jar .
cd ../bin
<install-dir>/keycloak-benchmark/benchmark/src/main/content/bin$ sh kcb.sh
INFO: Running benchmark in single-run mode.
INFO: Running benchmark with users-per-sec=1, result output will be available in: /home/testuser/dev_2024/keycloak-benchmark/benchmark/src/main/content/bin/../results/
09:52:44.938 [INFO ] a.e.s.Slf4jLogger - Slf4jLogger started
==========================================================
Target servers: [http://0.0.0.0:8080]
Scenario:
Name: keycloak.scenario.authentication.ClientSecret
Population:
realms: 1
users-per-realm: 1
clients-per-realm: 1
realm-name: Not defined
username: Not defined
user-password: Not defined
Runtime:
users-per-sec: 1.0 (Open Workload Model)
...
...
The text was updated successfully, but these errors were encountered:
Describe the bug
When following doc instruction
-Running benchmarks from the CLI
https://www.keycloak.org/keycloak-benchmark/benchmark-guide/latest/run/running-benchmark-cli
Version
25.0.4
Expected behavior
To have a successful kcb.sh execution command secript
Actual behavior
sh kcb.sh
INFO: Running benchmark in single-run mode.
INFO: Running benchmark with users-per-sec=1, result output will be available in: /home/testuser/dev_2024/keycloak-benchmark/benchmark/src/main/content/bin/../results/
Error: Could not find or load main class io.gatling.app.Gatling
Caused by: java.lang.ClassNotFoundException: io.gatling.app.Gatling
How to Reproduce?
Followed the prerequisites:
Anything else?
The way to have it working is to place the benchmark module build locally in the directory
The text was updated successfully, but these errors were encountered: