TTCN-3 Testing and Test Control Notation Version 3.

Slides:



Advertisements
Similar presentations
TTCN-3 Users Conference
Advertisements

MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
SDL+ The Simplest, Useful Enhanced SDL-Subset The documentation is the design, the design is the system! Copyright © SDL Task Force Consortium.
© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
A component- and message-based architectural style for GUI software
Architecture Representation
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
The Use of TTCN-3 for Software Testing Ina Schieferdecker FOKUS, Berlin
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 2.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
An overview on the Testing and Test Control Notation version 3 (TTCN-3) Helmut Neukirchen Háskóli Íslands
The road to reliable, autonomous distributed systems
Component Patterns – Architecture and Applications with EJB copyright © 2001, MATHEMA AG Component Patterns Architecture and Applications with EJB JavaForum.
Technical Architectures
2 Object-Oriented Analysis and Design with the Unified Process Objectives  Explain how statecharts can be used to describe system behaviors  Use statecharts.
1 Software Testing and Quality Assurance Lecture 12 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)
7M701 1 Software Engineering Object-oriented Design Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 12 )
1 SWE Introduction to Software Engineering Lecture 23 – Architectural Design (Chapter 13)
The Architecture Design Process
Introduction to Software Design Chapter 1. Chapter 1: Introduction to Software Design2 Chapter Objectives To become familiar with the software challenge.
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
Programming Languages Structure
Communication in Distributed Systems –Part 2
Software engineering Olli Alm Lecture 2: requirements, modelling & representation.
Course Instructor: Aisha Azeem
Introduction to Software Design Chapter 1. Chapter 1: Introduction to Software Design2 Chapter Objectives To become familiar with the software challenge.
Examining the Code [Reading assignment: Chapter 6, pp ]
Jos van Rooyen Erik Altena Leon Wolters TTCN-3 in the Financial Domain.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
ETSI Protocol and Testing Competence Centre
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 1 Conformance Testing of CORBA Services.
DOT’98 Heidelberg 1 A. Hoffmann & M. Born Requirements for Advanced Distribution and Configuration Support GMD FOKUS Andreas Hoffmann & Marc Born
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
1 CS 456 Software Engineering. 2 Contents 3 Chapter 1: Introduction.
An Introduction to Software Architecture
An Introduction to Design Patterns. Introduction Promote reuse. Use the experiences of software developers. A shared library/lingo used by developers.
Architecting Web Services Unit – II – PART - III.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
TTCN Protocol Testing on Steroids! IEEE P WPAN Meeting March 6-10, 2000 Albuquerque, NM USA 802 Plenary Meeting Matthew Graney Telelogic North America.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
TTCN-3 MOST Challenges Maria Teodorescu
FDT Foil no 1 On Methodology from Domain to System Descriptions by Rolv Bræk NTNU Workshop on Philosophy and Applicablitiy of Formal Languages Geneve 15.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Copyright SOLINET GmbH SDL & Requirements of Signalling Systems William H. Skelton SOLINET, Stuttgart.
OBJECT ORIENTED AND FUNCTION ORIENTED DESIGN 1 Chapter 6.
Software Development Problem Analysis and Specification Design Implementation (Coding) Testing, Execution and Debugging Maintenance.
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Component Patterns – Architecture and Applications with EJB copyright © 2001, MATHEMA AG Component Patterns Architecture and Applications with EJB Markus.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
XML-based Representation of Test Cases for Distributed Systems Alexander Kraas 7. October 2008.
Object-Oriented Analysis and Design
SIMPL-T: SDL Intended for Management and Planning of Tests By
Knowledge Byte In this section, you will learn about:
Service-centric Software Engineering
TTCN-3 Status Report.
An Introduction to Software Architecture
Typical Workflow - today
Software Requirements Specification (SRS) Template.
Presentation transcript:

TTCN-3 Testing and Test Control Notation Version 3

What is TTCN-3? TTCN-3 is a test scripting language TTCN-3 is an international standard TTCN-3's main feature is the separation of concern between Abstract Test Suites and the Adapter Layer which allows full portability of test suites and thus make them independent of any platform implementation. The test adapter handles all platform and implementation languages (java, C, C++) issues for the communication with a System Under Test and also the actual coding and decoding requirements of an application. TTCN-3 has a powerfull matching mechanism

The relationship between presentation formats and the core language Use of TTCN-3 with other languages

