Blog
Load testing, mock APIs, and performance engineering.
Simulating OAuth flows in load tests with stateful mocks
Mock an OAuth token endpoint that issues tokens, returns 401 on expired tokens, and simulates the full refresh flow — at load test scale.
Mocking flaky third-party APIs in your CI pipeline
Use Mockra ephemeral namespaces to spin up isolated mock environments for every CI run. No shared state, no flaky third-party dependencies, deterministic test results.
Load testing a Stripe integration without hitting Stripe
Run a k6 load test at 10k VUs against a Stripe mock. No rate limits, no cost, no flaky sandbox — just your code under real load.
How to mock an inventory API that actually runs out of stock
Static mock servers always return the same response. Real inventory APIs don't. Here's how Mockra's stateful mocks let you simulate stock depletion across sequential requests — including under load test traffic.
We load tested every mock API service so you don't have to
We ran k6 load tests against Mockra, Postman Mock Server, WireMock Cloud, and Stoplight Prism at 1000 concurrent virtual users. Here's what we found — including results that surprised us.