Gatling interview questions — Hard
149 hard-level Gatling questions from our Performance Testing bank, each with the correct answer and an explanation of why it is correct.
What this covers
Gatling appears throughout Performance Testing interviews. At hard level, interviewers are typically checking depth under pressure — edge cases, failure modes, performance characteristics, and the trade-offs you accepted. Work through these, then explain your answer out loud; the second part is what interviews actually test.
4 example questions
1. Regarding Gatling, which of the following is a false statement?
- A. Feeders supply external data (CSV, JSON) to virtual users.
- B. Gatling's engine creates one operating-system thread per virtual user.correct
- C. Checks in Gatling validate responses and can extract values for later requests.
- D. Gatling generates rich HTML reports with percentiles and response-time distributions.
Why: The selected statement is false. The other options are accurate statements about Gatling.
2. Which of the following statements about Gatling is FALSE?
- A. Gatling's injection profiles (e.g., rampUsers, constantUsersPerSec) define how users arrive.
- B. Gatling generates rich HTML reports with percentiles and response-time distributions.
- C. Feeders supply external data (CSV, JSON) to virtual users.
- D. Gatling simulations are written by dragging GUI elements only, with no code.correct
Why: The selected statement is false. The other options are accurate statements about Gatling.
3. Which statement about Gatling is NOT correct?
- A. Checks in Gatling validate responses and can extract values for later requests.
- B. Gatling uses an asynchronous, non-blocking architecture enabling high load from one machine.
- C. Feeders in Gatling cannot read CSV files.correct
- D. Gatling's injection profiles (e.g., rampUsers, constantUsersPerSec) define how users arrive.
Why: The selected statement is false. The other options are accurate statements about Gatling.
4. Identify the INCORRECT statement about Gatling:
- A. Gatling's injection profiles (e.g., rampUsers, constantUsersPerSec) define how users arrive.
- B. Gatling simulations are code-based, historically in Scala with Java and Kotlin DSLs also supported.
- C. Gatling assertions cannot fail a CI build.correct
- D. Feeders supply external data (CSV, JSON) to virtual users.
Why: The selected statement is false. The other options are accurate statements about Gatling.