Performance Testing Questions with Answers

8 practice questions on Performance Testing (Software Testing & QA) with answers and step-by-step solutions. Try 8 samples below, then practise all 8 free in the AptiNest app.

Sample questions

Question 1Easy

Apache JMeter is mainly used for:

  1. Unit testing Java code
  2. Performance and load testing
  3. Drawing UML diagrams
  4. Managing source code

Answer: B. Performance and load testing

Explanation

JMeter generates load against servers and applications and measures their response.

Step-by-step solution

  1. Load tool.
  2. Generates requests.
  3. JMeter.

Why the other options are wrong

  • A. JUnit does unit tests.
  • C. That is a modelling tool.
  • D. Git handles that.

Question 2Easy

Which test checks system behaviour under the expected normal and peak user load?

  1. Load testing
  2. Smoke testing
  3. Usability testing
  4. Alpha testing

Answer: A. Load testing

Explanation

Load testing applies expected load to measure response time and resource usage.

Step-by-step solution

  1. Expected users.
  2. Measure response.
  3. Load test.

Why the other options are wrong

  • B. Smoke is a basic check.
  • C. Usability studies ease of use.
  • D. Alpha is acceptance-style.

Question 3Medium

A test runs the normal load for many hours to find memory leaks. What is it called?

  1. Spike testing
  2. Smoke testing
  3. Soak (endurance) testing
  4. Sanity testing

Answer: C. Soak (endurance) testing

Explanation

Soak testing keeps load for a long time and reveals leaks and gradual degradation.

Step-by-step solution

  1. Long duration.
  2. Leaks emerge.
  3. Soak test.

Why the other options are wrong

  • A. Spike tests sudden bursts.
  • B. Smoke is quick.
  • D. Sanity is narrow.

Question 4Medium

What is stress testing?

  1. Testing with a very small number of users
  2. Pushing the system past capacity to see how it fails
  3. Testing only the database layer alone
  4. Testing the UI for colour blindness support

Answer: B. Pushing the system past capacity to see how it fails

Explanation

Stress testing finds breaking points and checks recovery.

Step-by-step solution

  1. Beyond limits.
  2. Find breaking point.
  3. Stress test.

Why the other options are wrong

  • A. Few users is not stress.
  • C. Scope is the whole system.
  • D. That is accessibility.

Question 5Medium

Which metric is the time between sending a request and receiving the complete response?

  1. Throughput in requests per second
  2. Concurrency of simultaneous users
  3. Response time
  4. Uptime of the whole service

Answer: C. Response time

Explanation

Response time is the elapsed time for one request; throughput counts requests handled per second.

Step-by-step solution

  1. One request.
  2. Elapsed time.
  3. Response time.

Why the other options are wrong

  • A. Throughput is requests per unit time.
  • B. Concurrency is simultaneous users.
  • D. Uptime measures availability.

Question 6Medium

In a load test script, what is 'think time'?

  1. The time the server takes to respond to a request
  2. A pause that simulates a user between actions
  3. The time needed to build the test script
  4. The time the CPU spends waiting for disk

Answer: B. A pause that simulates a user between actions

Explanation

Think time makes the simulated load realistic, since real users do not click continuously.

Step-by-step solution

  1. Users pause.
  2. Script pauses too.
  3. Think time.

Why the other options are wrong

  • A. That is response time.
  • C. That is test preparation.
  • D. That is I/O wait.

Question 7Medium

A sudden jump from 100 to 5,000 users within seconds is tested. Which type is this?

  1. Spike testing
  2. Soak testing
  3. Volume testing
  4. Compatibility testing

Answer: A. Spike testing

Explanation

Spike testing checks reaction to abrupt big increases and drops in load.

Step-by-step solution

  1. Sudden jump.
  2. Short burst.
  3. Spike.

Why the other options are wrong

  • B. Soak is long duration.
  • C. Volume is about data size.
  • D. Compatibility is about platforms.

Question 8Hard

A system serves 50 requests in 10 seconds with an average response time of 2 s. What is its throughput?

  1. 25 requests per second
  2. 0.5 requests per second
  3. 20 requests per second
  4. 5 requests per second

Answer: D. 5 requests per second

Explanation

Throughput = requests / time = 50 / 10 = 5 requests per second, regardless of the response time.

Step-by-step solution

  1. Requests = 50.
  2. Time = 10 s.
  3. 50/10 = 5.

Why the other options are wrong

  • A. 25 divides the requests by the response time, not the elapsed time.
  • B. 0.5 is the inverse of the response time and ignores the request count.
  • C. 20 does not follow from the figures.

Practise all 8 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all Software Testing & QA topics · All topics