XML-based Representation of Test Cases for Distributed Systems Alexander Kraas 7. October 2008.

Slides:



Advertisements
Similar presentations
TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
Advertisements

Concurrent Signal and Procedure based Testing using TTCN-3 Satish GVKS Infrastructure System Division Motorola India Electronics Pvt Ltd. Bangalore, India.
The Use of TTCN-3 for Software Testing Ina Schieferdecker FOKUS, Berlin
IEC Substation Configuration Language and Its Impact on the Engineering of Distribution Substation Systems Notes Dr. Alexander Apostolov.
An overview on the Testing and Test Control Notation version 3 (TTCN-3) Helmut Neukirchen Háskóli Íslands
IHA præsentation1 Protocol Testing Lesson 5. IHA præsentation2 Outline for today Guidelines for testing protocols TTCN – A Standard Language For Testing.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Business Process Orchestration
Process-oriented System Automation Executable Process Modeling & Process Automation.
Formal Testing of Web Content using TTCN-3 By Robert Probert, Bernard Stepien, Pulei Xiong University of Ottawa.
ETSI Protocol and Testing Competence Centre
An Approach and Tool for Synchronous Refactoring of UML Diagrams and Models Using Model-to-Model Transformations Hafsteinn Þór Einarsson Helmut Neukirchen.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
© LogicaCMG All rights reserved Erik Altena Jos van Rooyen Leon Wolters Towards a Keyword-Driven Test Presentation Format using TestFrame.
1 TRex Paul Baker 1, Dominic Evans 1, Jens Grabowski 2, Helmut Neukirchen 2, Benjamin Zeiss 2 The Refactoring and Metrics Tool for TTCN-3 Test Specifications.
Introduction to MDA (Model Driven Architecture) CYT.
Agenda 1. Introduction 2. Overview of SU-MoVal 3. OCL-based Model Validation 4. QVT-based Transformations 5. Demo of SU-MoVal 6. Conclusion and Future.
1. 11th TTCN-3 User Conference An Introduction to TTCN-3 Bangalore, June 2012.
TTCN Protocol Testing on Steroids! IEEE P WPAN Meeting March 6-10, 2000 Albuquerque, NM USA 802 Plenary Meeting Matthew Graney Telelogic North America.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Institute for Telematics University of Lübeck, Germany M. Ebner, M. Schmitt, J. Grabowski Test Generation with Autolink and TestComposer.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
TTCN-3 MOST Challenges Maria Teodorescu
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
This material was developed by Duke University, funded by the Department of Health and Human Services, Office of the National Coordinator for Health Information.
Dictionary based interchanges for iSURF -An Interoperability Service Utility for Collaborative Supply Chain Planning across Multiple Domains David Webber.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
Cooperative Computing & Communication Laboratory A Survey on Transformation Tools for Model-Based User Interface Development Robbie Schäfer – Paderborn.
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
TTCN-3 Testing and Test Control Notation Version 3.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Unified functional/load test architecture and methodology using TTCN-3 TELEFÓNICA I+D Date: June 1st, 2007.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
Business Process Execution Language (BPEL) Pınar Tekin.
1 TTCN CONFORMANCE TEST SUITE TTCN-3 Part 1 & Part 9 STF 487 Bogdan Stanca-Kaposta/ Testing Technologies Tomas Urban / Elvior Andras Kovacs / Broadbit.
1 Nikolay Pakulin/ ISPRAS Bogdan Stanca-Kaposta/ Testing Technologies Bostjan Pintar / Sintesio Tomas Urban / Elvior TTCN-XML CONFORMANCE TEST SUITE STF.
Work Item “Patterns in Test Development (PTD)” Re-start Meeting 17 March, Berlin Helmut Neukirchen Institute for.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Anytype – what does it mean? Currently, anytype is a union of all known types in the context of the reference to the type anytype (excluding imported name-clashing.
Multi-Device UI Development for Task-Continuous Cross-Channel Web Applications Enes Yigitbas, Thomas Kern, Patrick Urban, Stefan Sauer
Databases (CS507) CHAPTER 2.
Sabri Kızanlık Ural Emekçi
Self Healing and Dynamic Construction Framework:
Introduction to Design Patterns
TTCN CONFORMANCE TEST SUITE TTCN-3 Part 1 & Part 9 STF 487 MILESTONE 2
Unit – 5 JAVA Web Services
Knowledge Management Systems
SIMPL-T: SDL Intended for Management and Planning of Tests By
Extension Package: Behaviour Types
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Enterprise Data Model Enterprise Architecture approach Insights on application for through-life collaboration 2018 – E. Jesson.
Software Connectors – A Taxonomy Approach
Service-centric Software Engineering 1
Patterns.
TDL: The ETSI Test Description Language
TTCN-3 Status Report.
Event-Based Architecture Definition Language
Data Model.
TDL: The ETSI Test Description Language
Typical Workflow - today
Implementing the Standardised Mapping of TDL to TTCN-3
ETSI TC MTS TDL SC meeting Reports
Develop a Reliability Test in TTCN-3
TDL: The ETSI Test Description Language
Business Process Management and Semantic Technologies
The Grid Component Model and its Implementation in ProActive
Product Training Program
Presentation transcript:

XML-based Representation of Test Cases for Distributed Systems Alexander Kraas 7. October 2008

Folie 2 Alexander Kraas Oct Contents  Motivation  Toolchain and Workflow  Design Goals  Structure and Mapping of XTR Test Cases  Conclusion & Future work

Folie 3 Alexander Kraas Oct Motivation Actual situation  Many commercial and academic tools for the model-based test generation  Different solutions for test case specification: -Using the same language for programming the SUT and writing test cases -Specification of test cases with scripting languages, e.g. TCL -Utilization of specialized testing languages, for example TTCN-3  Only a small number of test generation tools support several target languages Motivation for using an abstract representation format  A test representation format can facilitates: -The exchange of test cases between different tools -The implementation of adapters for different target languages  Advantages of using XML for test case representation: -XML documents can be formalized by XML Schemata (XSD) -XML is human-readable

Folie 4 Alexander Kraas Oct Toolchain and Workflow (1) Exemplarily architecture of a tool chain which utilizes the XTR format  Different test case generators and other optional modules  Adaptors for different target languages

Folie 5 Alexander Kraas Oct Toolchain and Workflow (2) Workflow of test case generation with the XTR format  Test Case Generator produces test cases in the XTR format  Optional modules can be used for post-processing of XTR test cases  A Language Adapter transforms XTR test cases into a target language, e.g. TTCN-3 or JUnit

Folie 6 Alexander Kraas Oct Design Goals The design of the XTR format rests on following main objectives  Representation of black-box test cases for the test of distributed communication systems  Support of concurrency and asynchronous communication  Usage of a simplified test architecture (without communication ports)  Powerful data type concept for representing user-defined as well as object- oriented data types  Providing only a minimal set of test interactions, because only automatic generated test cases should be represented

Folie 7 Alexander Kraas Oct Structure and Mapping of XTR Test Cases (1) The structure of a XTR test suite consists of four different element groups  -Containing all data types used by the test cases -Definitions can consists of simple as well as complex data types  -Optional template definitions for data types. -Templates can represent pre-defined values or matching expressions  -Specification of an abstract test architecture -The architecture have to be used by all test cases of a XTR test suite.  -This element contains all test cases of a XTR test suite

Folie 8 Alexander Kraas Oct Data type definitions and their mapping to TTCN-3 Structure and Mapping of XTR Test Cases (2)

Folie 9 Alexander Kraas Oct type record attrib_ExampleClass { charstring name } signature setName_ExampleClass (inout charstring par1) exception (charstring); Data type definitions and their mapping to TTCN-3 Structure and Mapping of XTR Test Cases (2)

Folie 10 Alexander Kraas Oct Test architecture Structure and Mapping of XTR Test Cases (3) A XTR test architecture can consists of:  Test components for protocol tests  Test components for API tests

Folie 11 Alexander Kraas Oct Test architecture Structure and Mapping of XTR Test Cases (3)

Folie 12 Alexander Kraas Oct Test architecture Structure and Mapping of XTR Test Cases (3) testcase TC_1() runs on mtcType { //creating parallel testComponents: var t_Component_1 Component_1 := Component_1.create; var t_Component_2 Component_2 := Component_2.create; // mapping to System Ports map (Component_1.pco1:system.pco1); map (Component_2.pco2:system.pco2); // starting Components behaviour Component_1.start(testBehaviour_1()); Component_2.start(testBehaviour_2()); }

Folie 13 Alexander Kraas Oct Specification of a XTR test case Structure and Mapping of XTR Test Cases (4) Concurrent test behavior:  Expressed by different groups of elements  Running on different testComponents

Folie 14 Alexander Kraas Oct Specification of a XTR test case Structure and Mapping of XTR Test Cases (4) elements are used to specify different interactions with the SUT:  For message-based communication and  For procedure-based communication, and

Folie 15 Alexander Kraas Oct Specification of a XTR test case Structure and Mapping of XTR Test Cases (4) Values for test interactions can be assigned in three different ways:  Fixed inline values  Templates  Dynamic values from local variables

Folie 16 Alexander Kraas Oct Specification of a XTR test case Structure and Mapping of XTR Test Cases (4) Test verdict is determined by the result of ,  or  test interactions.

Folie 17 Alexander Kraas Oct Specification of a XTR test case Structure and Mapping of XTR Test Cases (4) function testBehaviour_2 () runs on Component_2 { timer timeOutTimer := 15.0; timer waitTimer := 15.0; { pco2.send(...) // sending a fixed value timeOutTimer.start; alt { []pco2.receive(aTemplate) { setverdict(pass); timeOutTimer.stop;} []pco2.receive(?) { setverdict(fail); timeOutTimer.stop;} [] timeOutTimer.timeout{ setverdict(fail);} } synchronize(); // Waiting for other testcomponents }

Folie 18 Alexander Kraas Oct Conclusion & Future work Summary  The XTR format has been designed in order to represent test cases for distributed communicating systems  Support for asynchronous communication and concurrency  Mappings to different target languages  XTR is independent from any test generation tool Open Issues  Further refinements of the XTR format specification  Applicability of the XTR format for representing large test cases  Integration of different test case generators

Folie 19 Alexander Kraas Oct Any Questions?