Skip to content

Message coverage

Coverage tells you what your scenarios exercise, and what they miss: the message types, the fields each carries, the processing and response codes, the flows, compared with what the target’s dialect can carry and the codes its pack defines.

Coverage in the console shows the report for every finished run of the last 30 days. Narrow it to one scenario, or to one suite run by its key (the suite’s page links there), or widen the time.

For a scenario the page shows two columns: planned, what its steps would send and expect as written, and exercised, what its runs sent and got back. They differ when a step times out, a host answers with a different type, or a run never happened.

  • Message types: each request and response type, how many times it was seen, and the fields it carried with their counts.
  • Processing codes (field 3) and response codes (field 39) seen, with counts.
  • Flows: request type to response type pairs, and the sequences scenarios walk (0800 then 0100 then 0400).
  • Gaps: fields the dialect defines that no message carried; response codes the pack defines that no response carried; request types that got no response.

Which dialect and pack: the target simulated host’s when the scenario names one (its dialect and pack settings, or ISO 8583’s edition and base pack), otherwise ISO 8583:1987 and the base pack.

The CI client prints the summary after a suite:

python iso8583sim-run.py --url https://your-platform scenarios/*.yaml --coverage
Coverage: 6 message types, 23 of 128 fields, 4 of 168 response codes, 4 flows; gaps: 105 fields, 164 codes, 0 unanswered

GET /api/coverage?scenario_id= / ?suite= / ?since_hours= / ?capture_id= returns the full report.

The reference page lists the planned coverage of the example scenarios shipped with the Platform, generated from the files, with their gaps. It is a starting point for a regression pack: the gaps name what to write next.

Coverage against the dialect says what could happen. A capture says what does. Choose a capture on the Coverage page (or follow Coverage from a capture on the Captures page) and the report gains a third view, captured, from the traffic: the message types, fields, codes and flows the capture carried, counted by the capture proxy from its frames, masked as the capture is shown.

Beside it, traffic the tests don’t exercise lists what the capture carried that no run in scope did: message types, fields of a type the tests also send, processing codes, response codes and flows, and the share of the traffic’s requests whose kind (type and processing code) no test sent. The other way round, the tests’ message types and response codes the traffic never showed are listed too: tests that prove nothing about this traffic, or that guard against what hasn’t happened yet.

The first fifty thousand frames of a capture are counted, and the page says how many were read. Both views are compared against the same dialect and pack, the tested view’s target.

When the install has a model and scenario generation is on, every gap on the page is a choice: click the fields, response codes, message types, flows and request kinds the next tests should cover, up to twenty of each, and Write tests for the chosen gaps opens a new scenario with the generation panel holding them. The model is told each gap by its number, name or meaning and that every one must be covered by a step; the file lands in the editor, checked, for you to review, change, save and run as any generated scenario (the scenario generation walkthrough). Nothing is saved or run by the assistant, and the request is in the AI audit with the gaps as sent.

  • Loads and replays aren’t counted here: a load’s mix and a replay’s capture have their own reports.
  • Sub-elements (48.10) aren’t counted yet; fields are.