SlideShare a Scribd company logo
1 of 8
Test System Architectures using Advanced Standardized Test
Languages
1. 1. Axel Rennoch InSTA 2016, Chicago, 10th April 2016 TEST SYSTEM
ARCHITECTURES USING ADVANCED STANDARDIZED TEST LANGUAGES
2. 2. 2  Introduction  Advanced standardized test languages  TTCN-3  UML
testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS
3. 3. 3  Researcher at Fraunhofer FOKUS in Berlin, Germany  User of
standardized Modelling and Test languages  LOTOS, SDL/UML  Tree and
Tabular Combined notation (TTCN-1&2)  TTCN-3 user from the beginning 
Developer for ETSI, 3GPP and industry  Trainer and consultant  Research
projects and evolution team AXEL RENNOCH
4. 4. 4 InSTA 2015:  Keynote by Sigrid Eldh on  Software Test Architecture 
definition & aspects InSTA 2016:  Continuation on Advanced Standardized
Test Languages for  Test System Architecture  means & examples, user
perspective MOTIVATION
5. 5. 5 maschine languages programming languages test description languages
test modelling languages CHALLENGES FOR TEST SYSTEMS Data type
integration SUT interfaces (physical distribution) Logical structure &
distribution Execution mapping
6. 6. 6  Identify SUT access interface points  Test objectives: functional, load,
security?  Target :  standardization body (more abstraction, top down) or 
in-house test solution (address concrete tools, bottom up)  Parallel test
components (scalability?)  Coordination & synchronization (existing
frameworks?) SOME INITIAL QUESTIONS FOR TEST DEVELOPERS
7. 7. 7  Introduction  Advanced standardized test languages  TTCN-3  UML
testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS
8. 8. 8  Testing and Test Control Notation  Internationally standardized testing
language for formally defining test scenarios. Designed purely for testing
WHAT IS TTCN-3? testcase Hello_Bob () { p.send(“How do you do?“); alt {
[]p.receive(“Fine!“); {setverdict( pass )}; [else] {setverdict( inconc )} //Bob asleep!
} }
9. 9. 9  One test technology for different tests  Distributed, platform-
independent testing  Integrated graphical test development, -documentation
and –analysis  Adaptable, open test environment  Areas of Testing 
Regression Testing  Conformance and Functionality Testing  Interoperability
and Integration Testing  Load/ Stress Testing IDEA & DESIGN PRINCIPLES OF
TTCN-3
10. 10. 10 testcase Hello_Bob () { p.send(“How do you do?“); alt {
[]p.receive(“Fine!“); {setverdict( pass )}; [else] {setverdict( inconc )} //Bob asleep!
} } TTCN-3 EXECUTION SUT System Tester TTCN-3 API / Network API /
Communication
11. 11. 11 TTCN-3 Test Case TTCN-3 IS DESIGNED FOR BLACK-BOX TESTING
Port.send(Stimulus) Port.receive(Response) System Under Test Port •
Assignment of a Test Verdict
12. 12. 12 A TTCN-3 TEST SYSTEM TE – TTCN-3 Executable TM – Test
Management TL – Test Logging CD – Codec CH – Component Handling SA –
System Adapter PA – Platform Adapter SUT – System Under Test ETSI ES 201
873-1 TTCN-3 Core Language (CL) ETSI ES 201 873-5 TTCN-3 Runtime
Interface (TRI) ETSI ES 201 873-6 TTCN-3 Control Interfaces (TCI) TM:
Management TL: Logging TE CD:Codec CH:Component Handling SA: System
Adapter PA: Platform Adapter TRI TCI Test System User System Under Test
(SUT)
13. 13. 13 IMPLEMENTATION ATS TE SUT Communication +TE Test System
14. 14. 14 MAJOR LANGUAGE ELEMENTS OF TTCN-3 NOTATION module
definitions Data Types User defined data types (messages, PDUs, information
elements, …) Test Data Test data transmitted/expected during test execution
(templates, values) Test Configuration Definition of the test components and
communication ports Test Behavior Specification of the dynamic test behavior
Imports Importing definitions from other modules defined in TTCN-3 or other
languages
15. 15. 15  Industrial use  Big companies with hundreds of TTCN-3 engineers:
Ericsson, Nokia, Siemens, Motorola  large distribution among SME 
Standardization bodies  standardized test suites: ETSI / 3GPP (LTE!)/ OMA /
TETRA and its members  IMS performance benchmark project: Intel, HP, BT,
FOKUS and others  Test tool manufacturer:  Commercial Tektronix, Catapult,
Nexus, R&S, Spirent, …  Certification program based on TTCN-3: e.g. WiMax
forum TTCN-3 DOMAINS: TELECOM
16. 16. 16 Secure UserPlane Location Protocol Single MTC controls e.g.:  UlpPort
(Lup interface)  IpcPort (IP configuration)  smsPort used for SMS  UtpPort
for upper tester commands  IpiPort (IP information, e.g. release)  NwcPort:
network bearer control, e.g. handover trigger  SscPort: satellite simulation
control, e.g. scenario trigger TEST SYSTEM EXAMPLE 1: OMA SUPL BSF SUT
(SUPL Terminal) Network Bearer TCP/UDP/IP SMS Upper Tester Adapter e.g.
text utp Upper Tester Server IUT (SUPL Implementation) ulp sms TLS (PSK) ipi
MTC ssc DNS bsf TTCN-3 Executable SUT Adapter Satellite Simulator ipc
dnsnwc SUT (SUPL Terminal) Network Bearer TCP/UDP/IP MT_SMS, WAP_Push,
SIP_Push Upper Tester Adapter e.g. text utp Upper Tester Server IUT (SUPL
Implementation) ulp sms TLS (PSK) ipi MTC ssc TTCN-3 Executable SUT
Adapter Satellite Simulator ipcnwc
17. 17. 17  E-UTRAN (LTE air interface): 3GPP TS 36.523-3 V12.4.0 (2015-12) 
Each radio access technology (RAT) is hosted by a separate TTCN-3 parallel
component: E-UTRAN, UTRAN, GERAN, others.  PTCs are controlled by the
TTCN-3 main test component (MTC) which:  is independent from the RAT; 
may host the upper tester for MMI and AT commands; TEST SYSTEM
EXAMPLE 2: 3GPP UE TESTING Host-PC TTCN-3 generated code Codec Test
control, Logging System Adaptor (SA) Platform Adaptor (PA) System
dependent layers System Simulator HW internal interface UESystem
dependent layers Protocol layers internal interface air interface
18. 18. 18  Multiple of configurations  Several PTCs  Cooperating 
Communicating TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING
19. 19. 19  Simple scenario  Reuse of nested component types for MTC, PTCs
and TSI TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING
20. 20. 20  More complex configuration  Nested component types  Illustration
using Visual Paradigm TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING
21. 21. 21  Car communication systems  Daimler, Volkswagen, SiemensVDO 
edutainment bus system (test suite)  Standardization groups:  AUTOSAR
consortium  MOST cooperation  Car-to-car communication TTCN-3
DOMAINS: AUTOMOTIVE Telematics Applications in the Cockpit • Audio (CD /
Radio), Video • Telephone, SMS • Navigation • Speech recognition • User
interface for body electronic loudness playCDTitle Test cases: MOST Bus Head
Unit Tester Speaker Amplifier / Tuner CD Changer
22. 22. 22 Medicine  SiemensMED (image processing)  HL7 eHealth protocols
(Interoperability) Upcoming E-Health infrastructure for Germany  High
security requirements (e.g. certificates, cryptography)  Test development prior
to SUT availability  Multiple heterogenous interfaces:  cardterminals,, card
simulations,  Webservices, OCSP server etc. TTCN-3 DOMAINS: MEDICINE
23. 23. 23  Complex configuration  Illustration using IBM Rational Enterprise
Architect: - PTC, - simulators, - SUT (mock), - real server, - adaptation code
TEST SYSTEM EXAMPLE 3: E-HEALTH “KONNEKTOR”
24. 24. 24  Source STF 276 (IPv6 project)  Set of TTCN-3 functions to e.g. 
Start and control parallel components  Exchange synchronization signals
between components  Set of charstring constants for synchronization points
 preambleDone, sync1, sync2  testbodyDone  Predefined timers e.g. to
