Test Objectives
Ensure that the integration with the new data provider (Stacuity) works correctly, including:- Data connectivity for active eSIMs
- Proper accounting and recording of consumption
- Accurate generation of CDRs
Test Scope
In Scope:- Activation and real-time monitoring of data eSIMs
- Verification that data usage is transmitted to Telgea systems
- CDR creation for each data session
- Backend APIs for fetching consumption/CDRs
- UI display in admin panel
- Billing and charging logic
- Provisioning of data eSIMs via Stacuity
- Data session establishment
- CDR generation for data usage
- CDR availability via backend API
- Data continuity & reliability
- Error handling
Test Data & Environment
- Use real eSIMs with test profiles activated through Stacuity
- Simulate real usage: browsing, video streaming, idle connections
- Verify corresponding records on Telgea side (CDRs/logs)
- Tools: Swagger / Postman / Admin Logs
Edge Cases to Cover
- SIM is activated but not used → should not generate CDR
- SIM uses 0.01MB of data → test rounding/precision
- SIM changes IP or switches APNs
- Two sessions within 1 minute → should create separate CDRs
- SIM deactivation mid-session
Success Criteria
- All activated SIMs with data usage generate valid CDRs
- No delays, loss, or duplication in CDR processing
- API returns match observed usage
- Integration logs show no communication failures with Stacuity
Suggested Test Flow (Order)
- Validate eSIM provisioning (Stacuity accepts and responds)
- Activate SIM → run traffic → verify connectivity
- Query backend for CDR
- Match usage to observed real traffic
- Run multiple sessions → check for record consistency
- Simulate errors (disconnect, network failure, no SIM pr
