Load Testing · Middle · Question 67 of 76

Why are load tests often written as code (k6, Gatling, Locust) rather than recorded?

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.

Further reading

Problem with a question

Load Testing · Middle · question 67

Test yourself

Take the Load Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz