Free API for Load Testing Practice

Don't practice load tests against your production. Don't practice them against a friend's side project either. This sandbox is built for it — with controllable latency, controllable errors, and rate-limit headers your tooling will actually parse.

Built-in chaos knobs

QueryEffect
?delay=500500 ms artificial latency — practice your timeout thresholds
?random_fail=true~30% random 5xx — practice retry / circuit-break logic
?error=429Forced rate-limit — practice backoff & Retry-After parsing

Mix and match: ?delay=300&random_fail=true simulates a degraded upstream.

k6 — drop-in script

import http from 'k6/http';
import { check, sleep } from 'k6';

export const options = { vus: 10, duration: '30s' };

export default function () {
  const r = http.get('https://demo.totalshiftleft.ai/api/v1/users?delay=200');
  check(r, { 'status was 200': (r) => r.status === 200 });
  sleep(1);
}

JMeter

Thread Group → HTTP Request → URL https://demo.totalshiftleft.ai/api/v1/users. Add a Constant Throughput Timer at 600 req/min to stay polite. Use Response Assertion on "success":true.

Locust (Python)

from locust import HttpUser, task, between

class Sandbox(HttpUser):
    host = "https://demo.totalshiftleft.ai"
    wait_time = between(1, 3)

    @task
    def list_users(self):
        self.client.get("/api/v1/users?page=1")

What to actually measure

Be a good neighbour

The sandbox is rate-limited per IP. For sustained heavy load, run your real-volume tests against a local copy (the project is open source) or your own pre-prod environment. Use this sandbox for scenario design and tooling rehearsal.

Frequently asked questions

What rate limit does the sandbox enforce?

Generous fair-use, ~600 req/min per IP for free. For more, run the project locally.

Can I run a 1000-vu test here?

Please don't — you'll just hit rate limits. Practice the script here, run it for real on your own infrastructure.

Other free public APIs in this sandbox

Ready to try it?

Open the live sandbox — REST, GraphQL, SOAP and auth in one place. No signup, no API key.

Open the API Sandbox →

Topics: API for load testing · k6 test API · JMeter test API · Locust test API · free load testing API · performance testing practice