TEST Cases1
TEST Cases1
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!"
}
}
{
"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