In this page, we will log a sample defect report that we might encounter during REST API testing.
Sample Defect Report: Rest API Testing
A sample defect report provided below by invoking an API call that responds with an error.
User REST API call /createUser fails with 500 Internal server error
Deploy User API war application on the QA server.
Start the Application server.
Invoke the /createUser REST API call with sample data.
View the Rest API Response.
201 Created HTTP Response.
<Expected result is the user should be created by the API call. >
500 Internal Server Error.
<Actual Result A server error is displayed.>
Defect Priority: P1
<Defect priority P1. The defect is a show stopper bug. The defect blocks testing of other calls.
User is not created and other rest API calls testing need a user.>
API version: 2019.4.1
Servers Logs/ Exception Traces
We can provide the exact 500 exception trace. This information can be collected from the application server logs.
Story Point Estimate:
Measurement of complexity and/or size of a requirement. This is applicable in Agile/Scrum projects.