Feature ID Feature Name Scenario ID
12345 Users profile Details
6
Scenario
Gorest_1_Verify Customer getting profile details for single user
Gorest_2_Verify Customer getting profile details for all user
Gorest_3_Verify Customer adds his own profile details
Gorest_4_Verify Customer update his own profile details
Gorest_5_Verify Customer delete his own profile details
Gorest_6_Verify Customer delete all users details
Scenario Description
After hitting the url customer is able to to get his basic personal details for single user
After hitting the url customer is able to to get his basic personal details for all user
Customer is able to add his own profile details in Gorest
Customer is able to update his own profile details in Gorest
Customer is able to delete his details
Customer is able to delete all users details
Precondition Test Case Name Steps
[Link] GET to get single users details
[Link] users name
[Link] users email
Existing Customer Test Rest Api GET single
[Link] users gender
[Link] users status
[Link] GET to get all users details
[Link] users name
Existing Customers Test Rest Api GET all [Link] users email
[Link] users gender
[Link] users status
[Link] POST to add single users details
[Link] users name
[Link] users email
New Customer Test Rest Api POST
[Link] users gender
[Link] users status
[Link] PUT to update users details
Existing Customer Test Rest Api PUT
[Link] users email id
Existing Customer Test Rest Api DELETE Run DELETE to delete users details
Existing Customer Test Rest Api DELETE Run DELETE to delete all users data
Target URL validation point/Expected Result
"name": "Robert",
[Link] "email": "rob1037@[Link]",
"gender": "male",
"status": "active"
},
[Link]
{
"name": "Sunita Khedkar",
"email": "SunitaKhedkar@[Link]",
[Link]
"gender": "Female",
"status": "Active"
}
{
"name": "Sunita Khedkar",
"email": "SunitaKhedkar123@[Link]",
[Link]
"gender": "Female",
"status": "Active"
}
[Link]
[Link]
Actual Result Expected Status code Actual status Code Actual Response Time
{
"id": 2318,
"name": "Robert",
"email": "rob1037@[Link]", 200 200 779 ms
"gender": "male",
"status": "active"
},
200 200 765ms
{
"name": "Sunita Khedkar",
"email": "SunitaKhedkar@[Link]",
201 201 200ms
"gender": "Female",
"status": "Active"
}
{
"name": "Sunita Khedkar",
"email":
"SunitaKhedkar123@[Link]", 200 300ms
"gender": "Female",
"status": "Active"
}
200
200
Pass/Fail
Pass
pass
pass
pass
fail
fail