Using TTCN-3 in Interoperability Testing for Real-time Communication Systems Zhiliang Wang, Jianping Wu, Xia Yin, Xingang Shi and Beihang Tian Department.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

INTERVAL Next Previous 13/02/ Timed extensions to SDL Analysis requirements –Assumptions on moments and duration Semantics with controllable time.
System Integration and Performance
Multicast Traffic Scheduling in Single-Hop WDM Networks with Tuning Latencies Ching-Fang Hsu Department of Computer Science and Information Engineering.
An OpenFlow Extension for the OMNeT++ INET Framework
Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:
Comparing TTCN-3 and TTCN-2 TTCN-3 User Conference May 3 rd -May 5 th,2004 Sophia Antipolis.
Tree Regular Model Checking P. Abdulla, B. Jonsson, P. Mahata and J. d’Orso Uppsala University.
M. Muztaba Fuad Masters in Computer Science Department of Computer Science Adelaide University Supervised By Dr. Michael J. Oudshoorn Associate Professor.
A component- and message-based architectural style for GUI software
Formal Modelling of Reactive Agents as an aggregation of Simple Behaviours P.Kefalas Dept. of Computer Science 13 Tsimiski Str Thessaloniki Greece.
Timed Automata.
The Intelligent Fuzzing in TTCN-3 Xu Luo, Wu Ji, Liu Chao Software Engineering Institute Beihang University
Managed Availability works by implementing Probes, Monitors and Responders:  The Probe is the component that performs the simple test. It doesn’t care.
An Automata-based Approach to Testing Properties in Event Traces H. Hallal, S. Boroday, A. Ulrich, A. Petrenko Sophia Antipolis, France, May 2003.
An Associative Broadcast Based Coordination Model for Distributed Processes James C. Browne Kevin Kane Hongxia Tian Department of Computer Sciences The.
Model-Driven Dependability Analysis of Web Services Apostolos Zarras Computer Science Department University of Ioannina, Greece
1 Sensor Relocation in Mobile Sensor Networks Guiling Wang, Guohong Cao, Tom La Porta, and Wensheng Zhang Department of Computer Science & Engineering.
Formal Software Testing and Model Checking Generating Test Cases For a Timed I/O Automaton Model Leonid Mokrushin.
Temporal Specification Chris Patel Vinay Viswanathan.
Introduction and Overview “the grid” – a proposed distributed computing infrastructure for advanced science and engineering. Purpose: grid concept is motivated.
Process Scheduling for Performance Estimation and Synthesis of Hardware/Software Systems Slide 1 Process Scheduling for Performance Estimation and Synthesis.
USense: A Unified Asymmetric Sensing Architecture for Wireless Sensor Networks Yu Gu, Joengmin Hwang, Tian He and David Du Minnesota Embedded Sensor System.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Software Testing and QA Theory and Practice (Chapter 10: Test Generation from FSM Models) © Naik & Tripathy 1 Software Testing and Quality Assurance Theory.
OMNET++. Outline Introduction Overview The NED Language Simple Modules.
A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 1 Conformance Testing of CORBA Services.
Assessing the Suitability of UML for Modeling Software Architectures Nenad Medvidovic Computer Science Department University of Southern California Los.
Model Based Conformance Testing for Extensible Internet Protocols Anastasia Tugaenko Scientific Adviser: Nikolay Pakulin, PhD.
A Virtual Honeypot Framework Author: Niels Provos Published in: CITI Report 03-1 Presenter: Tao Li.
1 H ardware D escription L anguages Modeling Digital Systems.
Validated Model Transformation Tihamér Levendovszky Budapest University of Technology and Economics Department of Automation and Applied Informatics Applied.
TTCN Protocol Testing on Steroids! IEEE P WPAN Meeting March 6-10, 2000 Albuquerque, NM USA 802 Plenary Meeting Matthew Graney Telelogic North America.
Concurrent Aggregates (CA) Andrew A. Chien and William J. Dally Presented by: John Lynn and Ryan Wu.
Timed Test Cases Generation Based on MSC-2000 Test Purposes Abdeslam En-Nouaary and Gang Liu Department of Electrical and Computer Engineering Concordia.
Ch. 2. Specification and Modeling 2.1 Requirements Describe requirements and approaches for specifying and modeling embedded systems. Specification for.
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Wireless Sensor Network Wireless Sensor Network Based.
Real Time Event Based Communication Team Abhishekh Padmanabhan CIS 798 Final Presentation.
Communicating Security Assertions over the GridFTP Control Channel Rajkumar Kettimuthu 1,2, Liu Wantao 3,4, Frank Siebenlist 1,2 and Ian Foster 1,2,3 1.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Object-Oriented Design and Implementation of the OE-Scheduler in Real-time Environments Ilhyun Lee Cherry K. Owen Haesun K. Lee The University of Texas.
Conformance Test Experiments for Distributed Real-Time Systems Rachel Cardell-Oliver Complex Systems Group Department of Computer Science & Software Engineering.
By: David Harel & Eran Grey Presenter: Elizabeth Antony CISC 836.
Handling Mixed-Criticality in SoC- based Real-Time Embedded Systems Rodolfo Pellizzoni, Patrick Meredith, Min-Young Nam, Mu Sun, Marco Caccamo, Lui Sha.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Testing Railway Interlockings with TTCN-3 Stefan Blom University of Innsbruck Natalia Ioustinova,Jaco van de Pol
Collaboration Entities on Deterministic Finite Automata Minjun Wang Department of Electrical Engineering and Computer Science Syracuse University, U.S.A.
1 RealProct: Reliable Protocol Conformance Testing with Real Nodes for Wireless Sensor Networks Junjie Xiong, Edith C.-Ngai, Yangfan Zhou, Michael R. Lyu.
Automatic Testing of Neighbor Discovery Protocol Based on FSM and TTCN Zhiliang Wang, Xia Yin, Haibin Wang, Jianping Wu Department of Computer Science.
CSCI1600: Embedded and Real Time Software Lecture 8: Modeling III: Hybrid Systems Steven Reiss, Fall 2015.
Towards Interoperability Test Generation of Time Dependent Protocols: a Case Study Zhiliang Wang, Jianping Wu, Xia Yin Department of Computer Science Tsinghua.
Constraints Assisted Modeling and Validation Presented in CS294-5 (Spring 2007) Thomas Huining Feng Based on: [1]Constraints Assisted Modeling and Validation.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Modeling PANDA TDAQ system Jacek Otwinowski Krzysztof Korcyl Radoslaw Trebacz Jagiellonian University - Krakow.
SSQSA present and future Gordana Rakić, Zoran Budimac Department of Mathematics and Informatics Faculty of Sciences University of Novi Sad
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
1 Simple provisioning, complex consolidation – An approach to improve the efficiency of provisioning oriented optical networks Tamás Kárász Budapest University.
VHDL Discussion Subprograms IAY 0600 Digital Systems Design Alexander Sudnitson Tallinn University of Technology 1.
By Nitin Bahadur Gokul Nadathur Department of Computer Sciences University of Wisconsin-Madison Spring 2000.
An Automated Test Generation Process from UML Models to TTCN-3 Jens R. Calamé.
TTCN-3 Testing and Test Control Notation Version 3.
Unified functional/load test architecture and methodology using TTCN-3 TELEFÓNICA I+D Date: June 1st, 2007.
An Automated Test Generation Process from UML Models to TTCN-3
Global Science and Technology, Inc., Greenbelt, MD, USA
Trustworthiness Management in the Social Internet of Things
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
RealProct: Reliable Protocol Conformance Testing with Real Nodes for Wireless Sensor Networks Junjie Xiong
Event-Based Architecture Definition Language
Develop a Reliability Test in TTCN-3
STF 454 TDL – Overview Last change:
Presentation transcript:

