Docs

Seamless API Client Integration

MockQL works perfectly with your favorite API clients like Postman and Insomnia. Test your mocked and extended APIs using the tools you already know and love.

No URL Changes Required

MockQL acts as a transparent proxy between your API client and backend servers. Simply point your requests to the MockQL URL, and it will handle the rest.

Use Your Existing Collections

Keep using all your saved Postman or Insomnia collections with minimal changes

Test Real & Mocked Endpoints

Seamlessly test both real endpoints and your mocked extensions in the same workflow

Compare Response Modifications

Easily compare original and modified responses to verify your changes

Time-saving tip: Set up environment variables in your API client to quickly switch between direct API access and MockQL proxy mode.

API Request
Postman / Insomnia
Original URL:https://api.example.com/users
MockQL URL:http://localhost:3000/api/proxy/users

How It Works

1
Send request to MockQL proxy
2
MockQL forwards to real API or mocks response
3
View and validate modified response in your API client

Postman Integration

MockQL works seamlessly with Postman, allowing you to test your extended and mocked APIs using a familiar interface.

Setup Process

1

Set MockQL base URL as an environment variable in Postman

2

Replace your API endpoints' base URL with the MockQL variable

3

Use Postman as normal - MockQL handles the interception transparently

Insomnia Integration

Use Insomnia's powerful interface to test your APIs with MockQL's extension capabilities in the middle.

Configuration Benefits

Use environment switching to toggle between direct API and MockQL

Test GraphQL operations with schema extensions transparently

Compare responses between mocked and real environments

Compare Response Differences

Use your API client to compare responses between the original API and MockQL-enhanced versions, helping you validate your modifications.

Original Backend Response

Your existing API provides basic data:

GET /api/v1/postsStatus: 200 OK
Contains core fields like id, title, content

MockQL Extended Response

MockQL enriches the response with additional fields:

GET /api/v1/commnets (via MockQL)Status: 200 OK
Contains core fields plus Endpoint dont exists yet or response strucutre is different