Telecom Domain Project
Telecom Domain Project
Project Overview
Domain: Telecom
Project Description: This project aims to perform comprehensive testing of the APIs provided by the
https://thinking-tester-contact-list.herokuapp.com/ application.
The testing will cover various endpoints to ensure the functionality and reliability of the APIs.
Objectives:
Instructions:
Follow the API document and test all the test cases in Postman apply the chai library assertion and
prepare the script in RestAssured & generate the report.
Testing Flow:
Add User →Get user profile →Update user →Login user →Add Contact →Get contact list →Get
contact →Update full contact →Update partial contact →Logout User
Endpoint: https://thinking-tester-contact-list.herokuapp.com/users
Request Payload:
"firstName": "Test",
"lastName": "User",
"email": "[email protected]",
"password": "myPassword"
Response validation:
Endpoint: https://thinking-tester-contact-list.herokuapp.com/users/me
Headers:
Response Validation:
200 OK
Endpoint: https://thinking-tester-contact-list.herokuapp.com/users/me
Headers:
Request Payload:
{
"firstN ame": "Updated",
"lastName": "Username",
"email": "[email protected]",
"password": "myNewPassword"
200 OK
Endpoint: https://thinking-tester-contact-list.herokuapp.com/users/login
Request Payload:
{
"email": "[email protected]",
"password": "myNewPassword"
Test it in Postman and Get the Token and validate for status code
200 OK
Endpoint: https://thinking-tester-contact-list.herokuapp.com/contacts
headers
Authorization
Bearer {{token}}
Request Payload
"firstName": "John",
"lastName": "Doe",
"birthdate": "1970-01-01",
"email": "[email protected]",
"phone": "8005555555",
"city": "Anytown",
"stateProvince": "KS",
"postalCode": "12345",
"country": "USA"
Endpoint: https://thinking-tester-contact-list.herokuapp.com/contacts
headers
Authorization
Bearer {{token}}
Endpoint: https://thinking-tester-contact-list.herokuapp.com/contacts/
headers
Authorization
Bearer {{token}}
headers
Authorization
Bearer {{token}}
Request Payload:
"firstName": "Amy",
"lastName": "Miller",
"birthdate": "1992-02-02",
"email": "[email protected]",
"phone": "8005554242",
"city": "Washington",
"stateProvince": "QC",
"postalCode": "A1A1A1",
"country": "Canada"
}
Validate for Email and 200 OK
Endpoint: https://thinking-tester-contact-list.herokuapp.com/contacts/
headers
Authorization
Bearer {{token}}
Request Payload:
"firstName": "Anna"
Endpoint: https://thinking-tester-contact-list.herokuapp.com/users/logout
headers
Authorization
Bearer {{token}}