Tools, FAQ, Tutorials:
Debug API Operation Test
How to debug issues in an API Operation Test?
✍: FYIcenter.com
The first step to debug an API operation issue is to review the "trace" information
in the test result.
1. Repeat the test on "Add new user" operation of the "First API".
2. Click "Try it" and scroll down.
3. Click "Send". You see test result displayed.
4. Click the "Trace" tab next to "Response". You see trace information displayed in JSON format.
The "Trace" information is divided into multiple sections:
If the Backend section is empty, the root cause of the issue is that the default API policy did not forward the request to the backend service.
The picture below shows you steps on how to review test trace information to debug API operation issues:
⇒ View Policy of an API Operation
⇐ Test API Operation Request Body Examples
2018-03-28, ∼2167🔥, 0💬
Popular Posts:
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? ...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
What are "*..." and "**..." Wildcard Parameters in Function Definitions? If you want to define a fun...
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service o...
How to validate the id_token signature received from Azure AD v2.0 authentication response? You can ...