Debug API Operation Test
How to debug issues in an API Operation Test?
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:
2017-09-23, 117👍, 0💬
How To Return a Reference from a Function? in PHP? To return a reference from a function, you need t...
How To Select an Exiting Database in PHP? The first thing after you have created a connection object...
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that c...
Where to find tutorials on how to work with MySQL Database in PHP? A collection of tutorials to answ...
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may wa...