Load Test
ELI5 — The Vibe Check
A load test is when you throw a huge crowd of fake users at your app to see how it handles them. Can your server handle 1000 users logging in at the same time? A load test finds out before your real users do — and crash your app on launch day.
Real Talk
Load testing measures system performance under expected and peak load conditions. It simulates concurrent users to identify bottlenecks, measure response times, and validate that the system meets performance SLAs. Tools include k6, JMeter, and Locust.
Show Me The Code
// k6 load test
import http from 'k6/http';
import { sleep } from 'k6';
export const options = { vus: 100, duration: '30s' };
export default function () {
http.get('https://myapp.com/api/products');
sleep(1);
}
When You'll Hear This
"Run a load test before Black Friday — simulate 5000 concurrent users." / "Load testing revealed the DB connection pool was the bottleneck."
Related Terms
Benchmark
In AI, a benchmark is a standardized test that measures how good a model is — like the SAT for AI.
CI Testing
CI Testing is running all your tests automatically every time someone pushes code.
Performance Test
Performance testing is measuring how FAST your app is under various conditions. Is the homepage loading in under 2 seconds?
Stress Test
A stress test pushes your app BEYOND its limits to see when and how it breaks. A load test checks normal traffic.