TTCN-3 TEST SYSTEMS Codecs. The messages defined in our tests need to be encoded into some format that is understood by the SUT before they are sent. Conversely, received messages will be decoded from their encoded form into TTCN-3 value representation. SUT adaptation. All our message exchanges in the abstract test suite are defined as operations referring to a specific port. The mapping of what a TTCN-3 ports actually represent in the real world, and the mapping between TTCN-3’s communication mechanism and that of the SUT, need to be done in the SUT adapter. Platform adaptation. To handle situations when messages go missing, we have introduced the use of timers. As timers are implemented differently on different platforms and in different testing scenarios.The calling of TTCN-3 external functions is also platform specific and hence also needs to be provided by the test system developer. Test management. TTCN-3 provides the test developer with a control part to specify the order in which the tests in the test suite should be executed. This is an acceptable approach for stable test environments, where the tests and their order seldom change.

A TTCN3 test system is composed main by four parts : test management and control(TMC); TTCN3 test execution(TE); SUT Adapter(SA); Platform Adapter (PA). MC have three parts: test management (TM),Encoding/Decoding, The TTCN-3 Runtime System TCI TTCN-3 Control Interface TRI TTCN-3 Runtime Interface The TRI defines the operations for the SUT and platform adapters, respectively. The TCI focuses on issues around test management, logging, encoders, and decoders. A schematic overview of a TTCN-3 test system

The TCI interface consists of three sub-interfaces.  The test management interface (TCI-TM) is used to control the creation and execution of tests.  The coding/decoding interface (TCI-CD) is used to allow for the specification of external codecs.  The component-handling interface (TCI-CH) allows the test system developer to specify how components are created and implemented when the test system is actually deployed.

TTCN-3 versus TTCN-2 four major areas of improvement: productivity, expressive power, flexibility, extensibility. TTCN-3 builds on top of TTCN-2 but extends it significantly

The future of TTCN-3 TTCN from 2 to 3 is the qualitative change Form single domain to various domain TTCN-3 Advantages Extend usability of TTCN-2 powerful features, e.g. different communication mechanisms intended for several application areas presentation formats independent of core language standardized interfaces Do not reinvent retain proven concepts of TTCN-2 retain TTCN-2 expertise of developers

A IPv6 test system TTCN-3 test systems in a nutshell TTCN-3 TutorialETSI PP T Introduction to TTCN-3C. Willcock

Example concurrent Test configuration  A test involves execution of many parallel test components  Dynamic instantiation of components and communication links

Expansion of TTCN-3 Use

Automotive Finance IEEE Protocols IETF Protocols Load Testing Medical Systems Power Transmission Reliability Testing Safety Critical Systems software Testing Telecom Protocols Web Services TTCN-3 Application Areas

TTCN-3’s two major strengths  Its unique and powerful testing concepts  its standardized interfaces. The advanced testing concepts in TTCN-3 such as ports for message- and procedure-based communication, timers, concurrency, test verdicts, and implicit templates matching provide an efficient and abstract way to specify the behaviour of the test systems. The standardized interfaces TCI and TRI allow adaptation of TTCN-3 test systems to virtually any kind of SUT.

Basic TTCN-3  TTCN-3 source code is written in modules, which are separated into a definitions part, where data types, functions, and constants are defined, and a control part that describes the dynamic behaviour of the tests that should run.  We have introduced functions as scope units that can be called from expressions,other functions, or the control part. They may compute results depending on input parameters and may return a value that is the result of this computation.  We have also introduced a small number of basic types and explained how to create new subtypes and arrays. We have seen that types and subtypes can be used to declare variables or constants.  We have shown that expressions in TTCN-3 can be written with different operators that combine compatible values, and they can be used to directly assign the result to variables.  Lastly, we have seen that in TTCN-3 we can direct the program flow with conditional or loop statements.

What kind of testing tool are you using? TTworkbench supply some simple protocol data-base,such as M3UA,SCTP,SIP.Some other smaller company such as OpenTTCN, they just supply a platform, Maybe clients need to make or buy SA,PA and Codec in addition

What kind of action takes most time in TTCN-3 testing? From the voting we can find that TTCN and the SUT adapter and encode decode takes time and the TTCN-3 frame design also takes time.  Sample design  Environment prepare  TTCN and the SUT adapter and encode decode  Frame design  Test sample  others

reference  d=4 d=4   TTCN-3 Tutorial ETSI  PPTIntroduction to TTCN-3 C. Willcock  John.Wiley.and.Sons.An.Introduction.to.TTC N.3.Jun.2005.eBook-DDU.rar