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, 1230👍, 0💬
Popular Posts:
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
How to use the "rewrite-uri" Policy Statement for an Azure API service operation? The "rewrite-uri" ...
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
How to run PowerShell Commands in Dockerfile to change Windows Docker images? When building a new Wi...
Where is API Management Service on my Azure Portal? If your IT department has signed up for an Azure...