Scale unique answer tracking
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user