• No results found

Milan Zoric, ETSI Sebastian Müller, FSCOM Scott Moseley, Farbum Scotus 1st TTCN-3 User Conference, Sophia Antipolis, May 2004

N/A
N/A
Protected

Academic year: 2021

Share "Milan Zoric, ETSI Sebastian Müller, FSCOM Scott Moseley, Farbum Scotus 1st TTCN-3 User Conference, Sophia Antipolis, May 2004"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

Milan Zoric, ETSI Sebastian Müller, FSCOM Scott Moseley, Farbum Scotus

1st TTCN-3 User Conference, Sophia Antipolis, May 2004

Testing Wireless over Wire

with TTCN-3

(2)

Wireless over wire

Prototype UT Virtual tester SUT Tester

(3)

Test System

+

Testing over the network

ATS

(4)

ETSI Has a Long History of Producing Test

Specifications

Conformance test specifications since early 90's

GSM, DECT, VB5, HiperLAN2, VoIP, ISDN, INAP, TETRA, IP Cablecom, 3GPP …

Moved from strict regulatory testing, with expensive and cumbersome 3rd party testing regimes to …

… lean test suites focusing on conformance for interoperability that are "extremely good value for money"

Strong demands for technologies that have earlier used other approaches (IP testing)

Now also producing interoperability test specifications

SIP <-> H.323 interworking

ETSI has unique resources related to testing

(5)

Test system

First challenge: start with multiple

unstable components

Base Standard ATS (TTCN) Product (SUT) ETS Lower layers including radio

(6)

More challenges

The radio based test tool

May not be available at all

Commercial reasons

May become available late

Commercial and technical reasons

May be excessively expensive

Real costs combined with limited number of potential vendors

Test suite validation

the process of assuring that the ATS not only passes through the compiler but also executes successfully

More expensive

done in the context of radio based test tool developmentPossibly available later than desired

for in-house prototype debugging

for providing feedback and making corrections to a stadard

Before testing against conformance test tools or other implementations, each company individually spends a lot on in-house testing/debugging schemes

(7)

The goals

Make test suite validation faster and cheaper Enable sharing of efforts (costs) in protocol

conformance testing and company in-house testing/debugging

Make product testing/certification available to all technologies with alternative solutions

Cheaper and faster development of radio based protocol test tools, or

Combination of some level of protocol conformance testing and interop events

(8)

The implementation goals

Definition of a test tool implementation framework

Abstract

Fits with ISO 9646 methodology and TTCN-3 language

Generic

• Reusable for different protocols

• Reusable for different transport mechanisms, including full radio based transport

Tool independent

• Using standardized interfaces

Extensible

• For modifications of the test suite and the implementation First virtual tester implementation

Modular

Easy to understand

Demonstrate feasibility of the approach

(9)

Protocol Layer Tester (PLT)

Protocol Layer Tester PUT ASPs ASP(PUT PDUs)

(10)

PLT and PUT Components

Test Suite Test Execution Controller Codec Test Runtime Adapters Transporter Protocol Under Test (PUT) PUT Execution Controller Codec Tester Platform PUT PlatformPUT Platform

(11)

Transport mechanism

Test Runtime Adapters PUT Adapters

TE Transport Module PUT Transport Module

Wire Interface

API API

PLT Platform PUT Platform

(12)

Generic wire based test tool

Generic approach to message snapshot content Generic definition of the Application Programming

Interface Message Snapshot

PC

Wire Transport module Wire API Wire connection ATS Test Execution Tool

(13)

Specific wire based test tool

HA specific message snapshot content HA Datagram

PC

HA Adaptation Layer HA API UDP/IP on wire ATS TTCN-3 Test Execution Environment

(14)

Generic API specification

<<interface>>

org::etsi::ttcn:udp::DatagramSocketAPI

close(): void

connection(in remote: SocketAddress): boolean disconnect(): void

isConnected(): boolean

receive(in packet: DatagramPacket, in timeout: int): boolean send(in packet: DatagramPacket): boolean

<<interface>> org::etsi::ttcn:udp::DatagramPacket getData(): byte[] getLength(): int getOffset(): int getSocketAdress(): SocketAddress

setData(in buf: byte[], in offset: int, in length: int): void setData(in buf: byte[]): void

setLength(in length: int): void

setSocketAddress(in address: SocketAddress): void

<<interface>> org::etsi::ttcn:udp::SocketAddress getHostName() getPort() setBzHostName() setPort()

(15)

Specific API part

<<interface>>

org::etsi::ttcn::udp::DatagramPacket

<<interface>>

