โ† Simulation Lab

๐Ÿ‹๏ธ Load-test a server like a QA engineer

Software & Cloud

A load test uses virtual users (VUs) that each send a request, wait (think time), and repeat. Find how many VUs reproduce real traffic, and where response time starts to explode.

โญ Level 1: Trainee0 XP ยท next level at 300
๐ŸŽฏ Reproduce 500 req/s of real users (3 s think time) on the 1,000 req/s server, with 2,000 VUs or fewer.
Controls
Results
Throughput31 req/s
Server busyโœ“ 3%
Response timeโœ“ 206 ms

The server copes at this load.

๐Ÿ“˜ How it works

With think time, throughput = users รท (think + response) (Little's law). As the server gets busy, requests queue and response time climbs, slowly at first and then sharply near 100%. Load tests look for that knee.

X = VUs รท (think + R) ยท R = Rโ‚€ รท (1 โˆ’ utilisation)A simplified textbook model for learning. Real designs follow the full codes and standards.