avoid deadlocks at synchronization points  http://www.ttcn-
3.org/index.php/development/devlibraries/devlib-libcommon ETSI
FRAMEWORK FOR SYNCHRONISATION
25. 25. 25 Synchronization occurs between parallel TTCN-3 components (using
signals via MTC)  Sync 1 ensures the completion of senders procedure 
Sync 2 confirms the arrival of a message at receivers side SYNCHRONIZATION
SAMPLES Sender Receiver sync 2  S U T sync 1 
26. 26. 26  Test suite specific code  testcase, test (component) functions  Test
suite specific library  Component types, test configuration, pre/postamble 
Interface/protocol specific library  SIP, DNS, IPv6 etc.  Interface/protocol
independent library  synchronizaton MODULE IMPORT „LAYERING“ Low level:
(High reusability) high level: (low reusability)
27. 27. 27  400 subscribers per component Handler  Component Sender
initializes/provides data requests for load-generator  5.000 - 10.000 IMS
subscribers (per server)  Up to 250 requests per second (per server) EXAMPLE
4: IMS BENCHMARK TEST CONFIGURATION Sender Component usr1 usr2
usrN Handler 1 Component usrN+1 Handler 2 Component System Adapter
(SUT Interface) usrN+2 usrN+3 Load Generator SUT
28. 28. 28  Study access interface points (Test System Interface)  Available Test
solution plugins?  Test objectives: functional, load, security?  Consider
synchronization overhead (e.g. ETSI’s LibCommon)  Consider performance
issues (e.g. encoded data preparation)  Concurrent test components with
separated traces & verdicts (easier failure analysis)  Consider test tool
logging functions  Improve decomposition using libraries for  handling
single interface types  Nested component types (to be extended)  Use
modelling tools for the illustration of the TTCN-3 architecture LESSONS
LEARNED WITH TTCN-3
29. 29. 29 29  TTCN-3 is used in several domains as binding link between
modelling and execution  Commercial tools do generate TTCN-3 code for
test execution  lots of academic prototype tools  Selection of industrial case
studies: e.g. European MIDAS project  pilots in SOA testing automation (later)
BEYOND TTCN-3: MBT
30. 30. 30 Objective:  To develop an efficient test platform fulfilling industrial
testing requirements  To execute high-level test models, e.g. UML testing
profile  Industrial Testing Requirements ... UML 2.0 Testing Profile System
DesignEmbedded Systems Avionics Railway Systems Mobile Communication
Automotive TTCN-3 Test Design An efficient test platform Methods, Tools,
Guidelines Test Results Approach TTCN-3 LINK TO UTP
31. 31. 31  Introduction  Advanced standardized test languages  TTCN-3 
UML testing profile  TDL  Test Automation Architecture  Conclusions
CONTENTS
32. 32. 32  Standard by the Object Management Group: Version 1.0 (2004),
current version 1.2 (2013), revised draft version 2.0 (Nov 2015)  Profile of
UML version 2: Industrial standard for (graphical) modeling of Test
architectures, behavior and data.  Conceptual Model: Test context, cases,
objectives, data, configuration, arbitration&verdicts, logs  UTP library:
predefined types and values (e.g. ISO 25010 Quality model, ISTQB Test levels)
 Extras: Mapping to TTCN-3 (procedure-based communication only) UML
