TTCN-3 Users Conference

Slides:



Advertisements
Similar presentations
Test Case Generation for testing SNMP agents
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.
Operating Systems Components of OS
Use of ITU-T languages in Nokia
TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
Communicating over the Network
Facts about Welcome to this video from Ozeki. In this video I will present what makes Ozeki Phone System XE the Worlds best on-site software PBX for Windows.
IEEE INFOCOM 2004 MultiNet: Connecting to Multiple IEEE Networks Using a Single Wireless Card.
Categories of I/O Devices
Copyright © Open Text Corporation. All rights reserved. Slide 1 Automatic Routing With Captaris FaxPress and FaxPress Premier Darin McGinnes Sales Engineer.
Project Supervisor: Dr. Sanath Jayasena Project Coordinator: Mr. Shantha Fernando Athukorala A.U.B Dissanayake C.P. Kumara M.G.C.P. Priyadarshana G.V.J.
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
© Tally Solutions Pvt. Ltd. All Rights Reserved 1 Shoper 7.2 Interface with Tally.ERP 9 January 2010.
TTCN-3 Based Automation Framework for LTE UE Protocol Stack Testing
© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
Concurrent Signal and Procedure based Testing using TTCN-3 Satish GVKS Infrastructure System Division Motorola India Electronics Pvt Ltd. Bangalore, India.
RPC Robert Grimm New York University Remote Procedure Calls.
1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
© Tally Solutions Pvt. Ltd. All Rights Reserved 1 Shoper 9 Tally.ERP 9 Interface January 2010.
Technical Architectures
Team: Maya Zalcberg Diana Attar Levona Hershtik Academic advisor: Prof. Ehud Gudes ADD Presentation.
UDP - User Datagram Protocol UDP – User Datagram Protocol Author : Nir Shafrir Reference The TCP/IP Guide - ( Version Version.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
JokerStars: Online Card Playing William Sanville Milestone 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Chapter 6: Hostile Code Guide to Computer Network Security.
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
MS Access Advanced Instructor: Vicki Weidler Assistant:
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
Agenda  Terminal Handling in Unix File Descriptors Opening/Assigning & Closing Sockets Types of Sockets – Internal(Local) vs. Network(Internet) Programming.
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.
Simple Mail Transfer Protocol (SMTP)
Copyright MCL-Technologies v MCL-Collection MCL-Link.
Winrunner Usage - Best Practices S.A.Christopher.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Chapter 6 PHP Interacts with Mysql Database. Introduction In PHP, there is no consolidated interface. Instead, a set of library functions are provided.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
QuikTrac 5.5, a validated Motorola Software Solution, allows you to take your Host ERP screens and extend them out to fixed or mobile devices including.
Cohesion and Coupling CS 4311
CGI Common Gateway Interface. CGI is the scheme to interface other programs to the Web Server.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
TTCN-3 MOST Challenges Maria Teodorescu
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
ICM – API Server & Forms Gary Ratcliffe.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
AFS/OSD Project R.Belloni, L.Giammarino, A.Maslennikov, G.Palumbo, H.Reuter, R.Toebbicke.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
TTCN-3 Testing and Test Control Notation Version 3.
SAP R/3 User Administration1. 2 User administration in a productive environment is an ongoing process of creating, deleting, changing, and monitoring.
 This work confers an application which makes possible to use a Bluetooth enabled mobile phone to remote control home appliances such electric fan, LEDs.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Computer & Network Security
Automated ADT Interface Version .02
ODBC, OCCI and JDBC overview
z/Ware 2.0 Technical Overview
GLAST Release Manager Automated code compilation via the Release Manager Navid Golpayegani, GSFC/SSAI Overview The Release Manager is a program responsible.
PHP / MySQL Introduction
Ch > 28.4.
Fundamentals of Databases
First Level Incident Handling FAQ (For EAL)
ITAS Risk Reporting Integration to an ERP
QlikView for use with SAP Netweaver Version 5.8 New Features
Presentation transcript:

TTCN-3 Users Conference Practical application of TTCN-3 for network verification with common TTCN-3 Runtime Interface (TRI) for multiple interfaces TTCN-3 Users Conference Rajesh Kumar Bathina, Technical Leader, Wipro Technologies

Candidate Details Photo Rajesh Kumar Bathina Wipro Technologies Name Rajesh Kumar Bathina Organization Wipro Technologies E-Mail ID kumar.rajesh@wipro.com Phone number +49 151 4350 5388 Date of Presentation 13th June’ 2012 2

Overview 3

Overview Technical Problem TTCN-3 is widely accepted for wireless network verification with TRI (TTCN-3 Runtime Interface) towards various protocol interfaces. Ports defined with specific TRI can handle the send/receive messages towards the System Under Test, which also involves encoding/decoding. Practically, there were some scenario’s which we have faced during our network testing that we could not automate using TTCN-3 alone. Some requirements we found difficult to automate includes Man Machine Language commands required to be sent to the Network Element during the testcase execution or as preamble/postamble. Connectivity to configuration servers to run batch scripts to alter the NE behavior special configuration setup required during the test case execution Database (ODBC) modifications using scripts during the test case execution Configuration changes to Non SUT Network elements during execution Subsequent slides will provide the details of our approach to address above issues. 4

How is it achieved Mediation Server ODBC SUT TRI MML connectivity TSI MTC GSM2 GSM1 SUT TRI MS MSA MSB Mediation port CP Communication port (CP) Mediation Server ODBC MML connectivity SQL / SQL Lite SSH / Telnet SSH / Telnet Config Server

How is it achieved cont… Common TRI (Mediation Port) A commonly defined port (Mediation Port) in Master Test Component (MTC) is introduced which accepts a message with script name and parameters to the script The TRI will connect to a common Linux Server called Mediation Server where we can store the scripts that are required to be executed when needed from TTCN-3 On receiving a message from Mediation Port the TRI will initiate the execution of the scripts with the parameters supplied via the messages. Execution of the intended scripts will happen in the Mediation Server Scripts can be in any language and the selection can also be performed based on the parameter we pass in the message. Mediation Server / Mediation Device A simple Linux server configured within the same IP segment as that of the external devices is used All required packages/Modules were installed (example Perl SSh, Perl SSh Expect, Perl Telnet Etc.) Command Line Shell For SQLite is configured so as to access the database tables.

Detailed Approach Preamble.sh par1 par2 Postamble.sh par1 par2 External Connections We introduced a single port from MTC and can still be able to execute multiple scripts (shell scripts in our case) through the TTCN-3 test case. Perl SSh, Perl SSh Expect or Perl telnet modules were also successfully tested for special configuration setup required during the testcase execution. The common connectivity to Mediation server is achieved by having a defined set of messages to be sent/received from Mediation ports (e.g. as shown below): type port Mediation_port message   {     inout MD_UNIXcmd,          MD_UNIXresp   } type record MD_UNIXcmd   {     PDU_MD_UNIXcmd msg   }// end type record MD_UNIXcmd 7

Detailed Approach Cont… The message can also contain various fields like the script name, parameters to the script, execute user identification. A wrapper / template function is used in order to populate the actual message structure with the script name to be executed, user id to execute the scripts and parameters to the script. MD_Script_execution_SR(Userid, Mediation_port, “ODBC_transaction.sh”, "parameter_to_sh"); ... MD_Script_execution _SR(in template charstring userID, in template charstring id_ne_script, in template charstring param1, in template charstring param2) := { user := userID id := id_ne_script, action_RENAMED := MD_action_change, parm := name := "param1", value_RENAMED := string := param1 } }, name := "param2", string := param2  

