JMeter interview questions — Medium
620 medium-level JMeter questions from our Performance Testing bank, each with the correct answer and an explanation of why it is correct.
What this covers
JMeter appears throughout Performance Testing interviews. At medium level, interviewers are typically checking that you have used it in practice: what you configured, what broke, and how you knew it worked. Work through these, then explain your answer out loud; the second part is what interviews actually test.
3 example questions
1. Which JMeter element validates that a response contains expected text or a status code?
- A. Assertion (e.g., Response Assertion).correct
- B. Timer.
- C. Pre-processor.
- D. Listener.
Why: Assertions (Response Assertion, JSON Assertion, Duration Assertion, …) verify response content/codes and mark samples as failed when they don't match.
2. In Apache JMeter, what does a Thread Group represent?
- A. A single HTTP request.
- B. A pool of virtual users (threads) executing the test plan.correct
- C. A results graph.
- D. A database connection.
Why: A Thread Group defines the virtual users: number of threads, ramp-up time, and loop count for the contained samplers.
3. What is the JMeter 'Ramp-up period' used for?
- A. The total test duration.
- B. The time taken to start all threads gradually rather than all at once.correct
- C. The pause between requests.
- D. The maximum response time allowed.
Why: Ramp-up spreads out thread startup over the given seconds, so load increases gradually instead of all virtual users hitting at t=0.