TESTING PROFILE (UTP)
33. 33. 33  Standardized mapping of UTP stereotypes to UML metaclasses TEST
CONFIGURATION OVERVIEW
34. 34. 34  LoginServer test components  LoginServer test configuration UTP
TEST CONFIGURATION EXAMPLE (UTP 2.0 ONLY!)
35. 35. 35  Domain-independent test modeling for dynamic testing approaches:
 Test environments, test configurations, test case specifications (including test
case derivation), test data specifications/values  Test evaluation, i.e.,
managing and visualization of test results  Integration of best practices such
as keyword-driven testing, equivalence class testing, etc.  Combination with
other UML profiles (e.g., SysML, MARTE, SoaML)  E.g. to achieve
requirements traceability, … UTP MAJOR USE
36. 36. 36  Current version 1.2  less industrial use since version 1.0 ten years
ago  No big test suites  Only some tooling  UTP Revision 2.0 is promising
 E.g. covers test configuration LESSONS LEARNED WITH UTP
37. 37. 37  Introduction  Advanced standardized test languages  TTCN-3 
UML testing profile  TDL  Test Automation Architecture  Conclusions
CONTENTS
38. 38. 38  New ETSI Standard ES 203 119-1 (V1.2.0, 2015-04)  Fills gap
between the high-level test purposes and TTCN-3  Simple Text notation with
graphical presentation TEST DESCRIPTION LANGUAGE
39. 39. 39  Typed components and gates  Timers and variables  connections
among gates  component roles TDL TEST CONFIGURATION
40. 40. 40  Pure testing view  Compromise between UTP and TTCN-3  Simple
 Executable  Not ready to use LESSONS LEARNED WITH TDL
41. 41. 41  Introduction  Advanced standardized test languages  TTCN-3 
UML testing profile  TDL  Test Automation Architecture  Conclusions
CONTENTS
42. 42. 42 THE ISTQB FUNDEMANTAL TEST PROCESS Test Analysis Test
Implementation Test Design Test Execution Test Evaluation Test Closing
Activities Management Control T C SUT T C SUT T C SUT T C SUT T C SUT T C
SUT Test Scripts SUT Automated test design(MBT) Automated test execution
(KDT, DDT, TTCN-3) Test execution tool System under test Knowledge Test
model Test generator Test generator Model transformation Automated test
execution is state of the practice (if ever) in industry
43. 43. 43 ABSTRACTION LEVELS IN TEST AUTOMATION Test design activities
Technical test cases (ABS. LEVEL 2) Test model (ABS. LEVEL 3) Logical test
cases (ABS. LEVEL 3) Actual implementation (ABS. LEVEL 0) Test analysis
activities Adaptation layer (ABS. LEVEL 2->0) Test implementation activities
Test execution activities requires SRS (ABS. LEVEL 4) TestExecution System
Testmodelingand generationtool Executable test cases Logical actions the
system can perform Sequence diagram, Test Descriptions UML Testing Profile,
TDL TTCN-3, XML, Excel Implementation, TRI, SA, CoDEC KDT, DDT, TTCN-3
44. 44. 44 Model is master - Test design independent from adaptation layer or
test execution system - No constraint on the test execution system - Often
used in academic prototypes TOP-DOWN APPROACH SRS (ABS. LEVEL 4)
Adaptation layer (ABS. LEVEL 2->0) Technical test cases (ABS. LEVEL 2) Test
model (ABS. LEVEL 3) Recommendation Feasible for proof-of-concepts, limited
use for industry
45. 45. 45 BOTTOM-UP APPROACH SRS (ABS. LEVEL 4) Test model (ABS. LEVEL 2)
Adaptation layer (ABS. LEVEL 2->0) Technical test cases (ABS. LEVEL 2)
Adaptation layer is master - Ensures immediate automated test exection -
Requires available adaption layer - Test model derived from the adaption layer
Recommendation Only if adaptation layer is clear for test developers
46. 46. 46 Test Execution Layer Test Generation Layer TEST AUTOMATION
ARCHITECTURE: MIDAS MIDAS Test Model FuzzingFunctional Usage-based
Test Definition Layer SOA System MDTA Framework MIDAS TPaaS MIDAS Test
Model + Test Cases TTCN-3 Modules (complete) exhibits import WSDL/XSD
47. 47. 47  Two approaches have been shown  Bottom-up approach was
realized in MIDAS  Integration of data types (e.g. WSDL) is challenging 
(Initial) engineering effort can be quite high LESSONS LEARNT FROM TEST
AUTOMATION ARCHITECTURE
48. 48. 48  Introduction  Advanced standardized test languages  TTCN-3 
UML testing profile  TDL  Test Automation Architecture  Conclusions
CONTENTS
49. 49. 49 TTCN-3 UTP TDL Standardization body ETSI, ITU-T OMG ETSI History
Since 1992 Since 2004 Since 2014 Applicability All domains and testing types
All domains Conformance, interop Execution tools and solutions + proprietary
via C-unit TTCN-3 mapping in preparation Current user groups Industry,
Research Academic, Research n/a SUMMARY: OVERVIEW
50. 50. 50 TTCN-3 UTP 2 TDL Component extension + UML generalization -
(reuse elements) Coordination/ synchronization +via libraries using general
ordering explicitly Import of WSDL, IDL, etc. (+) proprietary via SoaML -
Graphical Test architecture - needed! + + Link to UML - + in preparation
SUMMARY: TEST ARCHITECTURE
51. 51. 51  They significantly increases your system quality.  You can focus on
what to test, not on how.  They reduce costs and efforts in test system
maintenance.  They are independent of access technology, operating system
and implementation domain  They support communication between system
development and test department.  You can count on available, trained and
certified experts GOOD REASONS FOR STANDARDIZED TEST LANGUAGES
52. 52. 52  TTCN-3, UTP and TDL - international Standards for testing - allow
abstract definitions for testing - (partly) accepted in research and industry -
Tool support (still week) - UML -> UTP/TDL -> TTCN-3 - Test automation
need further enhancements CONCLUSION
53. 53. 53  Online information  www.ttcn-3.org  TTCN-3 User Conference 
2016 in in Budapest, Hungary  TTCN-3 Standards, Papers, Book 
http://www.ttcn.de/  Quick Reference  http://www.blukaktus.com/  Exercises
and Tooling  research licenses TTCN-3 SOURCES
54. 54. 54  Online information http://utp.omg.org/  MBT User Conference 
2016 in Budapest, Hungary  UTP Standards http://www.omg.org/spec/UTP/
 MDT/UTP Book  http://www.springer.com  Exercises and Tooling 
