Mock your APIs in Azure API Management and speed up development
App Dev Manager Chris Hanna spotlights how to use Azure API Management to mock APIs that are still under development.
With microservice architecture being as popular as it is today, being able to Mock your services makes it easy to get all your developers coding right away. We no longer have to wait for backend services to be completely developed or spend time coding throw away responses to provide our calling applications. If we know the interface of the service, we can enable our developers to proceed with implementation and testing of the APIM instance even if the backend is not available to send real responses. Ability to mock responses can be useful in a number of scenarios:
- When the API façade is designed first and the backend implementation comes later. Or, the backend is being developed in parallel.
- When the backend is temporarily not operational or not able to scale.