Find issues that only appear over time

Soak Testing

Run tests for extended periods to uncover problems that don't surface in short bursts — memory leaks, connection pool exhaustion, database connection limits, and gradual performance degradation.
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.
Extended duration in a standalone script
Compare request trends with server memory measurements
Connection pool exhaustion testing
Gradual performance degradation monitoring
Record server resource utilization separately
Ideal for pre-release validation
soak-test.js
import http from 'k6/http';
import { check, sleep } from 'k6';

export const options = {
  stages: [
    { duration: '2m', target: 100 },   // Ramp up
    { duration: '30m', target: 100 },   // Sustained load
    { duration: '2m', target: 0 },      // Ramp down
  ],
  thresholds: {
    http_req_duration: ['p(95)<500'],  // Should stay consistent
    http_req_failed: ['rate<0.01'],
  },
};

export default function () {
  http.get('https://myapp.com/api/data');
  sleep(2);
}

Frequently asked questions

Related guides

Stress Test Your Website
Use a standalone k6 stress script to raise virtual-user concurrency, compare response times, and identify degradation under an approved traffic budget.
Spike Testing
Model a rapid traffic increase with standalone k6 stages, then observe latency, failed requests and recovery within your target’s approved load budget.
Capacity Planning
Compare latency and failed requests across approved load levels with standalone k6, then combine the results with resource metrics for capacity planning.

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.
loadtest.dev — Part of the Narduk Enterprises network