The document summarizes an exploratory testing session of a project management API. Various API endpoints were tested, including creating, retrieving, updating, and deleting projects, categories, and tasks. Inconsistencies in how some fields are handled between PUT and POST requests as well as between category and project connections were discovered.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views
Session 2
The document summarizes an exploratory testing session of a project management API. Various API endpoints were tested, including creating, retrieving, updating, and deleting projects, categories, and tasks. Inconsistencies in how some fields are handled between PUT and POST requests as well as between category and project connections were discovered.
Test Platform Postman https://www.postman.com/
TIME NOTE/BUG/ISSUE
11:34 Getting all the GET
project instances http://localhost:4567/projects works
Returned code : 200
11:36 Creating a new POST project with the http://localhost:4567/projects same title is allowed
Returned code : 200
11:38 Creating a new POST
project with “title” http://localhost:4567/projects specified in the body of the request works Returned code: 201 11:40 Checking that the GET new project was http://localhost:4567/projects created
Returned code : 200
11:42 Using placeholder in GET
the url to fetch a http://localhost:4567/projects/ particular project ?id=2 with id specified in the url
Returned code : 200
11:43 Fetching the project GET using the http://localhost:4567/projects/ convention in the 2 api
Returned code : 200
11:45 Tried changing the POST
id of a particular http://localhost:4567/projects/ project with the 2 targeted change of id in the body , not allowed Returned code: 400 11:46 Tried changing title POST and active boolean. http://localhost:4567/projects/ 2
Returned code: 200
11:47 If using PUT to PUT
update various http://localhost:4567/projects/ fields of the project, 2 if the title isnt specified in the body Returned code: 200 the program empties the title field. Not sure if this a desired behaviour
11:50 Repeating the POST
previous command http://localhost:4567/projects/ with the title not 2 specified. Here POST doesn't Returned code: 200 empty the title string if not provided in the body 11:52 Deleting using the id DELETE specified in the url http://localhost:4567/projects/ 2
Returned code: 200
11:56 Getting the GET
categories of project http://localhost:4567/projects/ 1 1/categories
Returned code: 200
11:59 Creating a new POST category in project http://localhost:4567/projects/ id 1 , 1/categories
Title and description Returned code: 201
(and/or other fields in the body of the request)
12:01 Creating an POST
additional category http://localhost:4567/projects/ in the project id 1 1/categories
Returned code: 201
12:03 Deleting a created DELETE category, with the id http://localhost:4567/projects/ in the url 1/categories/5
12:05 Get returns all todos GET in project id 1 http://localhost:4567/projects/ 1/tasks
Returned code: 200
12:09 Creating a todo for POST
project 3 with id of http://localhost:4567/projects/ the todo in the body 3/tasks
Returned code: 201
12:11 Deleting a particular DELETE
todo from project http://localhost:4567/projects/ 3/tasks/1
Returned code: 200
12:11 Getting todos of a GET project with the id of http://localhost:4567/projects/ the todo specified in 3/tasks the body of the request Returned code: 200
12:15 Getting the GET
categories for http://localhost:4567/projects/ project 3 . it has a 3/categories connection with category id 6 Returned code: 200
12:16 Meanwhile the GET
category 6 doesnt http://localhost:4567/categori have the same es/6/projects connection defined in it. Was expecting Returned code: 200 to find project id 3 in the projects field of the category 6 12:19 Creating a project POST with a todo specified http://localhost:4567/projects in the body. The project doesnt have Returned code: 400 any todos initially
Software Development with Go Cloud Native Programming using Golang with Linux and Docker 1st Edition Nanik Tolaram - The complete ebook is available for download with one click