This is a simple load test for a full Oauth2 authorize flow on Authentik.
- locust: Install with
pip install locust(or however you install Python packages)
There's a script (python create_loadtest_users.py) that creates 1000 test users in a Authentik instance. AUTHENTIK_URL and AUTHENTIK_TOKEN environment variables need to be set.
Start locust with the included test: locust -f authentik_load_test.py. Open it's web UI and start the test. AUTHENTIK_URL and CLIENT_ID environment variables need to be set.