In brief
BSS regression is automated in two parts: offers are checked with tests generated from the product catalog, and billing is checked by comparing bills against golden bills. Both kinds of tests run through APIs rather than screens, use a test data factory and control time so that a billing cycle closes in an hour. What stays manual is the review of new offers and the analysis of differences the automation cannot classify.
Why BSS regression grows faster than the test team
Every new offer adds combinations: bundle, discount, device on installments, contract term, sales channel, consumer or business customer. Old offers do not disappear, because customers still have them, so the system has to handle a tariff change from every one of them. After a few years, manual regression before a release takes weeks, and the team tests only what changed, hoping the rest still works.
Automation has two goals here. The first is to cut pre-release regression from weeks to hours. The second is to catch side effects: changing a discount rule in one offer should not change the bill of a customer on an offer from three years ago. The test pyramid still applies: most checks happen at the API and rule level, and full runs across all systems are covered in a separate article on end-to-end testing at a telecom operator.
Offer regression: cases from the catalog, not a spreadsheet
When the product catalog is a single source of truth, test cases can be generated from it. The automation reads offers, prices and compatibility rules (for example through a catalog API compliant with TMF620) and builds a set of checks for each offer:
- Availability: the offer appears in the channels and segments where it should, and nowhere else.
- Compatibility rules: mutually exclusive bundles cannot be combined, and required services are added automatically.
- Price: the cart total matches the catalog price, including discounts and installments.
- Order: an order placed through the API (for example TMF622) reaches the completed state, and the right services appear in the inventory.
- Tariff change: a customer on every offer from which the move is allowed can switch to the new offer.
The full product of combinations is usually too large, so teams use pairwise testing: every pair of values (offer and channel, offer and discount, discount and contract term) appears at least once. An example for one new offer:
| Dimension | Values |
|---|---|
| Channel | online shop, retail store, telesales |
| Customer | new, existing with number porting, existing with tariff change |
| Device | no device, phone on installments |
| Term | 12 months, 24 months |
| Discount | none, discount for marketing consents |
The full product is 72 cases, while a pairwise set fits in about ten. How to organize the catalog itself so that tests can be generated from it is covered in the operator's product catalog.
Billing regression: golden bills
You do not test billing by checking individual fields. The most effective method is golden bills. A set of test customers with known contracts and known usage goes through cycle closing, and the automation compares each line of the new bill with the approved bill from the previous run (for example read through the TMF678 bill API).
- The customer set covers the offers with the most subscribers, offers with unusual rules, business customers with many numbers, mid-cycle tariff changes, suspensions and roaming.
- Usage is stored in files and fed to mediation the same way every time, with the same dates.
- The comparison covers lines, amounts, tax rates and totals. A difference of one cent is a defect until someone proves it comes from an intended change in rounding.
- Approving the golden set: when a release changes bills on purpose (a new price list), an analyst approves new golden bills for the affected customers. All other bills must stay unchanged.
Such a test catches defects that a single offer test does not see: a discount applied twice across two numbers, proration for a partial period calculated from the wrong date, tax on a line that should have none. Typical rating defects are described in telecom billing.
Automation layers
| Layer | What it contains | Who builds it |
|---|---|---|
| Business steps | "place order", "change tariff", "close cycle", "get bill" | automation engineers |
| System adapters | CRM, ordering and billing API calls, network stub control | automation engineers with the system teams |
| Data factory | creates customers, numbers and contracts through the same APIs as the sales channel | test data team |
| Time control | date shifting, short cycles, on-demand cycle closing | environment administrators |
| Report | results by offer and system, IDs from every step | automation engineers |
Tests are written in the language of business steps, so an analyst can read them without knowing the code. When a system changes, you fix the adapter, not hundreds of tests. API and contract tests between systems are covered in API test automation.
Upkeep: flaky tests and data
An automation suite the team does not trust stops being run. Three rules help keep that trust:
- Each test creates its own data or takes it from a pool and returns it. Tests that share one customer break each other.
- A flaky test goes into quarantine with an owner and a fix date, instead of blocking the release or being ignored.
- The result points to the system and the step. A report that says "regression failed" without an order ID and step name means an hour of searching.
When several teams and vendors automate tests in different tools, you need a shared platform with a step repository, a data catalog and a schedule, as in the TestFactory case study for an operator. B2Bnetwork engineers build this kind of test automation, from choosing the paths to running them in CI, and the method is described in the ISTQB syllabus for test automation engineers.
Questions and answers
Where should you start automating BSS regression?
With the offers that have the most customers and golden bills for them. First build the data factory and a few business steps (order, tariff change, cycle closing), then offer tests and bill comparison. Screen tests and rare offers come later, once the automation already shortens pre-release regression.
How much BSS regression can be automated?
Most offer, order and bill checks, because they run through APIs and have a clear outcome. What stays manual is the review of new offers at their first release, retail store screen tests, scenarios with a physical device and the analysis of differences whose cause the automation does not know. Express the goal in critical paths, not as a percentage of all cases.
How do you test billing without waiting for the end of the month?
Through time control in the test environment: shifting the date for all systems at once, short billing cycles or on-demand cycle closing for test customers. The rating rules must be the same as in production. Golden bills are compared after every such cycle close.
What if the BSS vendor supplies its own testing tool?
Check whether it covers only the vendor's system or the whole path including CRM, network and the bill. A vendor tool often tests its own modules well but does not see the interfaces with other systems. Shared business steps and the data factory can use the vendor tool as one of the adapters.