Load Testing · Junior · Question 39 of 75
What is correlation in a load test script?
- 1Capturing dynamic values from a response and reusing them later
- 2Comparing results of two test runs to find a regression
- 3Matching each virtual user to one real production user
Show the answer
Correct answer: Capturing dynamic values from a response and reusing them later
Explanation
Session IDs, CSRF tokens or order IDs change on every run. The script must extract them from responses, e.g. with JSON parsing or regex, and send them in the next request.