Scale unique answer tracking

This commit is contained in:
hz
2026-07-13 02:11:54 -05:00
parent 700da4e415
commit f2c59388eb
23 changed files with 1064 additions and 131 deletions
+14
View File
@@ -0,0 +1,14 @@
# Answer Tracking Load Test
Generate 5,000 or more short-lived USER JWTs for dedicated load-test accounts and
store them as a JSON string array outside the repository. Never reuse production
user credentials.
Run the test from this directory:
```powershell
k6 run -e BASE_URL=https://s3q.ranaze.com -e AUTH_TOKENS_PATH=./tokens.json answer-tracking.js
```
The test ramps to 5,000 concurrent users and validates the production latency and
error-rate targets. Run it against a staging environment before production.