Mocking provides a way for APIs to return sample responses even when their backend isn’t capable of providing one. This enables app developers to proceed with implementation and testing and can be useful in a number of scenarios:
– When the API façade is designed first, and the backend implementation comes later or is worked upon in parallel.
– When the backend is temporarily not operational or not able to scale.
For more information on the return-response policy used in this video tutorial, visit: https://msdn.microsoft.com/library/azure/dn894085.aspx?f=255&MSPPError=-2147217396#ReturnResponsehttps://msdn.microsoft.com/library/azure/dn894085.aspx?f=255&MSPPError=-2147217396#ReturnResponse
Publisher: Microsoft Azure
You can watch this video also at the source.