Mock Service Worker

E2E & Automated Testing - API Clients & Documentation
Mock Service Worker screenshot
Visit

Mock Service Worker is an API mocking library that intercepts requests at the network level using Service Workers. It allows developers to write client-agnostic mocks and reuse them across various frameworks, tools, and environments such as unit tests, integration tests, and local development. By leveraging standard Fetch API and web standards, it eliminates the need for dedicated mock servers and enables seamless mocking for both REST and GraphQL APIs.

Pricing
Free
Features
Open Source

Checked on Sep 30, 2026.


Alternative resources

Hoppscotch

An open-source API development ecosystem for testing, documenting, and managing REST, GraphQL, and WebSocket requests.

FreeOpen SourceSelf-hostedNo sign-up

ZAP

Zed Attack Proxy is a widely used open source web application security scanner for finding vulnerabilities in web applications.

FreeOpen Source

TestSprite

Agentic testing and automation platform that automatically generates and runs end-to-end tests for your live web application.

FreeOpen Source