Suppose you want to perform integration tests for an API which is dependent on a 3rd party API, these services are deployed on different testing servers as the below diagram
This repository provides examples how to use Rio as a mock server to simulate HTTP/gRPC endpoints. While this can be used for mocking HTTP requests in a JS based application, it is NOT recommended
- Create stable test suites by isolating your system with 3rd parties
- Able to simulate diversed scenarios to test how your system handles responses