Performance testing shows up in a large share of QA job posts. Six small steps to learn it from zero, with one free tool and one API endpoint.
Right now 60 of the 196 open QA roles on the QA Circle job board name performance testing. Many testers skip those posts because they have never run a load test. The good news: the first useful test is small, and you can do it this week with free tools.
1. Learn four words
Most performance work is one of four kinds of test. Interviewers expect you to know the difference.
- Load test: the number of users or requests you expect on a normal busy day. Does the system stay fast?
- Stress test: keep adding load past that number until something breaks. Where is the limit, and how does it fail?
- Spike test: jump from quiet to very busy in seconds, like a sale or a match starting. Does it recover?
- Soak test: a steady, ordinary load for hours. Does memory creep up, or do responses slowly get worse?
2. Pick one tool
Two free tools cover most job posts. Pick one and stay with it until your first project is done.
- JMeter has a visual editor, so you can build a test without code. Many companies already use it.
- k6 uses small JavaScript files. If you know a little JavaScript from automation, it will feel familiar.
Both are free and open source. Learning one well matters more than which one you choose.
3. Test one API endpoint, not the whole app
A full user journey is a hard first test. Start with a single request, such as a health check or a product list. One endpoint teaches you every idea you need: users, ramp-up, think time and results.
Only load test a system you own or have permission to test. Your own small API running on your laptop is perfect for practice.
A first k6 test looks like this:
import http from 'k6/http';
import { check, sleep } from 'k6';
export const options = {
vus: 10,
duration: '30s',
thresholds: {
http_req_duration: ['p(95)<500'],
http_req_failed: ['rate<0.01'],
},
};
export default function () {
const res = http.get('http://localhost:3000/products');
check(res, { 'status is 200': (r) => r.status === 200 });
sleep(1);
}
Save it as load.js and run k6 run load.js. Ten virtual users call the endpoint for 30 seconds, and the test fails if the slowest 5% of requests take longer than half a second or more than 1% fail.
In JMeter the same test is a Thread Group with 10 threads, one HTTP Request and a listener for the results. Run real tests from the command line (jmeter -n -t plan.jmx -l results.jtl), not from the editor, which slows the machine down.
4. Watch three numbers
A results screen has dozens of numbers. Three matter most at the start.
- Response time: look at the 95th percentile (p95), not the average. An average can look fine while one user in twenty waits far too long.
- Error rate: the share of requests that failed. A fast endpoint that returns errors is not fast.
- Throughput: requests handled per second. It tells you how much work the system really did.
5. Write down what you expect before you run it
Before you press run, write one line: "With 10 users, p95 stays under 500 ms and errors stay under 1%." Then compare. This habit is what turns running a tool into testing. It is also the first thing an interviewer will ask: what did you expect, and what happened?
6. Put the small project on GitHub
Push the script, a short README and a screenshot of the results. Write three lines in the README: what you tested, what you expected, what you found. Link it on your CV under projects.
One honest small test, explained well, says more in an interview than a list of tools you have only watched videos about.
What to learn next
Once the first test works, add one idea at a time: a ramp-up stage, a second endpoint, a test that logs in first, then a run inside your CI pipeline. Each one is a good next commit for the same project.