Skip to content

End-to-end testing at a telecom operator: from order to bill

B2Bnetwork team · · 6 min

IT in telecom

In brief

An end-to-end test at a telecom operator checks whether a single business event passes correctly through every system: from the order in a sales channel, through network activation and usage records, to the line on the bill and the payment. You need few such tests, but they have to be well chosen, have checkpoints at every stage and run with time simulation, because otherwise you wait a whole billing cycle for the result.

What an end-to-end test at an operator covers

The order-to-bill path runs through a dozen or more systems, often from different vendors:

  1. the sales channel: online store, app, retail store, call center;
  2. CRM and the product catalog;
  3. order management and the orchestrator that decomposes the order into services;
  4. activation and configuration in the network, service and resource inventory;
  5. the network, which generates usage records;
  6. mediation, which collects and cleans them up;
  7. rating and billing;
  8. the bill, payment, collections.

Testing each system on its own is not enough, because most defects appear at the seams: a catalog offering the orchestrator cannot decompose, a service active in the network but unknown to billing, a discount applied in CRM and missing from the bill. The test pyramid still applies: most checks happen at lower levels, and end-to-end tests confirm that the whole works. The proportions are discussed in the article on the test pyramid.

Scenarios worth starting with

Choose scenarios by risk and by the number of customers they affect. A typical starter set:

ScenarioKey seamsWhat to check at the end
New contract with a phone on installmentsstore, CRM, ordering, logistics, billinginstallments and the monthly fee on the first bill, proration for a partial period
Tariff change mid-cycleCRM, catalog, activation, billingtwo rates split by the change date, data allowances recalculated
Number ported in from another operatorordering, porting system, network, billingthe number works from the port date, charges start from that date
Suspension for non-payment and restorationbilling, collections, activationbarring and unbarring in the network, no charges for the suspension period
Roaming outside the EUnetwork, mediation, ratingthe roaming partner's records rated according to the price list
Contract terminationCRM, ordering, activation, billingservice switched off, resources released, the final bill and any early termination fee

Each row is a separate family of cases with variants: a different channel, bundle or business customer. The details of testing rating itself are in the article on telecom billing.

Checkpoints, not just the final result

A test that only checks the amount on the bill tells you “something is wrong” when it fails, but not where. That is why every scenario has checkpoints:

  • order: the state and items of the order after submission and after fulfillment;
  • inventory: do the service and resources have the right state and dates;
  • network: does the subscriber profile have the right services and allowances;
  • usage: did the records generated in the test reach rating through mediation, in the same number;
  • rating: did each event get the right rate;
  • bill: line items, amounts, tax and customer details.

Checkpoints are best verified through APIs, not screens. Systems compliant with TM Forum Open APIs make this easier, because order state (TMF622), usage (TMF635) and the bill (TMF678) are read the same way in every system. The path usage records take is described in the article on CDR mediation.

Time, the billing cycle and data

The biggest obstacle in end-to-end testing at an operator is time. A bill is produced once a month, and a tariff change scenario needs two cycles. There are three ways around it, often combined:

  1. Shifting the system date in the test environment, together for all systems involved in the scenario. This takes discipline, because one system on the real date ruins the whole run.
  2. Short billing cycles in the test environment, for example daily instead of monthly, with the same rules.
  3. Running cycle close on demand for a group of test customers.

Test data must be consistent across systems: the same customer, number and contract in CRM, the network and billing. A production copy looks simpler, but it needs anonymization, as we discuss in the article on test data and GDPR. A generator that creates the customer through the same APIs as the sales channel and records the identifiers for later steps usually works better.

The environment: simulators and dependencies

A full environment with a real network is expensive and rarely available. In practice some elements are replaced with:

  • network simulators that accept activation commands and generate usage records with the content you specify;
  • service virtualization for partners: the number porting system, the payment provider, the courier;
  • stubs for systems that do not matter in a given scenario.

It is important that simulators can respond with errors and delays, not just success. Finally, before a major change goes live, a few runs are worth doing in the environment closest to production, with real network elements. Such runs often fall into night windows, described in the article on night work at an operator.

Automation and organization

End-to-end tests are automated mainly at the API level: submitting the order, reading states, generating usage, closing the cycle, reading the bill. Screens are tested in a few channel scenarios, not in every run. The automation should record identifiers from each step, so that when something fails you can immediately find the order and the records in every system.

Organizationally, every path needs an owner who knows the whole flow, not just their own system. When several teams and vendors share an environment, one platform for running and reporting tests helps, as in the TestFactory scenario for an operator. Risk-based test planning is part of the ISTQB Foundation Level syllabus, and you can take the exam at our accredited exam center.

Questions and answers

How many end-to-end tests does an operator need?

Few compared with lower-level tests, but enough to cover the key paths and their variants: channels, bundles, consumer and business customers. Their number comes from risk analysis, not from the number of screens. Every new end-to-end test should check a seam that cannot be checked lower down, because these tests are the most expensive to maintain.

How do you test a bill without waiting a month?

By shifting the system date in the test environment, using short billing cycles or closing the cycle on demand for test customers. The key point is that every system in the scenario sees the same time. The rating rules must be identical to production; only the cycle length changes.

Can end-to-end tests be fully automated?

Mostly yes, at the API level: order, states, usage, bill. What usually stays manual is screen testing in sales channels, scenarios with a physical device and runs in an environment with a real network. Automation also does not replace analyzing results when the amount on the bill differs from the expected one by a few cents.

How does an end-to-end test differ from an integration test?

An integration test checks how two or a few systems work together at one seam, for example CRM with order management. An end-to-end test checks a whole business event from start to finish, across all systems, from the customer's point of view. You need both: integration tests point to the defect faster, end-to-end tests confirm the path works as a whole.

What it looks like in a project

Changing an operator's systems? Talk to an engineer who has done it in night windows.

Let's talk

Read more: IT in telecom