Simulate your API using saved response examples within OneTab:

Mock servers in OneTab mimic an API's behavior by providing predefined data, facilitating development or testing of your API without accessing production data. These mock servers rely on examples stored within a collection to generate mock data.

Follow the steps outlined below to understand how mock servers and examples collaborate and how you can seamlessly incorporate them into your API workflow.]

Editing the Mock Server Configuration:

Screenshot 2024-03-21 at 3.45.41 PM.png

Screenshot 2024-03-21 at 3.46.35 PM.png

<aside> 💡 You can't change the mock server's collection. If you need to mock a different collection, create a new mock server.

</aside>

Accessing Mock Servers:

Screenshot 2024-03-21 at 3.52.36 PM.png

Using HTTP Access Control for a Mock: