Question

How would you load test a webpage without using any test tools?

Solution

Load testing

Load testing is testing under normal and peak load condition. It’s also called software performance testing, reliability testing, and volume testing.

Steps

First identify the performance-critical scenarios, which might include:

  1. response time
  2. throughput
  3. resource utilization
  4. max load that system can bear

Then, design tests to simulate the load: we can create virtual users by a multi-threaded program with 1000 thread, each acting as a user loading the page. We measure response time of each user.