Create Requests
To create a new Rest
request for an Interceptor:
- Select the
Rest
type Interceptor and click "New Request" on hover to create a request. - Navigate to the created request & select it to configure.
- User can see two url boxes, first one is dynamically created Interceptor url and the other one will be the client url.
- Client url can be any valid url which will return the expected response.
- Now Choose the appropriate HTTP methods for these URLs.
- Provide necessary data (parameters, body, headers) if required.
- Save the configured request and Start the Interceptor.
Example : Let's create an Interceptor request Add_To_Cart
which will take url of Add_To_Cart request as second url, simulated in Hostbox module.
Test Request
To test a Rest Interceptor request:
- Copy the dynamically generated Interceptor URL of the request.
- Go to the API tab and paste the Interceptor request's URL.
- Provide any required data (body, parameters, headers) and execute the request.
Repeat these steps for different requests within the Interceptor to thoroughly test your Rest APIs efficiently.
- After executing requests, users can access the Analytics submenu for in-depth analysis and insights.