SlideShare a Scribd company logo
Model-based TTCN-3 testing of a
mobile operator charging subsystem

            T3UC, Beijing
              July 2010

          Dr. Andres Kull, Elvior
          Dr. Kullo Raiend, Elvior
System Under Test
► Customer:  Estonian mobile operator EMT (www.emt.ee)
► SUT: post-paid data charging subsystem in EMT
► CS: provided by Ericsson (www.ericsson.com)
► CS is customized using EMT business rules


                                   Billing Subsystem

                        Charging                       Provisioning
                    accumulators
     GSM/WCDMA
                                SUT: Charging Subsystem
       Network   Data session
CS core functionality

► Subscribers  are provisioned by billing subsystem
► Provisioning the charging rules to the subscribers
► According to the data sessions the subscriber
  account is credited by CS

                                        Billing Subsystem
                                            Billing Sybsystem

                            Charging                      Provisioning
                         Charging reports                   Provisioning
                       accumulators
      GSM/WCDMA
        GSM/WCDMA      Data usage
                                    SUT: Charging Subsystem
                                         Charging Subsystem
        Network
          Network   Data session
CS testing bottlenecks

► Ericsson  upgrades CS software from time to time
► Customer introduces new subscription packages or
  changes existing ones from time to time
► Manual testing is time-consuming and error-prone
► Time for testing the updates is usually very short
Customer’s hopes from MBT

► Shorten the regression testing time
► Increase the test coverage
► Avoiding risks caused by the human factor in
  executing huge amount of boring tests manually
► Reducing the amount of manual tests significantly
MBT workflow used
                  CS model in Poseidon
                  for UML CASE tool


                                                    Generator
                                                                TTCN3- test scripts

                         Develops
                                         Defines
                                         coverage
CS Requirements     Analyses



►    System requirements are modelled                            TTCN-3 test tool

►    Tests are generated from models
►    Resulting tests have predefined coverage                        SUT: CS
CS features under test

► Subscribers provisioning
► Changing subscription profiles
► Changing month and day
► Bonus data amount usage
► Free data amount usage
► Priced data usage within HPLMN limit
► Priced data usage in the case of unlimited HPLMN
► Data usage if HPLMN limit is exceeded
Main test scenario                                                    TTCN-3 test tool
                                                            Network         Billing subsystem

                                                               SUT: Charging Subsystem (CS)




                                 TTCN-3 test tool
Billing subsystem                                                     Network
                              Charging Subsystem (CS)
             Provision a subcsriber          Generate data session
          Ask charging accumulators            for the subscriber
              Charging accumulators

      Test if the subscriber account is credited as described by charging rules
CS model

► State machine models the behaviour of CS
► Only few model states (forBonus, forFree, noCharge,
  Priced, LimitExceeded)
► 16 context variables
  ► Properties
            of subscriber profiles
  ► CS accumulators for different purposes

► 106   transitions
  ► Express CS and environment transactions
  ► Used for modelling the charging rules
Tests generation and execution

Coverage        Generation      Test lengh    Amount of Execution
                  time         (transitions) TTCN-3 (LOC) time
All transitions   2 min             213         9 213     5 min
All transition     57 min        1 672        22 765     24 min
pairs
All transition   18 h 49 min     12 807       89 191       5h
triples
Detected errors

► Note:  CS was quite well manually tested before the
  MBT started
► In total 15 new errors were detected
► Detected charging errors could spoil the reputation of
  the operator
Project process, time spent
►   Beginning (94 h, 31%)
     ► Introduction to problem domain
     ► Setting up test environment
     ► Executing 1st generated test case
►   Incremental development to cover the scope
    (142 h, 47%)
     ► Model updates                                Results Results Model
                                                         Results   Model Model
     ► Test generation                              analysis analysis uddate
                                                        analysis uddate uddate

     ► Test execution
     ► Analysing results                               Test Test Test Test Test Test
                                                    executionexecutiongeneration
                                                        execution generationgeneration
►   Refactoring and test generation for different
    subscription profiles (32 h, 11%)
