Test Mock API

Category
Mock Server
API Client
FAQ
File Server
Getting Started
Guides
HTTP Rules (Modify Traffic)
Inspect Traffic
Installation
Mock Server
New Section
Public API
Sessions Replay
Setup
TroubleShooting
Workspace
Getting Started
Installation
Setup
Inspect Traffic
API Client
HTTP Rules (Modify Traffic)
Mock Server
File Server
Workspace
Public API
Sessions Replay
FAQ
Guides
New Section
TroubleShooting
Β 

Test Mock API

Once you have saved a mock API, you may test it in Requestly API Client and see if the received response matches your expectation.

Steps

  1. Open the mock API from the list of mocks.
  1. On top header, click theΒ TestΒ button.
    1. notion image
      It opens a dialog with the endpoint URL field and request method already populated in UI.
  1. ClickΒ SendΒ button to see the response body and headers received from the mock API.
    1. notion image
This confirms that the mock API is working as expected and can be used in your UI application.
Β 
Β