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.
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
Run this as a plan
Put the scenario in your app's Config/load-plan.json and run it from the narduk-app CLI.