Open UnTamedLaw opened 4 years ago
Test Objective: Standard POst request Test Methodology: Post request on Postman via https://api.2edusite.com/feature-sprint5/keyholder/ using { "first_name" : "Kevin ", "last_name" : "Law", "email" : "kevinlaw@gmail.com", "phone" : "2065554444", "keyholder_type_id" : "1" } Bug Reports: None, It successfully got entered in a reflected
Test Objective: Incorrect Post request using an incorrect keyholder type id Test Methodology: Post request on Postman via https://api.2edusite.com/feature-sprint5/keyholder/ using { "first_name" : "Kevin ", "last_name" : "Law", "email" : "kevinlaw@gmail.com", "phone" : "2065554444", "keyholder_type_id" : "as1" } Bug Reports: Reflects a 500 status code, perhaps it should be a 400
Test Objective: Incorrect Post request using a super long phone number Test Methodology: Post request on Postman via https://api.2edusite.com/feature-sprint5/keyholder/ using { "first_name" : "Kevin ", "last_name" : "Law", "email" : "kevinlaw@gmail.com", "phone" : "20655544adsffdsafdadfasafdsf44", "keyholder_type_id" : "1" }
Bug Reports: Successfully posted. This definitely should not as the phone number shouldn't be allowed to be longer than 14 characters.
Test Objective: Standard Get Keyholder Test Methodology: Get request on Postman via https://api.2edusite.com/feature-sprint5/keyholder/ Bug Reports: None, it successfully shows all the Keyholders in the database
Test Objective: Standard get request with limits to 5 and skipping the first 5 keyholders Test Methodology: Get Request on Postman via https://api.2edusite.com/feature-sprint5/keyholder?limit=5&skip=5 Bug Reports: None, it successfully shows 5 keyholders.