Load testing guides

Guides and k6 examples for every kind of load test: APIs, websites, spikes, soaks, and capacity planning.
API Load Testing
Load test REST and GraphQL APIs at a fixed request rate, with per-second latency and error charts.
Stress Test Your Website
Step the request rate up until a threshold breaks, and find the last rate your site handled.
HTTP Load Testing
Run HTTP load tests against any endpoint. GET, POST, PUT and DELETE with custom headers and payloads.
REST API Benchmarking
Benchmark your REST API performance with precise p50, p95, p99 latency metrics. Compare endpoints and track regressions over time.
GraphQL Load Testing
Load test your GraphQL API with realistic queries and mutations. Measure resolver performance and find N+1 query bottlenecks.
WebSocket Load Testing
Load test WebSocket servers with hundreds of concurrent connections. Validate message throughput, latency, and connection stability.
Spike Testing
Test how your application handles sudden traffic spikes. Simulate flash sales, viral moments, and DDoS-like scenarios safely.
Soak Testing
Run extended soak tests to find memory leaks, connection pool exhaustion, and performance degradation over time.
Capacity Planning
Use load testing for infrastructure capacity planning. Determine how many users your servers can handle and when to scale.
Performance Testing Checklist
Complete performance testing checklist: test types, metrics to measure, tools to use, and common mistakes to avoid.
gRPC Load Testing
Load test gRPC services with k6. Measure unary and streaming RPC performance under concurrent connections.
loadtest.dev — Part of the Narduk Enterprises network