Postman API Testing Tutorial For Login || Study Case: Bobobox.com
List of test cases:
1. Login with all empty fields (email or phone number and password are empty)
2. Login with email is empty, but the password is not
3. Login with email is valid, but the password field is empty
4. Login with an email invalid (the email has spaces in the email body), but the password is valid
6. Login with email without @ symbol
7. Login with email without domain
8. Login with phone number is less than 9 digits
9. Login with phone number is more than 12 digits
10. Login with phone number is alphanumeric
11. Login with password just 1 character, minimum 4 char
12. Login with password just uppercase
13. Login with password just lowercase
13. Login with password same with username (email)
14. Login with password same with username (phone number)
15. Login with email and password is exist on DB
16. Login with email and password not exist on DB
17. Login with email and password registered on DB
18. The email field should be case-insensitive.
Test cases references: https://www.geeksforgeeks.org/test-ca...