Detailed Approach Cont… On reception of the message from Mediation Port, the TRI will execute the scripts on the Mediation Server directly passing the parameters supplied through the TTCN-3 scripts. The TRI will first lock the script before executing it so that no other parallel execution can be run. As soon as the execution of the scripts is completed, the TRI will unlock the scripts and sends back the UNIXresp to the Mediation Port which can further be validated in the TTCN-3 for specific response. Avoiding Deadlock Locking and unlocking of scripts during execution so that the same scripts cannot be accessed via parallel execution. During the postamble phase all the connections established with the Mediation Server should be closed so that the consecutive executions will not get blocked.

Benefits of this Approach Advantages of using this approach are: MML commands required to be sent to the Network Element during the testcase execution or as preamble/postamble.  Database (ODBC) modifications using Command Line SQL/SQLite scripts during the testcase execution  Configuration changes to Non SUT Network elements during execution were achieved.  Perl SSh, Perl SSh Expect or Perl telnet modules can be used for special configuration setup required during the testcase execution. This approach will be reduced compilation times when change is needed as the changes can be moved to the scripts (shell or perl) which does not require any compilation. This approach will be very handy if there are different interfaces that needs to be developed over a short duration and with the help of the scripts (perl or shell) we can achieve most of our requirements like ODBC access and interactive scripts execution via Perl SSH expect. We only have to call the scripts when required from the TTCN-3. Interop between MTC and non SUT is possible by using this approach where any configuration changes needed during the execution that affects the behaviour of SUT can be achieved. Organizational Benefits: This can be integrated with existing suites.The defined message structure is re-usable in various testing scenarios. Most of our network testing and system testing will require us to perform some interface parameter modification during the execution which can be achieved through this approach. The message structure can be made an ASN.1 notation format and can be re-used in conjunction with various testing requirements. 10

Thank You Rajesh Kumar Bathina Wipro Technologies