org::etsi::ttcn::HA::HADatagramPacket setFrameCounter(in int value):void

getFrameCounter():int

setControlZoneValid(in boolean value):void getControlZoneValid():boolean

setSidValid(in boolean value):void getSidValid():boolean

...

(16)

Testing one protocol entity

HA PUT

: AP

PLT

: AT

UDP/IP on wire

(17)

Testing multiple protocol entities

HA PUT

: AP1

PLT

: AT

UDP/IP on wire

HA PUT

: AP2

(18)

First use of the test system prototype

Revealed

Errors in prototype implementation

Ambiguity in specification

Defects in Abstract Test Specification

The above are assumptions to be clarified and

corrected between standard writers, implementers and test specification developers

(19)

TTCN-3 Execution Environment

CH: Comp onen t Handling CD: Code c TM: Management Test System User

control components ports timer types / data behaviour TE TCI TRI

(20)

UDP

The Test Implementation Framework

Implementation of TTCN-3 send()

TE calls triSend() in SA

Sending of encoded PDU

SA TE TRI PDU HDR SUT

Building of API Message

Depends on the type of PDU

Contains various information in the

header

• MAC ID

• Long vs. Short Channel PDU • Up-/Downlink

(21)

Construction of Datagrams

UDP

PDU

(22)

Using the radio link

Implementation of TTCN-3 send()

TE calls triSend() in SA

Sending of encoded PDU

SA TE

PDU

SUT

Using the lower layer SAP

Introduces framing

Power level, frequency etc.

Sends it out using radio

Sending to System Under Test

Test Device

(23)

Test validation against the SDL model

block type RRC_AP_UDP_BT 1(2) UDP_1:UDP_PT API_handler: API_handlerType UDPgate UDP_sock.req, UDP_resolv.req, UDP_bind, pong_UDP_prep, pingASN_UDP_send UDP_sock.con, UDP_resolv.ind, UDP_close.ind, UDP_bindok, UDP_bindfail, pong_UDP_receive UDPsignalRoute UDP_sock.req, UDP_resolv.req, UDP_bind, pong_UDP_prep, pingASN_UDP_send UDP_sock.con, UDP_resolv.ind, UDP_close.ind, UDP_bindok, UDP_bindfail, pong_UDP_receive udp2 API_UL API api_out api_ul API_DL API api_dl api_in rrcUL RRC_DL (RRC_DL) rrcDL BcastRoute RlcGeneralBroadcastInformation Bcast

(24)

Results

Test system prototype

Using current version of the test suite

Using only standardized interfaces

Using the generic test implementation framework

Easy adaptation to test devices, using other lower layers

Implementation will be made available to the indust

Abstract Test Suite

Validated Executable Test Suite running in the Test System over UDP/IP

Test Management for execution

(25)

New challenges

Timing

Requirements on timing of all testing related activities may be different and rather challenging

There may be implications on how test specifications are written

Implementation issues that affect prototype testing/debugging

(26)

Acknowledgements

EP BRAN (Broadband Radio Access Networks) for their support

EC for funding part of the work

Member companies that provided protocol stack executables to be tested

Testing_tech for providing the TTCN-2/TTCN-3

converter, TTCN-3 compiler and run time environment Kaiserslautern University for providing apiGEN

software and extensive support

Prof. Dr. Reinhard Gotzhein, Marco Brandt

Theofanis Vassiliou-Gioles for his contribution to this work

Protocol test specifications developed by

References

Related documents

Put your alarm system into TEST mode (typically by entering your user code plus the number 5 (TEST) on the touchpad).. The alarm sounder will

6 - Select Search Channel and press OK to open a text field.You can use the remote control keyboard (if available) or the on-screen keyboard to enter text.. The TV will search

Na raˇ cunalniˇski informacijski sistem je dovo- ljeno le nameˇsˇ canje odobrene programske in sistemske opreme, ki jo doloˇ ci in namesti zunanji izvajalec za sistemsko

We performed a structural MRI study in 119 adult ADHD patients and 107 controls and investigated total gray and white matter and volumes of accumbens, caudate, globus pallidus,

Billy and Sue hear car, return to injured person and Martie 6.47 realise Martie not there?. 6.48 while reporting events to police, hear noise,

While studying diversity-related courses, Mayhew, Seifert, and Pascarella ( 2012 ) found that participants in the transition phase experienced an increased positive change in a

Notwithstanding the number of informal settlements in Cambodia and in the capital city Phnom Penh, their precarious conditions, and the urgent need for their social and

The PUT, List Statement writes variable values and the specified character strings in the output line.. The following arguments