30 Test Cases | 7 Categories | Full Detail: Preconditions, Steps, Expected Results, State Transitions
<script>alert(1)</script> → Submit1; DROP TABLE credits;-- → Submit' OR '1'='1 → Submit&<>" → Submit| TC ID | Test Case Title | Priority | Category | State Covered | FP Ref |
|---|---|---|---|---|---|
| TC01 | Complete Valid End-to-End Transaction | CRITICAL | Happy Path | S0→S9 | — |
| TC02 | Valid — Single Outlet / Single Company | HIGH | Happy Path | S0→S9 | FP09 |
| TC03 | Valid — Maximum Outlets Per Brand | MEDIUM | Volume | S0→S9 | FP07 |
| TC04 | No Brand Selected — Submit Attempt | HIGH | Input Validation | S0→S8 | FP01 |
| TC05 | Empty Top-Up Field | HIGH | Input Validation | S3→S8 | FP03 |
| TC06 | Negative Number Input | HIGH | Input Validation | S3→S8 | FP04 |
| TC07 | Zero Value All Fields | HIGH | Input Validation | S3→S8 | FP06 |
| TC08 | Text / Alphabetic Input | HIGH | Input Validation | S3→S8 | FP05 |
| TC09 | Injection Attack Attempt | HIGH | Security | S3→S8 | FP05 |
| TC10 | Decimal Precision Edge Cases | MEDIUM | Input Validation | S3→S4/S8 | FP07 |
| TC11 | Overflow / Extremely Large Number | MEDIUM | Input Validation | S3→S8 | FP08 |
| TC12 | Mixed Valid & Invalid Fields | HIGH | Input Validation | S3→S8 | FP05 |
| TC13 | API Unreachable — Retry + Abort | CRITICAL | Integration | S5→S8 | FP10 |
| TC14 | API Request Timeout | CRITICAL | Integration | S5→S8 | FP11 |
| TC15 | API 4xx / 5xx Error Response | CRITICAL | Integration | S5→S8 | FP12 |
| TC16 | Duplicate Quotation Prevention | CRITICAL | Integration | S5 idempotent | FP13 |
| TC17 | Malformed API Response | HIGH | Integration | S5→S8 | FP14 |
| TC18 | SMTP Service Unavailable | MEDIUM | S6→S8(email)→S9 | FP15 | |
| TC19 | Missing / Invalid Client Email | MEDIUM | S6→S8(email)→S9 | FP16 | |
| TC20 | Email Content Accuracy | MEDIUM | S6→S9 | FP23 | |
| TC21 | SMS Credit DB Write — Full Failure | CRITICAL | Database | S7→S8 | FP17 |
| TC22 | Partial Credit Mid-Transaction | CRITICAL | Database | S7→S8 | FP18 |
| TC23 | Rollback DB State Verification | CRITICAL | Database | S7→S8 | FP19 |
| TC24 | Audit Log Completeness | HIGH | Database | S9 | FP22 |
| TC25 | Rollback Mechanism Failure | CRITICAL | Database | S8→Admin | FP17, FP19 |
| TC26 | Double-Click Submit Prevention | HIGH | Concurrency | S4→S9 (×1) | FP21 |
| TC27 | Simultaneous Multi-User Submission | HIGH | Concurrency | S4→S9 (×2) | FP20 |
| TC28 | Resubmission After Error | HIGH | Concurrency | S8→S9 | FP13, FP21 |
| TC29 | Credits Split Across Companies | CRITICAL | Allocation | S4→S9 | FP09 |
| TC30 | Mapping Consistency Check | CRITICAL | Allocation | S2→S9 | FP09 |
| TOTAL: 30 Test Cases | 10 CRITICAL | 15 HIGH | 5 MEDIUM | All 10 States Covered | ||||