Automated Target Testing with TTCN-3: Experiences from WiMAX Call Processing Features
23 November 2009 T3UC-2009 1
By
Bhaskar Rao G Srinath Y Sridhar Y Jitesh M Motorola India Pvt Ltd, Hyderabad bhaskarraog@motorola.com
Automated Target Testing with TTCN-3: Experiences from WiMAX Call - - PowerPoint PPT Presentation
Automated Target Testing with TTCN-3: Experiences from WiMAX Call Processing Features By Bhaskar Rao G Srinath Y Sridhar Y Jitesh M Motorola India Pvt Ltd, Hyderabad bhaskarraog@motorola.com 23 November 2009 T3UC-2009 1 Agenda
Automated Target Testing with TTCN-3: Experiences from WiMAX Call Processing Features
23 November 2009 T3UC-2009 1
By
Bhaskar Rao G Srinath Y Sridhar Y Jitesh M Motorola India Pvt Ltd, Hyderabad bhaskarraog@motorola.com
23 November 2009 T3UC-2009 2
WiMAX
802.16e
throughput
23 November 2009 T3UC-2009 3
20MHz
coverage is supported for speeds ranging between 60kmph to 120 kmph
ASN GW DP EP
AP AP AP
Internet
AAA DHCP
23 November 2009 T3UC-2009 4
ASN GW DP EP ASNG W DP EP
AP AP AP AP
Access Service Network
CPE CPE IP Connected HA Connectivity Service Network
WiMAX Reference Architecture
23 November 2009 T3UC-2009 5
SS
23 November 2009 T3UC-2009 6
SS
Points, FA/Router and other neighboring ASNGWs
T3UC-2009 7
T3UC-2009 8
1..n]
"#$ The proprietary tool supports test scripts
Simulates other NEs
WiMAX features
23 November 2009 T3UC-2009 9
framework
generation
Reused SA and PA Runtime Library
Mousetrap tool
TTCN-3 data types Encoder/decoder Message specifications External C code Test Cases SDs and UCDs conversion
23 November 2009 T3UC-2009 10
Test System TAU Tester C Compiler
TS Executable
TTCN-3 data types Dummy templates Port definitions Generated code
Feature Testing Strategy
TTCN-3 Base Framework Feasibility for a componet
REUSE
REUSE
23 November 2009 T3UC-2009 11
NWG 1.1
TTCN-3 MTC and PTC (0..N) TCP/IP (IPC) Code Encoder Decoder Log Mechanism
SUT
23 November 2009 T3UC-2009 12
Runtime Library
Test System (TS)
Hand code Auto code
& '&#&( ) )
"%*+ "%*+
T3UC-2009 13
/ / , 00"%*+ 00"%*+ 00*+ 00*+ / / , 00"%*+ 00"%*+ 00*+ 00*+ ,00*+ ,00*+
,
type component MTCType { port RADIUS_INTERFACE_type mtcPort_RADIUS_INTERFACE; port ApAsngw_type mtc_ap_asngw_port ; timer T; } type component TSI { port RADIUS_INTERFACE_type tsiPort_RADIUS_INTERFACE ; 23 November 2009 T3UC-2009 14
testcase TC1 (integer configParams) runs on MTCType system TSI { //variables declaration // mapping of ports mtcPort_.send(AUTH_MyTemplate); alt { []mtcPort_auth_.receive(EAP_REQ_MyTemplate) -> value eap_req_var { mtcPort_auth_.send(EAP_RSP_MyTemplate_PAR(eap_req_var)) alt { ....... }
port RADIUS_INTERFACE_type tsiPort_RADIUS_INTERFACE ; port ApAsngw_type tsi_mtc_ap_asngw_port ; }
ASNGW (SUT) Env
Internal communication
Target Database
23 November 2009 T3UC-2009 15
Proxy TTCN-3 Test System (AP, AAA)
communication
Linux-box
– Integration with proprietary paradigm
23 November 2009 T3UC-2009 16
– Integration with proprietary paradigm
– Population of shared memory
– When full log is enabled, reboots – Controlling of response timers
– Results of one feature testing have helped the usage and extension to the other features.
23 November 2009 T3UC-2009 17
– The test architecture and reuse of the test system across various features
execution and tracing of test case execution
– Technology is good for any message based testing – For API based testing, need to investigate synchronous communication
23 November 2009 T3UC-2009 18
– Development of common TTCN-3 framework – Automation of test system components
– Automation support may be provided by the vendors
communication parts
features and testing of components independently
and TS
23 November 2009 T3UC-2009 19
and TS
quality and greater productivity
– Ex: Encryption algorithms etc
23 November 2009 T3UC-2009 20