research licenses UTP SOURCES
55. 55. 55  Online information  http://tdl.etsi.org/  TDL User Conference  2016
in Budapest, Hungary  TDL Standards 
http://tdl.etsi.org/index.php/downloads  Exercises and Tooling (in
preparation)  https://portal.etsi.org//STF/STFs/STFHomePages/STF492.aspx
TDL SOURCES
56. 56. 56 Thank you for your attention! www.fokus.fraunhofer.de (System Quality
Center)
57. 57. 57 Fraunhofer FOKUS Kaiserin-Augusta-Allee 31 10589 Berlin, Germany
www.fokus.fraunhofer.de Axel Rennoch Project Manager
axel.rennoch@fokus.fraunhofer.de Phone +49 30 3463-7344 CONTACTS Marc‐
Florian Wendland Senior Researcher marc‐
florian.wendland@fokus.fraunhofer.de Phone +49 30 3463‐ 7395

More Related Content

What's hot

Lec 04 intro assembly
Lec 04 intro assemblyLec 04 intro assembly
Lec 04 intro assemblyAbdul Khan
 
Introduction to Assembly Language
Introduction to Assembly Language Introduction to Assembly Language
Introduction to Assembly Language ApekshaShinde6
 
12109 microprocessor & programming
12109 microprocessor & programming12109 microprocessor & programming
12109 microprocessor & programmingGaurang Thakar
 
Be cps-18 cps13or23-module1
Be cps-18 cps13or23-module1Be cps-18 cps13or23-module1
Be cps-18 cps13or23-module1kavya R
 

What's hot (7)

Lec 04 intro assembly
Lec 04 intro assemblyLec 04 intro assembly
Lec 04 intro assembly
 
Introduction to Assembly Language
Introduction to Assembly Language Introduction to Assembly Language
Introduction to Assembly Language
 
Embedded concepts
Embedded conceptsEmbedded concepts
Embedded concepts
 
12109 microprocessor & programming
12109 microprocessor & programming12109 microprocessor & programming
12109 microprocessor & programming
 
Compilers
CompilersCompilers
Compilers
 
Embedded C - Lecture 3
Embedded C - Lecture 3Embedded C - Lecture 3
Embedded C - Lecture 3
 
Be cps-18 cps13or23-module1
Be cps-18 cps13or23-module1Be cps-18 cps13or23-module1
Be cps-18 cps13or23-module1
 

Similar to  Test system architectures using advanced standardized test languages

project introduction
project introductionproject introduction
project introductionstinmon
 
Michael_Joshua_Validation
Michael_Joshua_ValidationMichael_Joshua_Validation
Michael_Joshua_ValidationMichaelJoshua
 
Functional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-TestwareFunctional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-TestwareAxel Rennoch
 
Srivaishnavi Sivagnanam_resume_final - CA_new
Srivaishnavi Sivagnanam_resume_final - CA_newSrivaishnavi Sivagnanam_resume_final - CA_new
Srivaishnavi Sivagnanam_resume_final - CA_newsrivaishnavi sivagnanam
 
Presentation on Behavioral Synthesis & SystemC
Presentation on Behavioral Synthesis & SystemCPresentation on Behavioral Synthesis & SystemC
Presentation on Behavioral Synthesis & SystemCMukit Ahmed Chowdhury
 
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
 
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...Design World
 
Accelerating system verilog uvm based vip to improve methodology for verifica...
Accelerating system verilog uvm based vip to improve methodology for verifica...Accelerating system verilog uvm based vip to improve methodology for verifica...
Accelerating system verilog uvm based vip to improve methodology for verifica...VLSICS Design
 
Summarizing Software API Usage Examples Using Clustering Techniques
Summarizing Software API Usage Examples Using Clustering TechniquesSummarizing Software API Usage Examples Using Clustering Techniques
Summarizing Software API Usage Examples Using Clustering TechniquesNikos Katirtzis
 
DCCN 2016 - Tutorial 1 - Communication with LAN/WLAN
DCCN 2016 - Tutorial 1 - Communication with LAN/WLANDCCN 2016 - Tutorial 1 - Communication with LAN/WLAN
DCCN 2016 - Tutorial 1 - Communication with LAN/WLANrudndccn
 
