SlideShare a Scribd company logo
1 of 15
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

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

Elvior Company Introduction T3UC Beijing 2010
Elvior Company Introduction T3UC Beijing 2010Elvior Company Introduction T3UC Beijing 2010
Elvior Company Introduction T3UC Beijing 2010ELVIOR
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSDeepak Shankar
 
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen HypervisorMatteo Ferroni
 
Martin Gijsen - Effective Test Automation a la Carte
Martin Gijsen -  Effective Test Automation a la Carte Martin Gijsen -  Effective Test Automation a la Carte
Martin Gijsen - Effective Test Automation a la Carte TEST Huddle
 
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...Amazon Web Services Korea
 
B Kindilien-Does Manufacturing Have a Future?
B Kindilien-Does Manufacturing Have a Future?B Kindilien-Does Manufacturing Have a Future?
B Kindilien-Does Manufacturing Have a Future?jgIpotiwon
 
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Lionel Briand
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptxMinh Nguyen
 
Introduction to TTCN-3
Introduction to TTCN-3Introduction to TTCN-3
Introduction to TTCN-3ELVIOR
 
Error tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud systemError tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud systemJPINFOTECH JAYAPRAKASH
 
Optimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersOptimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersSivadon Chaisiri
 
Traffic Simulator
Traffic SimulatorTraffic Simulator
Traffic Simulatorgystell
 
System Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataSystem Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataLionel Briand
 
OPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT TECHNOLOGIES
 
Automotive network and gateway simulation
Automotive network and gateway simulationAutomotive network and gateway simulation
Automotive network and gateway simulationDeepak Shankar
 
Tex Win project: Overview ( textile, plastics, product/process quality, produ...
Tex Win project: Overview ( textile, plastics, product/process quality, produ...Tex Win project: Overview ( textile, plastics, product/process quality, produ...
Tex Win project: Overview ( textile, plastics, product/process quality, produ...Enea CROSS-TEC (English)
 
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdf
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdfES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdf
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdfMinh Nguyen
 
Mtc strategy-briefing-houston-pd m-05212018-3
Mtc strategy-briefing-houston-pd m-05212018-3Mtc strategy-briefing-houston-pd m-05212018-3
Mtc strategy-briefing-houston-pd m-05212018-3Dania Kodeih
 

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

Elvior Company Introduction T3UC Beijing 2010
Elvior Company Introduction T3UC Beijing 2010Elvior Company Introduction T3UC Beijing 2010
Elvior Company Introduction T3UC Beijing 2010
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
 
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
 
Martin Gijsen - Effective Test Automation a la Carte
Martin Gijsen -  Effective Test Automation a la Carte Martin Gijsen -  Effective Test Automation a la Carte
Martin Gijsen - Effective Test Automation a la Carte
 
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...
스마트 엔지니어링: 제조사를 위한 품질 예측 시뮬레이션 및 인공지능 모델 적용 사례 소개 – 권신중 AWS 솔루션즈 아키텍트, 천준홍 두산...
 
B Kindilien-Does Manufacturing Have a Future?
B Kindilien-Does Manufacturing Have a Future?B Kindilien-Does Manufacturing Have a Future?
B Kindilien-Does Manufacturing Have a Future?
 
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...Automated and Scalable Solutions for Software Testing: The Essential Role of ...
Automated and Scalable Solutions for Software Testing: The Essential Role of ...
 
20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx20220914-MBT-Experiences-SB1-final.pptx
20220914-MBT-Experiences-SB1-final.pptx
 
Introduction to TTCN-3
Introduction to TTCN-3Introduction to TTCN-3
Introduction to TTCN-3
 
Error tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud systemError tolerant resource allocation and payment minimization for cloud system
Error tolerant resource allocation and payment minimization for cloud system
 
Optimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud ProvidersOptimal Virtual Machine Placement across Multiple Cloud Providers
Optimal Virtual Machine Placement across Multiple Cloud Providers
 
autoTVM
autoTVMautoTVM
autoTVM
 
Traffic Simulator
Traffic SimulatorTraffic Simulator
Traffic Simulator
 
Unit i
Unit iUnit i
Unit i
 
System Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed AutomataSystem Testing of Timing Requirements based on Use Cases and Timed Automata
System Testing of Timing Requirements based on Use Cases and Timed Automata
 
OPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay TestingOPAL-RT HYPERSIM Features applied for Relay Testing
OPAL-RT HYPERSIM Features applied for Relay Testing
 
Automotive network and gateway simulation
Automotive network and gateway simulationAutomotive network and gateway simulation
Automotive network and gateway simulation
 
Tex Win project: Overview ( textile, plastics, product/process quality, produ...
Tex Win project: Overview ( textile, plastics, product/process quality, produ...Tex Win project: Overview ( textile, plastics, product/process quality, produ...
Tex Win project: Overview ( textile, plastics, product/process quality, produ...
 
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdf
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdfES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdf
ES2022-Minh-Nguyen-ShapingTestsIntoModelsForAutomatedTCGeneration.pdf
 
Mtc strategy-briefing-houston-pd m-05212018-3
Mtc strategy-briefing-houston-pd m-05212018-3Mtc strategy-briefing-houston-pd m-05212018-3
Mtc strategy-briefing-houston-pd m-05212018-3
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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