Skip to content

Internal Accceptance Testing

NFilin10 edited this page Dec 17, 2024 · 5 revisions

Internal Acceptance Testing

Test Case ID Related Use Case Initial State/Input Expected Outcome Actual Outcome Fix Required? Result After Fix
TC-1 Create New User Account (UC-1) Send POST request with valid user details to REST API. New user created in AD, success response returned. As expected. No N/A
TC-2 Create New User Account (UC-1) Send POST request with invalid (missing required fields) user details. System returns error message specifying the issue. Error message returned. No N/A
TC-3 Execute Command (UC-2) Send valid command with correct format to the API. Command successfully processed and executed in AD. As expected. No N/A
TC-4 Execute Command (UC-2) Send invalid command (incorrect format). System returns error message indicating invalid format. Error message returned. No N/A
TC-5 Update User Account (UC-4) Send PUT request with valid updated details for an existing user. User account successfully updated in AD. User update successful. No N/A
TC-6 Update User Account (UC-4) Send PUT request with missing/invalid update details. System returns error message about invalid input. Input validation correct. No N/A
TC-7 Delete User Account (UC-5) Send DELETE request with a valid user ID. User account deleted from AD, success confirmation returned. User deleted successfully. No N/A
TC-8 Delete User Account (UC-5) Send DELETE request for a non-existent user ID. System returns "User not found" error message. Error message displayed. No N/A
TC-9 Reset User Password (UC-6) Send PUT request with valid user ID and new password meeting format requirements. Password reset successfully, success confirmation returned. Password reset successful. No N/A
TC-10 Reset User Password (UC-6) Send PUT request with invalid password format. System returns error message indicating invalid format. Error message displayed. No N/A
TC-11 Reset User Password (UC-6) Send POST request for a non-existent user. System returns "User not found" error message. Error message displayed. No N/A
TC-12 Enable/Disable User (UC-7) Send PUT request with a valid user ID and "enable" action. User account enabled, success confirmation returned. User enabled successfully. No N/A
TC-13 Enable/Disable User (UC-7) Send PUT request with a valid user ID and "disable" action. User account disabled, success confirmation returned. User disabled successfully. No N/A
TC-14 Enable/Disable User (UC-7) Send PUT request for a non-existent user ID. System returns "User not found" error message. Error message displayed. No N/A
TC-15 Add/Remove Users from Groups (UC-8) Send POST/DELETE request with valid user and group details. User successfully added/removed from group in AD. As expected. No N/A
TC-16 Add/Remove Users from Groups (UC-8) Send POST/DELETE request for a non-existent user or group. System returns "User or Group not found" error message. Error message returned. No N/A
TC-17 Create New Group (UC-12) Send POST request with valid group details (unique name, description). Group created successfully in AD, success response returned. Group creation successful. No N/A
TC-18 Create New Group (UC-12) Send POST request with duplicate group name. System returns error message indicating duplicate group name. Error message returned. No N/A
TC-19 Delete Group (UC-13) Send DELETE request with a valid group ID. Group deleted successfully in AD, success response returned. Group deletion successful. No N/A
TC-20 Delete Group (UC-13) Send DELETE request for a non-existent group. System returns "Group not found" error message. Error message returned. No N/A
TC-21 List Members of Group (UC-14) Send GET request with valid group ID. System returns a list of group members. Group members retrieved. No N/A
TC-22 List Members of Group (UC-14) Send GET request for a non-existent group. System returns "Group not found" error message. Error message returned. No N/A

Testing Notes

  1. Coverage: All primary success scenarios and alternate flows were tested, ensuring comprehensive validation.
  2. Error Handling: Error scenarios, such as missing entities or duplicate group names, were validated to confirm proper system responses.
  3. Fixes: No fixes were required during internal testing.

Clone this wiki locally