►   Creating of documentation (32 h, 11%)
Test automation specialists feedback

► Higher  test coverage than manually scripted
► The tests building productivity increases significantly
► Long generated test cases detected otherwise hard
  to find errors
► Significant tests maintenance costs decrease is
  foreseen
► Requirements traceability and results analysis is the
  key issue that should be improved in MBT
Conclusions

► Manual   to MBT  reduces test quality decrease
  caused by human factor
► All transition test coverage tests allow quickly (5min)
  verify in regression test the past functionality
► MBT revealed significant amount of errors that were
  not disclosed in manual tests
► At the end of project the testing staff was convinced
  that CS is ready for taking into real use
► MBT is the technology that EMT will start to use
Thank you!

      More information:
        www.elvior.com




        Cut your sofware testing expenses
                         Functional black-box tests automation

More Related Content

PDF
Integer quantization for deep learning inference: principles and empirical ev...
PPTX
Feedback Queueing Models for Time Shared Systems
PPTX
A QoS-Adaptive Framework for Screen Sharing Over Internet
PPTX
BIRTE-13-Kawashima
PPTX
Feedback queuing models for time shared systems
PPTX
Instrumenting Open vSwitch with Monitoring Capabilities: Designs and Challenges
PDF
HAWQ-V3: Dyadic Neural Network Quantization
PPSX
Concept of Pipelining
Integer quantization for deep learning inference: principles and empirical ev...
Feedback Queueing Models for Time Shared Systems
A QoS-Adaptive Framework for Screen Sharing Over Internet
BIRTE-13-Kawashima
Feedback queuing models for time shared systems
Instrumenting Open vSwitch with Monitoring Capabilities: Designs and Challenges
HAWQ-V3: Dyadic Neural Network Quantization
Concept of Pipelining

Similar to Model based ttcn-3 testing of a mobile operator charging (20)

PDF
Elvior Company Introduction T3UC Beijing 2010
PDF
Model-based Testing Principles
PPT
12 Rational Solo Pruebas 2009
PPTX
IT & telecommunication
PPT
T12 exploitation testing - presentation 1.2
PDF
SOA Testing As A Service
PDF
Computaris Top Testing Suite (Full Demonstration)
PDF
Verteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
PDF
Hartmann im00
PDF
Fully Automated Billing Verification
PDF
Presentation Verification & Validation
PDF
Test Objects -- They Just Work
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
The NGN Test Centre Infrastructure & Services - Shane Dempsey (NGN Test Centre)
PPTX
PDF
P921 d2 brochure
PDF
CTD for client signoff and early requirements validation - 11th IEEE SW Eng...
PDF
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
PDF
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
PDF
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
Elvior Company Introduction T3UC Beijing 2010
Model-based Testing Principles
12 Rational Solo Pruebas 2009
IT & telecommunication
T12 exploitation testing - presentation 1.2
SOA Testing As A Service
Computaris Top Testing Suite (Full Demonstration)
Verteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
Hartmann im00
Fully Automated Billing Verification
Presentation Verification & Validation
Test Objects -- They Just Work
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
The NGN Test Centre Infrastructure & Services - Shane Dempsey (NGN Test Centre)
P921 d2 brochure
CTD for client signoff and early requirements validation - 11th IEEE SW Eng...
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
Ad

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
20250228 LYD VKU AI Blended-Learning.pptx
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25-Week II
A comparative analysis of optical character recognition models for extracting...
Chapter 3 Spatial Domain Image Processing.pdf
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Assigned Numbers - 2025 - Bluetooth® Document
Per capita expenditure prediction using model stacking based on satellite ima...
sap open course for s4hana steps from ECC to s4
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation_ Review paper, used for researhc scholars
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Ad

