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.

20 example questions

  1. 1. "Static variables shared in the test plan" — in JMeter, this describes which of the following?

    • A. User Defined Variables.correct
    • B. JSON Extractor.
    • C. Duration Assertion.
    • D. Jmeter -n -t plan.jmx -l results.jtl.

    Why: User Defined Variables: Static variables shared in the test plan.

  2. 2. During a code review, a reviewer asks: Which JMeter element validates response content/codes?

    • A. Assertion.correct
    • B. Timer.
    • C. Pre-processor.
    • D. Listener.

    Why: Assertions verify content/codes and fail samples that don't match.

  3. 3. "Repeats contained samplers a set number of times" — in JMeter, this describes which of the following?

    • A. If Controller.
    • B. Jmeter -n -t plan.jmx -l results.jtl.
    • C. Loop Controller.correct
    • D. User Defined Variables.

    Why: Loop Controller: Repeats contained samplers a set number of times.

  4. 4. "Post-processor capturing dynamic values from responses" — in JMeter, this describes which of the following?

    • A. Regular Expression Extractor.correct
    • B. Plugin Manager.
    • C. Constant Throughput Timer.
    • D. Loop Controller.

    Why: Regular Expression Extractor: Post-processor capturing dynamic values from responses.

  5. 5. "Paces requests to a target rate per minute" — in JMeter, this describes which of the following?

    • A. If Controller.
    • B. Regular Expression Extractor.
    • C. JSON Extractor.
    • D. Constant Throughput Timer.correct

    Why: Constant Throughput Timer: Paces requests to a target rate per minute.

  6. 6. "Adds headers such as Content-Type to requests" — in JMeter, this describes which of the following?

    • A. Loop Controller.
    • B. If Controller.
    • C. User Defined Variables.
    • D. HTTP Header Manager.correct

    Why: HTTP Header Manager: Adds headers such as Content-Type to requests.

  7. 7. "Post-processor pulling values from JSON via JSONPath" — in JMeter, this describes which of the following?

    • A. HTTP Header Manager.
    • B. Regular Expression Extractor.
    • C. If Controller.
    • D. JSON Extractor.correct

    Why: JSON Extractor: Post-processor pulling values from JSON via JSONPath.

  8. 8. "Fails samples exceeding a response-time limit" — in JMeter, this describes which of the following?

    • A. HTTP Cookie Manager.
    • B. Constant Throughput Timer.
    • C. If Controller.
    • D. Duration Assertion.correct

    Why: Duration Assertion: Fails samples exceeding a response-time limit.

  9. 9. 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.

  10. 10. "Groups samplers to measure combined business-step time" — in JMeter, this describes which of the following?

    • A. Constant Throughput Timer.
    • B. Transaction Controller.correct
    • C. User Defined Variables.
    • D. Plugin Manager.

    Why: Transaction Controller: Groups samplers to measure combined business-step time.

  11. 11. "Handles cookies per virtual user like a browser" — in JMeter, this describes which of the following?

    • A. HTTP Header Manager.
    • B. Transaction Controller.
    • C. HTTP Cookie Manager.correct
    • D. User Defined Variables.

    Why: HTTP Cookie Manager: Handles cookies per virtual user like a browser.

  12. 12. During a code review, a reviewer asks: The JMeter 'Ramp-up period' controls:

    • A. Total duration.
    • B. How gradually threads start.correct
    • C. Max response time.
    • D. Pause between requests.

    Why: Ramp-up spreads thread startup over the given seconds.

  13. 13. Which statement correctly describes JMeter?

    • A. Timers in JMeter speed up requests to increase throughput.
    • B. CSV Data Set Config can only supply one identical row to every thread.
    • C. The ramp-up period defines how long the server takes to respond.
    • D. The CSV Data Set Config parameterizes tests with external data per thread.correct

    Why: CSV input gives each virtual user unique credentials or data.

  14. 14. While onboarding a junior QA, you explain: A JMeter Timer is used to:

    • A. Assert content.
    • B. Record results.
    • C. Add think-time/pauses between requests.correct
    • D. Set thread count.

    Why: Timers introduce delays (think time) between samplers.

  15. 15. Which of the following statements about JMeter is TRUE?

    • A. JMeter supports only the HTTP protocol and nothing else.
    • B. JMeter can test protocols beyond HTTP, including JDBC, JMS, FTP, and WebSocket (via plugins).correct
    • C. Timers in JMeter speed up requests to increase throughput.
    • D. Distributed testing in JMeter is limited to exactly one machine.

    Why: Multiple protocol samplers ship built in or via the plugin manager.

  16. 16. During a sprint demo, a teammate asks: Which JMeter element displays results?

    • A. Sampler.
    • B. Listener.correct
    • C. Config Element.
    • D. Timer.

    Why: Listeners gather and visualize sampler results.

  17. 17. In a QA certification mock exam: For large load, JMeter should run in:

    • A. GUI mode with many listeners.
    • B. Debug mode.
    • C. Non-GUI (CLI) mode, optionally distributed.correct
    • D. Recording mode.

    Why: Non-GUI mode is recommended for load generation.

  18. 18. Identify the accurate statement about JMeter:

    • A. JMeter tests should be executed in non-GUI (CLI) mode for actual load generation.correct
    • B. CSV Data Set Config can only supply one identical row to every thread.
    • C. Timers in JMeter speed up requests to increase throughput.
    • D. JMeter supports only the HTTP protocol and nothing else.

    Why: GUI mode is for building/debugging; CLI mode for running load.

  19. 19. In JMeter, which of the following is described as: "Handles cookies per virtual user like a browser"?

    • A. HTTP Header Manager.
    • B. Plugin Manager.
    • C. If Controller.
    • D. HTTP Cookie Manager.correct

    Why: HTTP Cookie Manager: Handles cookies per virtual user like a browser.

  20. 20. Which JMeter concept matches this description: "Adds headers such as Content-Type to requests"?

    • A. Transaction Controller.
    • B. JSON Extractor.
    • C. If Controller.
    • D. HTTP Header Manager.correct

    Why: HTTP Header Manager: Adds headers such as Content-Type to requests.

Related Performance Testing topics