09 basics operating and monitoring v1.00_en
09 basics operating and monitoring v1.00_en09 basics operating and monitoring v1.00_en
09 basics operating and monitoring v1.00_enconfidencial
 
T3UC_PresentationT3UC2012_Rajesh_2
T3UC_PresentationT3UC2012_Rajesh_2T3UC_PresentationT3UC2012_Rajesh_2
T3UC_PresentationT3UC2012_Rajesh_2Rajesh Kumar Bathina
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfSaiReddy794166
 
One integrated platform for all activities,from engineering to production
One integrated platform for all activities,from engineering to productionOne integrated platform for all activities,from engineering to production
One integrated platform for all activities,from engineering to productionS Jebaraj
 
Co emulation of scan-chain based designs
Co emulation of scan-chain based designsCo emulation of scan-chain based designs
Co emulation of scan-chain based designsijcsit
 
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 ...
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...VLSICS Design
 

Similar to  Test system architectures using advanced standardized test languages (20)

project introduction
project introductionproject introduction
project introduction
 
Michael_Joshua_Validation
Michael_Joshua_ValidationMichael_Joshua_Validation
Michael_Joshua_Validation
 
Functional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-TestwareFunctional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-Testware
 
Avionics Test Station Setup
Avionics Test Station Setup Avionics Test Station Setup
Avionics Test Station Setup
 
Srivaishnavi Sivagnanam_resume_final - CA_new
Srivaishnavi Sivagnanam_resume_final - CA_newSrivaishnavi Sivagnanam_resume_final - CA_new
Srivaishnavi Sivagnanam_resume_final - CA_new
 
Presentation on Behavioral Synthesis & SystemC
Presentation on Behavioral Synthesis & SystemCPresentation on Behavioral Synthesis & SystemC
Presentation on Behavioral Synthesis & SystemC
 
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
 
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software and eX...
 
Accelerating system verilog uvm based vip to improve methodology for verifica...
Accelerating system verilog uvm based vip to improve methodology for verifica...Accelerating system verilog uvm based vip to improve methodology for verifica...
Accelerating system verilog uvm based vip to improve methodology for verifica...
 
T3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_RajeshT3UC_PresentationT3UC2012_Rajesh
T3UC_PresentationT3UC2012_Rajesh
 
Summarizing Software API Usage Examples Using Clustering Techniques
Summarizing Software API Usage Examples Using Clustering TechniquesSummarizing Software API Usage Examples Using Clustering Techniques
Summarizing Software API Usage Examples Using Clustering Techniques
 
DCCN 2016 - Tutorial 1 - Communication with LAN/WLAN
DCCN 2016 - Tutorial 1 - Communication with LAN/WLANDCCN 2016 - Tutorial 1 - Communication with LAN/WLAN
DCCN 2016 - Tutorial 1 - Communication with LAN/WLAN
 
09 basics operating and monitoring v1.00_en
09 basics operating and monitoring v1.00_en09 basics operating and monitoring v1.00_en
09 basics operating and monitoring v1.00_en
 
Dsa00170624
Dsa00170624Dsa00170624
Dsa00170624
 
T3UC_PresentationT3UC2012_Rajesh_2
T3UC_PresentationT3UC2012_Rajesh_2T3UC_PresentationT3UC2012_Rajesh_2
T3UC_PresentationT3UC2012_Rajesh_2
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
 
Ankit sarin
Ankit sarinAnkit sarin
Ankit sarin
 
One integrated platform for all activities,from engineering to production
One integrated platform for all activities,from engineering to productionOne integrated platform for all activities,from engineering to production
One integrated platform for all activities,from engineering to production
 
