Skip to main content

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
Out of Scope:
  • UI display in admin panel
  • Billing and charging logic
Test Phases and Checklist Phase 1: Provider-level Integration (Backend only) What to Test:
  1. Provisioning of data eSIMs via Stacuity
   - Confirm SIM activation triggers Stacuity provisioning    - SIM receives IP and can establish data sessions
  1. Data session establishment
   - Device can successfully connect to the internet using the data eSIM    - Test with different device types / OS (Android/iOS/IoT if relevant)
  1. CDR generation for data usage
   - Every session generates a corresponding CDR    - CDR includes: SIM ID / ICCID, Timestamp, Volume, IP details
  1. CDR availability via backend API
   - Check response from /cdrs or /usage endpoints    - Validate fields, format, and completeness
  1. Data continuity & reliability
   - Validate consistent CDR generation
  1. Error handling
   - What happens if: Stacuity error, no session, partial usage Phase 2: UI Verification     - Mapping of backend CDRs to frontend representation    - Company admin visibility for per-SIM usage    - Filters, pagination, edge cases like empty state

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)

  1. Validate eSIM provisioning (Stacuity accepts and responds)
  2. Activate SIM → run traffic → verify connectivity
  3. Query backend for CDR
  4. Match usage to observed real traffic
  5. Run multiple sessions → check for record consistency
  6. Simulate errors (disconnect, network failure, no SIM pr