Abstract
This paper presents a novel approach to automated test generation for complex telecommunication systems by repurposing model checking technology. By framing a desired "test purpose" as a property that should "never" occur, the authors utilize the SPIN model checker's counter-example generation to synthesize valid, executable test traces. This method addresses the significant challenge of feature interaction and state-space explosion in Intelligent Networks (IN).
Introduction
In modern Intelligent Networks (IN), features like "Free-Phone," "Call Screening," or "Hotline" often lead to unforeseen logical conflicts known as feature interactions. As the number of services grows, the possible system states increase exponentially, making manual test creation for these interactions both slow and prone to error. Traditional tools for exhaustive test generation often fail when confronted with the complexity of modern protocols. This research proposes a method to automate the creation of targeted test traces without requiring an exhaustive exploration of the entire state space.
Methodology: The Toolchain Workflow
The authors developed a multi-stage workflow that integrates several formal method tools to bridge the gap between high-level specifications and executable test suites.
- Modeling: Specifications are initially defined in SDL (Specification and Description Language) and translated into Promela, the input language for the SPIN model checker.
- Stimulation: A "stimulator" process is introduced to regulate external inputs, effectively narrowing the search space and guiding the model checker toward relevant scenarios.
- The "Never-Claim" Innovation: Instead of using SPIN to verify that an error never happens, the authors define a test purpose (e.g., a successful call sequence) and instruct the tool to prove that this sequence never occurs. To disprove this claim, SPIN generates a "counter-example" trace that represents the exact successful path required for the test.
- Post-Processing: The resulting trace is converted into Interworkings (Message Sequence Charts) and finally into TTCN (Tree and Tabular Combined Notation), the industry standard for executable test suites.
System Architecture and Testbed
The methodology was validated using a formal model of an Intelligent Network. The architecture separates basic switching logic from advanced service logic, mirroring real-world telecommunications infrastructure.
Key components of the model include:
- SSP (Service Switching Point): Handles basic call switching and signaling.
- SCP (Service Control Point): The centralized "brain" containing service logic (e.g., OCS and HOT features).
- SDP (Service Data Point): Manages subscriber data and service-specific information.
Key Insights and Results
The primary contribution of this work is the conceptual shift of viewing model checkers as trace synthesis engines rather than just verification tools. By utilizing SPIN’s "supertrace" algorithm, the authors demonstrated that model checking can efficiently navigate state spaces that are otherwise too large for traditional finite state machine exploration.
Key Results include: * Proof of Concept: Successful generation of complex test traces for interacting features, such as a user with a "Hotline" (HOT) being restricted by "Originating Call Screening" (OCS). * Integration: A viable pipeline was established from high-level SDL specifications to industry-standard TTCN test suites.
Limitations and Future Work
While promising, the approach faces challenges regarding determinism. If a system has multiple valid responses to an input, a generated test might fail if the implementation chooses a different valid path than the one synthesized by the model checker. Furthermore, the translation from SDL to Promela currently requires manual effort, which the authors suggest should be automated for industrial-scale applications. Future research will focus on generating "test trees" rather than linear sequences to better accommodate non-deterministic system behaviors.
Summary updated