A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / 6.3.2000 / Page 1 Conformance Testing of CORBA Services.

Slides:



Advertisements
Similar presentations
ESO - Tokyo July, 2005 ALMA Common Software Training- Course Session 1b Distributed Systems G.Chiozzi.
Advertisements

COM vs. CORBA.
Tool support for Distributed Object Technology
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 2.
Common Object Request Broker Architecture (CORBA) By: Sunil Gopinath David Watkins.
CORBA Architecture Nitin Prabhu. Outline CORBA Object Model CORBA Architecture Static Invocation Dynamic Invocation CORBA Communication Model.
Architectural Pattern: Broker
CORBA - Common Object Request Broker Architecture.
Seminarium on Component-based Software Engineering Jan Willem Klinkenberg CORBA.
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
CORBA Framework Eelements 1 CORBA Framework Elements  Object Request Broker (ORB)  This is the object manager in CORBA  Mechanisms for specifying interfaces.
CORBA Case Study By Jeffrey Oliver March March 17, 2003CORBA Case Study by J. T. Oliver2 History The CORBA (Common Object Request Broker Architecture)
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Distributed Service Architectures Yitao Duan 03/19/2002.
II. Middleware for Distributed Systems
Constructing Reliable Software Components Across the ORB M. Robert Rwebangira Howard University Future Aerospace Science and Technology.
Communication in Distributed Systems –Part 2
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
CORBA Programming Using ACE/TAO
MDA Guide Version CYT. 2 Outline OMG Vision and Process Introduction to MDA How is MDA Used? MDA Transformations Other MDA Capabilities Using the.
Copyright © 2003 ProsoftTraining. All rights reserved. Distributed Object Computing Using Java and CORBA.
Understanding the CORBA Model. What is CORBA?  The Common Object Request Broker Architecture (CORBA) allows distributed applications to interoperate.
DOT’98 Workshop Heidelberg, 1-2 September 1998 DOT versus Agent Technology in Telecommunication Applications Tianning Zhang GMD FOKUS
©Ian Sommerville 2000 Software Engineering, 6th edition. Slide 1 Component-based development l Building software from reusable components l Objectives.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
1 Distributed Systems Distributed Objects & Remote Invocation II (CORBA VS DCOM) Dr. Sunny Jeong. With Thanks to.
Distributed Software Systems with CORBA Presented by: Shruti Srivastava 05IT6015 Under the guidance of : Prof. Debasis Samanta.
Information Management NTU Interprocess Communication and Middleware.
1 of of 25 3 of 25 ORBs (Object Request Broker) – A distributed software bus for communication among middleware services and applications – To.
Introduction to Distributed Systems Slides for CSCI 3171 Lectures E. W. Grundke.
TTCN Protocol Testing on Steroids! IEEE P WPAN Meeting March 6-10, 2000 Albuquerque, NM USA 802 Plenary Meeting Matthew Graney Telelogic North America.
New features for CORBA 3.0 by Steve Vinoski Presented by Ajay Tandon.
Abhishek Bachchan Vishal Patangia
Introduction to CORBA University of Mazandran Science & Tecnology By : Esmaill Khanlarpour January
Dynamic Invocation Interface Alternative to using IDL stubs Object cannot distinguish between the two. How is DII different for the programmer?
Distributed Objects and Middleware. Sockets and Ports Source: G. Coulouris et al., Distributed Systems: Concepts and Design.
CSC 480 Software Engineering Lecture 18 Nov 6, 2002.
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.
Distributed Object Frameworks DCE and CORBA. Distributed Computing Environment (DCE) Architecture proposed by OSF Goal: to standardize an open UNIX envt.
CORBA Common Object Request Broker Architecture. Basic Architecture A distributed objects architecture. Logically, an object client makes method calls.
DEVS Based Modeling and Simulation of the CORBA POA F. Bernardi, E. de Gentili, Pr. J.F. Santucci {bernardi, gentili, University.
Presented By:- Sudipta Dhara Roll Table of Content Table of Content 1.Introduction 2.How it evolved 3.Need of Middleware 4.Middleware Basic 5.Categories.
Common Object Request Broker Architecture (CORBA) The Common Object Request Broker Architecture (CORBA) is a specification of a standard architecture for.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
CS551 - Lecture 11 1 CS551 Object Oriented Middleware (III) (Chap. 5 of EDO) Yugi Lee STB #555 (816)
 Common Object Request Broker Architecture  An industry standard developed by OMG to help in distributed programming.
CORBA (Common Object Request Broker Architechture) Aniket Prabhune Varun Saini Balaprasuna Chennupati Lally Singh.
Secure middleware patterns E.B.Fernandez. Middleware security Architectures have been studied and several patterns exist Security aspects have not been.
G.v. Bochmann, revised Jan Comm Systems Arch 1 Different system architectures Object-oriented architecture (only objects, no particular structure)
(C) 2003 University of ManchesterCS31010 Lecture 14: CORBA.
1 DOT’98 Workshop Heidelberg, 1-2 September 1998 CORBA and TMN The Story So Far EURESCOM DOT ‘98, 1-2 September 1998 Tom Counihan, Researcher, Broadcom.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
Creating Telecommunication Services based on Object- Oriented Frameworks and SDL Dr Richard Sinnott GMD Fokus Berlin, Germany.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Topic 5: CORBA RMI Dr. Ayman Srour
TTCN-3 Testing and Test Control Notation Version 3.
Topic 4: Distributed Objects Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
CORBA Antonio Vasquez, John Shelton, Nidia, Ruben.
1 Distributed Systems Architectures Distributed object architectures Reference: ©Ian Sommerville 2000 Software Engineering, 6th edition.
CORBA: An Overview Mojtaba Hosseini.
Common Object Request Broker Architecture (CORBA)
CORBA Alegria Baquero.
Inventory of Distributed Computing Concepts and Web services
Component-Based Software Engineering: Technologies, Development Frameworks, and Quality Assurance Schemes X. Cai, M. R. Lyu, K.F. Wong, R. Ko.
DISTRIBUTED COMPUTING
CORBA Alegria Baquero.
Inventory of Distributed Computing Concepts
Component--based development
Copyright 1999 B.Ramamurthy
Presentation transcript:

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 1 Conformance Testing of CORBA Services using Tree and Tabular Combined Notation Alexey Mednonogov Helsinki University of Technology Telecommunications Software and Multimedia Laboratory March 2000, Espoo FINLAND

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 2 Applications and Techniques n n Common Object Request Broker Architecture m m Middleware architecture for transparent communication in heterogeneous environment (platform, language, location) m m Interoperable, robust, high-performance solutions m m Seamless interconnection of multi-vendor services n n Conformance testing of CORBA using TTCN m m TTCN is a mature standardized framework for reusable and automated testing of telecommunication systems m m Key success factor for ensuring reliability of distributed Internet-based CORBA services and applications

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 3 Object Management Architecture n n CORBA is the communications heart of OMA Reference Model n n ORB is a low-level subsystem responsible for transparent communication of objects n n CORBAservices define system interfaces complementing the basic functionality of ORB n n CORBAfacilities provide standard frameworks for defining universal rules of engagement for CORBA- based collaborating objects Object Management Architecture Reference Model

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 4 CORBA Middleware Architecture n n Interface Definition Language (IDL) acts as a primary contract between servers and clients, abstracting from the details of implementation, location in the network and the platform used n n A client can introspect contents of Interface Repository (IFR) to find out which requests can be processed by a specific server and what data types are used n n A server advertises its presence to clients by its Interoperable Object Reference (IOR) OMG Common Object Request Broker Architecture

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 5 Conformance Testing Architecture

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 6 CORBA Services Testing Methodology m m Application-level CORBA clients and servers are being tested using remote test method in a single-party testing context (SPyT) m m Low-level ORB protocols (GIOP/IIOP) and all other ORB components are assumed to be functioning properly m m CORBA/TTCN gateway exploits DII, DSI & IFR to convert TTCN ASP to dynamic request / response and vice versa m m As SUT cannot distinguish whether static or dynamic invocation scheme has been used, the implementation details of test environment are completely transparent from SUT perspective

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 7 IDL/TTCN Mapping: Overview IDL-to-TTCN Mapping Rules in a Nutshell m m Related work of GMD FOKUS & JIDM (NMF and X/Open) shall be acknowledged (basic concepts for mapping IDL operations, type definitions etc. to TTCN language)

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 8 IDL/TTCN Mapping: Details   “Bit stuffing” concept is used for mapping IDL compound identifiers to a single TTCN identifier (symbolic chain “_i” acts as a separator and all “_” characters are duplicated, e.g. IDL “ModA_::_ModB::IntC”  TTCN “PCO1_iModA___i__ModB_iIntC” ) m m CALL_ID field is introduced into every Exception, Call & Reply ASP to uniquely identify operation calls m m Several forms of Registration ASP are defined for binding a specific TTCN PCO with CORBA client or server object m m Our mapping allows catching group of exceptions defined within one IDL module/interface in one TTCN constraint

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 9 IDL/TTCN Mapping: Data Types m m In most cases, IDL data types are naturally mapped to ASN.1 types without complications m m Mapping for IDL “union” shall include information about exact value of discriminator IDL “any” type is a real challenge!

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 10 CORBA/TTCN Gateway: Overview m m Acts as an intermediary between Test System and SUT m m The gateway itself is a CORBA-based Java application (ORBacus from OOC Inc. + OpenTTCN from OES Oy) m m Distributed and interpreted nature of the test environment speeds up design of Abstract Test Suite (ATS), as well as facilitates testing in multi-party context (concurrent TTCN) m m Relatively low performance of Java language is not of crucial importance, as performance measurements in conformance testing are not usually involved

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 11 CORBA/TTCN Gateway: Architecture n n Builder, Visitor & Adapter design patterns are used n n Visitor introspects ASP coming from the test environment n n Builder constructs ASP either from server response or from client operation call n n Adapter performs a technical conversion of information from IFR into internal format n n Asynchronous mode of DII is used, what allows design of concurrent test suites or even simultaneous execution of several test suites served by one gateway component

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 12 Testing Gateway Functionality m m Two groups of test cases, 9 test cases in each group m m One group for testing CORBA servers, another one for testing CORBA clients m m A minimum set of tests of gateway states

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 13 Test Session Example n n Two typical stages of testing CORBA service: m m registering a CORBA object (pCREG_IOR) m m issuing (or accepting) actual operation calls n n IOR used for binding a PCO with CORBA server is supplied to ATS in form of PIXIT parameter

A. Mednonogov / Helsinki University of Technology / Conformance Testing of CORBA Services Using TTCN / / Page 14 Conclusions m m TTCN framework facilitates practical testing of active service components (servers), as it provides formal and standardized means for reusable & automated testing of telecom systems m m Yet, TTCN does not show up enough flexibility in emulating a full-scale functionality of a typical CORBA servant, making TTCN-oriented processing of requests coming from reactive components (clients) look relatively awkward m m If SUT mostly contains active parts (which is normally the case in testing CORBA services), then TTCN framework shall undoubtedly be preferred