Load Testing · Middle · Question 67 of 76
Why are load tests often written as code (k6, Gatling, Locust) rather than recorded?
- 1Code-based tools always generate more load
- 2Recorded scripts can't send HTTP requests at all
- 3Code can be reviewed, versioned and run in CI
Show the answer
Correct answer: Code can be reviewed, versioned and run in CI
Explanation
Recordings capture one session with hard-coded values. Code makes data, correlation and scenarios explicit and maintainable.