My earlier post shows an Azure APIM engineer the steps to setup API Management Mocking
This post contains 2 screen shows showing how to add multiple mock responses to a request in APIM:
This post contains 2 screen shows showing how to add multiple mock responses to a request in APIM:
Amend the Get Operation Inbound Response Policy |
Two APIM REST Requests showing dynamic mocking |
Simple OpenAPI YAML 3 Example with Mock up examples for APIM.
To review:
- Open an existing APIM Instance
- Import the YAML file example (download and rename), thi sis a YAML 3.01 specification.
3. Add "Mock Response policy to all Incoming requests, alternatively you can do it at an operation level.
4. Test & Verify
Simple Example to mimic a 500 error for testing my API's
No comments:
Post a Comment