Mock API

Stable Version 1.0.0 (Compatible with OutSystems 11)
Published on 24 Apr by 
5.0
 (1 rating)

Mock API

Details
The multiple ways of approaching the creation of mock data in a project. Examples.
Read More

The fact that OutSystems is a fast development platform has created a problem in API-driven projects. Blocking teams regarding APIs needs.

Thus, the development team is often blocked due to external API dependencies. This leads to extra work to unblock themselves from those dependencies, through the creation of mock APIs. Mocking is part of the software development lifecycle in almost every organization. And with CI / CD, to continuously develop and test applications you have to handle multiple dependencies.

Some advantages to using API mocks in your development:

  • You can do feature work even if your external dependencies are unavailable
  • You have the flexibility to emulate the API structure you want
  • You can repeatedly test the same scenarios
  • Frontend developers and backend developers can work in parallel
  • The frontend can act as a standalone application during development without any backend API dependencies.
  • Easy to demo
  • The mock API can easily be replaced with the Real API once it’s ready


The purpose of this component is to help reduce the negative impact that the uncontrolled creation of mock data can have on projects and applications that are being developed, through 3 different approaches to building mock APIs in OutSystems.

This component will show how you can begin frontend development by mocking the backend through these 3 simple approaches:

  • JSON in Server Action (or Service Actions)
  • API mocking frameworks and tools
  • REST/SOAP APIs
What’s new (1.0.0)
Reviews (1)
25 Apr
in version 1.0.0
Latency  and hindrance in projects due to slow API design is usually overcome by mocking them in OutSystems.
It is the most effective way to accelerate development and to create a MLP ( minimum lovable project).
A "How to" on  this subject is more than useful and very valuable on the perspective of agile development.