1、 ETSI TS 102 859-3 V1.2.1 (2014-04) Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Transmission of IP packets over GeoNetworking; Part 3: Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT) floppy3Technical Specification ETSI
2、 ETSI TS 102 859-3 V1.2.1 (2014-04)2Reference RTS/ITS-0030026 Keywords ATS, IPv6, ITS, network, PIXIT, testing ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregis
3、tre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be
4、modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretaria
5、t. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send you
6、r comment to one of the following services: http:/portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The
7、 content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2014. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Tr
8、ade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 102 859-3 V1.2.1 (2014
9、-04)3Contents Intellectual Property Rights 5g3Foreword . 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative references 7g33 Definitions and abbreviations . 7g33.1 Definitions 7g33.2 Abbreviations . 7g34 Abstract Test Method (ATM) . 8g34.1 Abstract protocol tester 8g34.2 Test
10、 Configuration 8g34.3 Test Architecture 9g34.4 Ports and ASPs (Abstract Services Primitives) 10g34.4.1 Primitives of the geoNetworkingPort . 10g34.4.2 Primitives of the ipv6OverGeoNetworkingPort 10g34.4.3 Primitives of the utPort . 10g34.4.4 Primitives of the taPort . 10g35 Untestable Test Purposes
11、10g36 ATS conventions 11g36.1 Testing conventions 11g36.1.1 Testing states 11g36.1.1.1 Initial state . 11g36.1.1.2 Final state 11g36.2 Naming conventions . 11g36.2.1 General guidelines 11g36.2.2 ITS specific TTCN-3 naming conventions . 12g36.2.3 Usage of Log statements . 13g36.2.4 Test Case (TC) ide
12、ntifier 14g3Annex A (normative): TTCN-3 library modules . 15g3A.1 Electronic annex, zip file with TTCN-3 code 15g3Annex B (normative): Partial PIXIT proforma for IPV6overGEONET 16g3B.1 Identification summary. 16g3B.2 ATS summary 16g3B.3 Test laboratory 16g3B.4 Client identification 17g3B.5 SUT 17g3B
13、.6 Protocol layer information 17g3B.6.1 Protocol identification 17g3B.6.2 IUT information . 18g3Annex C (normative): PCTR Proforma for IPv6overGEONET . 19g3C.1 Identification summary. 19g3C.1.1 Protocol conformance test report 19g3C.1.2 IUT identification . 19g3C.1.3 Testing environment . 19g3ETSI E
14、TSI TS 102 859-3 V1.2.1 (2014-04)4C.1.4 Limits and reservation 20g3C.1.5 Comments. 20g3C.2 IUT Conformance status 20g3C.3 Static conformance summary . 20g3C.4 Dynamic conformance summary 21g3C.5 Static conformance review report . 21g3C.6 Test campaign report 22g3C.7 Observations . 22g3Annex D (infor
15、mative): Bibliography . 23g3History 24g3ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)5Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI memb
16、ers and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/ipr.etsi.
17、org). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the p
18、resent document. Foreword This Technical Specification (TS) has been produced by ETSI Technical Committee Intelligent Transport Systems (ITS). The present document is part 3 of a multi-part deliverable covering Conformance test specifications for Transmission of IP packets over GeoNetworking as iden
19、tified below: Part 1: “Test requirements and Protocol Implementation Conformance Statement (PICS) proforma“; Part 2: “Test Suite Structure and Test Purposes (TSS Part 3: “Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT)“. ETSI ETSI TS 102 859-3 V1.2.1 (2014
20、-04)61 Scope The present document contains the Abstract Test Suite (ATS) for Transmission of IP packets over GeoNetworking as defined in EN 302 636-6-1 1 in compliance with the relevant requirements and in accordance with the relevant guidance given in ISO/IEC 9646-7 5. The objective of the present
21、document is to provide a basis for conformance tests for Transmission of IP packets over GeoNetworking equipment giving a high probability of interoperability between different manufacturers equipment. The ISO standard for the methodology of conformance testing (ISO/IEC 9646-1 2 and ISO/IEC 9646-2 3
22、) as well as the ETSI rules for conformance testing (ETS 300 406 6) are used as a basis for the test methodology. Annex A provides the Tree and Tabular Combined Notation (TTCN) part of the ATS. Annex B provides the Partial Protocol Implementation Extra Information for Testing (PIXIT) Proforma of the
23、 ATS. Annex C provides the Protocol Conformance Test Report (PCTR) Proforma of the ATS. 2 References References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific r
24、eferences, the latest version of the reference document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.etsi.org/Reference. NOTE: While any hyperlinks included in this clause were valid at t
25、he time of publication ETSI cannot guarantee their long term validity. 2.1 Normative references The following referenced documents are necessary for the application of the present document. 1 ETSI EN 302 636-6-1 (V1.2.0): “Intelligent Transport Systems (ITS); Vehicular Communications; GeoNetworking;
26、 Part 6: Internet Integration; Sub-part 1: Transmission of IPv6 Packets over GeoNetworking Protocols“. 2 ISO/IEC 9646-1 (1994): “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 1: General concepts“. 3 ISO/IEC 9646-2 (1994): “Information te
27、chnology - Open Systems Interconnection - Conformance testing methodology and framework - Part 2: Abstract Test Suite specification“. 4 ISO/IEC 9646-6 (1994): “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 6: Protocol profile test specif
28、ication“. 5 ISO/IEC 9646-7 (1995): “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 7: Implementation Conformance Statements“. 6 ETSI ETS 300 406 (1995): “Methods for testing and Specification (MTS); Protocol and profile conformance testin
29、g specifications; Standardization methodology“. 7 ETSI ES 201 873-1 (V4.5.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 8 ETSI TS 102 859-1 (V1.2.1): “Intelligent Transport Systems (ITS); Testing; Conformance test sp
30、ecifications for Transmission of IP packets over GeoNetworking; Part 1: Test requirements and Protocol Implementation Conformance Statement (PICS) proforma“. ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)72.2 Informative references The following referenced documents are not necessary for the application of
31、 the present document but they assist the user with regard to a particular subject area. i.1 ETSI EG 202 798 (V1.1.1): “Intelligent Transport Systems (ITS); Testing; Framework for conformance and interoperability testing“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the prese
32、nt document, the terms and definitions given in EN 302 636-6-1 1, ISO/IEC 9646-1 2 and in ISO/IEC 9646-7 5 apply. 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: ATM Abstract Test Method ATS Abstract Test Suite BI Invalid behaviourBV Valid behaviour EVI
33、 Expired virtual interfaces GVL Geographical Virtual LinkIP Internet Protocol IPv6 Internet Protocol version 6 ITS Intelligent Transportation Systems IUT Implementation Under Test MG Message Generation MR Message Reception MTC Main Test Component NVI New virtual interfaces PA Platform Adaptor PCTR P
34、rotocol Conformance Test Report PICS Protocol Implementation Conformance Statement PIXIT Partial Protocol Implementation Extra Information for Testing PX PiXit SA System Adaptor SAP Service Access Point SCS System Conformance Statement SCTR System Conformance Test Report SUT System Under Test TC Tes
35、t Case TP Test PurposesTSS Test Suite Structure TTCN Tree and Tabular Combined Notation TVL Topological Virtual Link VM Virtual Interface Management ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)84 Abstract Test Method (ATM) 4.1 Abstract protocol tester The abstract protocol tester used by the IPv6OverGeoN
36、etworking test suite is described in figure 1. The test system will simulate valid and invalid protocol behaviour, and will analyse the reaction of the IUT. SUT Test System ITS-G5 IUT IPv6Over GeoNetworking ITS-G5 Lower tester PDUs IPv6 SDUs Figure 1: Abstract protocol tester - IPv6OverGeoNetworking
37、 4.2 Test Configuration The IPv6OverGeoNetworking test suite uses a unique test configuration in order to cover the different test scenarios. In this configuration, the tester simulates one ITS station implementing the IPv6OverGeoNetworking protocol. IUTGVL_AREA1GVL_AREA3GVL_AREA2ItsNodeAFigure 2: T
38、est configuration CF01 Both IUT and Test system are located in the GeoAreas associated with the three predefined GVLs. Each GVL is associated with an IPv6 prefix which can be parameterized using module parameters. ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)9Table 1: Association between IPv6 prefixes and
39、 GVLs GVL IPv6 Prefix GVL_AREA1 PX_GN6_PREFIX_1 GVL_AREA2 PX_GN6_PREFIX_2 GVL_AREA3 PX_GN6_PREFIX_3 4.3 Test Architecture The present document implements the general TTCN-3 test architecture described in EG 202 798 i.1, clause 6.3.2. Figure 3 shows the TTCN-3 test architecture used in for the GeoNet
40、working ATS. The IPv6OverGeoNetworking test component requires using only the Main Test Component (MTC). The MTC communicates with the IPv6OverGeoNetworking SUT over the ipv6OverGeoNetworkingPort and geoNetworkingPort. The ipv6OverGeoNetworkingPort port is used to exchange IPv6 protocol messages bet
41、ween the test component and the IUT. The geoNetworkingPort port is used to exchange GeoNetworking protocol messages between the test component and the IUT. The Upper tester entity in the SUT enables triggering IPv6OverGeoNetworking functionalities by simulating primitives from applications. It is re
42、quired to trigger the IPv6OverGeoNetworking layer in the SUT to send IPv6OverGeoNetworking messages, which are resulting from upper layer primitives. Furthermore, receiving IPv6OverGeoNetworking messages may result for the IPv6OverGeoNetworking layer in sending primitives to the upper layer. ITS TTC
43、N-3 test execution ItsMtc (Sync component) ITS lower layers stack Upper tester transport ITS Test Adaptor SUT Adpt_CtlrcontrolportUTportcontrolportExternal functions CODECS System adaptor (SA) Platform adaptor (PA) NT2 SUT Group of TTCN-3 ports TTCN-3 ports TTCN-3 external functions geoNetworking Po
44、rt NT ItsNt (PTCs) Figure 3: Test System Architecture ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)104.4 Ports and ASPs (Abstract Services Primitives) Three ports are used by the IPv6OverGeoNetworking ATS: The geoNetworkingPort, of type GeoNetworkingPort. The ipv6OverGeoNetworkingPort, of type Ipv6OverGeo
45、NetworkingPort. The utPort of type UpperTesterPort. 4.4.1 Primitives of the geoNetworkingPort Two types of primitives are used in the geoNetworkingPort: The geoNetworkingInd primitive used to receive messages of type GeoNetworkingPacket. The geoNetworkingReq primitive used to send messages of type G
46、eoNetworkingPacket. 4.4.2 Primitives of the ipv6OverGeoNetworkingPort Two types of primitives are used in the geoNetworkingPort: The Ipv6OverGeoNetworkingInd primitive used to receive messages of type IPv6. The Ipv6OvergeoNetworkingReq primitive used to send messages of type IPv6. 4.4.3 Primitives o
47、f the utPort This port uses two types of primitives: The UtInitialize primitive used to initialise IUT. The UtTrigger primitive used trigger upper layer events in IUT. 4.4.4 Primitives of the taPort This port uses the following primitives to trigger special behaviour in Test Adapter: AcGn6InterfaceI
48、nfoList used to retrieve the list of IUTs link-layer interfaces with their configured IPv6 addresses. AcGetLongPosVector used to retrieve IUTs position (extracted from IUTs beacon messages). 5 Untestable Test Purposes Table 2 gives a list of TPs, which are not implemented in the ATS due to the chose
49、n ATM or other restrictions. Table 2: Untestable TP Test purpose Reason ETSI ETSI TS 102 859-3 V1.2.1 (2014-04)116 ATS conventions The ATS conventions are intended to give a better understanding of the ATS but they also describe the conventions made for the development of the ATS. These conventions shall be considered during any later maintenance or further development of the ATS. The ATS conventions contain two clauses, the naming conventions and the implementation conventions. The naming conventions describe the