Everything you need to get started
Performance Testing Checklist
A comprehensive checklist covering every aspect of performance testing โ from choosing the right test type and defining SLAs to analyzing results and setting up continuous testing in CI/CD.
Standalone k6 example
Adapt this script and run it with k6 against an approved target. loadtest.dev accepts declarative GET/HEAD plans; it does not execute these scripts.
Choose the right test type for your scenario
Define meaningful SLAs and thresholds
Set up realistic test data and scenarios
Monitor the right metrics (latency, throughput, errors)
Analyze results with percentile-based metrics
Integrate load testing into CI/CD pipelines
ci-test.js
import http from 'k6/http';
import { check } from 'k6';
// CI/CD-friendly: short test with strict thresholds
export const options = {
vus: 20,
duration: '1m',
thresholds: {
http_req_duration: ['p(95)<300', 'p(99)<500'],
http_req_failed: ['rate<0.01'],
checks: ['rate>0.99'],
},
};
export default function () {
const res = http.get('https://staging.myapp.com/api/health');
check(res, {
'status 200': (r) => r.status === 200,
'has body': (r) => r.body.length > 0,
});
}Frequently asked questions
Related guides
API Load Testing
Learn how to test HTTP APIs with standalone k6 scripts, measure latency and failed requests, and choose rates suited to your approved target.
Use an HTTP plan with loadtest.dev
For estate apps, declare GET/HEAD requests to a verified hostname and submit a plan through the authenticated API.