ADORSYS-GIS / webank

Mobile banking platform for financial inclusion
5 stars 2 forks source link

Create Postman collection to test every single endpoint in the BankAccountAccess module #50

Open francis-pouatcha opened 1 month ago

francis-pouatcha commented 1 month ago

Creating a Postman Collection for Testing Endpoints in the BankAccountAccess Module

To thoroughly test the endpoints in the BankAccountAccess module, we'll create a structured Postman collection. This collection will include tests for creating, modifying, viewing, and deleting BankAccountAccess objects, as well as testing various roles such as HolderAccess, SeniorManagerAccess, ManagerAccess, AgentAccess, AuditorAccess, and PoAAccess.

Here's a detailed approach to creating the Postman collection for each of these operations:

1. Base URL and Environment Setup

2. Create BankAccountAccess

3. Get All BankAccountAccess Records

4. Get Specific BankAccountAccess by ID

5. Update BankAccountAccess

6. Delete BankAccountAccess

7. Test Scenarios for Access Roles

7.1 HolderAccess

7.2 SeniorManagerAccess

7.3 ManagerAccess

7.4 AgentAccess

7.5 AuditorAccess

7.6 PoAAccess

8. Error Handling and Edge Cases

9. Testing Open Banking Use Cases (Optional)

10. Postman Collection Structure

Organize the Postman collection into folders for easy navigation:

11. Environment Variables and Pre-Scripts