Skip to content

Commit

Permalink
chore: move load tests to single folder envs vars from comitable file
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Jan 24, 2025
1 parent f06e6dc commit fc418d0
Show file tree
Hide file tree
Showing 28 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions load-tests/benchmark/.env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NAMESPACE=
SCENARIO="keycloak.scenario.authentication.AuthorizationCode"
SERVER_URL=
ADMIN_USERNAME=
ADMIN_PASSWORD=
File renamed without changes.
11 changes: 5 additions & 6 deletions benchmark/Makefile → load-tests/benchmark/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
SHELL := /usr/bin/env bash
NAMESPACE :=
SCENARIO := keycloak.scenario.authentication.AuthorizationCode
SERVER_URL :=
ADMIN_USERNAME :=
ADMIN_PASSWORD :=

#import the env varibles
include .env
export $(shell sed 's/=.*//' .env)

# make sure scenario is set to the correct value
# test #1 - 34 users per second for 30 minutes (1800 seconds) with 101 users per realm and 101 clients per realm
Expand All @@ -18,4 +17,4 @@ run_job:
.PHONY: cleanup
cleanup:
oc -n $(NAMESPACE) delete job sso-benchmark-runner
oc -n $(NAMESPACE) delete pvc sso-benchmark-runner-pvc
# oc -n $(NAMESPACE) delete pvc sso-benchmark-runner-pvc
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fc418d0

Please sign in to comment.