automated target testing with ttcn 3 experiences from
play

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


  1. 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

  2. Agenda • What is WiMAX • WiMAX deployment and architecture • ASNGW Decision Point feature architecture • Test set-up for DP testing • Motivation for TTCN-3 • Automation framework • Feature Testing Strategy • Test system details • Test Execution set-up • Challenges faced • Benefits • Take-away • Conclusions 23 November 2009 T3UC-2009 2

  3. WiMAX • Standards based technology - IEEE 802.16e • Superior Performance – 75Mbps of throughput • Scalable channel bandwidths - 12.5 to • Scalable channel bandwidths - 12.5 to 20MHz • Mobility of subscribers in the network coverage is supported for speeds ranging between 60kmph to 120 kmph • Audio/Video streaming during mobility 23 November 2009 T3UC-2009 3

  4. WiMAX: Deployment AP AP ASN EP GW DP AAA DHCP AP Internet Access Service AP Network Connectivity ASN EP ASNG EP Service Network GW DP W DP HA AP AP CPE IP Connected AP CPE 23 November 2009 T3UC-2009 4

  5. WiMAX Reference Architecture 23 November 2009 T3UC-2009 5

  6. ASNGW: Decision Point • Decision Point runs on ATCA chassis • HA design • Provides Authentication and Authorization for SS SS • Mobility management for SS • Connectivity management with Access Points, FA/Router and other neighboring ASNGWs • Confirming to NWG standard 23 November 2009 T3UC-2009 6

  7. ASNGW Decision Point: Feature Architecture �������� ��������������� ���������� ����������������� �������������� ���������� Other Boxes 23 November 2009 T3UC-2009 7

  8. WiMAX ASNGW Test Setup ����������� ��������� ���� ������������� �������������� "�����#$� Simulated AP[ 1..n] ������������� ���� The proprietary tool supports test scripts Simulates other NEs ����������!������� 23 November 2009 T3UC-2009 8

  9. Motivation for TTCN-3 • Component testing and applicable beyond • Standard language for test specification • Rich Language features to meet testing needs of WiMAX features • Tool support through –Tau G2 Tester • Good automation support and ready made • Good automation support and ready made framework • Regression capabilities • Automated testing without need for re-compilation • Verdict handling • Automated logging with failure reasons • Command line execution, compilation and generation • Dynamic logging 23 November 2009 T3UC-2009 9

  10. Automation framework Message External C code specifications SDs and UCDs Reused SA and PA Runtime Library conversion Mousetrap tool Encoder/decoder Test Cases TTCN-3 data types TTCN-3 data types Dummy templates C Port definitions Compiler Generated code Test System TAU Tester TS Executable 23 November 2009 T3UC-2009 10

  11. Feature Testing Strategy TTCN-3 Base REUSE Framework Feasibility for a componet REUSE NWG 1.1 23 November 2009 T3UC-2009 11

  12. Test system architecture TTCN-3 MTC and PTC (0..N) TCP/IP Encoder Log Mechanism SUT (IPC) Code Decoder Runtime Library Test System (TS) Hand code Auto code 23 November 2009 T3UC-2009 12

  13. Test Specification ���������������������������� ��%������������� & '&#&( ���������������� � � � � ���������������� �� )��� )���� � )���� � � � � ��� � � � � � � --�������.. --�������.. �������������"�%*+ �������������"�%*+ � � ,����������� ,����������� ��/ ��/ ,����������� ��� � ����00"�%*+ ����00"�%*+ ����00���������*+ ����00���������*+ ��/ ��/ ,����������� ����00"�%*+ ����00"�%*+ ����00������*+ ����00������*+ ,�������00*+ ,�������00*+ 23 November 2009 T3UC-2009 13

  14. Sample Test case 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 ; port RADIUS_INTERFACE_type tsiPort_RADIUS_INTERFACE ; port ApAsngw_type tsi_mtc_ap_asngw_port ; } 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 { 23 November 2009 T3UC-2009 14 ....... }

  15. Test Execution set-up Target ASNGW (SUT) Database Env Internal communication communication Proxy Linux-box TTCN-3 Test System (AP, AAA) 23 November 2009 T3UC-2009 15

  16. Challenges faced • SUT testing • Health-check integration • Integration of encryption algorithm • Supporting various test configurations • Communication aspects – Integration with proprietary paradigm – Integration with proprietary paradigm • Issues pertaining to integration of shared memory – Population of shared memory • Issues pertaining to real-time nature of the application – When full log is enabled, reboots – Controlling of response timers 23 November 2009 T3UC-2009 16

  17. Benefits • Standard language for testing • Automation capabilities • Reuse – Results of one feature testing have helped the usage and extension to the other features. – The test architecture and reuse of the test system across various features • Ability of TTCN-3 to handle configuration, execution and tracing of test case execution • Better cycle time, quality and productivity 23 November 2009 T3UC-2009 17

  18. Take-away • Organizations which are not using TTCN3 – Technology is good for any message based testing – For API based testing, need to investigate synchronous communication • Organizations which are using TTCN3 • Organizations which are using TTCN3 – Development of common TTCN-3 framework – Automation of test system components • Research organizations and tool vendors – Automation support may be provided by the vendors • Automatic generation of encoders/decoders, templates, communication parts • Thoughts on …Domain specific common test framework 23 November 2009 T3UC-2009 18

  19. Conclusions • TTCN-3 approach is flexible to adopt to various features and testing of components independently • Automation of TTCN-3 test system components • Reuse of Message specifications across SUT and TS and TS • Reuse of framework across test phases • Good cycle time reduction to market, higher quality and greater productivity • Challenges will be there to address – Ex: Encryption algorithms etc 23 November 2009 T3UC-2009 19

  20. Q&A Q&A 23 November 2009 T3UC-2009 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend