Concurrent Signal and Procedure based Testing using TTCN-3 Satish GVKS Infrastructure System Division Motorola India Electronics Pvt Ltd. Bangalore, India.

Slides:



Advertisements
Similar presentations
TTCN-3 Users Conference
Advertisements

HUAWEI TECHNOLOGIES CO., LTD. :32-35pt : R153 G0 B0 : FrutigerNext LT Medium : Arial :30-32pt : R153 G0 B0 : :20-22pt (2-5 ) :18pt : FrutigerNext LT Regular.
Model-Based Testing with Smartesting Jean-Pierre Schoch Sogetis Second Testing Academy 29 April 2009.
System and Software Engineering Research 1 Motorola 2003 Integrated Application of MSC Clive Jervis Rapporteur Q15 Motorola UK Research Labs.
Use of ITU-T languages in Nokia
TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
1 Communication in Distributed Systems REKs adaptation of Tanenbaums Distributed Systems Chapter 2.
K T A U Kernel Tuning and Analysis Utilities Department of Computer and Information Science Performance Research Laboratory University of Oregon.
Conformance Testing of MOST based Applications Towards Effective System Testing André Baresel, Michael Schmidt - DaimlerChrysler AG Contact:
TTCN-3 Based Automation Framework for LTE UE Protocol Stack Testing
Tool support for Distributed Object Technology
© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
Remote Procedure Call (RPC)
TTCN-3 Test Case Generation from arbitrary traces Capture & Replay Bogdan Stanca-Kaposta & Theofanis Vassiliou-Gioles (Testing Technologies)
Sensor Network Platforms and Tools
Software Frame Simulator (SFS) Technion CS Computer Communications Lab (236340) in cooperation with ECI telecom Uri Ferri & Ynon Cohen January 2007.
Tam Vu Remote Procedure Call CISC 879 – Spring 03 Tam Vu March 06, 03.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Middleware Technologies compiled by: Thomas M. Cosley.
Client/Server Architecture
The Client/Server Database Environment
Host Identity Protocol
2011 Embedded Systems Software Training Center BluRapport SDK.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
1 Computer Networks DA Chapter 1-3 Introduction.
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
1 SAM /JUNE/2000 SDL Based Auto Code Generation: A Multi Beneficial Approach Bhaskar Rao.G Software Engineering Group, Motorola India Electronics.
1. Validating Wireless Protocol Conformance Test Cases Amresh Nandan Paresh Jain June 2004.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
SEMINOR. INTRODUCTION 1. Middleware is connectivity software that provides a mechanism for processes to interact with other processes running on multiple.
Client Call Back Client Call Back is useful for multiple clients to keep up to date about changes on the server Example: One auction server and several.
TTCN-3 MOST Challenges Maria Teodorescu
Boost Verification Results by Bridging the Hw/Sw Testbench Gap by Matthew Ballance Verification Technologist Mentor Graphics.
Source: Operating System Concepts by Silberschatz, Galvin and Gagne.
OS2014 PROJECT 2 Supplemental Information. Outline Sequence Diagram of Project 2 Kernel Modules Kernel Sockets Work Queues Synchronization.
Copyright SOLINET GmbH SDL & Requirements of Signalling Systems William H. Skelton SOLINET, Stuttgart.
1 © NOKIA Functionality and Testing of Policy Control in IP Multimedia Subsystem Skander Chaichee HUT/Nokia Networks Supervisor: Professor Raimo.
Remote Procedure Calls CS587x Lecture Department of Computer Science Iowa State University.
UNIT III - JDBC JDBC Overview – JDBC implementation – Connection class – Statements - Catching Database Results, handling database Queries. Networking–
CSE 332: Design Patterns Review: Design Pattern Structure A design pattern has a name –So when someone says “Adapter” you know what they mean –So you can.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
How to write a MSGQ Transport (MQT) Overview Nov 29, 2005 Todd Mullanix.
RTD Basic Training. Agenda Control PC Network Connection Setup Configure RTD –RTD License Installation –RTD Environment Configuration –Archives Basic.
LECIS - based Laboratory Automation in the Pharmaceutical Industry “plug-and-play” of equipment with a common interface that is independent of the vendor.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
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.
1 Chapter 5: Threads Overview Multithreading Models & Issues Read Chapter 5 pages
XML-based Representation of Test Cases for Distributed Systems Alexander Kraas 7. October 2008.
Introduction to threads
Motivation, Terminology, Layered systems (and other random stuff)
The Client/Server Database Environment
Allow tool-specific code in TTCN-3 as well in conformance test suite
#01 Client/Server Computing
Chapter 3: Windows7 Part 4.
CS703 - Advanced Operating Systems
Software Engineering Group, Motorola India Electronics Pvt. Ltd.,
Computer Networks DA2402.
#01 Client/Server Computing
Presentation transcript:

Concurrent Signal and Procedure based Testing using TTCN-3 Satish GVKS Infrastructure System Division Motorola India Electronics Pvt Ltd. Bangalore, India Mallikarjuna Rao GSVS Infrastructure System Division Motorola India Electronics Pvt Ltd. Bangalore, India

2 Agenda SUT Overview Motivation Proposed Test Solution Test System Details Results Benefits Challenges

3 SUT Overview SUT is the call processing network element of CDMA cellular system, called Mobility Manager (MM) MM communicates with different network elements like Mobile Switching Center (MSC) and Base Transceiver Station (BTS) via different messages MM also interacts with a database component through a set of APIs SUT is developed in UML2.0 using Telilogic TAUG2

4 SUT Overview – Contd.. MSC BTS Database Component Mobility Manager (MM) Call Processing Device Management Database Retrieval API calls Proprietary Signaling Protocol SS7 Interface

5 Motivation Repeatable, Automated testing of Any UML Model Simulation – repeatable for regression testing – automated so can be run without user intervention – any active class within a model Reactive Testing – test behaviour depends upon model behaviour – e.g. data variation such as call ids, dynamic signalling variation Not possible with Tau G2 Model Verifier alone – requires user to drive simulation interactively – limited support for automated scripting – scripting does not support reactive testing

6 Proposed Test Solution SUT Procedure Database Procedure Stubs Signal Based Encoder/ Decoders TTCN-3 ATS PTC for handling Procedure Calls MTC Handling Signals Test System Signal Integrated Application

7 Test System Details Test System Comprises of –TTCN-3 ATS –Encoders/Decoders –Socket Communication –Glue code for Tau G2 kernel –Procedure Stubs

8 Test System Details TTCN-3 ATS –MTC of ATS handles all message based interfaces –MTC creates a PTC upon initialization –All procedure calls are handled by the PTC –Synchronization between MTC and PTC is achieved by using a signal Encoders/Decoders –Generic Encoder/Decoder for signals Uses the leaf level atomic data types to encode/decode Can be reused for any TTCN-3 test system –Specific encoders/decoders for procedures A layer of codex implemented at procedure parameter level Can be reused within our test system

9 Test System Details Socket Communication –Separate sockets for signal and procedure based communications –Signal based communication uses two different sockets for sending and receiving Purely asynchronous –Procedure based communication uses a single socket for sending and receiving Procedure calls are blocking calls which makes the model to wait till response is received Purely Synchronous

10 Test System Details TauG2 Kernel Glue code –Code changes to queue the messages into and retrieve back from Model Procedure Stubs –Stubs on SUT side and TTCN-3 side are implemented –Stubs duplicate the actual procedure call signatures and use the codex system to encode/decode the data

11 Application Code Stubs Glue code Encoder/Decoder TTCN-3 System Adaptation Layer TTCN-3 Test Case Encoder/ Decoder Integrated ApplicationTS Socket Transport for procedure based communication Socket Transport for message based communication Test System Overview

12 Results TTCN-3 ATS MTC testcase MainTest() runs on L_Component system L_System_Component { var verdicttype testcaseVerdict; …. var L_Proc_Ptc procPtc; procPtc := L_Proc_Ptc.create; procPtc.start(procStubs()); MP_MTC.send(sigMTCPTC:{1}); MP_MTC.receive(sigMTCPTC_t(1)); C_PSignalsMTC.send(Shared__sig: Shared_Create_tmpl); C_MTC.receive(ApplicationHeartbeat: ?)-> value hb_resp; … C_MTC.send(HBR: hb_resp); }

13 Results TTCN-3 ATS PTC function procStubs() runs on Proc_Ptc { …. while(true) { alt { []MP_PTC.receive(?)-> value mtcSignal{ testCaseNumber := mtcSignal.testcaseNum; MP_PTC.send(mtcSignal); repeat; } []proc_portPTC.getcall(TKMain:{?}) -> param (bool){ proc_portPTC.reply(TKMain:{bool}); repeat; } [testCaseNumber == 2]OToF_testCase2(); } ….. } Altstep OToF_testCase2() runs on Proc_Ptc { …… [OToF_Count == 1] proc_portPTC.getcall(OToF:{?,?}) -> param(ol,dn){ … }

14 Results Test Execution Trace

15 Benefits Ease of testing the systems that require concurrent simulation of multiple components Automation of Sub-system testing Single test system solution for testing multiple interfaces

16 Challenges Complex changes in System Adaptation layer –TTCN-3 Encoder/Decoders –UML2.0 side encoder/decoder are dependant on the tool internal representation of the data TTCN-3 limitations –External file access need to go through only external C procedures –Takes more time for the implementation –Requires more changes in Adaptation layers