TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Api Testing

Sample Defect Report -Rest API Testing

Mantis Bug Tracker

Overview

In this tutorial, we will log a sample defect report that we might encounter during REST API testing. The bug tracker tool used is MantisBT. 

Sample Defect Report: Rest API Testing

A sample defect report provided below by invoking an API call that responds with an error.

Defect Summary:

User REST API call /createUser fails with 500 Internal server error

Reproduction Steps:

Detailed reproduction steps for the developers to reproduce the issue on the dev environment. 

Sample Steps

  • Deploy User API war/ear application on the QA server.
  • Start the Application server.
  • Invoke the /createUser REST API call with sample data using the Rest client.
  • Examine the Rest API Response.

Expected Result:

201 Created HTTP Response.

<Expected result is that the user should be created in the system by the API call. >

Actual Result:

500 Internal Server Error.

<Actual Result A server error trace is displayed.>

 

Sample API Defect Report

Defect Priority: P1

<Defect priority P1. The defect is a show stopper bug. The defect blocks testing of other API calls.

User is not created and other Restful API calls testing need a user authorization token.>

Defect Environment:

QA Environment.

API version: 2019.4.1

Rest client used like Postman tool version, User-Agent, etc.

Screenshots:

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.

Bug Report

Bug report logged using Mantis Bug Tracker tool. 

 

API Bug Report MantisBT

 

Steps to create a bug report in MantisBT:

https://www.testingdocs.com/report-an-issue-in-mantis-bug-tool/

–

Mantis Bug Tracker Tutorial:

https://www.testingdocs.com/mantis-bug-tracker-tutorial/

Mantis Website:

https://www.mantisbt.org/

Related Posts

Postman Chrome deprecated Notice

Api Testing /

Download & Install Postman Chrome App

Testlink REST API

Api Testing /

How to execute Rest API call using Postman

Postman API Tool

Api Testing /

Postman API Tool

SoapUI Tool

Api Testing /

SoapUI -API Testing Tool

Api Testing /

REST API Web Services

‹ Common Gateway Interface› REST API Web Services

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version