0% found this document useful (0 votes)
16 views8 pages

TEST Cases1

Uploaded by

eeeskb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views8 pages

TEST Cases1

Uploaded by

eeeskb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

TC-ID Pre-requisite Test step

Step 01- Open Postman tool


Step 02- Create the workspace
Step 03- Create the Collection
1- Network Connection
TC-01 Step 04- Add GET request
2- API URL
Step 05- Copy API and Paste the API
Step 06- Send the API

Step 01- Open Postman tool


Step 02- Create the workspace
Step 03- Create the Collection
1- Network Connection
TC-02 Step 04- Add GET request
2- API URL
Step 05- Copy API and Paste the API
Step 06- Send the API

Step 01- Add POST request


1- Network Connection
Step 02- Copy API and Paste the API
TC-03 2- API URL
Step 03- Copy payload and paste payload in body-raw
3- Payload
Step 04- Send the API

Step 01- Add POST request


1- Network Connection
Step 02- Copy API and Paste the API
TC-04 2- API URL
Step 03- Copy payload and paste payload in body-raw
3- Payload
Step 04- Send the API

Step 01- Add POST request


1- Network Connection
Step 02- Copy API and Paste the API
TC-05 2- API URL
Step 03- Copy payload and paste payload in body-raw
3- Payload
Step 04- Send the API

Step 01- Add PUT request


1- Network Connection
Step 02- Copy API and Paste the API
TC-06 2- API URL
Step 03- Copy payload and paste payload in body-raw
3- Payload
Step 04- Send the API
1- Network Connection Step 01- Add DELETE request
TC-07 2- API URL Step 02- Copy API and Paste the API
Step 06- Send the API
URL Request Body/Payload Test Data

https://reqres.in/api/users/2 GET NA NA

https://reqres.in/api/users/23 GET NA NA

{
"name": "morpheus",
https://reqres.in/api/users POST NA
"job": "leader"
}

{
"email":
https://reqres.in/api/register POST "[email protected]", NA
"password": "pistol"
}

{
"email":
https://reqres.in/api/register POST NA
"sydney@fife"
}

{
"name": "morpheus",
https://reqres.in/api/users/2 PUT NA
"job": "zion resident"
}
https://reqres.in/api/users/2 DELETE NA NA
Response Expected Result

{
"id": 2,
"email": "[email protected]",
"first_name": "Janet",
"last_name": "Weaver",
"avatar": "https://reqres.in/img/faces/2-image.jpg"
Should be able to get the details of
},
the single user
"support": {
"url": "https://reqres.in/#support-heading",
"text": "To keep ReqRes free, contributions towards
server costs are appreciated!"
}
}

Should not be able to get the single


{}
user

{
"name": "morpheus",
"job": "leader", Should be able to create details for
"id": "257", the single user
"createdAt": "2024-07-19T09:42:07.903Z"

{
"id": 4,
User Should be able to register
"token": "QpwL5tke4Pnpja7X4"
}

{
"error": "Missing password" User Should not be able to register
}

{
"name": "morpheus",
User Should be able to update
"job": "zion resident",
details
"updatedAt": "2024-07-19T09:54:45.812Z"
}
Should be able to delete details able to delete details
Actual Result Status Code Remark

Able to get the details of the single user 200 Pass

Not able to get the single user 400 Pass

Able to create details for the single user 201 Pass

User is able to register 200 Pass

User is not able to register 400 Pass

User is able to update details 200 Pass


User is able to delete details 204 Pass

You might also like