Understanding API Test execution results


Issue Summary:


a. Unable to find what exact API error/output for a failed API test execution. 


b. Unable to find where which API end point is called.




Solution:


In the test run result shown above, we can see the test has one step where the API test method has been called and it is showing status as failed. In such cases, if you want to understand details of exact API output, API end point detail, and the error message, start by clicking on the test step. 

 

 After clicking the test step, the input and output data of the method will be shown in the respective tabs on the right. Here, in the output fetched by the API, it is showing the error message. If you want to see details such as API end point for this test, click to expand the Step Information tab as shown.



In the Step Information tab, we can see method name and the URI or API end point used in this test case. Now, to understand where exactly the API failed, click the Debug Info tab. 



The Debug Info Tab shows the reason for failure and the corresponding error message. 



To learn how to create SOAP API test cases,
click here

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article