Using TTCN-3 in Interoperability Testing for Real-time Communication Systems Zhiliang Wang, Jianping Wu, Xia Yin, Xingang Shi and Beihang Tian Department of Computer Science and Technology Tsinghua University (Testcom 2006)

2 Outline Background and Motivation Model of SUT Test Behavior Tree Test case transformation –TimedTTCN-3 –Real-time TTCN –Comparisons Conclusion and Future work

3 Background: Protocol Testing Conformance testing – Basic method of protocol testing – Test whether an implementation conforms to its protocol specification – Test a single protocol entity Interoperability testing – Complement of conformance testing – Test whether two or more protocol implementations can communicate with each other correctly and inter-operate as a whole system to perform functions specified in protocol specifications – Test a system of two or more protocol entities Time constraints are important factors in protocols – Model: real-time systems – Interoperability testing of real-time communication systems

4 Background: Interoperability Testing Test Process Test Notations

5 Motivation System Specification Test Generation Test Behavior Tree Real-time TTCNTimedTTCN-3 Extend Extended Real-time TTCN Test Notations

6 Outline Background and Motivation Model of SUT Test Behavior Tree Test case transformation –TimedTTCN-3 –Real-time TTCN –Comparisons Conclusion and Future work

7 Model of SUT Communicating Multi-port I/O Automata: CMpTIOA –Set of Protocol entities: MpTIOA –Communication channels between protocol entities 1. Introduce a clock set 2. Transition: (a) Associated with a time constraint (b) Reset clock set MjMj MiMi C ij a !a ?a Transition : l -- Initial location l ’ -- Destination location a -- Action P -- Time Constrains R – Reset Clock set

8 A Simple Real-Time Communication Protocol Input Complete 1. Initiate a connection to a remote entity actively 2. Respond a connection request from a remote entity passively

9 Outline Background and Motivation Model of SUT Test Behavior Tree Test case transformation –TimedTTCN-3 –Real-time TTCN –Comparisons Conclusion and Future work

