15 lines
518 B
Markdown
15 lines
518 B
Markdown
# 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.
|