Recorded scripts are static. Enhancement makes them realistic and reusable — correlation, parameterization, assertions, and timers.
🔗
Correlation
Capture dynamic values (Session ID, CSRF Token, JWT) from one request and use in the next.
Response: {"token":"abc123xyz"}
JSON Extractor → ${token}
Next Request Header: Authorization: Bearer ${token}
📊
Parameterization
Use external test data via CSV Data Set Config instead of hardcoded values.
CSV: username,password
user1,pass1
user2,pass2
→ Each VU picks unique data
✅
Assertions
Validate response correctness — not just HTTP 200, but actual content.
| Assertion | Purpose |
| Response Assertion | Validate text content |
| Duration Assertion | Validate response time |
| JSON Assertion | Validate JSON fields |
| Size Assertion | Validate payload size |
⏱️
Timers
Simulate real-user think time between requests.
| Timer | Purpose |
| Constant Timer | Fixed delay (e.g., 5 sec) |
| Gaussian Random | Realistic random delay |
| Uniform Random | Randomized wait range |