1、 ETSI TS 102 870-2 V1.1.1 (2011-03)Technical Specification Intelligent Transport Systems (ITS);Testing;Conformance test specifications for GeoNetworking Basic Transport Protocol (BTP);Part 2: Test Suite Structure and Test Purposes (TSS Essential, or potentially Essential, IPRs notified to ETSI in re
2、spect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to t
3、he 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 present document. Foreword This Technical Specification (TS) has been produced by ETSI Technical Committee Intelligent Transport System (ITS). Th
4、e present document is part 2 of a multi-part deliverable covering Conformance test specification for Geonetworking Basic Transport Protocol (BTP) as identified below: Part 1: “Test requirements and Protocol Implementation Conformance Statement (PICS) proforma“; Part 2: “ Test Suite Structure and Tes
5、t Purposes (TSS Part 3: “Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT)“. ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)51 Scope The present document provides the Test Suite Structure and Test Purposes (TSS Vehicular Communications; GeoNetworking; Part 5: Transp
6、ort Protocols; Sub-part 1: Basic Transport Protocol“. 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 technology - Open Systems Interconnection - Conform
7、ance 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 specification“. 5 ISO/IEC 9646-7 (1995): “Information t
8、echnology - 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 testing specifications; Standardization methodology“. 2
9、.2 Informative references The following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular subject area. i.1 ETSI EG 202 798: “Intelligent Transport Systems (ITS); Testing; Framework for conformance and interoperabi
10、lity testing“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms given in TS 102 636-5-1 1, ISO/IEC 9646-6 4, ISO/IEC 9646-7 5 apply. ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)63.2 Abbreviations For the purposes of the present document, the following ab
11、breviations apply: BI Invalid Behaviour BTP Basic Transport Protocol BV Valid Behaviour ITS Intelligent Transportation Systems IUT Implementation Under Test TP Test Purposes TSS Test Suite Structure 4 Test Suite Structure (TSS) 4.1 Structure for BTP tests Table 1 shows the BTP Test Suite Structure (
12、TSS) including its subgroups defined for conformance testing. Table 1 Root Group category BTP Packet Generation BTP-A Valid behaviour Packet Generation BTP-B Valid behaviour Packet Processing Valid behaviour 4.2 Test groups The test suite has a total of three levels. The first level is the root. The
13、 second level separates the root into various functional areas. The third level is the standard ISO conformance test categories. 4.2.1 Root The root identify the Geonetworking Basic Transport Protocol (BTP) given in TS 102 636-5-1 1. 4.2.2 Groups This level contains three functional areas identified
14、 as: Packet Generation BTP-A, Packet Generation BTP-B and Packet processing. 4.2.3 Categories This level contains the standard ISO conformance test categories limited to the valid behaviour and the invalid behaviour. 5 Test Purposes (TP) 5.1 Introduction 5.1.1 TP definition conventions The TPs are d
15、efined by the rules shown in table 2. ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)7Table 2: TP definition rules TP Header TP ID The TP ID is a unique identifier. It shall be specified according to the TP naming conventions defined in clause 5.1.2. Test objective Short description of test purpose objectiv
16、e according to the requirements from the base standard. Reference The reference indicates the sub-clauses of the reference standard specifications in which the conformance requirement is expressed. PICS Selection Reference to the PICS statement involved for selection of the TP. Contains a Boolean ex
17、pression. TP Behaviour Initial conditions The initial conditions defines in which initial state the IUT has to be to apply the actual TP. In the corresponding Test Case, when the execution of the initial condition does not succeed, it leads to the assignment of an Inconclusive verdict. Expected beha
18、viour(TP body) Definition of the events, which are parts of the TP objective, and the IUT are expected to perform in order to conform to the base specification. In the corresponding Test Case, Pass or Fail verdicts can be assigned there. Final conditions Definition of the events that the IUT is expe
19、cted to perform or shall not perform, according to the base standard and following the correct execution of the actions in the expected behaviour above. In the corresponding Test Case, the execution of the final conditions is evaluated for the assignment of the final verdict. 5.1.2 TP Identifier nam
20、ing conventions The identifier of the TP is built according to table 3. Table 3: TP naming convention Identifier: TP/ = root BTP Basic Transport Protocol = group PGA Packet Generation BTP-A PGB Packet Generation BTP-B PP Packet Processing = type of testing BV Valid Behavior tests BI Invalid Syntax o
21、r Behavior Tests = sequential number 01 to 99 5.1.3 Rules for the behaviour description The description of the TP is built according to EG 202 798 i.1. 5.1.4 Sources of TP definitions All TPs are specified according to TS 102 636-5-1 1. ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)85.2 Test purposes for B
22、TP 5.2.1 Packet Generation 5.2.1.1 BTP-A TP Id TP/BTP/PGA/BV/01 Test objective Checks that BTP-A packet is well-formatted Reference TS 102 636-5-1 1, clauses 6, 7.1, 7.2.1 and 8.2 PICS Selection Initial conditions with the IUT being in the “initial state“ Expected behaviour ensure that when the IUT
23、is requested to send a BTP packet via a BTP-data request containing BTP Type indicationg value BTP-A containing Source Port indicating value SOURCE_PORT containing Destination Port indicating value DESTINATION_PORT then the IUT sends a valid BTP-A packet containing source port indicating SOURCE_PORT
24、, containing destination port indicating DESTINATION_PORT, containing the Upper Layer payload ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)95.2.1.2 BTP-B TP Id TP/BTP/PGB/BV/01 Test objective Checks that BTP-B packet is well-formatted if Destination Port info is provided Reference TS 102 636-5-1 1, clause
25、s 6, 7.1, 7.3.2 and 8.2 PICS Selection Initial conditions with the IUT being in the “initial state“ Expected behaviour ensure that when the IUT is requested to send a BTP packet via a BTP-data request containing BTP Type indicationg value BTP-B containing Destination Port indicating value DESTINATIO
26、N_PORT containing Destination Port Info indicating value DESTINATION_PORT_INFO then the IUT sends a valid BTP-B packet containing Destination port indicating DESTINATION_PORT, contaning destination port info indicating DESTINATION_PORT_INFO, contaning the Upper Layer payload TP Id TP/BTP/PGB/BV/02 T
27、est objective Checks that BTP-B packet is well-formatted if no Destination Port Info is provided Reference TS 102 636-5-1 1, clauses 6, 7.1, 7.3.2 and 8.2 PICS Selection Initial conditions with the IUT being in the “initial state“ Expected behaviour ensure that when the IUT is requested to send a BT
28、P packet via a BTP-data request via a BTP-data request containing BTP Type indicationg value BTP-B containing Destination Port indicating value DESTINATION_PORT not containing Destination Port Info parameter then the IUT sends a valid BTP-B packet containing destination port indicating DESTINATION_P
29、ORT, contaning destination port info indicating 0, contaning the Upper Layer payload ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)105.2.3 Packet processing 5.2.3.1 Valid TP Id TP/BTP/PP/BV/01 Test objective Checks that BTP passes a valid BTP-A packet to the upper protocol entity Reference TS 102 636-5-1 1
30、, clauses 6, 7.1, 7.2.1 and 8.3 PICS Selection Initial conditions with the IUT being in the “initial state“ Expected behaviour ensure that when the IUT receives a valid BTP-A packet containing source port indicating SOURCE_PORT, contaning destination port indicating DESTINATION_PORT, contaning paylo
31、ad then the IUT passes the payload to the upper layer TP Id TP/BTP/PP/BV/02 Test objective Checks that BTP passes a valid BTP-B packet to the upper protocol entity Reference TS 102 636-5-1 1, clauses 6, 7.1, 7.3.1 and 8.3 PICS Selection Initial conditions with the IUT being in the “initial state“ Ex
32、pected behaviour ensure that when the IUT receives a valid BTP-B packet contaning destination port indicating DESTINATION_PORT, contaning destination port info indicating DESTINATION_PORT_INFO contaning payload then the IUT passes the payload to the upper protocol ETSI ETSI TS 102 870-2 V1.1.1 (2011
33、-03)11Annex A (informative): Bibliography ETSI TS 102 870-1: “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Geonetworking Basic Transport Protocol (BTP); Part 1: Test requirements and Protocol Implementation Conformance Statement (PICS) proforma“. “GeoNet STREP N 216269 - D2.2 Final GeoNet Specification“. ETSI ETSI TS 102 870-2 V1.1.1 (2011-03)12History Document history V1.1.1 March 2011 Publication
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1