mocktopus-api
Reactive icon

Mocktopus API

version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 14 Jul
 by 
0.0
 (0 ratings)
mocktopus-api

Mocktopus API

Details
Enable developers or testers to easily define REST API endpoints and configure one or more possible mock responses (static or dynamic) via a backoffice interface.
Read more

Imagine you have an external API endpoint your application needs to consume, for example:

https://<YourDomain>.com/MyToBeEndpoint, but the actual API is not ready yet.


With Mocktopus, you can easily simulate this behavior. Simply open the Mocktopus Backoffice, create a mock endpoint named MyToBeEndpoint, and configure your app to point to the mock instead. In Service Center, change the consumed API’s base URL from:


https://<YourDomain>.com


to:


https://<YourOutSystemsEnvironment>.com/Mocktopus_API_CS/rest/Mocktopus_API


At runtime, your OutSystems app will call Mocktopus, which will return the predefined mock response you've configured, allowing your team to continue development and testing without waiting for the real service.


This sample module already includes a set of mock endpoints for you to try.

To test it, open Service Center, locate the MocktopusAPISample module, and update the endpoint of the consumed API to point to your environment using this format:


https://<YourOutSystemsEnvironment>.com/Mocktopus_API_CS/rest/Mocktopus_API

Mocktopus will handle the rest.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category