Mockgql Chrome extension icon

Mockgql

👥 28 users
📦 v1.2.0
💾 31.63KiB
📅 2026-04-21
View on Chrome Web Store

Chrome will indicate if you already have this installed.

Overview

MockGQL - GraphQL Request Logger & Mocker

A powerful Chrome DevTools extension for developers working with GraphQL APIs. Intercept, inspect, and mock GraphQL requests directly from your browser.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

KEY FEATURES

• Request Logging
Automatically captures all GraphQL requests (fetch and XMLHttpRequest) and displays them in a clean, organized list.

• Detailed Inspection
View the complete details of each request including operation name, type (query/mutation/subscription), query, variables, and response.

• Mock Responses
Create custom mock rules to return fake responses for specific GraphQL operations. Perfect for testing edge cases, error states, and loading behaviors.

• Individual Rule Control
Enable or disable individual mock rules with toggles. Keep your mock configurations ready without affecting live requests.

• Response Delay
Add artificial latency to mocked responses (in milliseconds) to simulate slow network conditions and test loading states.

• Persistent Storage
Mock rules are saved to your browser and persist across sessions. Set up once, use everywhere.

• Copy Response
One-click copy of any response to clipboard for easy debugging and mock rule creation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

USE CASES

→ Frontend Development: Test your UI against different API responses without modifying backend code
→ Error Handling: Simulate error responses to verify your error handling works correctly
→ Loading States: Add delays to test skeleton screens and loading indicators
→ Edge Cases: Mock unusual data scenarios that are hard to reproduce
→ Offline Development: Continue frontend work when the API is unavailable
→ Debugging: Inspect GraphQL queries and responses in a dedicated panel

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

HOW TO USE

1. Install the extension
2. Open Chrome DevTools (F12)
3. Navigate to the "MockGQL" tab
4. Browse any website with GraphQL requests
5. Click on requests to view details
6. Create mock rules from captured responses
7. Enable "Enable Mock" to activate mocking

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

TECHNICAL DETAILS

• Manifest V3 compliant
• Works with any GraphQL endpoint (/graphql or /gql paths)
• Supports both fetch and XMLHttpRequest
• Dark theme UI matching Chrome DevTools
• Minimal permissions required

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Open source: https://github.com/bill-min/mock-gql

Made for developers, by developers.

Tags

Productivity/developer developer productivity/developer

Privacy Practices

Not being sold to third parties, outside of the approved use cases
Not being used or transferred for purposes that are unrelated to the item's core functionality
Not being used or transferred to determine creditworthiness or for lending purposes

🔐 Security Analysis

This extension hasn't been security-scanned yet.

Capture a screenshot of your current page in entirety and reliably—without requesting any extra permissions!
Productivity/developer AI
브라우저에서 라온시큐어의 PC보안 기능을 사용하기 위한 확장 프로그램입니다.
Productivity/developer
Adds React debugging tools to the Chrome Developer Tools. Created from revision 3cde211b0c on 10/20/2025.
Productivity/developer