outmock
Reactive icon

OutMock

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 2 Jul (yesterday)
 by 
0.0
 (0 ratings)
outmock

OutMock

Details
OutMock is a powerful component that lets you simulate (mock) external APIs with ease. Have full control over your API dependencies during (BDD) testing. Verify any interactions with your external REST API's in your tests. Perfect for integration testing, CI/CD pipelines, and sandbox development.
Read more

OutMock makes it easy to create mocks for you external REST API's, so that it becomes a lot easier to write BDD tests (or other OutSystems tests) for code that interacts with external REST API's.

Testing an application that depends on external REST API's is hard because we typically don't control those APIs. We cannot determine how they will react. We cannot have them fail on command, to test certain failure scenarios for example. Or have them return very specific edge-cases that might currently not exist on the actual API.

Using OutMock, you can easily create a fake 'mock' version of the real API and put it in front of the real API as a reverse proxy.

When not running inside an automated test the mock API will forward any requests it receives to the real API. This way your application, when testing it manually in the browser for example, will still work as if the mock was not there.

However, when running in an automated test, the OutMock mock implementation of your external API can be programmed to respond exactly the way you like. You can have it return certain responses for certain requests. Even respond with error codes like 500 or 404.

For more detailed information on how to use OutMock, see the documentation and install the demo.

Also install forge component "OutMock Demo - BDD Tests" for an example on how to create BDD tests using OutMock.

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