PerformanceCore Web Vitals for Testers: LCP, INP and CLS Explained
What Google's Core Web Vitals measure, their thresholds, how testers can measure them in the lab and the field, and how to write performance bugs developers can act on.

Functional tests tell you whether a feature works. Performance tests tell you whether it keeps working when many people use it at once, for a long time, or all of a sudden. Performance problems are often found late and cost a lot, so it pays to test early.
| Type | Question it answers | Shape |
|---|---|---|
| Load test | Does the system meet its targets at expected traffic? | Ramp to normal peak, hold |
| Stress test | Where does it break, and how does it fail? | Keep increasing until errors or saturation |
| Spike test | Can it survive a sudden surge (a launch, a promo email)? | Jump from low to very high instantly |
| Soak (endurance) test | Does it degrade over hours (memory leaks, connection exhaustion)? | Moderate load for a long time |
| Breakpoint / capacity test | What's the maximum sustainable throughput? | Step up gradually |
Always look at latency and errors and server resources together. A fast response that's an error page isn't a success.
k6 is an open-source load testing tool scripted in JavaScript.
// load-test.js
import http from 'k6/http';
import { check, sleep } from 'k6';
export const options = {
stages: [
{ duration: '2m', target: 50 }, // ramp up to 50 virtual users
{ duration: '5m', target: 50 }, // hold
{ duration: '1m', target: 0 }, // ramp down
],
thresholds: {
http_req_duration: ['p(95)<800'], // 95% of requests under 800 ms
http_req_failed: ['rate<0.01'], // less than 1% errors
},
};
const BASE = __ENV.BASE_URL;
export default function () {
const list = http.get(`${BASE}/api/products`);
check(list, { 'products 200': (r) => r.status === 200 });
sleep(Math.random() * 3 + 1); // think time: 1–4 s
const detail = http.get(`${BASE}/api/products/mug`);
check(detail, { 'detail 200': (r) => r.status === 200 });
sleep(Math.random() * 3 + 1);
}
Run it against a test environment:
k6 run -e BASE_URL=https://staging.example.com load-test.js
k6 prints percentiles, throughput and threshold results, and exits non-zero when a threshold fails, so it can gate a CI pipeline.
Report like a tester: what load, which journey, what broke, the evidence (graphs, logs) and the impact.
Server performance is half the story. Front-end performance (how fast pages feel) is measured with Core Web Vitals; see Core Web Vitals for testers.
Performance testing builds on fundamentals: knowing which user journeys matter and which risks are worth testing. Sharpen those with QAUnlocked quizzes and battles, then apply them to your own system's busiest paths.
Be the first to comment.