Model based ttcn-3 testing of a mobile operator charging

  • 1. Model-based TTCN-3 testing of a mobile operator charging subsystem T3UC, Beijing July 2010 Dr. Andres Kull, Elvior Dr. Kullo Raiend, Elvior
  • 2. System Under Test ► Customer: Estonian mobile operator EMT (www.emt.ee) ► SUT: post-paid data charging subsystem in EMT ► CS: provided by Ericsson (www.ericsson.com) ► CS is customized using EMT business rules Billing Subsystem Charging Provisioning accumulators GSM/WCDMA SUT: Charging Subsystem Network Data session
  • 3. CS core functionality ► Subscribers are provisioned by billing subsystem ► Provisioning the charging rules to the subscribers ► According to the data sessions the subscriber account is credited by CS Billing Subsystem Billing Sybsystem Charging Provisioning Charging reports Provisioning accumulators GSM/WCDMA GSM/WCDMA Data usage SUT: Charging Subsystem Charging Subsystem Network Network Data session
  • 4. CS testing bottlenecks ► Ericsson upgrades CS software from time to time ► Customer introduces new subscription packages or changes existing ones from time to time ► Manual testing is time-consuming and error-prone ► Time for testing the updates is usually very short
  • 5. Customer’s hopes from MBT ► Shorten the regression testing time ► Increase the test coverage ► Avoiding risks caused by the human factor in executing huge amount of boring tests manually ► Reducing the amount of manual tests significantly
  • 6. MBT workflow used CS model in Poseidon for UML CASE tool Generator TTCN3- test scripts Develops Defines coverage CS Requirements Analyses ► System requirements are modelled TTCN-3 test tool ► Tests are generated from models ► Resulting tests have predefined coverage SUT: CS
  • 7. CS features under test ► Subscribers provisioning ► Changing subscription profiles ► Changing month and day ► Bonus data amount usage ► Free data amount usage ► Priced data usage within HPLMN limit ► Priced data usage in the case of unlimited HPLMN ► Data usage if HPLMN limit is exceeded
  • 8. Main test scenario TTCN-3 test tool Network Billing subsystem SUT: Charging Subsystem (CS) TTCN-3 test tool Billing subsystem Network Charging Subsystem (CS) Provision a subcsriber Generate data session Ask charging accumulators for the subscriber Charging accumulators Test if the subscriber account is credited as described by charging rules
  • 9. CS model ► State machine models the behaviour of CS ► Only few model states (forBonus, forFree, noCharge, Priced, LimitExceeded) ► 16 context variables ► Properties of subscriber profiles ► CS accumulators for different purposes ► 106 transitions ► Express CS and environment transactions ► Used for modelling the charging rules
  • 10. Tests generation and execution Coverage Generation Test lengh Amount of Execution time (transitions) TTCN-3 (LOC) time All transitions 2 min 213 9 213 5 min All transition 57 min 1 672 22 765 24 min pairs All transition 18 h 49 min 12 807 89 191 5h triples
  • 11. Detected errors ► Note: CS was quite well manually tested before the MBT started ► In total 15 new errors were detected ► Detected charging errors could spoil the reputation of the operator
  • 12. Project process, time spent ► Beginning (94 h, 31%) ► Introduction to problem domain ► Setting up test environment ► Executing 1st generated test case ► Incremental development to cover the scope (142 h, 47%) ► Model updates Results Results Model Results Model Model ► Test generation analysis analysis uddate analysis uddate uddate ► Test execution ► Analysing results Test Test Test Test Test Test executionexecutiongeneration execution generationgeneration ► Refactoring and test generation for different subscription profiles (32 h, 11%) ► Creating of documentation (32 h, 11%)
  • 13. Test automation specialists feedback ► Higher test coverage than manually scripted ► The tests building productivity increases significantly ► Long generated test cases detected otherwise hard to find errors ► Significant tests maintenance costs decrease is foreseen ► Requirements traceability and results analysis is the key issue that should be improved in MBT
  • 14. Conclusions ► Manual to MBT  reduces test quality decrease caused by human factor ► All transition test coverage tests allow quickly (5min) verify in regression test the past functionality ► MBT revealed significant amount of errors that were not disclosed in manual tests ► At the end of project the testing staff was convinced that CS is ready for taking into real use ► MBT is the technology that EMT will start to use
  • 15. Thank you! More information: www.elvior.com Cut your sofware testing expenses Functional black-box tests automation