Question 3Medium
A test runs the normal load for many hours to find memory leaks. What is it called?
- Spike testing
- Smoke testing
- Soak (endurance) testing
- 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
- Long duration.
- Leaks emerge.
- Soak test.
Why the other options are wrong
- A. Spike tests sudden bursts.
- B. Smoke is quick.
- D. Sanity is narrow.
Question 6Medium
In a load test script, what is 'think time'?
- The time the server takes to respond to a request
- A pause that simulates a user between actions
- The time needed to build the test script
- 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
- Users pause.
- Script pauses too.
- 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 8Hard
A system serves 50 requests in 10 seconds with an average response time of 2 s. What is its throughput?
- 25 requests per second
- 0.5 requests per second
- 20 requests per second
- 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
- Requests = 50.
- Time = 10 s.
- 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.