© 2003 Fokus/TIP 1 Testability Interface Test Runtime Interface (TRI) George Din, Andreas Hoffmann, Ina Schieferdecker { din | a.hoffmann | schieferdecker.

Slides:



Advertisements
Similar presentations
Test Case Generation for testing SNMP agents
Advertisements

SPLGraph: Towards a Formalism for Software Product Lines Itay Maman IBM Research – Haifa Goetz Botterweck Lero – The Irish software Engineering Research.
GenArch: Automatic Product Derivation in Multi-agent Systems Product Line Elder Cirilo.
Chapter 13: The Systems Perspective of a DSS
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 12 Introduction to ASP.NET.
Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Oct, 26 th, 2010 OGF 30, NSI-WG: Network Service Interface working group Web Services Overview Web Services for NSI protocol implementation
5 August Eclipse Foundation - Mike Norman – CEO Scapa® Technologies Eclipse Test Project Lead Eclipse Test & Performance Tools Platform.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
©2003 aQute, All Rights Reserved Tokyo, August 2003 : 1 OSGi Service Platform Tokyo August 28, 2003 Peter Kriens CEO aQute, OSGi Fellow
1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
4 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: Servlets.
Elton Mathias and Jean Michael Legait 1 Elton Mathias, Jean Michael Legait, Denis Caromel, et al. OASIS Team INRIA -- CNRS - I3S -- Univ. of Nice Sophia-Antipolis,
Telematics group University of Göttingen, Germany Integrated Application of TTCN Dieter Hogrefe.
TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
International Telecommunication Union ITU-T Study Group 17, Geneva, 5-14 October 2005 An Introduction to version 3 Dr. Michael Ebner University Göttingen,
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ZMQS ZMQS
Communicating over the Network
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design 1.
1 Communication in Distributed Systems REKs adaptation of Tanenbaums Distributed Systems Chapter 2.
1 Utility Integration Bus Standard Middleware + Utility Specific Integration (not secret) Sauce Copyright 1998,1999 Systems Integration Specialists Company,
1 WSDL: Web Service Description Language Gary Sharp Mike Breakiron.
Application Server Based on SoftSwitch
ABC Technology Project
Component-Based Software Engineering Main issues: assemble systems out of (reusable) components compatibility of components.
© NOKIA Originator: Martin Botteck / April 12, 2005 / Page:1 Nokia Research Center CAR/MEM/VTT Making TTCN-3 work Making TTCN-3 work! Issues and strategies.
Database System Concepts and Architecture
3.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process An operating system executes a variety of programs: Batch system.
1. 2 Captaris Workflow Microsoft SharePoint User Group 16 May 2006.
Executional Architecture
Implementation Architecture
Global Analysis and Distributed Systems Software Architecture Lecture # 5-6.
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
Week 1.
We will resume in: 25 Minutes.
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
Towards a Standard Interface for Runtime Inspection in AOP Environments OOPSLA Workshop on Tool for AOSD, Seattle, November 2002 Katharina Mehner and Awais.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Chapter 16 Integrated Services Digital Network (ISDN)
From Model-based to Model-driven Design of User Interfaces.
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
The Use of TTCN-3 for Software Testing Ina Schieferdecker FOKUS, Berlin
Understanding and Managing WebSphere V5
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
ETSI Protocol and Testing Competence Centre
1. 11th TTCN-3 User Conference Implementing TTCN-3 Bangalore, June 2012.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
1 of of 25 3 of 25 ORBs (Object Request Broker) – A distributed software bus for communication among middleware services and applications – To.
2nd TTCN-3 User Conference, June The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,
TTCN-3 MOST Challenges Maria Teodorescu
TTCN-3 Language Maintenance and Evolution TTCN-3 User Conference 2011, Bled Gyorgy Rethy STF 430 Leader
CS551 - Lecture 11 1 CS551 Object Oriented Middleware (III) (Chap. 5 of EDO) Yugi Lee STB #555 (816)
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
TTCN-3 Testing and Test Control Notation Version 3.
Testing Wireless over Wire with TTCN-3
TTCN-3 Status Report.
Proposal for a New Work Item: TTCN-3 Control Interfaces
Presentation transcript:

© 2003 Fokus/TIP 1 Testability Interface Test Runtime Interface (TRI) George Din, Andreas Hoffmann, Ina Schieferdecker { din | a.hoffmann | schieferdecker

© 2003 Fokus/TIP 2 Overview 1.Prerequisites –TTCN-3 Language –A TTCN-3 Runtime System 2.Testability interface –The TTCN-3 Runtime Interface (TRI) –Input for T11 - Generalized execution environment 3.TTCN-3 Logging compliant vs. Hyades Monitoring L. 2 –The TTCN-3 Logging Interface –Adapting TTCN-3 Logging to Hyades Logging Framework

© 2003 Fokus/TIP 3 1. TTCN-3 Language A TTCN-3 Runtime System

© 2003 Fokus/TIP 4 TTCN-3 The Testing and Test Control Notation (version 3) Standardized by ETSI The standardized test specification and test implementation language Wide scope of application –applicable to many kinds of test applications not just conformance, i.e. also for development, system, integration, interoperability, scalability … testing –applicable in the telecom and IT domains –used both for standardized test suites –and as a generic solution in software development More details about TTCN-3 in 2nd presentation this afternoon

© 2003 Fokus/TIP 5 Main Capabilities of TTCN-3 Dynamic concurrent testing configurations Synchronous and asynchronous communication mechanisms Encoding information and other attributes Data and signature templates with powerful matching mechanism Assignment and handling of test verdicts Test suite parameterization and testcase selection mechanisms Well-defined syntax, interchange format Type and value parameterization

© 2003 Fokus/TIP 6 TTCN-3 and Related Standards ETSI ES TTCN-3 Core Language (CL) 2nd presentation … ETSI ES TTCN-3 TTCN-3 Runtime Interface (TRI) Later in this presentation ETSI ES TTCN-3 TTCN-3 Control Interfaces (TCI) 2nd presentation

© 2003 Fokus/TIP 7 Test System User System Under Test (SUT) Test Execution (TE) Test Management (TM) Platform Adapter (PA) System Adapter (SA) Component Handling (CH) CoDec (CD) TTCN-3 Runtime System TTCN-3 programme Port implementation Timer and external functions implementation Communication between test components Type and Value Implem. Start and stop test cases …

© 2003 Fokus/TIP 8 Test System User System Under Test (SUT) Test Execution (TE) Test Management (TM) Platform Adapter (PA) System Adapter (SA) Component Handling (CH) CoDec (CD) Test Control Interface (TCI) TTCN-3 Runtime Interface (TRI) TTCN-3 Runtime System

© 2003 Fokus/TIP 9 Test Execution Test System + communication SUT TE ATS

© 2003 Fokus/TIP 10 Eclipse based TTCN-3 Editor Features Syntax Highlighting Syntax Error Checker Outline View Task viewer for errors Keyword completion Context sensitive To be integrated in Hyades

© 2003 Fokus/TIP The TTCN-3 Runtime Interface (TRI) Input for T11 - Generalized execution environment

© 2003 Fokus/TIP 12 TRI – Communication Adaptation Facts on the TTCN-3 Runtime Interface Standardized (part 5) Language independent specification (IDL) Multi-vendor support Communication adaptation Configuration dependent For each configuration done once Default timer implementation can be generated (PA) Input for T11: the definition of a testable interface to SUT TE Test System User SUT TCI TRI CH CD SAPA TM

© 2003 Fokus/TIP 13 TRI – Interface Structure Structure of interfaces applies to all TRI interfaces SA/PA reports status back to TE System adaptation: Communication with SUT Platform adaptation: timer and external functions implementation TE indicates error TE PA TriPlatformPA TriPlatformTE SA TriCommunicationSA TriCommunicationTE TE

© 2003 Fokus/TIP 14 The TciCommunicationSA Interface Defines setting up configuration and sending of message to and/or calling of operations in the SUT Complete set of operations TriStatusType triSAReset(); TriStatusType triExecuteTestCase(...); TriStatusType triMap(...); TriStatusType triUnmap(...); TriStatusType triSend(...); TriStatusType triCall(...); TriStatusType triReply(... ); TriStatusType triRaise(...); TriStatusType triSUTactionInformal(...); TriStatusType triSUTactionTemplate(...);

© 2003 Fokus/TIP 15 TriCommunicationTE Interface Defines receiving of messages and/or calling of operations in the TE Complete set of operations: void triEnqueueMsg(...); void triEnqueueCall(...); void triEnqueueReply(...); void triEnqueueException(...);

© 2003 Fokus/TIP 16 TriPlatform Interface Defines control of time and calling of external functions Complete set of operations (PA) TriStatusType triPAReset(); TriStatusType triStartTimer(...); TriStatusType triStopTimer(...); TriStatusType triReadTimer(...); TriStatusType triTimerRunning(...); TriStatusType triExternalFunction(...); Complete set of operations (TE) void triTimeout(...); TE PA TriPlatformPA TriPlatformTE

© 2003 Fokus/TIP 17 Adapting Test Systems to SUT with TRI TRI – test and platform specific adaptation layer TRI provides a set of operations... independent of the –target platform –SUT –middleware –implementation language TRI is a common interface to different types of SUTs –Defined in IDL –Mappings to Java and C exists Possible integration of existing Test Adapters (GSM, N-ISDN, B-ISDN, CORBA applications)

© 2003 Fokus/TIP 18 HTTP Test Adapter example public htmlTestAdapter extends TestAdapter { private URL url = null; public TriStatus triMap(TriPortId compPortId, TriPortId tsiPortId){ te.triMap(compPortId, tsiPortId); Thread runningThread = new Thread(){ public void run(){... while (...) { if(url != null){ StringBuffer sb = new StringBuffer(); InputStream is = url.openStream(); BufferedReader br = new BufferedReader(new InputStreamReader(is)); String line = br.readLine(); while (line != null) { sb.append(line); line = br.readLine(); } TriMessage rcvMessage = new TriMessageImpl(sb.toString().getBytes()); te.triEnqueueMsg(tsiPortId, new TriAddressImpl( new byte[] {}), compPortId.getComponent(), rcvMessage); }}}... } public TriStatus triSend(TriComponentId componentId, TriPortId tsiPortId, TriAddress address, TriMessage sendMessage){ byte[] mesg = sendMessage.getEncodedMessage(); url = new URL(new String(mesg)); }

© 2003 Fokus/TIP The TTCN-3 Logging Interface Adapting TTCN-3 Logging to Hyades Logging Framework

© 2003 Fokus/TIP 20 TTCN-3 Logging Interface Logging of the TTCN-3 Execution Environment Not standardized but adopted by TestingTech, Nokia Logging Types: –TCI specific: management of components, tests –TRI specific: management of timers, communication with SUT –Error Handling: exceptions, errors –Debug: debugging information at execution Contains ~ 60 methods The implementations usually produce XML events

© 2003 Fokus/TIP 21 Test Logging API logStartTestCase() logStopTestCase() logTestCaseStarted logTestCaseTerminated... logCreateTestComponent() logStartTestComponent() logStopTestComponent()... logSendConnected() logCallConnected() logReplyConnected() logRaiseConnected()... logDebug() logEvent() logError()

© 2003 Fokus/TIP 22 Compliance with Monitoring Level 2 Data Collection –The Logging Interface is implemented as RAC server –Hyades can connect anytime and collect logging data Visualization –Hyades views can be used –For more detailed visualization, the Hyades views should be extended Implementation –Common Logging format for TTCN-3 (XML Schema) –Common parser (TTCN-3 XML Logs CBE Events) Benefits –One common RAC Server for TTCN-3 Logging

© 2003 Fokus/TIP 23 Summary Integration of TTCN-3 Editors in Hyades Propose TRI as SUT testable interface Input for T11 - Generalized execution environment Adopt TRI as general interface to SUT A large number of implementations already exist RAC server for TTCN-3 Logging interface TTCN-3 specific Logs can be visualized in Hyades