Configure and Use a OneTab Mock Server

Set up and utilize a mock server with OneTab. OneTab allows you to configure mock servers to aid in API development and testing. These servers imitate the actions of real API servers, accepting requests and providing responses.

By integrating a mock server into your collection and including examples in your requests, you can replicate the behavior of an actual API.

When a request is submitted to a mock server, OneTab identifies a matching example in your collection and responds with the data associated with that example. To access existing mock servers within your workspace, navigate to the Mock Server section.

<aside> 💡 You must be signed in to Onetab account to create a mock server.

</aside>

Mock Server Quick Start:

To begin testing using a mock server in OneTab, follow these steps:

Creating Mock Servers:

You have the option to generate mock servers either from an existing collection or allow OneTab to create a new collection specifically for your mock server. You also have the flexibility to create a new mock server from scratch.

Creating a Mock from Scratch:

Screenshot 2024-03-21 at 3.41.38 PM.png