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

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 PARAMETERS
Deepak 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 Hypervisor
Matteo 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.pptx
Minh Nguyen
 
Introduction to TTCN-3
Introduction to TTCN-3Introduction to TTCN-3
Introduction to TTCN-3
ELVIOR
 
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
JPINFOTECH 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
 
autoTVM
autoTVMautoTVM
autoTVM
Yi-Wen Hung
 
Traffic Simulator
Traffic SimulatorTraffic Simulator
Traffic Simulator
gystell
 
Unit i
Unit iUnit 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
Lionel 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 Testing
OPAL-RT TECHNOLOGIES
 
Automotive network and gateway simulation
Automotive network and gateway simulationAutomotive network and gateway simulation
Automotive network and gateway simulation
Deepak 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.pdf
Minh 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-3
Dania 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

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 

Recently uploaded (20)

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 

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