Co emulation of scan-chain based designs
Co emulation of scan-chain based designsCo emulation of scan-chain based designs
Co emulation of scan-chain based designs
 
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 ...
COVERAGE DRIVEN FUNCTIONAL TESTING ARCHITECTURE FOR PROTOTYPING SYSTEM USING ...
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

 Test system architectures using advanced standardized test languages

  • 1. Test System Architectures using Advanced Standardized Test Languages 1. 1. Axel Rennoch InSTA 2016, Chicago, 10th April 2016 TEST SYSTEM ARCHITECTURES USING ADVANCED STANDARDIZED TEST LANGUAGES 2. 2. 2  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS 3. 3. 3  Researcher at Fraunhofer FOKUS in Berlin, Germany  User of standardized Modelling and Test languages  LOTOS, SDL/UML  Tree and Tabular Combined notation (TTCN-1&2)  TTCN-3 user from the beginning  Developer for ETSI, 3GPP and industry  Trainer and consultant  Research projects and evolution team AXEL RENNOCH 4. 4. 4 InSTA 2015:  Keynote by Sigrid Eldh on  Software Test Architecture  definition & aspects InSTA 2016:  Continuation on Advanced Standardized Test Languages for  Test System Architecture  means & examples, user perspective MOTIVATION 5. 5. 5 maschine languages programming languages test description languages test modelling languages CHALLENGES FOR TEST SYSTEMS Data type integration SUT interfaces (physical distribution) Logical structure & distribution Execution mapping 6. 6. 6  Identify SUT access interface points  Test objectives: functional, load, security?  Target :  standardization body (more abstraction, top down) or  in-house test solution (address concrete tools, bottom up)  Parallel test components (scalability?)  Coordination & synchronization (existing frameworks?) SOME INITIAL QUESTIONS FOR TEST DEVELOPERS 7. 7. 7  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS 8. 8. 8  Testing and Test Control Notation  Internationally standardized testing language for formally defining test scenarios. Designed purely for testing WHAT IS TTCN-3? testcase Hello_Bob () { p.send(“How do you do?“); alt { []p.receive(“Fine!“); {setverdict( pass )}; [else] {setverdict( inconc )} //Bob asleep! } } 9. 9. 9  One test technology for different tests  Distributed, platform- independent testing  Integrated graphical test development, -documentation and –analysis  Adaptable, open test environment  Areas of Testing  Regression Testing  Conformance and Functionality Testing  Interoperability and Integration Testing  Load/ Stress Testing IDEA & DESIGN PRINCIPLES OF TTCN-3
  • 2. 10. 10. 10 testcase Hello_Bob () { p.send(“How do you do?“); alt { []p.receive(“Fine!“); {setverdict( pass )}; [else] {setverdict( inconc )} //Bob asleep! } } TTCN-3 EXECUTION SUT System Tester TTCN-3 API / Network API / Communication 11. 11. 11 TTCN-3 Test Case TTCN-3 IS DESIGNED FOR BLACK-BOX TESTING Port.send(Stimulus) Port.receive(Response) System Under Test Port • Assignment of a Test Verdict 12. 12. 12 A TTCN-3 TEST SYSTEM TE – TTCN-3 Executable TM – Test Management TL – Test Logging CD – Codec CH – Component Handling SA – System Adapter PA – Platform Adapter SUT – System Under Test ETSI ES 201 873-1 TTCN-3 Core Language (CL) ETSI ES 201 873-5 TTCN-3 Runtime Interface (TRI) ETSI ES 201 873-6 TTCN-3 Control Interfaces (TCI) TM: Management TL: Logging TE CD:Codec CH:Component Handling SA: System Adapter PA: Platform Adapter TRI TCI Test System User System Under Test (SUT) 13. 13. 13 IMPLEMENTATION ATS TE SUT Communication +TE Test System 14. 14. 14 MAJOR LANGUAGE ELEMENTS OF TTCN-3 NOTATION module definitions Data Types User defined data types (messages, PDUs, information elements, …) Test Data Test data transmitted/expected during test execution (templates, values) Test Configuration Definition of the test components and communication ports Test Behavior Specification of the dynamic test behavior Imports Importing definitions from other modules defined in TTCN-3 or other languages 15. 15. 15  Industrial use  Big companies with hundreds of TTCN-3 engineers: Ericsson, Nokia, Siemens, Motorola  large distribution among SME  Standardization bodies  standardized test suites: ETSI / 3GPP (LTE!)/ OMA / TETRA and its members  IMS performance benchmark project: Intel, HP, BT, FOKUS and others  Test tool manufacturer:  Commercial Tektronix, Catapult, Nexus, R&S, Spirent, …  Certification program based on TTCN-3: e.g. WiMax forum TTCN-3 DOMAINS: TELECOM 16. 16. 16 Secure UserPlane Location Protocol Single MTC controls e.g.:  UlpPort (Lup interface)  IpcPort (IP configuration)  smsPort used for SMS  UtpPort for upper tester commands  IpiPort (IP information, e.g. release)  NwcPort: network bearer control, e.g. handover trigger  SscPort: satellite simulation control, e.g. scenario trigger TEST SYSTEM EXAMPLE 1: OMA SUPL BSF SUT (SUPL Terminal) Network Bearer TCP/UDP/IP SMS Upper Tester Adapter e.g. text utp Upper Tester Server IUT (SUPL Implementation) ulp sms TLS (PSK) ipi MTC ssc DNS bsf TTCN-3 Executable SUT Adapter Satellite Simulator ipc
  • 3. dnsnwc SUT (SUPL Terminal) Network Bearer TCP/UDP/IP MT_SMS, WAP_Push, SIP_Push Upper Tester Adapter e.g. text utp Upper Tester Server IUT (SUPL Implementation) ulp sms TLS (PSK) ipi MTC ssc TTCN-3 Executable SUT Adapter Satellite Simulator ipcnwc 17. 17. 17  E-UTRAN (LTE air interface): 3GPP TS 36.523-3 V12.4.0 (2015-12)  Each radio access technology (RAT) is hosted by a separate TTCN-3 parallel component: E-UTRAN, UTRAN, GERAN, others.  PTCs are controlled by the TTCN-3 main test component (MTC) which:  is independent from the RAT;  may host the upper tester for MMI and AT commands; TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING Host-PC TTCN-3 generated code Codec Test control, Logging System Adaptor (SA) Platform Adaptor (PA) System dependent layers System Simulator HW internal interface UESystem dependent layers Protocol layers internal interface air interface 18. 18. 18  Multiple of configurations  Several PTCs  Cooperating  Communicating TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING 19. 19. 19  Simple scenario  Reuse of nested component types for MTC, PTCs and TSI TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING 20. 20. 20  More complex configuration  Nested component types  Illustration using Visual Paradigm TEST SYSTEM EXAMPLE 2: 3GPP UE TESTING 21. 21. 21  Car communication systems  Daimler, Volkswagen, SiemensVDO  edutainment bus system (test suite)  Standardization groups:  AUTOSAR consortium  MOST cooperation  Car-to-car communication TTCN-3 DOMAINS: AUTOMOTIVE Telematics Applications in the Cockpit • Audio (CD / Radio), Video • Telephone, SMS • Navigation • Speech recognition • User interface for body electronic loudness playCDTitle Test cases: MOST Bus Head Unit Tester Speaker Amplifier / Tuner CD Changer 22. 22. 22 Medicine  SiemensMED (image processing)  HL7 eHealth protocols (Interoperability) Upcoming E-Health infrastructure for Germany  High security requirements (e.g. certificates, cryptography)  Test development prior to SUT availability  Multiple heterogenous interfaces:  cardterminals,, card simulations,  Webservices, OCSP server etc. TTCN-3 DOMAINS: MEDICINE 23. 23. 23  Complex configuration  Illustration using IBM Rational Enterprise Architect: - PTC, - simulators, - SUT (mock), - real server, - adaptation code TEST SYSTEM EXAMPLE 3: E-HEALTH “KONNEKTOR” 24. 24. 24  Source STF 276 (IPv6 project)  Set of TTCN-3 functions to e.g.  Start and control parallel components  Exchange synchronization signals between components  Set of charstring constants for synchronization points  preambleDone, sync1, sync2  testbodyDone  Predefined timers e.g. to
  • 4. avoid deadlocks at synchronization points  http://www.ttcn- 3.org/index.php/development/devlibraries/devlib-libcommon ETSI FRAMEWORK FOR SYNCHRONISATION 25. 25. 25 Synchronization occurs between parallel TTCN-3 components (using signals via MTC)  Sync 1 ensures the completion of senders procedure  Sync 2 confirms the arrival of a message at receivers side SYNCHRONIZATION SAMPLES Sender Receiver sync 2  S U T sync 1  26. 26. 26  Test suite specific code  testcase, test (component) functions  Test suite specific library  Component types, test configuration, pre/postamble  Interface/protocol specific library  SIP, DNS, IPv6 etc.  Interface/protocol independent library  synchronizaton MODULE IMPORT „LAYERING“ Low level: (High reusability) high level: (low reusability) 27. 27. 27  400 subscribers per component Handler  Component Sender initializes/provides data requests for load-generator  5.000 - 10.000 IMS subscribers (per server)  Up to 250 requests per second (per server) EXAMPLE 4: IMS BENCHMARK TEST CONFIGURATION Sender Component usr1 usr2 usrN Handler 1 Component usrN+1 Handler 2 Component System Adapter (SUT Interface) usrN+2 usrN+3 Load Generator SUT 28. 28. 28  Study access interface points (Test System Interface)  Available Test solution plugins?  Test objectives: functional, load, security?  Consider synchronization overhead (e.g. ETSI’s LibCommon)  Consider performance issues (e.g. encoded data preparation)  Concurrent test components with separated traces & verdicts (easier failure analysis)  Consider test tool logging functions  Improve decomposition using libraries for  handling single interface types  Nested component types (to be extended)  Use modelling tools for the illustration of the TTCN-3 architecture LESSONS LEARNED WITH TTCN-3 29. 29. 29 29  TTCN-3 is used in several domains as binding link between modelling and execution  Commercial tools do generate TTCN-3 code for test execution  lots of academic prototype tools  Selection of industrial case studies: e.g. European MIDAS project  pilots in SOA testing automation (later) BEYOND TTCN-3: MBT 30. 30. 30 Objective:  To develop an efficient test platform fulfilling industrial testing requirements  To execute high-level test models, e.g. UML testing profile  Industrial Testing Requirements ... UML 2.0 Testing Profile System DesignEmbedded Systems Avionics Railway Systems Mobile Communication Automotive TTCN-3 Test Design An efficient test platform Methods, Tools, Guidelines Test Results Approach TTCN-3 LINK TO UTP
  • 5. 31. 31. 31  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS 32. 32. 32  Standard by the Object Management Group: Version 1.0 (2004), current version 1.2 (2013), revised draft version 2.0 (Nov 2015)  Profile of UML version 2: Industrial standard for (graphical) modeling of Test architectures, behavior and data.  Conceptual Model: Test context, cases, objectives, data, configuration, arbitration&verdicts, logs  UTP library: predefined types and values (e.g. ISO 25010 Quality model, ISTQB Test levels)  Extras: Mapping to TTCN-3 (procedure-based communication only) UML TESTING PROFILE (UTP) 33. 33. 33  Standardized mapping of UTP stereotypes to UML metaclasses TEST CONFIGURATION OVERVIEW 34. 34. 34  LoginServer test components  LoginServer test configuration UTP TEST CONFIGURATION EXAMPLE (UTP 2.0 ONLY!) 35. 35. 35  Domain-independent test modeling for dynamic testing approaches:  Test environments, test configurations, test case specifications (including test case derivation), test data specifications/values  Test evaluation, i.e., managing and visualization of test results  Integration of best practices such as keyword-driven testing, equivalence class testing, etc.  Combination with other UML profiles (e.g., SysML, MARTE, SoaML)  E.g. to achieve requirements traceability, … UTP MAJOR USE 36. 36. 36  Current version 1.2  less industrial use since version 1.0 ten years ago  No big test suites  Only some tooling  UTP Revision 2.0 is promising  E.g. covers test configuration LESSONS LEARNED WITH UTP 37. 37. 37  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS 38. 38. 38  New ETSI Standard ES 203 119-1 (V1.2.0, 2015-04)  Fills gap between the high-level test purposes and TTCN-3  Simple Text notation with graphical presentation TEST DESCRIPTION LANGUAGE 39. 39. 39  Typed components and gates  Timers and variables  connections among gates  component roles TDL TEST CONFIGURATION 40. 40. 40  Pure testing view  Compromise between UTP and TTCN-3  Simple  Executable  Not ready to use LESSONS LEARNED WITH TDL 41. 41. 41  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS
  • 6. 42. 42. 42 THE ISTQB FUNDEMANTAL TEST PROCESS Test Analysis Test Implementation Test Design Test Execution Test Evaluation Test Closing Activities Management Control T C SUT T C SUT T C SUT T C SUT T C SUT T C SUT Test Scripts SUT Automated test design(MBT) Automated test execution (KDT, DDT, TTCN-3) Test execution tool System under test Knowledge Test model Test generator Test generator Model transformation Automated test execution is state of the practice (if ever) in industry 43. 43. 43 ABSTRACTION LEVELS IN TEST AUTOMATION Test design activities Technical test cases (ABS. LEVEL 2) Test model (ABS. LEVEL 3) Logical test cases (ABS. LEVEL 3) Actual implementation (ABS. LEVEL 0) Test analysis activities Adaptation layer (ABS. LEVEL 2->0) Test implementation activities Test execution activities requires SRS (ABS. LEVEL 4) TestExecution System Testmodelingand generationtool Executable test cases Logical actions the system can perform Sequence diagram, Test Descriptions UML Testing Profile, TDL TTCN-3, XML, Excel Implementation, TRI, SA, CoDEC KDT, DDT, TTCN-3 44. 44. 44 Model is master - Test design independent from adaptation layer or test execution system - No constraint on the test execution system - Often used in academic prototypes TOP-DOWN APPROACH SRS (ABS. LEVEL 4) Adaptation layer (ABS. LEVEL 2->0) Technical test cases (ABS. LEVEL 2) Test model (ABS. LEVEL 3) Recommendation Feasible for proof-of-concepts, limited use for industry 45. 45. 45 BOTTOM-UP APPROACH SRS (ABS. LEVEL 4) Test model (ABS. LEVEL 2) Adaptation layer (ABS. LEVEL 2->0) Technical test cases (ABS. LEVEL 2) Adaptation layer is master - Ensures immediate automated test exection - Requires available adaption layer - Test model derived from the adaption layer Recommendation Only if adaptation layer is clear for test developers 46. 46. 46 Test Execution Layer Test Generation Layer TEST AUTOMATION ARCHITECTURE: MIDAS MIDAS Test Model FuzzingFunctional Usage-based Test Definition Layer SOA System MDTA Framework MIDAS TPaaS MIDAS Test Model + Test Cases TTCN-3 Modules (complete) exhibits import WSDL/XSD 47. 47. 47  Two approaches have been shown  Bottom-up approach was realized in MIDAS  Integration of data types (e.g. WSDL) is challenging  (Initial) engineering effort can be quite high LESSONS LEARNT FROM TEST AUTOMATION ARCHITECTURE 48. 48. 48  Introduction  Advanced standardized test languages  TTCN-3  UML testing profile  TDL  Test Automation Architecture  Conclusions CONTENTS
  • 7. 49. 49. 49 TTCN-3 UTP TDL Standardization body ETSI, ITU-T OMG ETSI History Since 1992 Since 2004 Since 2014 Applicability All domains and testing types All domains Conformance, interop Execution tools and solutions + proprietary via C-unit TTCN-3 mapping in preparation Current user groups Industry, Research Academic, Research n/a SUMMARY: OVERVIEW 50. 50. 50 TTCN-3 UTP 2 TDL Component extension + UML generalization - (reuse elements) Coordination/ synchronization +via libraries using general ordering explicitly Import of WSDL, IDL, etc. (+) proprietary via SoaML - Graphical Test architecture - needed! + + Link to UML - + in preparation SUMMARY: TEST ARCHITECTURE 51. 51. 51  They significantly increases your system quality.  You can focus on what to test, not on how.  They reduce costs and efforts in test system maintenance.  They are independent of access technology, operating system and implementation domain  They support communication between system development and test department.  You can count on available, trained and certified experts GOOD REASONS FOR STANDARDIZED TEST LANGUAGES 52. 52. 52  TTCN-3, UTP and TDL - international Standards for testing - allow abstract definitions for testing - (partly) accepted in research and industry - Tool support (still week) - UML -> UTP/TDL -> TTCN-3 - Test automation need further enhancements CONCLUSION 53. 53. 53  Online information  www.ttcn-3.org  TTCN-3 User Conference  2016 in in Budapest, Hungary  TTCN-3 Standards, Papers, Book  http://www.ttcn.de/  Quick Reference  http://www.blukaktus.com/  Exercises and Tooling  research licenses TTCN-3 SOURCES 54. 54. 54  Online information http://utp.omg.org/  MBT User Conference  2016 in Budapest, Hungary  UTP Standards http://www.omg.org/spec/UTP/  MDT/UTP Book  http://www.springer.com  Exercises and Tooling  research licenses UTP SOURCES 55. 55. 55  Online information  http://tdl.etsi.org/  TDL User Conference  2016 in Budapest, Hungary  TDL Standards  http://tdl.etsi.org/index.php/downloads  Exercises and Tooling (in preparation)  https://portal.etsi.org//STF/STFs/STFHomePages/STF492.aspx TDL SOURCES 56. 56. 56 Thank you for your attention! www.fokus.fraunhofer.de (System Quality Center) 57. 57. 57 Fraunhofer FOKUS Kaiserin-Augusta-Allee 31 10589 Berlin, Germany www.fokus.fraunhofer.de Axel Rennoch Project Manager axel.rennoch@fokus.fraunhofer.de Phone +49 30 3463-7344 CONTACTS Marc‐
  • 8. Florian Wendland Senior Researcher marc‐ florian.wendland@fokus.fraunhofer.de Phone +49 30 3463‐ 7395