10 Test Behavior Tree From the view of SUT Parameters: 1. Controllable: d 0 2. Uncontrollable: d 1,d 2,d 3

11 Test Behavior Tree Test architecture Test behavior tree –From the view of test system Lemma 1. On the time point T k, time constraints of the test event nodes can be represented by a conjunction over a set of linear inequalities on d i (i=0,1,…,k-1).

12 Outline Background and Motivation Model of SUT Test Behavior Tree Test case transformation –TimedTTCN-3 –Real-time TTCN –Comparisons Conclusion and Future work

13 TTCN-3 Real-time extension of TTCN-3 Introduce a new verdict conf –functional pass but no-functional fail Introduce the concept of absolute time –Retrieving the current local time: self.now –Delaying the execution of a test component: resume() Extend the TTCN-3 logging mechanism Support both online and offline evaluation

14 Transformation to TTCN-3 Codes –Not considering time constraints Tree Structure  TTCN-3 codes Pre-order traversing method –Considering time constraints Rule 1 Get global time values of nodes in the test behavior tree: Self.now Rule 2 Get the real values of uncontrollable parameters: Expression and Assignment Rule 3 Implementation of controllable parameters: resume() function Rule 4 Online evaluations and verdicts setting: setverdict() function TTCN-3 Transformation rules from test behavior trees to TIMEDTTCN-3 test cases

15 TTCN-3

16 Real-time TTCN Real-time extension of TTCN Time Column Time Options Column

17 Real-time TTCN Transformation from test behavior tree to Real-time TTCN test case –Not considering time constraints: Pre-order traversing methodPre-order traversing method –Calculation of time constraints: EET and LET Case 1:Node(3) PO?c, d2[d2<3] EET (3) = 0,LET (3) = 3 Case 2:Node(7) PCO2?B1, d3[2<d1+d2+d3<3] EET (7) = L1+2,LET (7) = L1+3 Case 3:Node(2) PO?b, d2[1<d2<3 and d1+d2≥2] L1 Real-time TTCN cannot specify this time constraint Need Extend Real-time TTCN !

18 Extended Real-time TTCN(1) Extensions on the syntactical level –Introduce a timestamp recording function T( ): for a lable L, T(L) returns the absolute time value of the execution time for the statement labeled as L –Method for specifying EET and LET: in the expressions of EET and LET, function T( ), max( ) and min( ) can be used Proposition. In real-time interoperability testing, all time constraints of each node in test behavior trees can be represented as EET and LET by the above syntactical extensions. Proof Node(2) PO?b, d2[1<d2<3 and d1+d2≥2] d2[1<d2<3 and d1+d2≥2]  max(2-T2+T1,1)<d2<3  EET (2) = max(2-T(L2)+T(L1),1) LET (2) =3 T(L1) T(L2) L1 L2

19 Extended Real-time TTCN(2)

20 Extended Real-time TTCN(2) Extensions of operational semantics –Snapshot operational semantics A 1 [eexp 1, lexp 1 ] A 2 [eexp 2, lexp 2 ] A n [eexp n, lexp n ] Step 1: Calculate EET and LET If 0 ≤ EET ≤ LET is not satisfied, should not consider this statement in test execution Send statement: choose a SendTime i Step 2: Execute snapshot In the check of one round, time value remains unchanged Step 3: Evaluations of this level Step 4: Check time constraints Step 5: Execute the match alternative Send statement: if current time is SendTime i , then execute it

21 TTCN-3 vs. Real-time TTCN Capabilities of specifying time constraints –TimedTTCN-3 is more powerful than Real-time TTCN Flexibility –TimedTTCN-3 is more flexible: like common programming languages –Real-time TTCN: more compact and formal Semantics –TimedTTCN-3: more straightforward and simple –Real-time TTCN: more complicated applicability –TimedTTCN-3: real-time testing and performance testing –Real-time TTCN: only real-time testing

22 Outline Background and Motivation Model of SUT Test Behavior Tree Test case transformation –TimedTTCN-3 –Real-time TTCN –Comparisons Conclusion and Future work

23 Conclusion and Future work Study test notations in real-time interoperability testing Investigate the two test notations –TimedTTCN-3 –real-time TTCN –TimedTTCN-3 is more powerful and flexible than real-time TTCN and can be more suitable for real-time interoperability testing. Future work –study real-time interoperability testing under distributed test architecture –use the TimedTTCN-3 based test system in real-life timed interoperability testing

Thank you! If you have any questions, please send to:

25 Pre-order traversing method PCO1!A1 PO?a PO?b PCO1?B1 PCO1?otherwise PO?b PCO1?C1 PCO1?otherwise PO?c PCO1?C1 PCO1?otherwise PO?b PO?c PO?otherwise PO?a PO?otherwise

26 Proposition 1. In real-time interoperability testing, all time constraints of each node in test behavior trees can be represented as EET and LET by the above syntactical extensions.