hash
stringlengths
32
32
doc_id
stringlengths
7
13
section
stringlengths
3
121
content
stringlengths
0
2.2M
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.4.2.2.4 Control Message Serialization
Control commands that are wrapped within a request body of HTTP message shall be serialized into JavaScript Object Notation (JSON) because it is very lightweight and easy to parse and generate for machines.
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.4.3 acPort
The acPort is included in the oneM2M ATS in order to be able to control and configure the test adaptor for specific cases.
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.4.4 infoPort
The infoPort is included in the oneM2M ATS in order for the TTCN-3 test components to be able to exchange information such as last response primitives or request primitives received by a component, retrieved primitive contents.
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.5 Test components
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.5.1 Tester
The Tester test component includes a set of ports, timers and variables that are common to the other defined components which are described in table 5.5.1-1. ETSI ETSI TS 118 119 V2.3.0 (2020-11) 17 oneM2M TS-0019 version 2.3.0 Release 2 Table 5.5.1-1: Tester component elements Name Instance type Element type Description acPort port AdapterControlPort Port that communicates with the adapter for sending configuration parameters infoPort port InfoPort Port between test components for exchanging information utPort port UpperTesterPort Port that communicates with the UT Application for triggering actions on the IUT tc_ac timer N/A Timer for the reception of a message tc_wait timer N/A Timer for the reaction of the IUT to an upper tester primitive vc_config variable Configurations Configuration being used for the given test case vc_testSystemRole variable TestSystemRole Role of the test component vc_resourcesList variable MyResourcesList List of all resources created by the test system on the IUT vc_resourcesIndexToBeDeleted variable IntegerList List of indexes of resources created by the test system on the IUT that need to be deleted vc_acpAuxIndex variable integer vc_request variable MsgIn Latest request primitive received/sent vc_response variable MsgIn Latest response primitive received/sent vc_aeSimu variable default Reference to the default behaviour for an AeSimu component vc_cseSimu variable default Reference to the default behaviour for an CseSimu component vc_primitiveContentRetrievedRes ource variable PrimitiveContent Latest content of a RETRIEVE operation vc_myInterfaces variable Interfaces Parameters for the ports of the given component: β€’ Port (mcaPort, mcaPortIn, mccPort, mccPortIn) β€’ Host (SUT IP address :port) β€’ Protocol binding β€’ Serialization Note that vc_aeSimu and vc_cseSimu are not common to the other defined test components, but those variables are required in Tester for the correct activation/deactivation of default behaviours.
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.5.2 AeSimu
The AeSimu test component extends the Tester component by adding elements specific to an AE entity. Table 5.5.2-1 summarizes those elements. Table 5.5.2-1: AeSimu component elements Name Instance type Element type Description mcaPort port oneM2MPort Port that implements the mca interface when test system is the client (sending requests) mcaPortIn port oneM2MPort Port that implements the mca interface when test system is the server (receiving requests) vc_ae2 test component AeSimu Reference to the AE2 component when required vc_cse1 test component CseSimu Reference to the CSE1 component when CF02 is used vc_auxiliaryAe2Up variable boolean Flag to indicate that AE2 component has been started vc_aeAuxIndex variable integer Index of the AE resource in vc_resourcesList ETSI ETSI TS 118 119 V2.3.0 (2020-11) 18 oneM2M TS-0019 version 2.3.0 Release 2
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.5.3 CseSimu
The CseSimu test component extends the Tester component by adding elements specific to an CSE entity. Table 5.5.3-1 summarizes those elements: Table 5.5.3-1 Name Instance type Element type Description mcaPort port OneM2MPort Port that implements the mca interface when test system is the client (sending requests) mcaPortIn port OneM2MPort Port that implements the mca interface when test system is the server (receiving requests) mccPort port OneM2MPort Port that implements the mcc interface when test system is the client (sending requests) mccPortIn port OneM2MPort Port that implements the mcc interface when test system is the server (receiving requests) vc_ae1 test component CseSimu Reference to the CSE1 component when CF02 (CseSimu as master) is used vc_localResourcesList variable MyResourcesList List of all resources created by the IUT on the test system vc_localRemoteCseIndex variable integer Index of the remoteCSE resource in vc_localResourcesList representing the IUT (CSE) vc_remoteCseIndex variable integer Index of the remoteCSE resource in vc_resourcesList representing the test system vc_cSEBaseIndex variable integer Index of the CSEBase resource in vc_localResourcesList of the test system vc_cseType variable CseTypeID CSE type of the test system (default is MN)
f215c66b432ed5d802cfdaafebadf0dc
118 119
5.6 Test strategy
This clause introduces the test strategy being used for the TTCN-3 test cases. The chosen strategy permits to have a clear structure of the code that facilitates an easy navigation throw the different test steps. The use of the TTCN-3 MTC and PTC(s) is as depicted in figure 5.6-1. Figure 5.6-1 At the start of the test case execution, the MTC is created. Then, the MTC executes the following steps: Step 1) initialization of the master PTC. Step 2) initialization of some parameters if required for the permutation test cases. Step 3) running of the appropriate function on the master PTC. The function run on the master PTC implements a given Test Purpose. Such function follows a code structure as indicated here below: - Local Variables, declaration of local variables. - Test Control, checking IUT capability parameters required for the proper execution of the test. - Test Component Configuration, that initializes the given test component and other test components acting as slave PTC(s) as required by a given configuration. TTCN-3 Test Case MTC Master PTC Slave PTC(s) ETSI ETSI TS 118 119 V2.3.0 (2020-11) 19 oneM2M TS-0019 version 2.3.0 Release 2 - Test adapter configuration, that configures the test adapter throw the acPort if required. - Preamble, that implements the necessary test steps as described in the Initial conditions of a Test Purpose. It may also implement additional test steps which are required for the correct execution of the test. - Test body, that implements the test steps as described in the Expected behaviour of a Test Purpose. - Postamble, that implements the necessary test steps to bring the IUT back to the initial state. - Tear down, that finalizes properly the TTCN-3 ports used by the different test components depending on the configuration. While master PTC follows the test structure described above, slave PTC(s) run only certain procedures, usually one by one, as mandated by the master PTC. A procedure usually implements a oneM2M request-response exchange between a given PTC and the IUT, although it can implement any other specific action (sending or reception of a message, several request-response exchanges, etc.). Step 4) checking of some parameters if required for the permutation test cases. This test strategy may slightly vary for certain cases where specific requirements need to be fulfilled.
f215c66b432ed5d802cfdaafebadf0dc
118 119
6 Untestable Test Purposes
Void.
f215c66b432ed5d802cfdaafebadf0dc
118 119
7 ATS Conventions
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.0 Introduction
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 structure of the naming of all ATS elements. The implementation conventions describe the functional structure of the ATS. To define the ATS, the guidelines of ETSI TS 118 115 [i.2] were considered.
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.1 Testing conventions
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.1.1 Testing states
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.1.1.1 Initial state
All test cases start with the function f_preamble_XYZ. This function brings the IUT in an "initialized" state by performing some actions such as registration of AE, creation of auxiliary access control policy resource, creation of additional needed resources.
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.1.1.2 Final state
All test cases end with the function f_postamble_XYZ. This function brings the IUT back in an "idle" state which means deletion of all created resources being used by the test case so that next test case execution is not disturbed. ETSI ETSI TS 118 119 V2.3.0 (2020-11) 20 oneM2M TS-0019 version 2.3.0 Release 2 As necessary, further actions may be included in the f_postamble functions.
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.2 Naming conventions
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.2.1 General guidelines
This test suite follows the naming convention guidelines provided in ETSI TS 118 115 [i.2]. The naming convention is based on the following underlying principles: β€’ in most cases, identifiers should be prefixed with a short alphabetic string (specified in table 7.2.1-1) indicating the type of TTCN-3 element it represents; β€’ suffixes should not be used except in those specific cases identified in table 7.2.1-1; β€’ prefixes and suffixes should be separated from the body of the identifier with an underscore ("_"); EXAMPLE 1: c_sixteen, t_wait. β€’ only module names, data type names and module parameters should begin with an upper-case letter. All other names (i.e. the part of the identifier following the prefix) should begin with a lower-case letter; β€’ the start of second and subsequent words in an identifier should be indicated by capitalizing the first character. Underscores should not be used for this purpose. EXAMPLE 2: f_initialState. Table 7.2.1-1 specifies the naming guidelines for each element of the TTCN-3 language indicating the recommended prefix, suffixes (if any) and capitalization. Table7.2.1-1: TTCN-3 generic naming conventions Language element Naming convention Prefix Example identifier Module Use upper-case initial letter none OneM2M_Templates Group within a module Use lower-case initial letter none messageGroup Data type Use upper-case initial letter none SetupContents Message template Use lower-case initial letter m_ m_setupInit Message template with wildcard or matching expression Use lower-case initial letters mw_ mw_anyUserReply Signature template Use lower-case initial letter s_ s_callSignature Port instance Use lower-case initial letter none signallingPort Test component instance Use lower-case initial letter none userTerminal Constant Use lower-case initial letter c_ c_maxRetransmission Constant (defined within component type) Use lower-case initial letter cc_ cc_minDuration External constant Use lower-case initial letter cx_ cx_macId Function Use lower-case initial letter f_ f_authentication() External function Use lower-case initial letter fx_ fx_calculateLength() Altstep (incl. Default) Use lower-case initial letter a_ a_receiveSetup() Test case Use ETSI numbering TC_ TC_COR_0009_47_ND Variable (local) Use lower-case initial letter v_ v_macId Variable (defined within a component type) Use lower-case initial letters vc_ vc_systemName Timer (local) Use lower-case initial letter t_ t_wait Timer (defined within a component) Use lower-case initial letters tc_ tc_authMin Module parameters for PICS Use all upper case letters PICS_ PICS_DOOROPEN Module parameters for other parameters Use all upper case letters PX_ PX_TESTER_STATION_ID Formal Parameters Use lower-case initial letter p_ p_macId Enumerated Values Use lower-case initial letter e_ e_syncOk ETSI ETSI TS 118 119 V2.3.0 (2020-11) 21 oneM2M TS-0019 version 2.3.0 Release 2
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.2.2 oneM2M specific TTCN-3 naming conventions
Next to such general naming conventions, table 7.2.2-1 shows specific naming conventions that apply to the oneM2M TTCN-3 ATS. Table 7.2.2-1: oneM2M specific TTCN-3 naming conventions Language element Naming convention Prefix Example identifier oneM2M Module Use upper-case initial letter OneM2M_ OneM2M_Testcases_ Module containing oneM2M types Use upper-case initial letter OneM2M_Types OneM2M_Types Module containing types and values Use upper-case initial letter OneM2M_TypesAndValues OneM2M_TypesAndValues Module containing Templates Use upper-case initial letter OneM2M_Templates OneM2M_Templates Module containing test cases Use upper-case initial letter OneM2M_Testcases OneM2M_Testcases Module containing functions Use upper-case initial letter OneM2M_Functions OneM2M_Functions Module containing external functions Use upper-case initial letter OneM2M_ExternalFunctions OneM2M_ExternalFunctions Module containing components, ports and message definitions Use upper-case initial letter OneM2M_TestSystem OneM2M_TestSystem Module containing module parameters Use upper-case initial letter OneM2M_Pixits OneM2M_Pixits
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.2.3 Usage of Log statements
All TTCN-3 log statements use the following format using the same order: β€’ The TTCN-3 test case or function identifier in which the log statement is defined. β€’ One of the categories of log: INFO, WARNING, ERROR, TIMEOUT, NONE. β€’ Free text. EXAMPLE 1: log("f_utInitializeIut: INFO: IUT initialized"); Furthermore, the following rules are applied too: β€’ All TTCN-3 setverdict statements are combined (as defined in TTCN-3 - ETSI ES 201 873-1 [6]) with a log statement following the same above rules (see example 2). EXAMPLE 2: setverdict(pass, "TC_ONEM2M_CSE_DMR_CRE_001: Received correct message"); ETSI ETSI TS 118 119 V2.3.0 (2020-11) 22 oneM2M TS-0019 version 2.3.0 Release 2
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.2.4 Test Case (TC) identifier
Table 7.2.4-1: TC naming convention Identifier: TC_<root>_<gr>_<sgr>_<nn>_<per> <root> = root ONEM2M oneM2M <gr> = group CSE CSE testing AE AE testing <sgr> = subgroup REG Registration DMR Data Management and Repository SUB Subscription and Notification GMG Group Management DIS Discovery LOC Location DMG Device Management CMDH Communication Management and Delivery Handling SEC Security <nn> = sequential number 001 to 999 <per> = permutation P1_P2_..PN Permutation parameters EXAMPLE: TP identifier: TP/oneM2M/CSE/DMR/CRE/001 TC identifier: TC_ONEM2M_CSE_DMR_CRE_001
f215c66b432ed5d802cfdaafebadf0dc
118 119
7.3 IXIT
The following parameters are used by the oneM2M ATS for the correct execution of the test cases. Table 7.3-1: oneM2M ATS IXITs GROUP IXIT NAME DESCRIPTION DEFAULT VALUE IutParameters PX_IN_CSE MN-CSE true PX_MN_CSE IN-CSE false PX_ASN_CSE ASN-CSE false PX_SUT_ADDRESS SUT address "127.0.0.1:8080" PX_UT_IMPLEMENTED Upper Tester implemented false PX_CSE_NAME IUT CSE Name "cseName" PX_CSE_ID IUT CSE-ID with SP- relative-CSE-ID format (relative) according to ETSI TS 118 101 [1], table 7.2-1 "/cseId" PX_CSE_RESOURCE_ID IUT CSE resource ID with Unstructured-CSE- relative-Resource-ID (relative) format according to ETSI TS 118 101 [1], table 7.2-1 "cseResourceId" PX_SP_ID IUT M2M-SP-ID with M2M-SP-ID format (absolute) according to ETSI TS 118 101 [1], table 7.2-1 Unstructured- CSE-relative -Resource- ID "//om2m.org" PX_SUPER_AE_ID AE-ID with privileges to CREATE at the IUT CSEBase with AE-ID- Stem format (relative) according to ETSI TS 118 101 [1], table 7.2-1 "admin:admin" ETSI ETSI TS 118 119 V2.3.0 (2020-11) 23 oneM2M TS-0019 version 2.3.0 Release 2 GROUP IXIT NAME DESCRIPTION DEFAULT VALUE PX_SUPER_CSE_ID CSE-ID with privileges to CREATE at the IUT CSEBase with SP- relative-CSE-ID format (relative) according to ETSI TS 118 101 [1], table 7.2-1 "/admin:admin" PX_ALLOWED_C_AE_IDS {"C-AllowedAeId"} PX_NOT_ALLOWED_C_AE_ID S {"C-NotAllowedAeId"} PX_ALLOWED_S_AE_IDS {"S-AllowedAeId"} PX_NOT_ALLOWED_S_AE_ID S {"S-NotAllowedAeId"} PX_NOT_ALLOWED_APP_ID "NotAllowedAppId" PX_ADDRESSING_METHOD Addressing method e_hierarchical PX_PRIMITIVE_SCOPE Primitive scope e_cseRelative PX_WS_PROTOCOL WebSocket protocol "oneM2M.R2.0.xml" PX_REQUEST_URI WebSocket context "/" PX_HOSTING_CSE_ID Hosting CSE-ID for MQTT "CSE-ID" PX_CREDENTIAL_ID Credential-ID for MQTT "admin:admin" PX_XML_NAMESPACE XML Namespace "m2m=""http://www.onem2m.org/xml /protocols""" PX_ACOR AccessControlOriginator s {"all"} PX_TCONFIG_IUT Time to configure IUT after a requested action 10.0 TesterParameters PX_TS_AE1 AE1 component settings aeIdStem = "" appId = "NMyApp1Id" mcaPort and mcaPortIn settings which include per port the following info: - Binding: - bindingProtocol - bindingDesc: - tsAddress - localPort - sutAddress - remotePort - Serialization PX_TS_AE2 AE2 component settings aeIdStem = "" appId = "NMyApp2Id" mcaPort and mcaPortIn settings which include per port the following info: - Binding: - bindingProtocol - bindingDesc: - tsAddress - localPort - sutAddress - remotePort - Serialization ETSI ETSI TS 118 119 V2.3.0 (2020-11) 24 oneM2M TS-0019 version 2.3.0 Release 2 GROUP IXIT NAME DESCRIPTION DEFAULT VALUE PX_TS_CSE1 CSE1 component settings cseName = "CSE1_NAME" cseId = "/CSE1_ID" cseResourceId = "CSE1_RESOURCE_ID" spId = "//onem2m.org" supportedResourceType = {int1, int2, int3, int16} mcaPort, mcaPortIn, mccPort and mccPortIn settings which include per port the following info: - Binding: - bindingProtocol - bindingDesc: - tsAddress - localPort - sutAddress - remotePort - Serialization PX_TS_UT UpperTester settings url = "http://127.0.0.1:43000/" ExecutionParame ters PX_RESOURCES_TO_BE_DE LETED (For debugging purposes) {"MyAe", "MyAccessControlPolicyResource", "SubscriptionVerificationAcp", "MyAcp", "MyRemoteCSEResource"} PX_RUN_POSTAMBLE (For debugging purposes) true
f215c66b432ed5d802cfdaafebadf0dc
118 119
8 TTCN-3 Verifications
The principles for Verifying the TTCN-3 test code are given in ETSI TS 118 115 [i.2]. All test cases provided with the present document in annex A which correspond to at least one of the product profiles defined in ETSI TS 118 125 [i.3] have been verified at the time of publication of the present document which corresponds with the TTCN-3 code gitlab tag provided in annex A. ETSI ETSI TS 118 119 V2.3.0 (2020-11) 25 oneM2M TS-0019 version 2.3.0 Release 2 Annex A (normative): TTCN-3 library modules A.1 Electronic annex, zip file with TTCN-3 code This ATS has been produced using the Testing and Test Control Notation (TTCN) according to ETSI ES 201 873-1 [6]. This test suite has been compiled error-free using two different commercial TTCN-3 compilers. The TTCN-3 library modules, which form parts of the present document, are contained in the following gitLab tag: β€’ https://git.onem2m.org/TST/ATS/tags/TDE-2019-0106-TS-0019-baseline-v2_3_0. ETSI ETSI TS 118 119 V2.3.0 (2020-11) 26 oneM2M TS-0019 version 2.3.0 Release 2 Annex B (informative): Bibliography β€’ ISO/IEC 9646-6 (1994): "Information technology -- Open Systems Interconnection -- Conformance testing methodology and framework -- Part 6: Protocol profile test specification". β€’ ETSI TS 118 117: "oneM2M Implementation Conformance Statements (oneM2M TS-0017)". β€’ oneM2M TS-0031: "Feature catalogue". ETSI ETSI TS 118 119 V2.3.0 (2020-11) 27 oneM2M TS-0019 version 2.3.0 Release 2 History Document history V2.3.0 November 2020 Publication
86bb51039c7d46c1c45390deedd919e6
118 118
1 Scope
The present document specifies oneM2M test suite structure and test purposes that are designed to evaluate the conformity of oneM2M implementations to the oneM2M specifications. It also specifies: β€’ guidelines for description of test behaviours and definition of test purpose structure; β€’ notations to define a test purpose for conformance testing; and β€’ test configurations for conformance testing.
86bb51039c7d46c1c45390deedd919e6
118 118
2 References
86bb51039c7d46c1c45390deedd919e6
118 118
2.1 Normative 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 references, the latest version of the referenced document (including any amendments) applies. The following referenced documents are necessary for the application of the present document. [1] ETSI TS 118 101: "oneM2M Functional Architecture" (oneM2M TS-0001). [2] ETSI TS 118 104: "oneM2M Service Layer Core Protocol Specification" (oneM2M TS-0004). [3] ETSI TS 118 115: "oneM2M Testing Framework" (oneM2M TS-0015). [4] oneM2M TS-0017: "Implementation Conformance Statements". [5] ETSI TS 118 110: "oneM2M MQTT-protocol-binding" (oneM2M TS-0010).
86bb51039c7d46c1c45390deedd919e6
118 118
2.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] oneM2M Drafting Rules. NOTE: Available at http://www.onem2m.org/images/files/oneM2M-Drafting-Rules.pdf.
86bb51039c7d46c1c45390deedd919e6
118 118
3 Definition of terms, symbols and abbreviations
86bb51039c7d46c1c45390deedd919e6
118 118
3.1 Terms
For the purposes of the present document, the terms given in ETSI TS 118 115 [3] Testing Framework and the following apply: valid <OPERATION> Request: oneM2M Request primitive that only contains all mandatory primitive parameters with correct values which are not required to be explicitly specified in the test purpose NOTE: If specific values need to be specified, parameters need to be explicitly indicated in the test purpose. Operation parameter is set to <OPERATION>. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 7 oneM2M TS-0018 version 2.13.1 Release 2 valid Response: oneM2M Response primitive that only contains all mandatory primitive parameters with correct values which are not required to be explicitly specified in the test purpose NOTE: If specific values need to be specified, parameters need to be explicitly indicated in the test purpose. Request Identifier parameter contains the Request Identifier value of the corresponding Request. valid <ATTRIBUTE_NAME>: correct value for the <ATTRIBUTE_NAME> attribute which is not required to be explicitly specified in the test purpose
86bb51039c7d46c1c45390deedd919e6
118 118
3.2 Symbols
Void.
86bb51039c7d46c1c45390deedd919e6
118 118
3.3 Abbreviations
For the purposes of the present document, the abbreviations given in ETSI TS 118 101 [1] and the following apply: ADN Application Dedicated Node ADN-AE AE which resides in the Application Dedicated Node AE Application Entity AE-ID Application Entity-IDentifier APP-ID APPlication IDentifier ASN Application Service Node BR BlockingRequest CMDH Communication Management and Delivery Handling CSE Common Service Entity CSE-ID Common Service Entity Identifier CSF Common Service Function DIS DIScovery DMR Data Management and Repository DUT Device Under Test FLXC FLeXContainer FQDN Fully Qualified Domain Name GEN GENeral capability GMG Group ManaGement ICS Implementation Conformance Statements IN Infrastructure Node IN-CSE CSE which resides in the Infrastructure Node IP Internet Protocol IUT Implementation Under Test MA MAndatory MN Middle Node MN-CSE CSE which resides in the Middle Node NA Not Applicable NBA NonBlockingrequestAsynch NBR NonBlockingRequest NBS NonBlockingrequestSynch PCH Request Message Polling PICS Protocol Implementation Conformance Statements PX_POA Protocol implementation eXtra information for testing_ PointOfAccess PX_SRT Protocol implementation eXtra information for testing_ SupportedResourceType REG REGistration REQ REQuest RT Response Type RW Read Write SCEF Service Capability Exposure Function SEC SECurity SUB SUBscription and Notification SUT System Under Test TP Test Purposes ETSI ETSI TS 118 118 V2.13.1 (2020-12) 8 oneM2M TS-0018 version 2.13.1 Release 2 TS Technical Specification TSS Test Suite Structure TTCN Testing and Test Control Notation URI Uniform Resource Identifier URL Uniform Resource Locator
86bb51039c7d46c1c45390deedd919e6
118 118
4 Conventions
The key words "Shall", "Shall not", "May", "Need not", "Should", "Should not" in the present document are to be interpreted as described in the oneM2M Drafting Rules [i.1].
86bb51039c7d46c1c45390deedd919e6
118 118
5 Prerequisites and Test Configurations
86bb51039c7d46c1c45390deedd919e6
118 118
5.1 Test Configurations
Test configurations are defined to test different entities such as CSE and AE etc. Figure 5.1-1 and Figure 5.1-2 show CSE test configurations where CSE as a IUT can be tested against TTCN-3 Test System, which is acting as AE or AE and CSE respectively. Test system may include as well other entities which are necessary for each configuration, i.e. a second AE (AE2) for receiving notifications These entities are represented with dashed rectangles. Figure 5.1-3 shows AE test configuration (CF03) for ADN-AE testing scenario where ADN-AE is IUT and TTCN-3 Test System is acting as a CSE. Figure 5.1-4 depicts test configurations between two CSEs, where one CSE is acting as a Test System, the other is SUT. AE1 Test System CSE SUT Mca AE2 Figure 5.1-1: Test configuration 1 (CF01) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 9 oneM2M TS-0018 version 2.13.1 Release 2 AE2 Test System CSE SUT Mca CSE1 Mcc AE1 Figure 5.1-2: Test configuration 2 (CF02) TTCN-3 Test Component Test System Upper Tester Application SUT Ut CSE1 Mca IUT (AE) Figure 5.1-3: Test configuration 3 (CF03) Test System SUT CSE1 Mcc CSE Figure 5.1-4: Test configuration 4 (CF04) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 10 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
6 Test Suite Structure (TSS)
86bb51039c7d46c1c45390deedd919e6
118 118
6.1 Test groups
86bb51039c7d46c1c45390deedd919e6
118 118
6.1.0 Overview
The test groups are organized in 2 levels. The first level defines the functional entity of oneM2M. The second level defines the common services functions which are represented in oneM2M functional architecture.
86bb51039c7d46c1c45390deedd919e6
118 118
6.1.1 Functional Entity Groups
The functional entity groups identify the types of entity which are specified in oneM2M functional architecture (ETSI TS 118 101 [1]): β€’ AE β€’ CSE
86bb51039c7d46c1c45390deedd919e6
118 118
6.1.2 Common Services Functions Subgroups
The common services functions subgroups identify the general procedures in each common services functions specified in oneM2M functional architecture (ETSI TS 118 101 [1]): β€’ Registration β€’ Data Management and Repository β€’ Subscription and Notification β€’ Group Management β€’ Discovery β€’ Location β€’ Device Management β€’ Communication Management and Delivery Handling β€’ Security
86bb51039c7d46c1c45390deedd919e6
118 118
6.1.3 oneM2M Resource Primitives specific Operations
A group of resource type specific procedures are defined in oneM2M functional architecture (ETSI TS 118 101 [1]) and service layer core protocol (ETSI TS 118 104 [2]). Those procedures can be potentially abstracted with requirements for generating test purposes for conformance testing purpose. Those resource type specific procedures are the complementary procedures to the general procedures defined in oneM2M Common Service Functions (CSF) and will use for subgroups of structures for oneM2M tests. A list of those procedures are including: β€’ pollingChannel β€’ non-blocking communication β€’ retargeting β€’ FlexContainer ETSI ETSI TS 118 118 V2.13.1 (2020-12) 11 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
6.2 Test Suite Structure (TSS) for oneM2M
The Test Suite Structure (TSS) for oneM2M will be present as below: β€’ Group 1: General Capability (GEN): - Subgroup 1.1: Protocol Bindings - Subgroup 1.2: Serializations β€’ Group 2: AE(AE): - Subgroup 2.1: General Capability (GEN) - Subgroup 2.2: Registration(REG) - Subgroup 2.3: Data Management and Repository(DMR) - Subgroup 2.4: Subscription and Notification(SUB) - Subgroup 2.5: Communication Management and Delivery Handling(CMDH) - Subgroup 2.5.1: Request Message Polling(PCH) β€’ Group 3: CSE(CE): - Subgroup 3.1: General Capability (GEN) - Subgroup 3.2: Registration(REG) - Subgroup 3.3: Data Management and Repository(DMR) - Subgroup 3.4: Subscription and Notification(SUB) - Subgroup 3.5: Group Management(GMG) - Subgroup 3.6: Discovery(DIS) - Subgroup 3.7: Communication Management and Delivery Handling(CMDH) - Subgroup 3.7.1: Request Message Polling(PCH) - Subgroup 3.7.2: Response Type(RT) - Subgroup 3.8: Security(SEC) - Subgroup 3.9: FlexContainer (FLXC)
86bb51039c7d46c1c45390deedd919e6
118 118
7 Test Purposes (TP)
86bb51039c7d46c1c45390deedd919e6
118 118
7.1 Introduction
86bb51039c7d46c1c45390deedd919e6
118 118
7.1.1 TP definition conventions
The TP definition is constructed according to Test Suite Structure & Test Purposes(TSS&TP) in Testing Framework (ETSI TS 118 115 [3]).
86bb51039c7d46c1c45390deedd919e6
118 118
7.1.2 TP Identifier naming conventions
The identifier of the TP is constructed according to table 7.1.2-1. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 12 oneM2M TS-0018 version 2.13.1 Release 2 Table 7.1.2-1: TP naming convention for oneM2M Name Option Interpretation TP/<root>/<ent>/<gr>[/<sgr>][/<opr>]/<nnn>_<pmu> <root> = root oneM2M oneM2M <ent> = entity AE Application Entity CSE Common Services Entity <gr> = group GEN Common Service Function REG DMR SUB GMG DIS SEC FLXC <sgr> = sub-group ACP AccessControlPolicy <opr> = operation CRE Create UPD Update RET Retrieve DEL Delete NTF Notify <nnn> = sequential number 001 to 999 023 <pmu> = permutation part May be number, short name of attribute or resource type depend on the permutated part in the TP. If there are more than one permutated variables, they should be separated by slash '/'. Enumerated type attribute and its value is represented as <VARIABLE_1>/<VALUE>, e.g. TP/oneM2M/CSE/DMR/RET/020_RCN/0 When resourceType attribute is involved in a TP Id, the resourceType shall be put in first order followed by any other attribute(s), if any, <RESOURCE_TYPE>/<VARIABLE_1>/<VARIABLE_2> e.g. TP/oneM2M/CSE/DMR/CRE/015_CNT/ACPI
86bb51039c7d46c1c45390deedd919e6
118 118
7.1.3 Rules for the behaviour description
The description of the TP is built according to ETSI TS 118 115 [3] Testing Framework. In addition, the following rules apply: 1) Primitive parameters shall use their Parameter name as indicated in ETSI TS 118 104 [2] table 8.2.2-1. 2) Resource attributes shall use their Attribute name as indicated in ETSI TS 118 104 [2] table 8.2.3 followed by "attribute". 3) When Content request parameter contains a resource representation, such representation shall contain all mandatory attributes and could contain some optional attributes. Only those attributes and/or child resources required by the test purpose will be explicitly indicated. 4) When Content response parameter contains a resource representation, such representation shall contain attributes and/or child resources according to the Result Content parameter of the corresponding request. Only those attributes and/or child resources required by the test purpose will be explicitly indicated.
86bb51039c7d46c1c45390deedd919e6
118 118
7.1.4 ICS reference
Table 7.1.4-1: Node Item Name of field Reference Status Support 1 ASN (Application Service Node) 5.1.2 o.1 2 ADN (Application Dedicated Node) 5.1.2 o.1 3 IN (Infrastructure Node) 5.1.2 o.1 4 MN (Middle Node) 5.1.2 o.1 o.1: Exactly one item shall be supported ETSI ETSI TS 118 118 V2.13.1 (2020-12) 13 oneM2M TS-0018 version 2.13.1 Release 2 Table 7.1.4-2: Functional entity type Prerequisite: A.1 Item Name of field Reference Status Support 1 AE 5.1.1 c.1 2 CSE 5.1.1 c.2 c.1: If A.1-1 or A.1-2 then m else o c.2: If A.1-2 x else m Table 7.1.4-3: Mnemonics for PICS reference Mnemonic PICS item PICS_AE oneM2M TS-0017 [4], table A.5.1-1 PICS_CSE oneM2M TS-0017 [4], table A.5.1-1 PICS_ASN_CSE oneM2M TS-0017 [4], table A.5.1-2 PICS_ADN oneM2M TS-0017 [4], table A.5.1-2 PICS_IN_CSE oneM2M TS-0017 [4], table A.5.1-2 PICS_MN_CSE oneM2M TS-0017 [4], table A.5.1-2 PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT oneM2M TS-0017 [4], table A.5.2-1 PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT oneM2M TS-0017 [4], table A.5.2-1 PICS_SP_RELATIVE_RESOURCE_ID oneM2M TS-0017 [4], table A.5.2-1 PICS_ABSOLUTE_RESOURCE_ID oneM2M TS-0017 [4], table A.5.2-1 PICS_ACP_SUPPORT oneM2M TS-0017 [4], table A.5.6-1 PICS_CB_CST oneM2M TS-0017 [4], table A.5.7-1 PICS_CB_NL oneM2M TS-0017 [4], table A.5.7-1 PICS_CSR_RN oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_ET oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_LBL oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_POA oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_NL oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_CST oneM2M TS-0017 [4], table A.5.7-2 PICS_CSR_RR oneM2M TS-0017 [4], table A.5.7-2 PICS_AE_LBL oneM2M TS-0017 [4], table A.5.7-3 PICS_AE_APN oneM2M TS-0017 [4], table A.5.7-3 PICS_AE_POA oneM2M TS-0017 [4], table A.5.7-3 PICS_AE_NL oneM2M TS-0017 [4], table A.5.7-3 PICS_AE_CSZ oneM2M TS-0017 [4], table A.5.7-3 PICS_CNT_ACPI oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_MNI oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_MBS oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_MIA oneM2M TS-0017 [4], table A.5.7-5 Mnemonic PICS item PICS_CNT_OR oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_LI oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_RN oneM2M TS-0017 [4], table A.5.7-5 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 14 oneM2M TS-0018 version 2.13.1 Release 2 PICS_CNT_ET oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_LBL oneM2M TS-0017 [4], table A.5.7-5 PICS_CNT_CR oneM2M TS-0017 [4], table A.5.7-5 PICS_CIN_CNF oneM2M TS-0017 [4], table A.5.7-6 PICS_CIN_RN oneM2M TS-0017 [4], table A.5.7-6 PICS_CIN_ET oneM2M TS-0017 [4], table A.5.7-6 PICS_CIN_LBL oneM2M TS-0017 [4], table A.5.7-6 PICS_CIN_CR oneM2M TS-0017 [4], table A.5.7-6 PICS_ACP_LBL oneM2M TS-0017 [4], table A.5.7-4 PICS_SUB_ACPI oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_LBL oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_ENC oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_EXC oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_GPI oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_NFU oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_BN oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_RL oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_PN oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_NSP oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_LN oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_NCT oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_NEC oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_CR oneM2M TS-0017 [4], table A.5.7-7 PICS_SUB_SU oneM2M TS-0017 [4], table A.5.7-7 PICS_GRP_LBL oneM2M TS-0017 [4], table A.5.7-8 PICS_GRP_ACPI oneM2M TS-0017 [4], table A.5.7-8 PICS_GRP_MACP oneM2M TS-0017 [4], table A.5.7-8 PICS_GRP_GN oneM2M TS-0017 [4], table A.5.7-8 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 15 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2 Test Purposes for oneM2M Service Primitives
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1 Group AE (AE)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.1 General Capability (GEN)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.1.1 CREATE Operation
TP/oneM2M/AE/GEN/CRE/001 TP Id TP/oneM2M/AE/GEN/CRE/001 Test objective Check that the IUT sends the creation of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use NON_HIERARCHICAL_RESOURCE_ADDRESS and the IUT having privileges to perform CREATE operation on resource TARGET_RESOURCE_ADDRESS } ted behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS } NA then { the IUT sends a valid Container CREATE Request to CSE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID } CSE οƒŸ IUT TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/CRE/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/CRE/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/CRE/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 16 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/GEN/CRE/002 TP Id TP/oneM2M/AE/GEN/CRE/002 Test objective Check that the IUT sends the creation of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use HIERARCHICAL_RESOURCE_ADDRESS and the IUT having privileges to perform CREATE operation on resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to HIERARCHICAL_RESOURCE_ADDRESS and Resource Type set to 3 (container) and From set to AE_ID and Content containing container resource representation } NA then { the IUT sends a valid CREATE Request to CSE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and Resource Type set to 3 (container) and From set to AE_ID and Content containing container resource representation } CSE οƒŸ IUT TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/CRE/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/CRE/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/CRE/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 17 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.1.2 UPDATE Operation
TP/oneM2M/AE/GEN/UPD/001 TP Id TP/oneM2M/AE/GEN/UPD/001 Test objective Check that the IUT sends the update of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use NON_HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform UPDATE operation on resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid UPDATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Content containing container resource containing valid labels attribute } NA then { the IUT sends a valid UPDATE request to CSE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid labels attribute } IUT οƒ  CSE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/UPD/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/UPD/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/UPD/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 18 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/GEN/UPD/002 TP Id TP/oneM2M/AE/GEN/UPD/002 Test objective Check that the IUT sends the update of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform UPDATE operation on resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid UPDATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Content containing container resource containing valid labels attribute } NA then { the IUT sends a valid UPDATE request to CSE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing Container resource containing valid labels attribute } IUT οƒ  CSE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/UPD/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/UPD/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/UPD/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 19 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.1.3 RETRIEVE Operation
TP/oneM2M/AE/GEN/RET/001 TP Id TP/oneM2M/AE/GEN/RET/001 Test objective Check that the IUT sends the retrieval of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use NON_HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform RETRIEVE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE request to CSE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/RET/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/RET/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/RET/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. TP/oneM2M/AE/GEN/RET/002 TP Id TP/oneM2M/AE/GEN/RET/002 Test objective Check that the IUT sends the retrieval of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform RETRIEVE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE request to CSE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 20 oneM2M TS-0018 version 2.13.1 Release 2 TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/RET/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/RET/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/RET/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID.
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.1.4 DELETE Operation
TP/oneM2M/AE/GEN/DEL/001 TP Id TP/oneM2M/AE/GEN/DEL/001 Test objective Check that the IUT sends the deletion of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use NON_HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform DELETE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid DELETE request to CSE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/DEL/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/DEL/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/DEL/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 21 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/GEN/DEL/002 TP Id TP/oneM2M/AE/GEN/DEL/002 Test objective Check that the IUT sends the deletion of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being registered and the IUT being switched on and the IUT being configured to use HIERARCHICAL_RESOURCE_ADDRESS and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform DELETE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid DELETE request to CSE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/AE/GEN/DEL/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/AE/GEN/DEL/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/AE/GEN/DEL/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 22 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.2 Registration (REG)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.2.1 CREATE Operation
TP/oneM2M/AE/REG/CRE/001 TP Id TP/oneM2M/AE/REG/CRE/001 Test objective Check that the IUT sends an AE initial registration request with no AE-ID-STEM provided when it is started Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 - case C, and clause 9.6.19 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT never being registered and the IUT being switched off and the IUT having got a valid APP-ID } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to CSE_RESOURCE_ADDRESS and Resource Type set to 2 (AE) and Content containing AE resource representation } NA then { the IUT sends a valid CREATE Request to CSE containing Resource Type set to 2 (AE) and To set to CSE_RESOURCE_ADDRESS and From set to empty and Content containing AE resource representation } CSE οƒŸ IUT TP/oneM2M/AE/REG/CRE/002 TP Id TP/oneM2M/AE/REG/CRE/002 Test objective Check that the IUT sends a registration CREATE Request with the value of the attribute ATTRIBUTE_NAME of the AE resource Reference ETSI TS 118 104 [2], clause 7.4.5.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT never being registered and the IUT being switched off and the IUT having got a valid APP-ID } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 2 (AE) and Content containing AE resource containing ATTRIBUTE_NAME attribute } NA ETSI ETSI TS 118 118 V2.13.1 (2020-12) 23 oneM2M TS-0018 version 2.13.1 Release 2 then { the IUT sends a valid CREATE Request containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing AE resource containing valid ATTRIBUTE_NAME attribute } IUT οƒ  CSE TP Id Reference ATTRIBUTE_NAME TP/oneM2M/AE/REG/CRE/002_RN ETSI TS 118 104 [2], clause 7.4.5.1 resourceName TP/oneM2M/AE/REG/CRE/002_ET ETSI TS 118 104 [2], clause 7.4.5.1 expirationTime TP/oneM2M/AE/REG/CRE/002_LBL ETSI TS 118 104 [2], clause 7.4.5.1 labels TP/oneM2M/AE/REG/CRE/002_APN ETSI TS 118 104 [2], clause 7.4.5.1 appName TP/oneM2M/AE/REG/CRE/002_API ETSI TS 118 104 [2], clause 7.4.5.1 App-ID TP/oneM2M/AE/REG/CRE/002_POA ETSI TS 118 104 [2], clause 7.4.5.1 pointOfAccess TP/oneM2M/AE/REG/CRE/002_OR ETSI TS 118 104 [2], clause 7.4.5.1 ontologyRef TP/oneM2M/AE/REG/CRE/002_NL ETSI TS 118 104 [2], clause 7.4.5.1 nodeLink TP/oneM2M/AE/REG/CRE/002_RR ETSI TS 118 104 [2], clause 7.4.5.1 requestReachability TP/oneM2M/AE/REG/CRE/002_CSZ ETSI TS 118 104 [2], clause 7.4.5.1 contentSerialization
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.2.2 DELETE Operation
TP/oneM2M/AE/REG/DEL/001 TP Id TP/oneM2M/AE/REG/DEL/001 Test objective Check that the IUT sends AE deregistration request to CSE Reference ETSI TS 118 101 [1], clause 10.1.4.2.2 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being in the "initial state" the IUT having registered to CSE and the IUT having privileges to perform DELETE operation on the resource AE to CSE } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to AE_RESOURCE_ADDRESS } NA then { the IUT sends a valid DELETE Request containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID } CSE οƒŸ IUT ETSI ETSI TS 118 118 V2.13.1 (2020-12) 24 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.3 Data Management and Repository (DMR)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.3.1 CREATE Operation
TP/oneM2M/AE/DMR/CRE/001 TP Id TP/oneM2M/AE/DMR/CRE/001 Test objective Check that the IUT sends a Container creation request when it is triggered Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.4.1, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.6.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT being switched on and the IUT having privileges to perform CREATE operation on resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to AE_RESOURCE_ADDRESS and Resource Type set to 3 (container) and From set to AE_ID and Content containing container resource representation } NA then { the IUT sends a valid CREATE Request to CSE containing To set to AE_RESOURCE_ADDRESS and Resource Type set to 3 (container) and From set to AE_ID and Content containing container resource representation } CSE οƒŸ IUT TP/oneM2M/AE/DMR/CRE/002 TP Id TP/oneM2M/AE/DMR/CRE/002 Test objective Check that the IUT sends a ContentInstance creation request when it is triggered Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.4.1, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.7.2.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform CREATE operation on resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Resource Type set to 4 (contentInstance) and Content containing contentInstance resource representation } NA ETSI ETSI TS 118 118 V2.13.1 (2020-12) 25 oneM2M TS-0018 version 2.13.1 Release 2 then { the IUT sends a valid CREATE Request to CSE containing To set to CONTAINER_RESOURCE_ADDRESS and Resource Type set to 4 (contentInstance) and From set to AE_ID and Content containing contentInstance resource representation } CSE οƒŸ IUT TP/oneM2M/AE/DMR/CRE/003 TP Id TP/oneM2M/AE/DMR/CRE/003 Test objective Check that the IUT sends a ContentInstance creation request with optional attribute ATTRIBUTE_NAME Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.4.1, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.7.2.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS through preconfiguration request and the IUT having privileges to perform CREATE operation on resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Resource Type set to 4 (contentInstance) and Content containing ContentInstance resource containing valid ATTRIBUTE_NAME attribute } NA then { the IUT sends a valid CREATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Resource Type set to 4 (contentInstance) and From set to AE_ID and Content containing ContentInstance resource containing valid ATTRIBUTE_NAME attribute } CSE οƒŸ IUT TP Id PICS Selection ATTRIBUTE_NAME TP/oneM2M/AE/DMR/CRE/003_CNF PICS_CIN_CNF contentInfo TP/oneM2M/AE/DMR/CRE/003_RN PICS_CIN_RN resourceName TP/oneM2M/AE/DMR/CRE/003_ET PICS_CIN_ET expirationTime TP/oneM2M/AE/DMR/CRE/003_LBL PICS_CIN_LBL labels TP/oneM2M/AE/DMR/CRE/003_CR PICS_CIN_CR creator ETSI ETSI TS 118 118 V2.13.1 (2020-12) 26 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/CRE/004 TP Id TP/oneM2M/AE/DMR/CRE/004 Test objective Check that the IUT sends a Container creation request with optional attribute ATTRIBUTE_NAME when it is triggered Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.4.1, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.6.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT having privileges to perform CREATE operation on resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to AE_RESOURCE_ADDRESS and Resource Type set to 3 (container) and Content containing container resource containing valid ATTRIBUTE_NAME attribute } NA then { the IUT sends a valid CREATE Request containing To set to AE_RESOURCE_ADDRESS and Resource Type set to 3 (container) and From set to AE_ID and Content containing container resource containing valid ATTRIBUTE_NAME attribute } CSE οƒŸ IUT TP Id PICS Selection ATTRIBUTE_NAME TP/oneM2M/AE/DMR/CRE/004_ACPI PICS_CNT_ACPI accessControlPolicyIDs TP/oneM2M/AE/DMR/CRE/004_MNI PICS_CNT_MNI maxNrOfInstances TP/oneM2M/AE/DMR/CRE/004_MBS PICS_CNT_MBS maxByteSize TP/oneM2M/AE/DMR/CRE/004_MIA PICS_CNT_MIA maxInstanceAge TP/oneM2M/AE/DMR/CRE/004_OR PICS_CNT_OR ontologyRef TP/oneM2M/AE/DMR/CRE/004_LI PICS_CNT_LI locationID TP/oneM2M/AE/DMR/CRE/004_RN PICS_CNT_RN resourceName TP/oneM2M/AE/DMR/CRE/004_ET PICS_CNT_ET expirationTime TP/oneM2M/AE/DMR/CRE/004_LBL PICS_CNT_LBL labels TP/oneM2M/AE/DMR/CRE/004_CR PICS_CNT_CR creator ETSI ETSI TS 118 118 V2.13.1 (2020-12) 27 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.3.2 UPDATE Operation
TP/oneM2M/AE/DMR/UPD/001 TP Id TP/oneM2M/AE/DMR/UPD/001 Test objective Check that the IUT sends an UPDATE Request with the value of the attribute ATTRIBUTE_NAME of the AE resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered containing a RW attribute ATTRIBUTE_NAME } Expected behaviour Test events Direction when { the IUT is triggered to send a valid UPDATE Request containing To set to AE_RESOURCE_ADDRESS and Content containing AE resource containing valid ATTRIBUTE_NAME attribute } NA then { the IUT sends a valid UPDATE Request containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Content containing AE resource containing valid ATTRIBUTE_NAME attribute } IUT οƒ  CSE TP Id Reference ATTRIBUTE_NAME TP/oneM2M/AE/DMR/UPD/001_ET ETSI TS 118 104 [2], clause 7.4.5.1 expirationTime TP/oneM2M/AE/DMR/UPD/001_LBL ETSI TS 118 104 [2], clause 7.4.5.1 labels TP/oneM2M/AE/DMR/UPD/001_APN ETSI TS 118 104 [2], clause 7.4.5.1 appName TP/oneM2M/AE/DMR/UPD/001_POA ETSI TS 118 104 [2], clause 7.4.5.1 pointOfAccess TP/oneM2M/AE/DMR/UPD/001_OR ETSI TS 118 104 [2], clause 7.4.5.1 ontologyRef TP/oneM2M/AE/DMR/UPD/001_NL ETSI TS 118 104 [2], clause 7.4.5.1 nodeLink TP/oneM2M/AE/DMR/UPD/001_RR ETSI TS 118 104 [2], clause 7.4.5.1 requestReachability TP/oneM2M/AE/DMR/UPD/001_CSZ ETSI TS 118 104 [2], clause 7.4.5.1 contentSerialization ETSI ETSI TS 118 118 V2.13.1 (2020-12) 28 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/UPD/002 TP Id TP/oneM2M/AE/DMR/UPD/002 Test objective Check that the IUT sends an UPDATE Request with the value of the attribute ATTRIBUTE_NAME of the <container> resource Reference ETSI TS 118 104 [2], clause 7.4.6.2.3 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered containing the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform UPDATE operation on resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid UPDATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and Content containing container resource containing valid ATTRIBUTE_NAME attribute } NA then { the IUT sends a valid UPDATE Request containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid ATTRIBUTE_NAME attribute } IUT οƒ  CSE TP Id Reference ATTRIBUTE_NAME TP/oneM2M/AE/DMR/UPD/002_ET ETSI TS 118 104 [2], clause 7.4.6.2.3 expirationTime TP/oneM2M/AE/DMR/UPD/002_LBL ETSI TS 118 104 [2], clause 7.4.6.2.3 labels TP/oneM2M/AE/DMR/UPD/002_MNI ETSI TS 118 104 [2], clause 7.4.6.2.3 maxNrOfInstances TP/oneM2M/AE/DMR/UPD/002_MBS ETSI TS 118 104 [2], clause 7.4.6.2.3 maxByteSize TP/oneM2M/AE/DMR/UPD/002_MIA ETSI TS 118 104 [2], clause 7.4.6.2.3 maxInstanceAge ETSI ETSI TS 118 118 V2.13.1 (2020-12) 29 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.3.3 RETRIEVE Operation
TP/oneM2M/AE/DMR/RET/001 TP Id TP/oneM2M/AE/DMR/RET/001 Test objective Check that the IUT sends a RETRIEVE Request on the TARGET_RESOURCE_ADDRESS to CSE Reference ETSI TS 118 101 [1], clause 10.1.2, ETSI TS 118 104 [2], clause 7.2.2.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the IUT having privileges to perform RETRIEVE operation on resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to TARGET_RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE Request containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE TP Id Reference RESOURCE_TYPE TP/oneM2M/AE/DMR/RET/001_CB ETSI TS 118 101 [1], clause 10.2.3.2 5 (CSEBase) TP/oneM2M/AE/DMR/RET/001_AE ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/AE/DMR/RET/001_CNT ETSI TS 118 101 [1], clause 10.2.4.2 3 (Container) TP/oneM2M/AE/DMR/RET/002 TP Id TP/oneM2M/AE/DMR/RET/002 Test objective Check that the IUT sends a RETRIEVE Request of oldest virtual resource. Reference ETSI TS 118 101 [1], clause 10.2.23.1, ETSI TS 118 104 [2], clause 7.4.28.2.3 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform RETRIEVE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS/oldest } NA then { the IUT sends a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS/oldest and From set to AE_ID } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 30 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/RET/003 TP Id TP/oneM2M/AE/DMR/RET/003 Test objective Check that the IUT sends a RETRIEVE Request of latest virtual resource. Reference ETSI TS 118 101 [1], clause 10.2.22.1, ETSI TS 118 104 [2], clause 7.4.27.2.3 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform RETRIEVE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS/latest } NA then { the IUT sends a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS/latest and From set to AE_ID } IUT οƒ  CSE TP/oneM2M/AE/DMR/RET/004 TP Id TP/oneM2M/AE/DMR/RET/004 Test objective Check that the IUT sends a <container> resource RETRIEVE Request to CSE Reference ETSI TS 118 104 [2], clause 7.4.6.2.2 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT being switched on and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform RETRIEVE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE Request containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 31 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/RET/005 TP Id TP/oneM2M/AE/DMR/RET/005 Test objective Check that the IUT sends a <contentInstance> resource RETRIEVE Request to CSE Reference ETSI TS 118 104 [2], clause 7.4.7.2.2 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform RETRIEVE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to CONTENTINSTANCE_RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE Request containing To set to CONTENTINSTANCE_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒ  CSE
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.3.4 DELETE Operation
TP/oneM2M/AE/DMR/DEL/001 TP Id TP/oneM2M/AE/DMR/DEL/001 Test objective Check that the IUT sends a DELETE Request of oldest virtual resource. Reference ETSI TS 118 101 [1], clause 10.2.23.2, ETSI TS 118 104 [2], clause 7.4.28.2.5 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform DELETE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS/oldest } NA then { the IUT sends a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS/oldest and From set to AE_ID } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 32 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/DEL/002 TP Id TP/oneM2M/AE/DMR/DEL/002 Test objective Check that the IUT sends a DELETE Request of latest virtual resource. Reference ETSI TS 118 101 [1], clause 10.2.22.2, ETSI TS 118 104 [2], clause 7.4.27.2.5 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform DELETE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS/oldest } NA then { the IUT sends a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS/latest and From set to AE_ID } IUT οƒ  CSE TP/oneM2M/AE/DMR/DEL/003 TP Id TP/oneM2M/AE/DMR/DEL/003 Test objective Check that the IUT sends a <container> resource DELETE request to CSE Reference ETSI TS 118 104 [2], clause 7.4.6.2.4 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and and the IUT being switched on and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform DELETE operation on container resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS } NA then { the IUT sends a valid DELETE Request containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID } CSE οƒŸ IUT ETSI ETSI TS 118 118 V2.13.1 (2020-12) 33 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/DMR/DEL/004 TP Id TP/oneM2M/AE/DMR/DEL/004 Test objective Check that the IUT sends a <contentInstance> resource DELETE request to CSE Reference ETSI TS 118 104 [2], clause 7.4.7.2.4 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT being registered and the IUT being switched on and the CSE having created a container resource and the CSE having created a contentInstance resource under container resource and the IUT having privileges to perform DELETE operation on contentInstance resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to CONTENTINSTANCE_RESOURCE_ADDRESS } NA then { the IUT sends a valid DELETE Request containing To set to CONTENTINSTANCE_RESOURCE_ADDRESS and From set to AE_ID } CSE οƒŸ IUT
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.4 Subscription and Notification (SUB)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.4.1 CREATE Operation
TP/oneM2M/AE/SUB/CRE/001 TP Id TP/oneM2M/AE/SUB/CRE/001 Test objective Check that the IUT sends a subscription creation request Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.4.1, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.8.2.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT being switched off and the IUT having privileges to perform CREATE operation on resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing Resource Type set to 23 (subscription) and To set to AE_RESOURCE_ADDRESS and Content containing subscription resource representation } NA then { the IUT sends a valid CREATE Request to CSE containing Resource Type set to 23 (subscription) and To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Content containing subscription resource representation } CSE οƒŸ IUT ETSI ETSI TS 118 118 V2.13.1 (2020-12) 34 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/AE/SUB/CRE/002 TP Id TP/oneM2M/AE/SUB/CRE/002 Test objective Check that the IUT sends a subscription creation request with optional attribute ATTRIBUTE_NAME when it is triggered Reference ETSI TS 118 101 [1], clauses 10.1.1.1 and 10.2.11.2, ETSI TS 118 104 [2], clauses 7.2.2.1 and 7.4.8.2.1 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE. Initial conditions with { the IUT being registered and the IUT having privileges to perform CREATE operation on resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and Content containing subscription resource containing notificationURI attribute and valid ATTRIBUTE_NAME attribute } NA then { the IUT sends a valid CREATE Request to CSE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and From set to AE_ID and Content containing subscription resource containing notificationURI attribute and valid ATTRIBUTE_NAME attribute } CSE οƒŸ IUT TP Id PICS Selection Reference ATTRIBUTE_NAME TP/oneM2M/AE/SUB/CRE/002_ACPI PICS_SUB_ACPI ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 accessControlPolicyIDs TP/oneM2M/AE/SUB/CRE/002_ENC PICS_SUB_ENC ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 eventNotificationCriteria TP/oneM2M/AE/SUB/CRE/002_EXC PICS_SUB_EXC ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 expirationCounter TP/oneM2M/AE/SUB/CRE/002_NFU PICS_SUB_NFU ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 notificationForwardingURI TP/oneM2M/AE/SUB/CRE/002_NCT PICS_SUB_NCT ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 notificationContentType TP/oneM2M/AE/SUB/CRE/002_NEC PICS_SUB_NEC ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 notificationEventCat TP/oneM2M/AE/SUB/CRE/002_SU PICS_SUB_SU ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.4.8.1 subscriberURI ETSI ETSI TS 118 118 V2.13.1 (2020-12) 35 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.4.2 NOTIFY Operation
TP/oneM2M/AE/SUB/NTF/001 TP Id TP/oneM2M/AE/SUB/NTF/001 Test objective Check that the IUT sends a Notify Response to the hosting CSE when receiving a Notify request containing a single notification Reference ETSI TS 118 101 [1], clause 6.1.12, ETSI TS 118 104 [2], clause 7.5.1.2 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT having been registered and the IUT having created subscription resource under the CSE and the IUT being reachable through a URL ACCESSIBLE_URL } Expected behaviour Test events Direction when { the IUT receives a NOTIFY Request from hosting CSE containing Content containing notification message representation } IUT οƒŸ CSE then { the IUT sends a valid NOTIFY Response to the hosting CSE containing Response Status Code set to RESPONSE_STATUS_CODE } CSE οƒŸ IUT TP/oneM2M/AE/SUB/NTF/002 TP Id TP/oneM2M/AE/SUB/NTF/002 Test objective Check that the IUT sends a Notify Response to the hosting CSE when receiving a Notify request containing aggregated notifications Reference ETSI TS 118 101 [1], clause 6.2.12, ETSI TS 118 104 [2], clause 7.5.1.2 Config Id CF03 Parent Release Release 1 PICS Selection PICS_AE Initial conditions with { the IUT having been registered and the IUT having created subscription resource under the CSE and the IUT being reachable through a URL ACCESSIBLE_URL } Expected behaviour Test events Direction when { the IUT receives a NOTIFY Request from hosting CSE containing Content containing aggregatedNotification message representation } IUT οƒŸ CSE then { the IUT sends a valid Response to the hosting CSE containing Response Status Code set to RESPONSE_STATUS_CODE } CSE οƒŸ IUT ETSI ETSI TS 118 118 V2.13.1 (2020-12) 36 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.5 Communication Management and Delivery Handling (CMDH)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.1.5.1 Resource pollingChannel (PCH)
TP/oneM2M/AE/PCH/001 TP Id TP/oneM2M/AE/PCH/001 Test objective Check that the IUT which performs polling sends the Notify request to <pollingChannelURI> Hosting CSE after receiving response using polling channel Reference ETSI TS 118 101 [1], clause 10.2.13.8 ETSI TS 118 104 [2], clause 7.4.22.2.5 Config Id CF03 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered to a CSE1 and the IUT having a <pollingChannel> resource and the IUT having sent a retrieve Request to the CSE To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and the CSE having received the Request from Originator containing To set to AE_RESOURCE_ADDRESS and From set to ORIGINATOR_ID } Expected behaviour Test events Direction when { the IUT receives a polling Response from the CSE containing Response Status Code set to 2000 (OK) } IUT οƒŸ CSE then { the IUT sends a NOTIFY Request to the CSE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and Content containing Response Status Code set to RESPONSE_STATUS_CODE } IUT οƒ  CSE NOTE: Based on figure 10.2.13.1-1 in ETSI TS 118 101 [1] step 004 and 005. TP/oneM2M/AE/PCH/002 TP Id TP/oneM2M/AE/PCH/002 Test objective Check that the IUT sends an RETRIEVE Request to <pollingChannelURI> resource See the note below. Reference ETSI TS 118 101 [1], clause 10.2.13.6, ETSI TS 118 104 [2], clause 7.4.22.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being registered and the IUT being switched on and the AE having a child <pollingChannel> resource } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to POLLINGCHANNELURI _RESOURCE_ADDRESS } NA then { the IUT sends a valid RETRIEVE Request containing To set to POLLINGCHANNELURI _RESOURCE_ADDRESS From set to AE_ID } IUT οƒ  CSE NOTE: Based on figure 10.2.5.12-1 in ETSI TS 118 101 [1] step 001. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 37 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2 Group CSE (CE)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.1 General Capability (GEN)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.1.1 CREATE Operation
TP/oneM2M/CSE/GEN/CRE/001 TP Id TP/oneM2M/CSE/GEN/CRE/001 Test objective Check that the IUT accepts the creation of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE request from AE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 3 (container) and Content containing container resource representation } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/CRE/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/CRE/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/CRE/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 38 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/CRE/002 TP Id TP/oneM2M/CSE/GEN/CRE/002 Test objective Check that the IUT accepts the creation of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE request from AE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 3 (container) and Content containing container resource representation } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/CRE/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/CRE/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/CRE/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 39 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/CRE/003 TP Id TP/oneM2M/CSE/GEN/CRE/003 Test objective Check that the IUT accepts the creation of a <container> resource using shortcut structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE request from AE containing To set to SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 3 (container) and Content containing container resource representation } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/CRE/003_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/CRE/003_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/CRE/003_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 40 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/CRE/004 TP Id TP/oneM2M/CSE/GEN/CRE/004 Test objective Check that the IUT accepts the creation of a <container> resource using structured resource identifier with hybrid addressing. Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE request from AE containing To set to HYBRID_HIERARCHICAL_ RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 3 (container) and Content containing container resource representation } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id HYBRID_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/CRE/004_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/CRE/004_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/CRE/004_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the STRUCTURED_CSE_RELATIVE_RESOURCE_ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 41 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.1.2 UPDATE Operation
TP/oneM2M/CSE/GEN/UPD/001 TP Id TP/oneM2M/CSE/GEN/UPD/001 Test objective Check that the IUT accepts the update of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE request from AE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid labels attribute } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/UPD/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/UPD/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/UPD/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 42 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/UPD/002 TP Id TP/oneM2M/CSE/GEN/UPD/002 Test objective Check that the IUT accepts the update of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE request from AE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid labels attribute } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/UPD/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/UPD/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/UPD/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 43 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/UPD/003 TP Id TP/oneM2M/CSE/GEN/UPD/003 Test objective Check that the IUT accepts the update of a <container> resource using shortcut structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE request from AE containing To set to SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid labels attribute } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE TP Id SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/UPD/003_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/UPD/003_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/UPD/003_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 44 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/UPD/004 TP Id TP/oneM2M/CSE/GEN/UPD/004 Test objective Check that the IUT accepts the update of a <container> resource using structured resource identifier with hybrid addressing. Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE request from AE containing To set to HYBRID_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing valid labels attribute } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE TP Id HYBRID_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/UPD/004_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/UPD/004_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/UPD/004_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the STRUCTURED_CSE_RELATIVE_RESOURCE_ID.
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.1.3 RETRIEVE Operation
TP/oneM2M/CSE/GEN/RET/001 TP Id TP/oneM2M/CSE/GEN/RET/001 Test objective Check that the IUT accepts the retrieval of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 45 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE request from AE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2000 (OK) and Content containing container resource representation } IUT οƒ  AE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/RET/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/RET/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/RET/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. TP/oneM2M/CSE/GEN/RET/002 TP Id TP/oneM2M/CSE/GEN/RET/002 Test objective Check that the IUT accepts the retrieval of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE request from AE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2000 (OK) and Content containing container resource representation } IUT οƒ  AE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/RET/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/RET/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/RET/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 46 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/RET/003 TP Id TP/oneM2M/CSE/GEN/RET/003 Test objective Check that the IUT accepts the retrieval of a <container> resource using shortcut structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE request from AE containing To set to SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2000 (OK) and Content containing container resource representation } IUT οƒ  AE TP Id SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/RET/003_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/RET/003_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/RET/003_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. TP/oneM2M/CSE/GEN/RET/004 TP Id TP/oneM2M/CSE/GEN/RET/004 Test objective Check that the IUT accepts the retrieval of a <container> resource using structured resource identifier with hybrid addressing. Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 47 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE request from AE containing To set to HYBRID_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2000 (OK) and Content containing container resource representation } IUT οƒ  AE TP Id HYBRID_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/RET/004_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/RET/004_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/RET/004_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the STRUCTURED_CSE_RELATIVE_RESOURCE_ID.
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.1.4 DELETE Operation
TP/oneM2M/CSE/GEN/DEL/001 TP Id TP/oneM2M/CSE/GEN/DEL/001 Test objective Check that the IUT accepts the deletion of a <container> resource using unstructured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE, PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE request from AE containing To set to NON_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP Id NON_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/DEL/001_CSR UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/DEL/001_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/DEL/001_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Unstructured-CSE-Relative-Resource-ID. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 48 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GEN/DEL/002 TP Id TP/oneM2M/CSE/GEN/DEL/002 Test objective Check that the IUT accepts the deletion of a <container> resource using structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE request from AE containing To set to HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP Id HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/DEL/002_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/DEL/002_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/DEL/002_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. TP/oneM2M/CSE/GEN/DEL/003 TP Id TP/oneM2M/CSE/GEN/DEL/003 Test objective Check that the IUT accepts the deletion of a <container> resource using shortcut structured resource identifier Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE request from AE containing To set to SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 49 oneM2M TS-0018 version 2.13.1 Release 2 TP Id SHORTCUT_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/DEL/003_CSR/ STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/DEL/003_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/DEL/003_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the Structured-CSE-Relative-Resource-ID. TP/oneM2M/CSE/GEN/DEL/004 TP Id TP/oneM2M/CSE/GEN/DEL/004 Test objective Check that the IUT accepts the deletion of a <container> resource using structured resource identifier with hybrid addressing. Reference ETSI TS 118 101 [1], table 9.3.1-1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE, PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a <container> resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE request from AE containing To set to HYBRID_HIERARCHICAL_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response message containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP Id HYBRID_HIERARCHICAL_RESOURCE_ADDRESS TP/oneM2M/CSE/GEN/DEL/004_CSR STRUCTURED_CSE_RELATIVE_RESOURCE_ID TP/oneM2M/CSE/GEN/DEL/004_SPR SP_RELATIVE_RESOURCE_ID, (see note) TP/oneM2M/CSE/GEN/DEL/004_ABS ABSOLUTE_RESOURCE_ID, (see note) NOTE: These addresses are constructed with the STRUCTURED_CSE_RELATIVE_RESOURCE_ID.
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.2 Registration (REG)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.2.1 RETRIEVE Operation
TP/oneM2M/CSE/REG/RET/001 TP Id TP/oneM2M/CSE/REG/RET/001 Test objective Check that the IUT accepts a retrieval request of <CSEBase> resource and responds with all attributes that have multiplicity equals to 1. Reference ETSI TS 118 101 [1], clause 10.2.3.2 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the CSEBase resource } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 50 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing CSEBase resource representation } IUT οƒ  AE TP/oneM2M/CSE/REG/RET/002 TP Id TP/oneM2M/CSE/REG/RET/002 Test objective Check that the IUT accepts a retrieval request of <CSEBase> resource with the optional ATTRIBUTE. Reference ETSI TS 118 101 [1], clause 10.2.3.2 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the CSEBase resource and the IUT having a CSEBase resource containing the valid ATTRIBUTE attribute } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing CSEBase resource containing valid ATTRIBUTE attribute } IUT οƒ  AE TP Id PICS Selection Reference ATTRIBUTE TP/oneM2M/CSE/REG/RET/002_CST PICS_CB_CST ETSI TS 118 101, clause 9.6.3 cseType TP/oneM2M/CSE/REG/RET/002_NL PICS_CB_NL ETSI TS 118 101, clause 9.6.3 nodeLink TP/oneM2M/CSE/REG/RET/003 TP Id TP/oneM2M/CSE/REG/RET/003 Test objective Check that the IUT accepts a retrieval request of <AE> resource with attributes multiplicity equals to 1. Reference ETSI TS 118 101 [1], clause 10.2.1 and clause 9.6.5, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the AE resource } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 51 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing AE resource representation } IUT οƒ  AE TP/oneM2M/CSE/REG/RET/004 TP Id TP/oneM2M/CSE/REG/RET/004 Test objective Check that the IUT accepts a retrieval request of <AE> resource with optional ATTRIBUTE. Reference ETSI TS 118 101 [1], clause 10.2.1.2 and clause 9.6.5, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing valid ATTRIBUTE attribute and the AE having privileges to perform RETRIEVE operation on the AE resource } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing AE resource containing ATTRIBUTE attribute } IUT οƒ  AE TP Id PICS Selection Reference ATTRIBUTE TP/oneM2M/CSE/REG/RET/004_LBL PICS_AE_LBL ETSI TS 118 101 [1], clause 9.6.5 labels TP/oneM2M/CSE/REG/RET/004_APN PICS_AE_APN ETSI TS 118 101 [1], clause 9.6.5 appName TP/oneM2M/CSE/REG/RET/004_POA PICS_AE_POA ETSI TS 118 101 [1], clause 9.6.5 pointOfAccess TP/oneM2M/CSE/REG/RET/004_NL PICS_AE_NL ETSI TS 118 101 [1], clause 9.6.5 nodeLink TP/oneM2M/CSE/REG/RET/004_CSZ PICS_AE_CSZ ETSI TS 118 101 [1], clause 9.6.5 contentSerialization TP/oneM2M/CSE/REG/RET/005 TP Id TP/oneM2M/CSE/REG/RET/005 Test objective Check that the IUT accepts a retrieval request of <CSEBase> resource including the cseType attribute Reference ETSI TS 118 101 [1], clause 10.2.3.2 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the CSEBase resource } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 52 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing CSEBase resource containing cseType attribute set to 1 (IN_CSE) } IUT οƒ  AE TP/oneM2M/CSE/REG/RET/006 TP Id TP/oneM2M/CSE/REG/RET/006 Test objective Check that the IUT accepts a retrieval request of <remoteCSE> resource. Reference ETSI TS 118 101 [1], clause 10.1.1.2.1 and clause 9.6.4 ETSI TS 118 104 [2], clause 7.4.4.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the ORIGINATOR and the ORIGINATOR having privileges to perform RETRIEVE operation on the remoteCSE resource } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from ORIGINATOR containing To set to REMOTECSE_RESOURCE_ADDRESS and From set to ORIGINATOR_ID } IUT οƒŸ ORIGINATOR then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing remoteCSE resource representation } IUT οƒ  ORIGINATOR ETSI ETSI TS 118 118 V2.13.1 (2020-12) 53 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/RET/007 TP Id TP/oneM2M/CSE/REG/RET/007 Test objective Check that the IUT accepts a retrieval request of <remoteCSE> resource with optional ATTRIBUTE Reference ETSI TS 118 101 [1], clause 10.1.1.2.1 and clause 9.6.4, ETSI TS 118 104 [2], clause 7.4.4.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the ORIGINATOR and the ORIGINATOR having privileges to perform RETRIEVE operation on the remoteCSE resource } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from ORIGINATOR containing To set to REMOTECSE_RESOURCE_ADDRESS and From set to ORIGINATOR_ID } IUT οƒŸ ORIGINATOR then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing remoteCSE resource containing ATTRIBUTE attribute } IUT οƒ  ORIGINATOR TP Id PICS Selection Reference ATTRIBUTE TP/oneM2M/CSE/REG/RET/007_LBL PICS_CSR_LBL ETSI TS 118 101 [1], clause 9.6.4 labels TP/oneM2M/CSE/REG/RET/007_CST PICS_CSR_CST ETSI TS 118 101 [1], clause 9.6.4 cseType TP/oneM2M/CSE/REG/RET/007_POA PICS_CSR_POA ETSI TS 118 101 [1], clause 9.6.4 pointOfAccess TP/oneM2M/CSE/REG/RET/007_NL PICS_CSR_NL ETSI TS 118 101 [1], clause 9.6.4 nodeLink ETSI ETSI TS 118 118 V2.13.1 (2020-12) 54 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/RET/008 TP Id TP/oneM2M/CSE/REG/RET/008 Test objective Check that the IUT accepts a retrieval request of <CSEBase> resource and responds with supportedResourceTypes attribute containing a list of the supported resources and pointOfAccess containing the list of physical addresses to be used by Registree to connect to this CSE (e.g. IP address, FQDN). Reference ETSI TS 118 101 [1], clause 10.2.3.2 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the CSEBase resource } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing CSEBase resource containing supportedResourceType set to PX_SRT pointOfAccess set to PX_POA } IUT οƒ  AE TP/oneM2M/CSE/REG/RET/009 TP Id TP/oneM2M/CSE/REG/RET/009 Test objective Check that IUT sends a <remoteCSE> retrieve request on TARGET_REMOTE_CSE_ADDRESS Reference ETSI TS 118 101 [1], clause 10.2.2.2, ETSI TS 118 104 [2], clause 7.4.5.2.3 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created a resource TARGET_REMOTE_CSE_ADDRESS and the IUT having privileges to perform RETRIEVE operation on the resource TARGET_REMOTE_CSE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid RETRIEVE Request containing To set to TARGET_REMOTE_CSE_ADDRESS } NA then { the IUT sends a valid RETRIEVE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and From set to CSE_ID and no Content } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 55 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/RET/010 TP Id TP/oneM2M/CSE/REG/RET/010 Test objective Check that IUT accepts a <remoteCSE> retrieve request Reference ETSI TS 118 101 [1], clause 10.2.2.2, ETSI TS 118 104 [2], clause 7.4.5.2.3 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created a resource TARGET_REMOTE_CSE_ADDRESS and the IUT having privileges to perform RETRIEVE operation on the resource TARGET_REMOTE_CSE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and From set to CSE_ID and no Content } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing remoteCSE resource representation } IUT οƒ  CSE
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.2.2 CREATE Operation
TP/oneM2M/CSE/REG/CRE/001 TP Id TP/oneM2M/CSE/REG/CRE/001 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and provided preprovisioned SP_RELATIVE_AE_ID Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_SELECTION Initial conditions with { the IUT being in the "initial state" and the IUT having preconfigured AE_ID_stem } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to SP_RELATIVE_AE_ID and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource representation } IUT οƒ  AE TP Id PARENT_RELEASE SP_RELATIVE_ AE_ID PICS_SELECTION TP/oneM2M/CSE/REG/CRE/001_CAE Release 1 Starting with "C" PICS_CSE TP/oneM2M/CSE/REG/CRE/001_SAE Release 2 Starting with "S" PICS_IN_CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 56 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/002 TP Id TP/oneM2M/CSE/REG/CRE/002 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and provided preprovisioned AE_ID_STEM of AE-ID-Stem format Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case d, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_SELECTION Initial conditions with { the IUT being in the "initial state" and the IUT having preconfigured AE_ID_stem } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID_STEM and Resource Type set to 2 (AE) and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource representation } IUT οƒ  AE TP Id PARENT_RELEASE AE_ID_STEM PICS_SELECTION TP/oneM2M/CSE/REG/CRE/002_CAE Release 1 Starting with "C" PICS_CSE TP/oneM2M/CSE/REG/CRE/002_SAE Release 2 Starting with "S" PICS_IN_CSE TP/oneM2M/CSE/REG/CRE/003 TP Id TP/oneM2M/CSE/REG/CRE/003 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and provided preprovisioned S-AE-ID-STEM Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the IN-CSE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing From set to S-AE-ID-STEM and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then{ the IUT sends a valid CREATE Request to IN-CSE containing From set to SP-RELATIVE-AE-ID and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels attribute set to "Credential-ID:None" } IUT οƒ  IN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM } S-AE-ID-STEM = Valid AE-ID-Stem starting with "S". ETSI ETSI TS 118 118 V2.13.1 (2020-12) 57 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/004 TP Id TP/oneM2M/CSE/REG/CRE/004 Test objective Check that the IUT rejects an AE registration (allowed App-ID, not allowed C-AE-ID-STEM provided by AE) Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 step 3 and clause 9.6.19 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT not allowing to register an AE containing allowed App-ID attribute indicating APP-ID and no t allowed AE-ID attribute indicating C-AE-ID-STEM } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and From set to C-AE-ID-STEM and Content containing AE resource containing App-ID attribute set to APP-ID } IUT οƒŸ AE then { the IUT does not create the AE resource and the IUT sends a valid Response containing Response Status Code set to 4107 (SECURITY_ASSOCIATION_REQUIRED) } IUT οƒ  AE TP/oneM2M/CSE/REG/CRE/005 TP Id TP/oneM2M/CSE/REG/CRE/005 Test objective Check that the IUT accepts an AE registration (allowed App-ID, S-AE-ID-STEM not provided by AE) Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, and clause 9.6.19 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the IN-CSE and and the IUT allowing to register an AE containing App-ID attribute set to APP-ID } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and From set to "S" and Content containing AE resource containing App-ID attribute set to APP-ID } IUT οƒŸ AE then { the IUT sends a valid CREATE Request to the IN-CSE containing Resource Type set to 10002 (AEAnnc) and From set to SP-RELATIVE-CSE-ID followed by '/S' and Content containing AEAnnc resource containing App-ID attribute set to APP-ID and valid link attribute and labels attribute indicating 'Credential-ID:None' } IUT οƒ  IN-CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 58 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/006 TP Id TP/oneM2M/CSE/REG/CRE/006 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and provided character 'S' in AE_ID_Stem Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the IN-CSE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing From set to character 'S' and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then{ the IUT sends a valid CREATE Request to IN_CSE containing From set to SP-RELATIVE-CSE-ID followed by '/S' and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID } IUT οƒ  IN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{AE_ID_Stem} AE_ID_Stem = "S". TP/oneM2M/CSE/REG/CRE/007 TP Id TP/oneM2M/CSE/REG/CRE/007 Test objective Check that the IUT accepts an response of AEANNC create request during AE registration with provided character 'S' in AE_ID_Stem Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the IN-CSE and the IUT having received a valid AE create request containing From set to "S" and the IUT having sent a valid AEANNC create to IN_CSE } Expected behaviour Test events Direction when{ the IUT receives a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID } IUT <- IN-CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing ResourceID attribute set to S-AE-ID-STEM and AE-ID attribute set to S-AE-ID-STEM } IUT οƒ  AE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM} S-AE-ID-STEM = Valid AE-ID-Stem assigned by IN-CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 59 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/008 TP Id TP/oneM2M/CSE/REG/CRE/008 Test objective Check that the IUT accepts an AE re-registration (allowed M2M-SP-assigned AE-ID, S-AE-ID- STEM provided by AE), transfer request to the IN-CSE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, step 5 and clause 9.6.19 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" the IUT having registered to the IN-CSE and the AE having already been registered containing AE-ID set to S-AE-ID-STEM and the AE having deregistered } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and From set to S-AE-ID-STEM and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid UPDATE Request to the IN-CSE containing From set to SP-RELATIVE-AE-ID and Content containing AEAnnc resource containing App-ID attribute set to APP-ID and link attribute set to SP-RELATIVE-AE-ID and labels attribute indicating 'Credential-ID:None' } IUT οƒ  IN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM } S-AE-ID-STEM = Value starting with "S" assigned by IN-CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 60 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/009 TP Id TP/oneM2M/CSE/REG/CRE/009 Test objective Check that the IUT accepts an AE re-registration (allowed M2M-SP-assigned AE-ID, S-AE-ID- STEM provided by AE), communication between MN-CSE and IN-CSE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, step 5-8 Config Id CF03 Parent Release Release 2 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the MN-CSE and the AE having already been registered containing AE-ID set to S-AE-ID-STEM and the AE having deregistered } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from the MN-CSE containing To set to AEANNC_RESOURCE_ADDRESS and From set to SP-RELATIVE-AE-ID and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels attribute indicating 'Credential-ID:None' } IUTοƒŸ MN-CSE then { the IUT updates the AEANNC_RESOURCE_ADDRESS resource and the IUT sends a valid Response to MN-CSE containing Response Status Code set to 2004 (UPDATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels attribute indicating 'Credential-ID:None' } IUT οƒ  MN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM } S-AE-ID-STEM = Value starting with "S" assigned by IN-CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 61 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/010 TP Id TP/oneM2M/CSE/REG/CRE/010 Test objective Check that the IUT accepts an AE re-registration (allowed M2M-SP-assigned AE-ID, S-AE-ID- STEM provided by AE), transfer response to the AE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, step 8 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the MN-CSE and the AE having already been registered containing AE-ID set to S-AE-ID-STEM and the AE having deregistered and the AE having sent a registration containing From set to S-AE-ID-STEM and the IUT having sent a valid AEAnnc UPDATE Request to IN-CSE } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Response from IN-CSE containing Response Status Code set to 2004 (UPDATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels attribute indicating 'Credential-ID:None' } IUT οƒŸ IN-CSE then { the IUT sends a valid Response to the AE containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing AE-ID attribute set to S-AE-ID-STEM } IUT οƒ  AE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM } S-AE-ID-STEM = Value starting with "S" assigned by IN-CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 62 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/011 TP Id TP/oneM2M/CSE/REG/CRE/011 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and asking AE_ID_Stem by indicating AE_ID_Stem starting with character 'C'. Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case c, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having preconfigured AE_ID_stem } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to 'C' and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing ResourceID attribute indicating a value starting with 'C' } IUT οƒ  AE TP/oneM2M/CSE/REG/CRE/012 TP Id TP/oneM2M/CSE/REG/CRE/012 Test objective Check that the IUT accepts an AE registration with the optional attribute OPTIONAL_ATTRIBUTE provided Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 and table 9.6.5-2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a CSEBase resource } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and From set to AE_ID and Content containing AE resource containing valid OPTIONAL_ATTRIBUTE attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing valid OPTIONAL_ATTRIBUTE attribute } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 63 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PICS Selection Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/CRE/012_AE/LBL PICS_AE_LBL ETSI TS 118 101 [1], table 9.6.5-2 labels TP/oneM2M/CSE/REG/CRE/012_AE/APN PICS_AE_APN ETSI TS 118 101 [1], table 9.6.5-2 AppName TP/oneM2M/CSE/REG/CRE/012_AE/POA PICS_AE_POA ETSI TS 118 101 [1], table 9.6.5-2 pointOfAccess TP/oneM2M/CSE/REG/CRE/012_AE/NL PICS_AE_NL ETSI TS 118 101 [1], table 9.6.5-2 nodeLink TP/oneM2M/CSE/REG/CRE/012_AE/OR PICS_AE_OR ETSI TS 118 101 [1], table 9.6.5-2 ontologyRef TP/oneM2M/CSE/REG/CRE/013 TP Id TP/oneM2M/CSE/REG/CRE/013 Test objective Check that the IUT accepts a create request of <remoteCSE> resource with OPTIONAL_ATTRIBUTE. Reference ETSI TS 118 101 [1], clause 10.1.1.2.1 and clause 9.6.4, ETSI TS 118 104 [2], clause 7.4.4.2.1 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from CSE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16(remoteCSE) and Content containing remoteCSE resource representation containing OPTIONAL_ATTRIBUTE attribute } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource representation } IUT οƒ  CSE TP Id PICS Selection Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/CRE/013_LBL PICS_CSR_LBL ETSI TS 118 101 [1], clause 9.6.4 labels TP/oneM2M/CSE/REG/CRE/013_CST PICS_CSR_CST ETSI TS 118 101 [1], clause 9.6.4 cseType TP/oneM2M/CSE/REG/CRE/013_POA PICS_CSR_POA ETSI TS 118 101 [1], clause 9.6.4 pointOfAccess TP/oneM2M/CSE/REG/CRE/013_NL PICS_CSR_NL ETSI TS 118 101 [1], clause 9.6.4 nodeLink ETSI ETSI TS 118 118 V2.13.1 (2020-12) 64 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/014 TP Id TP/oneM2M/CSE/REG/CRE/014 Test objective Check that the IUT retargets the request to the remoteCSE according to pointOfAccess in the <remoteCSE> resource. Reference ETSI TS 118 101 [1], clause 9.6.4 and clause 9.3.2.2.3, ETSI TS 118 104 [2], clause 6.2.3 Config Id CF02 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created the remoteCSE resource containing POINT_OF_ACCESS attribute } Expected behaviour Test events Direction when { the IUT receives a valid REQUEST from Originator containing To set to RESOURCE_ADDRESS and From set to Originator_ID } IUT οƒŸ Originator then { the IUT sends the REQUEST to POINT_OF_ACCESS } IUT οƒ  CSE TP/oneM2M/CSE/REG/CRE/015 TP Id TP/oneM2M/CSE/REG/CRE/015 Test objective Check that the IUT retargets the request to the CSE according to pointOfAccess in the <remoteCSE> resource and forward the response back to the originator. Reference ETSI TS 118 101 [1], clause 9.6.4 and clause 9.3.2.2.3, ETSI TS 118 104 [2], clause 6.2.3 Config Id CF02 Parent Release Release 1 PICS Selection PICS_CSE , PICS_SP_RELATIVE_RESOURCE_ID, PICS_ABSOLUTE_RESOURCE_ID Initial conditions with { the IUT being in the "initial state" and the IUT having received a valid REQUEST from Originator and The IUT having sent the REQUEST to the remoteCSE } Expected behaviour Test events Direction when { the IUT receives a valid RESPONSE from the remoteCSE } IUT οƒŸ CSE then { the IUT sends the RESPONSE to the Originator } IUT οƒ  Originator ETSI ETSI TS 118 118 V2.13.1 (2020-12) 65 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/016 TP Id TP/oneM2M/CSE/REG/CRE/016 Test objective Check that the IUT rejects an AE registration (not allowed App-ID) Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 step 3 and clause 9.6.19 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT not allowing to register an AE containing not allowed App-ID attribute indicating APP-ID } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and Content containing AE resource containing App-ID attribute set to APP-ID } IUT οƒŸ AE then { the IUT does not create the AE resource and the IUT sends a valid Response containing Response Status Code set to 4107 (SECURITY_ASSOCIATION_REQUIRED) } IUT οƒ  AE TP/oneM2M/CSE/REG/CRE/017 TP Id TP/oneM2M/CSE/REG/CRE/017 Test objective Check that the IUT rejects a create request of <AE> resource that does not include the MANDATORY_ATTRIBUTE. Reference ETSI TS 118 101 [1], clause 10.1.1.2.2, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having preconfigured AE_ID_stem } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 2(AE) and Content containing AE resource containing no MANDATORY_ATTRIBUTE attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4000 (BAD Request) } IUT οƒ  AE TP Id Reference ATTRIBUTE TP/oneM2M/CSE/REG/CRE/017_API ETSI TS 118 101 [1], clause 9.6.5 App-ID TP/oneM2M/CSE/REG/CRE/017_RR ETSI TS 118 101 [1], clause 9.6.5 requestReachability ETSI ETSI TS 118 118 V2.13.1 (2020-12) 66 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/018 TP Id TP/oneM2M/CSE/REG/CRE/018 Test objective Check that the IUT accepts a create request of <remoteCSE> resource with attributes multiplicity equals to 1. Reference ETSI TS 118 101 [1], clause 10.1.1.2.1 and clause 9.6.4, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from CSE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16(remoteCSE) and Content containing remoteCSE resource representation } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource representation } IUT οƒ  CSE TP/oneM2M/CSE/REG/CRE/019 TP Id TP/oneM2M/CSE/REG/CRE/019 Test objective Check that the IUT accepts a create request of <remoteCSE> resource with attributes multiplicity equals to 1 without the preconfigured CSE-ID. Reference ETSI TS 118 101 [1], clause 10.1.1.2.1 and clause 9.6.4, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from CSE containing To set to CSEBASE_RESOURCE_ADDRESS and no From and Resource Type set to 16(remoteCSE) and Content containing remoteCSE resource representation } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource representation } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 67 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/020 TP Id TP/oneM2M/CSE/REG/CRE/020 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and asking AE_ID_Stem by indicating AE_ID_Stem starting with character 'S'. Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing From set to 'S' and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing ResourceID attribute set to S-AE-ID-STEM } IUT οƒ  AE NOTE: S-AE-ID-STEM = Value starting with "S" assigned by IN-CSE. TP/oneM2M/CSE/REG/CRE/021 TP Id TP/oneM2M/CSE/REG/CRE/021 Test objective Check that the IUT rejects the create request of <CSEBase> resource. Reference ETSI TS 118 101 [1], clause 10.2.3.1 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and Resource Type set to 5 (CSEBase) and From set to AE-ID and Content containing CSEBase resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 68 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/022 TP Id TP/oneM2M/CSE/REG/CRE/022 Test objective Check that the IUT accepts an AE registration (allowed App-ID, C-AE-ID-STEM not provided by AE) Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case C and clause 9.6.19 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT allowing to register an AE containing App-ID attribute indicating APP-ID and AE-ID attribute indicating C-AE-ID-STEM } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and From set to 'C' and Content containing AE resource containing App-ID attribute set to APP-ID } IUT οƒŸ AE then { the IUT creates the AE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP/oneM2M/CSE/REG/CRE/023 TP Id TP/oneM2M/CSE/REG/CRE/023 Test objective Check that the IUT rejects registration of already registered AE (C-AE-ID-STEM provided by AE) Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 step 4 and clause 9.6.19 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state"and the IUT having registered the AE with AE-ID attribute set to C-AE-ID-STEM } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to 2 (AE) and To set to TARGE_CSE_RESOURCE_ADDRESS and From set to C-AE-ID-STEM and Content containing AE resource representation } IUT οƒŸ AE then { the IUT does not create the AE resource and the IUT sends a valid Response containing Response Status Code set to 4105 (CONFLICT) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 69 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/024 TP Id TP/oneM2M/CSE/REG/CRE/024 Test objective Check that IUT sends a CSE registration request with attributes multiplicity equals to 1 Reference ETSI TS 118 101 [1], clause 10.1.1.2.1, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_MN_CSE or PICS_ASN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having privileges to perform CREATE operation on the resource CSEBASE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource representation } NA then { the IUT sends a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource representation } IUT οƒ  CSE TP/oneM2M/CSE/REG/CRE/025 TP Id TP/oneM2M/CSE/REG/CRE/025 Test objective Check that IUT accepts a CSE registration request with attributes multiplicity equals to 1 Reference ETSI TS 118 101 [1], clause 10.1.1.2.1, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having privileges to perform CREATE operation on the resource CSEBASE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource representation } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource representation and the IUT creates the <remoteCSE> resource } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 70 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/026 TP Id TP/oneM2M/CSE/REG/CRE/026 Test objective Check that IUT sends a CSE registration request with OPTIONAL_ATTRIBUTE attribute Reference ETSI TS 118 101 [1], clause 10.1.1.2.1, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_MN_CSE or PICS_ASN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having privileges to perform CREATE operation on the resource CSEBASE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) and valid attribute OPTIONAL_ATTRIBUTE } NA then { the IUT sends a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) and valid attribute OPTIONAL_ATTRIBUTE } IUT οƒ  CSE TP Id PICS Selection Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/CRE/026_RN PICS_CSR_RN ETSI TS 118 101 [1], table 9.6.4-2 resourceName TP/oneM2M/CSE/REG/CRE/026_ET PICS_CSR_ET ETSI TS 118 101 [1], table 9.6.4-2 expirationTime TP/oneM2M/CSE/REG/CRE/026_LBL PICS_CSR_LBL ETSI TS 118 101 [1], table 9.6.4-2 labels TP/oneM2M/CSE/REG/CRE/026_POA PICS_CSR_POA ETSI TS 118 101 [1], table 9.6.4-2 pointOfAccess TP/oneM2M/CSE/REG/CRE/026_NL PICS_CSR_NL ETSI TS 118 101 [1], table 9.6.4-2 nodeLink TP/oneM2M/CSE/REG/CRE/026_CST PICS_CSR_CST ETSI TS 118 101 [1], table 9.6.4-2 cseType ETSI ETSI TS 118 118 V2.13.1 (2020-12) 71 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/027 TP Id TP/oneM2M/CSE/REG/CRE/027 Test objective Check that IUT accepts a CSE registration request with cseType attribute set to 'MN_CSE' Reference ETSI TS 118 101 [1], clause 10.1.1.2.1, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having privileges to perform CREATE operation on the resource CSEBASE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) and the IUT creates a <remoteCSE> resource } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 72 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/028 TP Id TP/oneM2M/CSE/REG/CRE/028 Test objective Check that IUT accepts a CSE registration request with OPTIONAL_ATTRIBUTE attribute Reference ETSI TS 118 101 [1], clause 10.1.1.2.1, ETSI TS 118 104 [2], clause 7.4.5.2.2 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the CSE having privileges to perform CREATE operation on the resource CSEBASE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request containing To set to CSEBASE_RESOURCE_ADDRESS and From set to CSE_ID and Resource Type set to 16 (remoteCSE) and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) and valid attribute OPTIONAL_ATTRIBUTE } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing remoteCSE resource containing cseType attribute set to 2 (MN_CSE) and valid attribute OPTIONAL_ATTRIBUTE and the IUT creates a <remoteCSE> resource } IUT οƒ  CSE TP Id PICS Selection Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/CRE/028_LBL PICS_CSR_LBL ETSI TS 118 101 [1], table 9.6.4-2 labels TP/oneM2M/CSE/REG/CRE/028_POA PICS_CSR_POA ETSI TS 118 101 [1], table 9.6.4-2 pointOfAccess TP/oneM2M/CSE/REG/CRE/028_NL PICS_CSR_NL ETSI TS 118 101 [1], table 9.6.4-2 nodeLink ETSI ETSI TS 118 118 V2.13.1 (2020-12) 73 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/029 TP Id TP/oneM2M/CSE/REG/CRE/029 Test objective Check that the IUT accepts an AE registration (preprovisioned S-AE-ID-STEM provided by AE), communication between MN-CSE and IN-CSE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, step 5-8 Config Id CF04 Parent Release Release 2 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from the CSE containing Resource Type set to 10002 (AEAnnc) and From set to SP-RELATIVE-AE-ID and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels indicating 'Credential-ID:None' } IUTοƒŸ MN-CSE then { the IUT creates the AEANNC_RESOURCE_ADDRESS resource and the IUT sends a valid Response to CSE containing Response Status Code set to 2001 (CREATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels indicating 'Credential-ID:None' } IUT οƒ  MN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM} S-AE-ID-STEM = Valid AE-ID-Stem starting with "S". ETSI ETSI TS 118 118 V2.13.1 (2020-12) 74 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/030 TP Id TP/oneM2M/CSE/REG/CRE/030 Test objective Check that the IUT accepts an AE re-registration (allowed M2M-SP-assigned AE-ID, S-AE-ID- STEM provided by AE), transfer response to the AE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case b, step 8 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the MN-CSE and the AE having sent a registration containing From set to S-AE-ID-STEM and the IUT having sent a valid AEAnnc CREATE Request to IN-CSE } Expected behaviour Test events Direction when { the IUT receives a valid Response from IN-CSE containing Response Status Code set to 2001 (CREATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels attribute indicating 'Credential-ID:None' } IUT οƒŸ IN-CSE then { the IUT sends a valid Response to the AE containing Response Status Code set to 2001 (CREATED) and Content containing AE resource containing AE-ID attribute set to S-AE-ID-STEM } IUT οƒ  AE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM }. S-AE-ID-STEM = Value starting with "S" assigned by IN-CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 75 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/CRE/031 TP Id TP/oneM2M/CSE/REG/CRE/031 Test objective Check that the IUT accepts an AE registration (S-AE-ID-STEM not provided by AE), communication between MN-CSE and IN-CSE Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 case a, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF04 Parent Release Release 2 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from MN-CSE containing Resource Type set to 10002 (AEAnnc) and From set to SP-RELATIVE-AE-ID and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID and labels indicating 'Credential-ID:None' } IUT οƒŸ MN-CSE then { the IUT creates the AEANNC_RESOURCE_ADDRESS resource and the IUT sends a valid Response to CSE containing Response Status Code set to 2001 (CREATED) and Content containing AEAnnc resource containing link attribute set to SP-RELATIVE-AE-ID* and labels indicating 'Credential-ID:None' } IUT οƒ  MN-CSE NOTE: SP-RELATIVE-AE-ID = {SP-RELATIVE-CSE-ID}/{AE-ID-STEM} SP-RELATIVE-AE-ID* = {SP-RELATIVE-CSE-ID}/{S-AE-ID-STEM} AE-ID-STEM = "S" S-AE-ID-STEM = Valid AE-ID-Stem starting with "S". TP/oneM2M/CSE/REG/CRE/032 TP Id TP/oneM2M/CSE/REG/CRE/032 Test objective Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 with AE-ID-Stem being empty Reference ETSI TS 118 101 [1], clause 10.1.1.2.2, ETSI TS 118 104 [2], clause 7.4.5.2.1 Config Id CF01 Parent Release Release 2 PICS Selection Initial conditions with { the IUT being in the "initial state" } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing From set to empty and Resource Type set to 2(AE) and Content containing AE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing AE resource representation } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 76 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.2.3 DELETE Operation
TP/oneM2M/CSE/REG/DEL/001 TP Id TP/oneM2M/CSE/REG/DEL/001 Test objective Check that the IUT rejects the delete request of <CSEBase> resource. Reference ETSI TS 118 101 [1], clause 10.2.3.4 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.4 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE TP/oneM2M/CSE/REG/DEL/002 TP Id TP/oneM2M/CSE/REG/DEL/002 Test objective Check that IUT accepts a <remoteCSE> delete request on TARGET_REMOTE_CSE_ADDRESS, and deletes the <remoteCSE> resource Reference ETSI TS 118 101 [1], clause 10.2.2.4 and clause 9.6.4, ETSI TS 118 104 [2], clause 7.4.4.2.1 Config Id CF04 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the CSE and the CSE originator having privileges to perform DELETE operation on the remoteCSE resource } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from CSE containing To set to REMOTECSE_RESOURCE_ADDRESS and From set to CSE_ID and no Content } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and the IUT deletes the remoteCSE resource } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 77 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/DEL/003 TP Id TP/oneM2M/CSE/REG/DEL/003 Test objective Check that the IUT accepts an AE de-registration. Reference ETSI TS 118 101 [1], clause 10.1.4.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform DELETE operation on the resource AE } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT deletes the AE_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP/oneM2M/CSE/REG/DEL/004 TP Id TP/oneM2M/CSE/REG/DEL/004 Test objective Check that IUT sends a <remoteCSE> delete request on TARGET_REMOTE_CSE_ADDRESS Reference ETSI TS 118 101 [1], clause 10.2.2.4, ETSI TS 118 104 [2], clause 7.4.5.2.5 Config Id CF04 Parent Release Release 1 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created a resource TARGET_REMOTE_CSE_ADDRESS and the IUT having privileges to perform DELETE operation on the resource TARGET_REMOTE_CSE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid DELETE Request containing To set to TARGET_REMOTE_CSE_ADDRESSS } NA then { the IUT sends a valid DELETE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and From set to CSE_ID and no Content } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 78 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/DEL/005 TP Id TP/oneM2M/CSE/REG/DEL/005 Test objective Check that the IUT accepts an AE de-registration when AE-ID is starting with "S" Reference ETSI TS 118 101 [1], clause 10.1.4.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_IN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing From set to "S" and the AE having privileges to perform DELETE operation on the resource AE } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT deletes the AE_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP/oneM2M/CSE/REG/DEL/006 TP Id TP/oneM2M/CSE/REG/DEL/006 Test objective Check that the IUT accepts an AE de-registration when AE-ID is starting with "S" Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing From set to "S" and the AE having privileges to perform DELETE operation on the resource AE } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid UPDATE Request containing Content containing AEANNC_RESOURCE_ADDRESS resource containing link attribute set to "INACTIVE" } IUT οƒ  IN-CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 79 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/DEL/007 TP Id TP/oneM2M/CSE/REG/DEL/007 Test objective Check that the IUT accepts the response from IN-CSE for the AE de-registration when AE-ID is starting with "S" Reference ETSI TS 118 101 [1], clause 10.1.1.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing From set to "S" and the AE having privileges to perform DELETE operation on the resource AE and the AE having sent a valid DELETE Request at AE_RESOURCE_ADDRESS resource and the IUT having sent a valid UPDATE Request to IN-CSE containing Content containing AEANNC_RESOURCE_ADDRESS resource containing link attribute set to empty } Expected behaviour Test events Direction when { the IUT receives a valid Response from IN-CSE containing Response Status Code set to 2004 (UPDATED) } IUT οƒŸ IN-CSE then { the IUT deletes the AE_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.2.4 UPDATE Operation
TP/oneM2M/CSE/REG/UPD/001 TP Id TP/oneM2M/CSE/REG/UPD/001 Test objective Check that the IUT rejects the update request of <CSEBase> resource. Reference ETSI TS 118 101 [1], clause 10.2.3.3 and clause 9.6.3, ETSI TS 118 104 [2], clause 7.4.3.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to CSEBASE_RESOURCE_ADDRESS and From set to AE_ID and Content containing CSEBase resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 80 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/UPD/002 TP Id TP/oneM2M/CSE/REG/UPD/002 Test objective Check that IUT accepts a <remoteCSE> update request with OPTIONAL_ATTRIBUTE attribute Reference ETSI TS 118 101 [1], clause 10.2.2.3, ETSI TS 118 104 [2], clause 7.4.5.2.4 Config Id CF04 Parent Release Release 1 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created a resource TARGET_REMOTE_CSE_ADDRESS containing a RW OPTIONAL_ATTRIBUTE attribute set to VALUE_1 and the CSE having privileges to perform UPDATE operation on the resource TARGET_REMOTE_CSE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and From set to CSE_ID and Content containing remoteCSE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE_2 } IUT οƒŸ CSE then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing remoteCSE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE_2 } IUT οƒ  CSE TP Id Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/UPD/002_LBL ETSI TS 118 101 [1], table 9.6.4-2 labels TP/oneM2M/CSE/REG/UPD/002_POA ETSI TS 118 101 [1], table 9.6.4-2 pointOfAccess TP/oneM2M/CSE/REG/UPD/002_NL ETSI TS 118 101 [1], table 9.6.4-2 nodeLink ETSI ETSI TS 118 118 V2.13.1 (2020-12) 81 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/REG/UPD/003 TP Id TP/oneM2M/CSE/REG/UPD/003 Test objective Check that IUT sends a <remoteCSE> update request with OPTIONAL_ATTRIBUTE attribute Reference ETSI TS 118 101 [1], clause 10.2.2.3, ETSI TS 118 104 [2], clause 7.4.5.2.4 Config Id CF04 Parent Release Release 1 PICS Selection PICS_MN_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created a resource TARGET_REMOTE_CSE_ADDRESS containing a RW OPTIONAL_ATTRIBUTE attribute set to VALUE_1 and the IUT having privileges to perform UPDATE operation on the resource TARGET_REMOTE_CSE_ADDRESS } Expected behaviour Test events Direction when { the IUT is triggered to send a valid UPDATE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and Content containing remoteCSE resource containing attribute OPTIONAL_ATTRIBUTE set to VALUE_2 } NA then { the IUT sends a valid UPDATE Request containing To set to TARGET_REMOTE_CSE_ADDRESS and From set to CSE_ID and Content containing remoteCSE resource containing attribute OPTIONAL_ATTRIBUTE set to VALUE_2 } IUT οƒ  CSE TP Id PICS Selection Reference OPTIONAL_ATTRIBUTE TP/oneM2M/CSE/REG/UPD/003_ET PICS_CSR_ET ETSI TS 118 101 [1], table 9.6.4-2 expirationTime TP/oneM2M/CSE/REG/UPD/003_LBL PICS_CSR_LBL ETSI TS 118 101 [1], table 9.6.4-2 labels TP/oneM2M/CSE/REG/UPD/003_POA PICS_CSR_POA ETSI TS 118 101 [1], table 9.6.4-2 pointOfAccess TP/oneM2M/CSE/REG/UPD/003_NL PICS_CSR_NL ETSI TS 118 101 [1], table 9.6.4-2 nodeLink TP/oneM2M/CSE/REG/UPD/003_RR PICS_CSR_RR ETSI TS 118 101 [1], table 9.6.4-2 requestReachability ETSI ETSI TS 118 118 V2.13.1 (2020-12) 82 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3 Data Management and Repository Function (DMR)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3.1 RETRIEVE Operation
TP/oneM2M/CSE/DMR/RET/001 TP Id TP/oneM2M/CSE/DMR/RET/001 Test objective Check that the IUT returns successfully the TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource representation } IUT οƒ  AE TP Id PARENT_RE LEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/001_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/001_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/001_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/001_CIN Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 4 (contentInstance) TP/oneM2M/CSE/DMR/RET/001_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/001_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/001_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChannel) TP/oneM2M/CSE/DMR/RET/001_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 83 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/002 TP Id TP/oneM2M/CSE/DMR/RET/002 Test objective Check that the IUT responds with an error when the AE tries to retrieve the resource TARGET_RESOURCE_ADDRESS which does not exist Reference ETSI TS 118 101 [1], clause 10.1.2 item 1) Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having not yet created a resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP/oneM2M/CSE/DMR/RET/003 TP Id TP/oneM2M/CSE/DMR/RET/003 Test objective Check that the IUT responds with an error when the AE tries to retrieve a resource TARGET_RESOURCE_ADDRESS under AE without having privileges for the RETRIEVE operation Reference ETSI TS 118 101 [1], clause 10.1.2 item 2) Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource and the AE having no privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response containing Response Status Code set to 4103 (ACCESS_DENIED) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/003_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/003_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/003_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/003_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/003_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/003_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 84 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/004 TP Id TP/oneM2M/CSE/DMR/RET/004 Test objective Check that the IUT returns successfully the ATTRIBUTE of TARGET_RESOURCE_ADDRESS resource ("To" option) Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_ATTRIBUTE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE attribute and no other attribute } IUT οƒ  AE NOTE: TARGET_ATTRIBUTE_ADDRESS is represented as TARGET_RESOURCE_ADDRESS#ATTRIBUTE where '#' is present between TARGET_RESOURCE_ADDRESS and ATTRIBUTE. ATTRIBUTE indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/004_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/004_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/004_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/004_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/004_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/004_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChannel) TP/oneM2M/CSE/DMR/RET/004_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 85 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/005 TP Id TP/oneM2M/CSE/DMR/RET/005 Test objective Check that the IUT returns successfully the ATTRIBUTE of TARGET_RESOURCE_ADDRESS resource ("Content" option) Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE attribute and no other attribute } IUT οƒ  AE NOTE: ATTRIBUTE indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/005_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/005_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/005_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/005_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/005_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/005_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChannel) TP/oneM2M/CSE/DMR/RET/005_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 86 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/006 TP Id TP/oneM2M/CSE/DMR/RET/006 Test objective Check that the IUT returns successfully multiple attributes of TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containin ATTRIBUTE_1 name and ATTRIBUTE_2 name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE_1 attribute and valid ATTRIBUTE_2 attribute and no other attribute } IUT οƒ  AE NOTE: ATTRIBUTE_1 indicates common attribute for all RESOURCE_TYPE resources listed in the table below. ATTRIBUTE_2 indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/006_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/006_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/006_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/006_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/006_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/006_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChannel) TP/oneM2M/CSE/DMR/RET/006_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 87 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/007 TP Id TP/oneM2M/CSE/DMR/RET/007 Test objective Check that the IUT responds with an error when the AE tries to retrieve a non-existing attribute of the TARGET_RESOURCE_ADDRESS resource ("single" attribute case) Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource containing no attribute ATTRIBUTE and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE NOTE: labels attribute was chosen, since it is a common attribute for all types of resource. It can be replaced by any common attribute. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE ATTRIBUTE TP/oneM2M/CSE/DMR/RET/007_CNT/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) labels TP/oneM2M/CSE/DMR/RET/007_ACP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) labels TP/oneM2M/CSE/DMR/RET/007_SUB/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) labels TP/oneM2M/CSE/DMR/RET/007_GRP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) labels TP/oneM2M/CSE/DMR/RET/007_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/RET/007_PCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChallenge) labels TP/oneM2M/CSE/DMR/RET/007_TS/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 88 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/008 TP Id TP/oneM2M/CSE/DMR/RET/008 Test objective Check that the IUT responds with an error when the AE tries to retrieve a non-existing attributes of the TARGET_RESOURCE_ADDRESS resource ("multiple" attributes case) Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the AE resource containing no ATTRIBUTE_1 attribute and no ATTRIBUTE_2 attribute and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE_1 name and ATTRIBUTE_2 name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE ATTRI BUTE _1 ATTRIBU TE_2 TP/oneM2M/CSE/DMR/RET/008 _CNT/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) labels announce To TP/oneM2M/CSE/DMR/RET/008 _SUB/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) labels announce To TP/oneM2M/CSE/DMR/RET/008 _ACP/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) labels announce To TP/oneM2M/CSE/DMR/RET/008 _GRP/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) labels announce To TP/oneM2M/CSE/DMR/RET/008 _SCH/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels announce To TP/oneM2M/CSE/DMR/RET/008 _PCH/LBL/PI Release 2 ETSI TS 118 101 [1], clause 10.2.13.3 15 (pollingChannel) labels parentID TP/oneM2M/CSE/DMR/RET/008 _TS/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) labels announce To ETSI ETSI TS 118 118 V2.13.1 (2020-12) 89 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/009 TP Id TP/oneM2M/CSE/DMR/RET/009 Test objective Check that the IUT rejects the RETRIEVE Request of a latest resource target to a container resource that has no direct child contentInstance resources. Reference ETSI TS 118 101 [1], clause 10.2.22.1, ETSI TS 118 104 [2], clause 7.4.28.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing no direct child contentInstance resources } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP/oneM2M/CSE/DMR/RET/010 TP Id TP/oneM2M/CSE/DMR/RET/010 Test objective Check that the IUT accepts the RETRIEVE Request of the oldest contentInstance target to a <container> resource Reference ETSI TS 118 101 [1], clause 10.2.23.1, ETSI TS 118 104 [2], clause 7.4.29.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a container resource containing CONTENT_INSTANCE_1 contentInstance resource and CONTENT_INSTANCE_2 contentInstance resource and the AE having privileges to perform RETRIEVE operation on the container resource and creationTime attribute of CONTENT_INSTANCE_1 < creationTime attribute of CONTENT_INSTANCE_2 } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/ol and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing contentInstance resource containing resourceName attribute set to CONTENT_INSTANCE_1 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 90 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/011 TP Id TP/oneM2M/CSE/DMR/RET/011 Test objective Check that the IUT rejects the RETRIEVE Request of an oldest resource target to a container resource that has no direct child contentInstance resources. Reference ETSI TS 118 101 [1], clause 10.2.23.1, ETSI TS 118 104 [2], clause 7.4.29.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing no direct child contentInstance resources } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/ol and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP/oneM2M/CSE/DMR/RET/012 TP Id TP/oneM2M/CSE/DMR/RET/012 Test objective Check that the IUT accepts the RETRIEVE Request of the latest contentInstance target to a <container> resource Reference ETSI TS 118 101 [1], clause 10.2.22.1, ETSI TS 118 104 [2], clause 7.4.28.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing and the IUT having created a container resource containing CONTENT_INSTANCE_1 contentInstance resource and CONTENT_INSTANCE_2 contentInstance resource and the AE having privileges to perform RETRIEVE operation on the container resource and creationTime attribute of CONTENT_INSTANCE_1 < creationTime attribute of CONTENT_INSTANCE_2 } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/la and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response containing Response Status Code set to 2000 (OK) and Content containing contentInstance resource containing resourceName attribute set to CONTENT_INSTANCE_2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 91 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/013 TP Id TP/oneM2M/CSE/DMR/RET/013 Test objective Check that the IUT returns successfully the TARGET_RESOURCE_ADDRESS resource under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource representation } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/013_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/013_AE Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/CSE/DMR/RET/013_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/013_CSR Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) TP/oneM2M/CSE/DMR/RET/013_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/013_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/013_DLV Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) TP/oneM2M/CSE/DMR/RET/013_LCP Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) TP/oneM2M/CSE/DMR/RET/013_MGC Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) TP/oneM2M/CSE/DMR/RET/013_NOD Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) TP/oneM2M/CSE/DMR/RET/013_REQ Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) TP/oneM2M/CSE/DMR/RET/013_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/013_STCL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) TP/oneM2M/CSE/DMR/RET/013_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) TP/oneM2M/CSE/DMR/RET/013_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 92 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/014 TP Id TP/oneM2M/CSE/DMR/RET/014 Test objective Check that the IUT responds with an error when the AE tries to retrieve a resource TARGET_RESOURCE_ADDRESS under CSEBase without having privileges for the RETRIEVE operation Reference ETSI TS 118 101 [1], clause 10.1.2 item 2) Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having no privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a Response containing Response Status Code set to 4103 (ACCESS_DENIED) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/014_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/014_AE Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/CSE/DMR/RET/014_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/014_CSR Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) TP/oneM2M/CSE/DMR/RET/014_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/014_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/014_DLV Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) TP/oneM2M/CSE/DMR/RET/014_LCP Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) TP/oneM2M/CSE/DMR/RET/014_MGC Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) TP/oneM2M/CSE/DMR/RET/014_NOD Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) TP/oneM2M/CSE/DMR/RET/014_REQ Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) TP/oneM2M/CSE/DMR/RET/014_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/014_STCL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) TP/oneM2M/CSE/DMR/RET/014_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) TP/oneM2M/CSE/DMR/RET/014_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 93 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/015 TP Id TP/oneM2M/CSE/DMR/RET/015 Test objective Check that the IUT returns successfully the ATTRIBUTE of TARGET_RESOURCE_ADDRESS resource ("To" option) under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_ATTRIBUTE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE attribute and no other attribute } IUT οƒ  AE NOTE: TARGET_ATTRIBUTE_ADDRESS is represented as TARGET_RESOURCE_ADDRESS # ATTRIBUTE. ATTRIBUTE indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/015_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/015_AE Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/CSE/DMR/RET/015_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/015_CSR Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) TP/oneM2M/CSE/DMR/RET/015_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/015_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/015_DLV Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) TP/oneM2M/CSE/DMR/RET/015_LCP Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) TP/oneM2M/CSE/DMR/RET/015_MGC Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) TP/oneM2M/CSE/DMR/RET/015_NOD Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) TP/oneM2M/CSE/DMR/RET/015_REQ Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) TP/oneM2M/CSE/DMR/RET/015_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/015_STCL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) TP/oneM2M/CSE/DMR/RET/015_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 94 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/015_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) TP/oneM2M/CSE/DMR/RET/016 TP Id TP/oneM2M/CSE/DMR/RET/016 Test objective Check that the IUT returns successfully the ATTRIBUTE of TARGET_RESOURCE_ADDRESS resource ("Content" option) under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE attribute and no other attribute } IUT οƒ  AE NOTE: ATTRIBUTE indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/016_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/016_AE Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/CSE/DMR/RET/016_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/016_CSR Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) TP/oneM2M/CSE/DMR/RET/016_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/016_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/016_DLV Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) TP/oneM2M/CSE/DMR/RET/016_LCP Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) TP/oneM2M/CSE/DMR/RET/016_MGC Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) TP/oneM2M/CSE/DMR/RET/016_NOD Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) TP/oneM2M/CSE/DMR/RET/016_REQ Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) TP/oneM2M/CSE/DMR/RET/016_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 95 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/016_STCL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) TP/oneM2M/CSE/DMR/RET/016_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) TP/oneM2M/CSE/DMR/RET/016_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) TP/oneM2M/CSE/DMR/RET/017 TP Id TP/oneM2M/CSE/DMR/RET/017 Test objective Check that the IUT returns successfully multiple attributes of TARGET_RESOURCE_ADDRESS resource under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE_1 name and ATTRIBUTE_2 name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE_1 attribute and valid ATTRIBUTE_2 attribute and no other attribute } IUT οƒ  AE NOTE: ATTRIBUTE_1 indicates common attribute for all RESOURCE_TYPE resources listed in the table below. ATTRIBUTE_2 indicates common attribute for all RESOURCE_TYPE resources listed in the table below. TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/017_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/RET/017_AE Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) TP/oneM2M/CSE/DMR/RET/017_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) TP/oneM2M/CSE/DMR/RET/017_CSR Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) TP/oneM2M/CSE/DMR/RET/017_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) TP/oneM2M/CSE/DMR/RET/017_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) TP/oneM2M/CSE/DMR/RET/017_DLV Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) TP/oneM2M/CSE/DMR/RET/017_LCP Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 96 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/017_MGC Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) TP/oneM2M/CSE/DMR/RET/017_NOD Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) TP/oneM2M/CSE/DMR/RET/017_REQ Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) TP/oneM2M/CSE/DMR/RET/017_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/RET/017_STCL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) TP/oneM2M/CSE/DMR/RET/017_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) TP/oneM2M/CSE/DMR/RET/017_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) TP/oneM2M/CSE/DMR/RET/018 TP Id TP/oneM2M/CSE/DMR/RET/018 Test objective Check that the IUT responds with an error when the AE tries to retrieve a non-existing attribute of the TARGET_RESOURCE_ADDRESS resource ("single" attribute case) under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource containing no attribute ATTRIBUTE and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE ATTRI BUTE TP/oneM2M/CSE/DMR/RET/018_ACP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessControlPolicy) labels TP/oneM2M/CSE/DMR/RET/018_AE/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) labels TP/oneM2M/CSE/DMR/RET/018_CNT/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) labels TP/oneM2M/CSE/DMR/RET/018_CSR/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) labels TP/oneM2M/CSE/DMR/RET/018_SUB/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) labels TP/oneM2M/CSE/DMR/RET/018_GRP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) labels TP/oneM2M/CSE/DMR/RET/018_DLV/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) labels TP/oneM2M/CSE/DMR/RET/018_LCP/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 97 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/018_MGC/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) labels TP/oneM2M/CSE/DMR/RET/018_NOD/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) labels TP/oneM2M/CSE/DMR/RET/018_REQ/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) labels TP/oneM2M/CSE/DMR/RET/018_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/RET/018_STCL/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) labels TP/oneM2M/CSE/DMR/RET/018_STCG/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) labels TP/oneM2M/CSE/DMR/RET/018_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) labels TP/oneM2M/CSE/DMR/RET/019 TP Id TP/oneM2M/CSE/DMR/RET/019 Test objective Check that the IUT responds with an error when the AE tries to retrieve a non-existing attribute of the TARGET_RESOURCE_ADDRESS resource ("multiple" attributes case) under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.2 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the <CSEBase> resource containing no ATTRIBUTE_1 attribute and no ATTRIBUTE_2 attribute and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing attributeList element containing ATTRIBUTE_1 name and ATTRIBUTE_2 name } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_ TYPE ATTRI BUTE _1 ATTRIBUTE_ 2 TP/oneM2M/CSE/DMR/RET/019_ACP/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.21.2 1 (accessContro lPolicy) labels announceTo TP/oneM2M/CSE/DMR/RET/019_AE/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.1.2 2 (AE) labels announceTo TP/oneM2M/CSE/DMR/RET/019_CNT/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.4.2 3 (container) labels announceTo TP/oneM2M/CSE/DMR/RET/019_CSR/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.2.2 16 (remoteCSE) labels announceTo TP/oneM2M/CSE/DMR/RET/019_SUB/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.11.3 23 (subscription) labels announceTo TP/oneM2M/CSE/DMR/RET/019_GRP/LBL/AT Release 1 ETSI TS 118 101 [1], clause 10.2.7.3 9 (group) labels announceTo ETSI ETSI TS 118 118 V2.13.1 (2020-12) 98 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/019_DLV/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.5.3 6 (delivery) labels announceTo TP/oneM2M/CSE/DMR/RET/019_LCP/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.10.1.2 10 (locationPolicy ) labels announceTo TP/oneM2M/CSE/DMR/RET/019_MGC/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.8.3 12 (mgmtCmd) labels announceTo TP/oneM2M/CSE/DMR/RET/019_NOD/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.14.2 14 (node) labels announceTo TP/oneM2M/CSE/DMR/RET/019_REQ/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.20.2 17 (request) labels announceTo TP/oneM2M/CSE/DMR/RET/019_SCH/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels announceTo TP/oneM2M/CSE/DMR/RET/019_STCL/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.15.11 21 (statsCollect) labels announceTo TP/oneM2M/CSE/DMR/RET/019_STCG/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.15.3 22 (statsConfig) labels announceTo TP/oneM2M/CSE/DMR/RET/019_TS/LBL/AT Release 2 ETSI TS 118 101 [1], clause 10.2.30.2 29 (timeSeries) labels announceTo TP/oneM2M/CSE/DMR/RET/020 TP Id TP/oneM2M/CSE/DMR/RET/020 Test objective Check that the IUT rejects a RETRIEVE Request target to TARGET_RESOURCE_ADDRESS resource when the Result Content set to RESULT_CONTENT Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 7.3.2.1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to RESULT_CONTENT } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) and no Content } IUT οƒ  AE TP Id Reference RESULT_CONTENT TP/oneM2M/CSE/DMR/RET/020_RCN/0 ETSI TS 118 104 [2], clause 6.3.4.2.7 0 (Nothing) TP/oneM2M/CSE/DMR/RET/020_RCN/2 2 (hierarchical address) TP/oneM2M/CSE/DMR/RET/020_RCN/3 3 (attributes and hierarchichal address) TP/oneM2M/CSE/DMR/RET/020_RCN/9 9 (modified attributes) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 99 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/021 TP Id TP/oneM2M/CSE/DMR/RET/021 Test objective Check that the IUT returns successfully only attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 1 (attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to 1 (attributes) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and no child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/021_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/RET/021_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/RET/021_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 100 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/022 TP Id TP/oneM2M/CSE/DMR/RET/022 Test objective Check that the IUT returns successfully only attributes and child resources of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 4 (attributes and child resources) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to 4 (attributes and child resources) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/022_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/RET/022_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/RET/022_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 101 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/023 TP Id TP/oneM2M/CSE/DMR/RET/023 Test objective Check that the IUT returns successfully only attributes and child resource references of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 5 (attributes and child resource references) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to 5 (attributes and child resource references) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and no child resources and child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/023_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/RET/023_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/RET/023_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 102 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/024 TP Id TP/oneM2M/CSE/DMR/RET/024 Test objective Check that the IUT returns successfully only child resource references of TARGET_RESOURCE_ADDRESS resource when Result Content is set to 6 (child resource references) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to 6 (child resource references) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing resourceRefList element containing child resource reference } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/024_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/RET/024_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/RET/024_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 103 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/RET/025 TP Id TP/oneM2M/CSE/DMR/RET/025 Test objective Check that the IUT returns successfully only child resources of TARGET_RESOURCE_ADDRESS resource when Result Content is set to 8 (child resources) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content and Result Content set to 8 (child resources) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing CHILD_RESOURCE_TYPE resource representation } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/RET/025_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/RET/025_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/RET/025_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 104 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3.2 UPDATE Operation
TP/oneM2M/CSE/DMR/UPD/001 TP Id TP/oneM2M/CSE/DMR/UPD/001 Test objective Check that the IUT updates successfully the value of the attribute ATTRIBUTE_NAME of the TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a RW ATTRIBUTE_NAME attribute set to VALUE_1 and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE then { the IUT updates the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE ATTRIBUTE_ NAME TP/oneM2M/CSE/DMR/UPD/001_CNT/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) labels TP/oneM2M/CSE/DMR/UPD/001_ACP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControlPolicy) labels TP/oneM2M/CSE/DMR/UPD/001_SUB/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) labels TP/oneM2M/CSE/DMR/UPD/001_GRP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) labels TP/oneM2M/CSE/DMR/UPD/001_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/UPD/001_PCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollingChannel) labels TP/oneM2M/CSE/DMR/UPD/001_TS/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 29 (timeSeries) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 105 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/002 TP Id TP/oneM2M/CSE/DMR/UPD/002 Test objective Check that the IUT adds successfully the attribute ATTRIBUTE_NAME to the TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing no optional RW ATTRIBUTE_NAME attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_1 } IUT οƒŸ AE then { the IUT updates the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_1 } IUT οƒ  AE TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_T YPE ATTRIB UTE_NA ME TP/oneM2M/CSE/DMR/UPD/002_CNT/LBL Release 1 PICS_CNT_LBL ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) labels TP/oneM2M/CSE/DMR/UPD/002_ACP/LBL Release 1 PICS_ACP_LBL ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControl Policy) labels TP/oneM2M/CSE/DMR/UPD/002_SUB/LBL Release 1 PICS_SUB_LBL ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) labels TP/oneM2M/CSE/DMR/UPD/002_GRP/LBL Release 1 PICS_GRP_LBL ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) labels TP/oneM2M/CSE/DMR/UPD/002_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/UPD/002_PCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollingChannel ) labels TP/oneM2M/CSE/DMR/UPD/002_TS/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.30.3 29 (timeSeries) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 106 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/003 TP Id TP/oneM2M/CSE/DMR/UPD/003 Test objective Check that the IUT deletes successfully the attribute ATTRIBUTE_NAME from the TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing an optional RW ATTRIBUTE_NAME attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to NULL } IUT οƒŸ AE then { the IUT updates the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to NULL } IUT οƒ  AE TP Id PARENT_ RELEASE PICS Selection Reference RESOURC E_TYPE ATTRIBUT E_NAME TP/oneM2M/CSE/DMR/UPD/003_CNT/LBL Release 1 PICS_CNT_LBL ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) labels TP/oneM2M/CSE/DMR/UPD/003_ACP/LBL Release 1 PICS_ACP_LBL ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessCon trolPolicy) labels TP/oneM2M/CSE/DMR/UPD/003_SUB/LBL Release 1 PICS_SUB_LBL ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscriptio n) labels TP/oneM2M/CSE/DMR/UPD/003_GRP/LBL Release 1 PICS_GRP_LBL ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) labels TP/oneM2M/CSE/DMR/UPD/003_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/UPD/003_PCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollingCha nnel) labels TP/oneM2M/CSE/DMR/UPD/003_TS/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.30.3 29 (timeSeries) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 107 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/004 TP Id TP/oneM2M/CSE/DMR/UPD/004 Test objective Check that the IUT updates the value of the attribute ATTRIBUTE_NAME_1, and creates the ATTRIBUTE_NAME_2 and deletes the ATTRIBUTE_NAME_3 of the TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a RW ATTRIBUTE_NAME_1 attribute set to VALUE_1 and no optional RW ATTRIBUTE_NAME_2 attribute and an optional RW ATTRIBUTE_NAME_3 attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME_1 attibute set to VALUE_2 and ATTRIBUTE_NAME_2 attribute set to VALUE_3 and ATTRIBUTE_NAME_3 attribute set to NULL } IUT οƒŸ AE then { the IUT updates the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME_1 attribute set to VALUE_2 and ATTRIBUTE_NAME_2 attribute set to VALUE_3 and ATTRIBUTE_NAME_3 attribute set to NULL } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 108 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESO URCE _TYPE ATTRI BUTE_ NAME _1 ATTRI BUTE_ NAME_ 2 ATTRI BUTE_ NAME_ 3 TP/oneM2M/CSE/DMR/UPD/004 _CNT/ET/MNI/LBL Release 1 PICS_CN T_MNI and PICS_CN T_LBL ETSI TS 118 101 [1], clause 10.2.4.3 3 (contai ner) expirati onTime maxNr OfInsta nces labels TP/oneM2M/CSE/DMR/UPD/004 _ACP/PVS/PV/LBL Release 1 PICS_AC P_LBL ETSI TS 118 101 [1], clause 10.2.21.3 1 (acces sContr olPolic y) selfPriv ileges privileg es labels TP/oneM2M/CSE/DMR/UPD/004 _ACP/PV/AT/LBL Release 1 PICS_AC P_AT and PICS_AC P_LBL ETSI TS 118 101 [1], clause 10.2.21.3 1 (acces sContr olPolic y) privileg es announ ceTo labels TP/oneM2M/CSE/DMR/UPD/004 _SUB/ET/LBL/EXC Release 1 PICS_SU B_LBL and PICS_SU B_EXC ETSI TS 118 101 [1], clause 10.2.11.4 23 (subsc ription) expirati onTime labels expirati onCoun ter TP/oneM2M/CSE/DMR/UPD/004 _GRP/ET/GN/LBL Release 1 PICS_GR P_GN and PICS_GR P_LBL ETSI TS 118 101 [1], clause 10.2.7.4 9 (group ) expirati onTime groupN ame labels TP/oneM2M/CSE/DMR/UPD/004 _SCH/SE/AT/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (sched ule) schedul eEleme nt announ ceTo labels TP/oneM2M/CSE/DMR/UPD/004 _TS/ET/MNI/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollin gChan nel) expirati onTime maxNr OfInsta nces labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 109 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/005 TP Id TP/oneM2M/CSE/DMR/UPD/005 Test objective Check that the IUT responds with an error when the AE tries to update an attribute of a TARGET_RESOURCE_ADDRESS resource when the resource does not exist Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT not having created a resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing valid representation resource containing valid attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 110 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/006 TP Id TP/oneM2M/CSE/DMR/UPD/006 Test objective Check that the IUT responds with an error when the AE tries to update the attribute ATTRIBUTE_NAME of a TARGET_RESOURCE_ADDRESS resource without having privileges for the UPDATE operation Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a RW ATTRIBUTE_NAME attribute set to VALUE_1 and the AE having no privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME set to VALUE_2 } IUT οƒŸ AE then { the IUT does not update the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 4103 (ACCESS_DENIED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 111 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TYPE ATTRIBUTE_ NAME TP/oneM2M/CSE/DMR/UPD/006_CNT/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) labels TP/oneM2M/CSE/DMR/UPD/006_ACP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControlPolicy) labels TP/oneM2M/CSE/DMR/UPD/006_SUB/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) labels TP/oneM2M/CSE/DMR/UPD/006_GRP/LBL Release 1 ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) labels TP/oneM2M/CSE/DMR/UPD/006_SCH/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) labels TP/oneM2M/CSE/DMR/UPD/005_TS/LBL Release 2 ETSI TS 118 101 [1], clause 10.2.30.3 29 (timeSeries) labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 112 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/007 TP Id TP/oneM2M/CSE/DMR/UPD/007 Test objective Check that the IUT responds with an error when the AE tries to update a non-RW attribute ATTRIBUTE_NAME of a TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a non-RW ATTRIBUTE_NAME attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE_NAME attribute } IUT οƒŸ AE then { the IUT does not update the TARGET_RESOURCE_ADDRESS resource and the IUT sends a Response containing Response Status Code set to 4000 (BAD_REQUEST) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 113 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TY PE ATTRIBUTE_ NAME TP/oneM2M/CSE/DMR/UPD/007_CNT/CT Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) creationTime TP/oneM2M/CSE/DMR/UPD/007_ACP/CT Release 1 ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControlPo licy) creationTime TP/oneM2M/CSE/DMR/UPD/007_SUB/CT Release 1 ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) creationTime TP/oneM2M/CSE/DMR/UPD/007_GRP/CT Release 1 ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) creationTime TP/oneM2M/CSE/DMR/UPD/007_SCH/CT Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) creationTime TP/oneM2M/CSE/DMR/UPD/007_PCH/CT Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollingChannel) creationTime TP/oneM2M/CSE/DMR/UPD/007_TS/CT Release 2 ETSI TS 118 101 [1], clause 10.2.30.3 29 (timeSeries) creationTime ETSI ETSI TS 118 118 V2.13.1 (2020-12) 114 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/008 TP Id TP/oneM2M/CSE/DMR/UPD/008 Test objective Check that the IUT responds with an error when the AE tries to delete a mandatory RW attribute ATTRIBUTE_NAME of a TARGET_RESOURCE_ADDRESS resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a mandatory RW ATTRIBUTE_NAME attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to NULL } IUT οƒŸ AE then { the IUT does not update the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TY PE ATTRIBUTE_NAME TP/oneM2M/CSE/DMR/UPD/008_ACP/PVS Release 1 ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControlPo licy) selfPrivileges TP/oneM2M/CSE/DMR/UPD/008_SUB/NU Release 1 ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) notificationURI TP/oneM2M/CSE/DMR/UPD/008_GRP/MNI Release 1 ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) maxNrOfInstances ETSI ETSI TS 118 118 V2.13.1 (2020-12) 115 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/009 TP Id TP/oneM2M/CSE/DMR/UPD/009 Test objective Check that the IUT responds with an error when the AE tries to update a RW attribute ATTRIBUTE_NAME of the TARGET_RESOURCE_ADDRESS resource with an UNACCEPTABLE_VALUE Reference ETSI TS 118 101 [1], clause 10.1.3 item 3) Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a valid RW ATTRIBUTE_NAME attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing not supported ATTRIBUTE_NAME attribute } IUT οƒŸ AE then { the IUT does not update the TARGET_RESOURCE_ADDRESS resource and the IUT sends a Response containing Response Status Code set to 4000 (BAD_REQUEST) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 116 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_T YPE ATTRIBUTE_NAME TP/oneM2M/CSE/DMR/UPD/009_CNT/EXC Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) expirationCounter TP/oneM2M/CSE/DMR/UPD/009_ACP/EXC Release 1 ETSI TS 118 101 [1], clause 10.2.21.3 1 (accessControlP olicy) expirationCounter TP/oneM2M/CSE/DMR/UPD/009_SUB/MNI Release 1 ETSI TS 118 101 [1], clause 10.2.11.4 23 (subscription) maxNrOfInstances TP/oneM2M/CSE/DMR/UPD/009_GRP/EXC Release 1 ETSI TS 118 101 [1], clause 10.2.7.4 9 (group) expirationCounter TP/oneM2M/CSE/DMR/UPD/009_SCH/EXC Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) expirationCounter TP/oneM2M/CSE/DMR/UPD/009_PCH/EXC Release 2 ETSI TS 118 101 [1], clause 10.2.13.4 15 (pollingChannel) expirationCounter TP/oneM2M/CSE/DMR/UPD/009_TS/EXC Release 2 ETSI TS 118 101 [1], clause 10.2.30.3 29 (timeSeries) expirationCounter ETSI ETSI TS 118 118 V2.13.1 (2020-12) 117 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/010 TP Id TP/oneM2M/CSE/DMR/UPD/010 Test objective Check that the stateTag attribute of a RESOURCE_TYPE resource is increased when an update operation has been performed on its child resource Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a RESOURCE_TYPE resource containing CHILD_RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_1 and the AE having privileges to perform UPDATE operation on the TARGET_CHILD_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_CHILD_RESOURCE_ADDRESS and From set to AE_ID Content containing CHILD_RESOURCE_TYPE resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE then { the IUT increments the stateTag attribute of RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE TP Id PARENT_RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/UPD/010_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 3 (container) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 118 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/011 TP Id TP/oneM2M/CSE/DMR/UPD/011 Test objective Check that the IUT rejects the UPDATE Request of an existing RESOURCE_TYPE resource with error "OPERATION_NOT_ALLOWED" Reference ETSI TS 118 101 [1], clause 10.2.19.4, ETSI TS 118 104 [2], clause 7.3.2.1 and clause 7.4.8.2.3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a PARENT_RESOURCE_TYPE resource containing a RESOURCE_TYPE resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Expected behaviour when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE representation } then { the IUT does not update the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } TP Id PARENT_ RELEASE Reference RESOURCE_ TYPE PARENT_RESOURCE _TYPE TP/oneM2M/CSE/DMR/UPD/011_CNT/ CIN Release 1 ETSI TS 118 101 [1], clause 10.2.4.3 4 (contentInstan ce) 3 (container) TP/oneM2M/CSE/DMR/UPD/011_TS/TS I Release 2 ETSI TS 118 101 [1], clause 10.2.31.3 30 (timeSeriesInst ance) 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 119 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/012 TP Id TP/oneM2M/CSE/DMR/UPD/012 Test objective Check that the IUT rejects the UPDATE Request of a latest resource as a direct child of a <container> resource with error "OPERATION_NOT_ALLOWED" Reference ETSI TS 118 101 [1], clause 10.2.22, ETSI TS 118 104 [2], clause 7.4.28.2.4 and clause 7.3.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing a contentInstance resource containing valid creationTime attribute set to the most recent resource creation time } Expected behaviour Test events Direction when { the IUT receives an UPDATE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/la and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT does not update the CONTAINER_RESOURCE_ADDRESS/la resource and the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 120 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/013 TP Id TP/oneM2M/CSE/DMR/UPD/013 Test objective Check that the IUT rejects the UPDATE Request of an oldest resource as a direct child of a <container> resource with error "OPERATION_NOT_ALLOWED" Reference ETSI TS 118 101 [1], clause 10.2.23, ETSI TS 118 104 [2], clause 7.4.29.2.4 and clause 7.3.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing contentInstance resource(s) } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/ol and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT does not update the CONTAINER_RESOURCE_ADDRESS/ol resource and the IUT sends a Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 121 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/014 TP Id TP/oneM2M/CSE/DMR/UPD/014 Test objective Check that the IUT updates successfully the value of the optional attribute OPTIONAL_ATTRIBUTE of the RESOURCE_TYPE resource. Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created the RESOURCE_TYPE resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 122 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/014_CNT/ACPI Release 1 PICS_CNT_ACPI ETSI TS 118 101 [1], table 9.6.1.3.2-1 container accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/014_CNT/ET Release 1 PICS_CNT_ET ETSI TS 118 101 [1], table 9.6.1.3.1-1 container expirationTim e TP/oneM2M/CSE/DMR/UPD/014_CNT/LBL Release 1 PICS_CNT_LBL ETSI TS 118 101 [1], table 9.6.1.3.2-1 container labels TP/oneM2M/CSE/DMR/UPD/014_CNT/MNI Release 1 PICS_CNT_MNI ETSI TS 118 101 [1], table 9.6.6-2 container maxNrOfInst ances TP/oneM2M/CSE/DMR/UPD/014_CNT/MBS Release 1 PICS_CNT_MBS ETSI TS 118 101 [1], table 9.6.6-2 container maxByteSize TP/oneM2M/CSE/DMR/UPD/014_CNT/MIA Release 1 PICS_CNT_MIA ETSI TS 118 101 [1], table 9.6.6-2 container maxInstance Age TP/oneM2M/CSE/DMR/UPD/014_CNT/OR Release 1 PICS_CNT_OR ETSI TS 118 101 [1], table 9.6.6-2 container ontologyRef TP/oneM2M/CSE/DMR/UPD/014_ACP/ET Release 1 N/A ETSI TS 118 101 [1], table 9.6.1.3.1-1 accessControlPolicy expirationTim e TP/oneM2M/CSE/DMR/UPD/014_ACP/LBL Release 1 PICS_ACP_LBL ETSI TS 118 101 [1], table 9.6.1.3.2-1 accessControlPolicy labels TP/oneM2M/CSE/DMR/UPD/014_SUB/ACPI Release 1 PICS_SUB_ACPI ETSI TS 118 101 [1], table 9.6.1.3.2-1 subscription accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/014_SUB/ET Release 1 N/A ETSI TS 118 101 [1], table 9.6.1.3.1-1 subscription expirationTim e TP/oneM2M/CSE/DMR/UPD/014_SUB/LBL Release 1 PICS_SUB_LBL ETSI TS 118 101 [1], table 9.6.1.3.2-1 subscription labels TP/oneM2M/CSE/DMR/UPD/014_SUB/ENC Release 1 PICS_SUB_ENC ETSI TS 118 101 [1], table 9.6.8-2 subscription eventNotificat ionCriteria TP/oneM2M/CSE/DMR/UPD/014_SUB/EXC Release 1 PICS_SUB_EXC ETSI TS 118 101 [1], table 9.6.8-2 subscription expirationCo unter TP/oneM2M/CSE/DMR/UPD/014_SUB/GPI Release 1 PICS_SUB_GPI ETSI TS 118 101 [1], table 9.6.8-2 subscription groupID TP/oneM2M/CSE/DMR/UPD/014_SUB/NFU Release 1 PICS_SUB_NFU ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationFo rwardingURI TP/oneM2M/CSE/DMR/UPD/014_SUB/BN Release 1 PICS_SUB_BN ETSI TS 118 101 [1], table 9.6.8-2 subscription batchNotify TP/oneM2M/CSE/DMR/UPD/014_SUB/RL Release 1 PICS_SUB_RL ETSI TS 118 101 [1], table 9.6.8-2 subscription rateLimit TP/oneM2M/CSE/DMR/UPD/014_SUB/PN Release 1 PICS_SUB_PN ETSI TS 118 101 [1], table 9.6.8-2 subscription pendingNotifi cation TP/oneM2M/CSE/DMR/UPD/014_SUB/NSP Release 1 PICS_SUB_NSP ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationSt oragePriority TP/oneM2M/CSE/DMR/UPD/014_SUB/LN Release 1 PICS_SUB_LN ETSI TS 118 101 [1], table 9.6.8-2 subscription latestNotify TP/oneM2M/CSE/DMR/UPD/014_SUB/NCT Release 1 PICS_SUB_NCT ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationCo ntentType ETSI ETSI TS 118 118 V2.13.1 (2020-12) 123 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/014_SUB/NEC Release 1 PICS_SUB_NEC ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationEv entCat TP/oneM2M/CSE/DMR/UPD/014_STCG/LBL Release 2 ETSI TS 118 101 [1], table 9.6.23-2 statsConfig labels TP/oneM2M/CSE/DMR/UPD/014_STCG/AC PI Release 2 ETSI TS 118 101 [1], table 9.6.23-2 statsConfig accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/014_TS/ACPI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/014_TS/LBL Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries labels TP/oneM2M/CSE/DMR/UPD/014_TS/MNI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maximumNr OfInstances TP/oneM2M/CSE/DMR/UPD/014_TS/MBS Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maxByteSize TP/oneM2M/CSE/DMR/UPD/014_TS/MIA Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maxInstance Age TP/oneM2M/CSE/DMR/UPD/014_TS/PEI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries periodicInterv al TP/oneM2M/CSE/DMR/UPD/014_TS/MDD Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData Detect TP/oneM2M/CSE/DMR/UPD/014_TS/MDN Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData MaxNr TP/oneM2M/CSE/DMR/UPD/014_TS/MDT Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData DetectTimer TP/oneM2M/CSE/DMR/UPD/014_TS/OR Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries ontologyRef ETSI ETSI TS 118 118 V2.13.1 (2020-12) 124 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/015 TP Id TP/oneM2M/CSE/DMR/UPD/015 Test objective Check that the IUT updates successfully the value of the optional attribute OPTIONAL_ATTRIBUTE of the RESOURCE_TYPE resource under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource containing no OPTIONAL_ATTRIBUTE attribute and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE } IUT οƒŸ AE then { the IUT updates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing OPTIONAL_ATTRIBUTE attribute set to VALUE } IUT οƒ  AE TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/015_CSR/LBL Release 1 PICS_CSR _LBL ETSI TS 118 101 [1], table 9.6.4-2 remoteCSE labels TP/oneM2M/CSE/DMR/UPD/015_CSR/POA Release 1 PICS_CSR _POA ETSI TS 118 101 [1], table 9.6.4-2 remoteCSE pointOfAcce ss TP/oneM2M/CSE/DMR/UPD/015_CSR/NL Release 1 PICS_CSR _NL ETSI TS 118 101 [1], table 9.6.4-2 remoteCSE nodeLink TP/oneM2M/CSE/DMR/UPD/015_AE/LBL Release 1 PICS_AE_ LBL ETSI TS 118 101 [1], table 9.6.5-2 AE labels ETSI ETSI TS 118 118 V2.13.1 (2020-12) 125 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/015_AE/ACPI Release 1 PICS_AE_ ACPI ETSI TS 118 101 [1], table 9.6.5-2 AE accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_AE/APN Release 1 PICS_AE_ APN ETSI TS 118 101 [1], table 9.6.5-2 AE AppName TP/oneM2M/CSE/DMR/UPD/015_AE/POA Release 1 PICS_AE_ POA ETSI TS 118 101 [1], table 9.6.5-2 AE pointOfAcce ss TP/oneM2M/CSE/DMR/UPD/015_AE/OR Release 1 PICS_AE_ OR ETSI TS 118 101 [1], table 9.6.5-2 AE ontologyRef TP/oneM2M/CSE/DMR/UPD/015_CNT/LBL Release 1 PICS_CNT _LBL ETSI TS 118 101 [1], table 9.6.6-2 container labels TP/oneM2M/CSE/DMR/UPD/015_CNT/ACPI Release 1 PICS_CNT _ACPI ETSI TS 118 101 [1], table 9.6.6-2 container accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_CNT/MNI Release 1 PICS_CNT _MNI ETSI TS 118 101 [1], table 9.6.6-2 container maxNrOfInst ances TP/oneM2M/CSE/DMR/UPD/015_CNT/MBS Release 1 PICS_CNT _MBS ETSI TS 118 101 [1], table 9.6.6-2 container maxByteSize TP/oneM2M/CSE/DMR/UPD/015_CNT/MIA Release 1 PICS_CNT _MIA ETSI TS 118 101 [1], table 9.6.6-2 container maxInstance Age TP/oneM2M/CSE/DMR/UPD/015_CNT/OR Release 1 PICS_CNT _OR ETSI TS 118 101 [1], table 9.6.6-2 container ontologyRef TP/oneM2M/CSE/DMR/UPD/015_CNT/LI Release 1 PICS_CNT _LI ETSI TS 118 101 [1], table 9.6.6-2 container locationID TP/oneM2M/CSE/DMR/UPD/015_ACP/LBL Release 1 PICS_ACP _LBL ETSI TS 118 101 [1], table 9.6.2-2 accessControlPolicy labels TP/oneM2M/CSE/DMR/UPD/015_SUB/ACPI Release 1 PICS_SUB _ACPI ETSI TS 118 101 [1], table 9.6.8-2 subscription accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_SUB/LBL Release 1 PICS_SUB _LBL ETSI TS 118 101 [1], table 9.6.8-2 subscription labels TP/oneM2M/CSE/DMR/UPD/015_SUB/ENC Release 1 PICS_SUB _ENC ETSI TS 118 101 [1], table 9.6.8-2 subscription eventNotifica tionCriteria TP/oneM2M/CSE/DMR/UPD/015_SUB/EXC Release 1 PICS_SUB _EXC ETSI TS 118 101 [1], table 9.6.8-2 subscription expirationCo unter TP/oneM2M/CSE/DMR/UPD/015_SUB/GPI Release 1 PICS_SUB _GPI ETSI TS 118 101 [1], table 9.6.8-2 subscription groupID TP/oneM2M/CSE/DMR/UPD/015_SUB/NFU Release 1 PICS_SUB _NFU ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationF orwardingUR I TP/oneM2M/CSE/DMR/UPD/015_SUB/BN Release 1 PICS_SUB _BN ETSI TS 118 101 [1], table 9.6.8-2 subscription batchNotify TP/oneM2M/CSE/DMR/UPD/015_SUB/RL Release 1 PICS_SUB _RL ETSI TS 118 101 [1], table 9.6.8-2 subscription rateLimit ETSI ETSI TS 118 118 V2.13.1 (2020-12) 126 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/015_SUB/PN Release 1 PICS_SUB _PN ETSI TS 118 101 [1], table 9.6.8-2 subscription pendingNotifi cation TP/oneM2M/CSE/DMR/UPD/015_SUB/NSP Release 1 PICS_SUB _NSP ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationSt oragePriority TP/oneM2M/CSE/DMR/UPD/015_SUB/LN Release 1 PICS_SUB _LN ETSI TS 118 101 [1], table 9.6.8-2 subscription latestNotify TP/oneM2M/CSE/DMR/UPD/015_SUB/NEC Release 1 PICS_SUB _NEC ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationE ventCat TP/oneM2M/CSE/DMR/UPD/015_GRP/LBL Release 1 PICS_GRP _LBL ETSI TS 118 101 [1], table 9.6.13-2 group labels TP/oneM2M/CSE/DMR/UPD/015_GRP/ACPI Release 1 PICS_GRP _ACPI ETSI TS 118 101 [1], table 9.6.13-2 group accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_GRP/MACP Release 1 PICS_GRP _MACP ETSI TS 118 101 [1], table 9.6.13-2 group membersAcc essControlP olicyIDs TP/oneM2M/CSE/DMR/UPD/015_GRP/GN Release 1 PICS_GRP _GN ETSI TS 118 101 [1], table 9.6.13-2 group groupName TP/oneM2M/CSE/DMR/UPD/015_NOD/LBL Release 2 ETSI TS 118 101 [1], table 9.6.18-2 node labels TP/oneM2M/CSE/DMR/UPD/015_NOD/ACPI Release 2 ETSI TS 118 101 [1], table 9.6.18-2 node accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_NOD/HCL Release 2 ETSI TS 118 101 [1], table 9.6.18-2 node hostedCSELi nk TP/oneM2M/CSE/DMR/UPD/015_TS/ACPI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries accessContr olPolicyIDs TP/oneM2M/CSE/DMR/UPD/015_TS/LBL Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries labels TP/oneM2M/CSE/DMR/UPD/015_TS/MNI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maximumNr OfInstances TP/oneM2M/CSE/DMR/UPD/015_TS/MBS Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maxByteSize TP/oneM2M/CSE/DMR/UPD/015_TS/MIA Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries maxInstance Age TP/oneM2M/CSE/DMR/UPD/015_TS/PEI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries periodicInter val TP/oneM2M/CSE/DMR/UPD/015_TS/MDD Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData Detect TP/oneM2M/CSE/DMR/UPD/015_TS/MDN Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData MaxNr TP/oneM2M/CSE/DMR/UPD/015_TS/MDT Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries missingData DetectTimer TP/oneM2M/CSE/DMR/UPD/015_TS/OR Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries ontologyRef ETSI ETSI TS 118 118 V2.13.1 (2020-12) 127 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/016 TP Id TP/oneM2M/CSE/DMR/UPD/016 Test objective Check that the IUT updates successfully the value of the attribute MANDATORY_ATTRIBUTE of the RESOURCE_TYPE resource under CSEBase Reference ETSI TS 118 101 [1], clause 10.1.3 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE under the CSEBase resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing MANDATORY_ATTRIBUTE attribute set to VALUE } IUT οƒŸ AE then { the IUT updates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing MANDATORY_ATTRIBUTE attribute set to VALUE } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE MANDATORY_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/016_CSR/ET Release 1 ETSI TS 118 101 [1], table 9.6.4-2 remoteCSE expirationTime TP/oneM2M/CSE/DMR/UPD/016_CSR/RR Release 1 ETSI TS 118 101 [1], table 9.6.4-2 remoteCSE requestReacha bility TP/oneM2M/CSE/DMR/UPD/016_AE/ET Release 1 ETSI TS 118 101 [1], table 9.6.5-2 AE expirationTime TP/oneM2M/CSE/DMR/UPD/016_AE/RR Release 1 ETSI TS 118 101 [1], table 9.6.5-2 AE requestReacha bility ETSI ETSI TS 118 118 V2.13.1 (2020-12) 128 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TYPE MANDATORY_ ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/016_CNT/ET Release 1 ETSI TS 118 101 [1], table 9.6.6-2 container expirationTime TP/oneM2M/CSE/DMR/UPD/016_ACP/ET Release 1 ETSI TS 118 101 [1], table 9.6.2-2 accessControlPolic y expirationTime TP/oneM2M/CSE/DMR/UPD/016_ACP/PV Release 1 ETSI TS 118 101 [1], table 9.6.2-2 accessControlPolic y privileges TP/oneM2M/CSE/DMR/UPD/016_ACP/PV S Release 1 ETSI TS 118 101 [1], table 9.6.2-2 accessControlPolic y selfPrivileges TP/oneM2M/CSE/DMR/UPD/016_SUB/ET Release 1 ETSI TS 118 101 [1], table 9.6.8-2 subscription expirationTime TP/oneM2M/CSE/DMR/UPD/016_SUB/NU Release 1 ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationURI TP/oneM2M/CSE/DMR/UPD/016_SUB/NC T Release 1 ETSI TS 118 101 [1], table 9.6.8-2 subscription notificationCont entType TP/oneM2M/CSE/DMR/UPD/016_GRP/ET Release 1 ETSI TS 118 101 [1], table 9.6.13-2 group expirationTime TP/oneM2M/CSE/DMR/UPD/016_GRP/M NM Release 1 ETSI TS 118 101 [1], table 9.6.13-2 group maxNrOfMemb ers TP/oneM2M/CSE/DMR/UPD/016_GRP/MI D Release 1 ETSI TS 118 101 [1], table 9.6.13-2 group memberIDs TP/oneM2M/CSE/DMR/UPD/016_NOD/ET Release 2 ETSI TS 118 101 [1], table 9.6.18-2 node expirationTime TP/oneM2M/CSE/DMR/UPD/016_NOD/NI Release 2 ETSI TS 118 101 [1], table 9.6.18-2 node nodeID TP/oneM2M/CSE/DMR/UPD/016_TS/ET Release 2 ETSI TS 118 101 [1], table 9.6.36-2 timeSeries expirationTime ETSI ETSI TS 118 118 V2.13.1 (2020-12) 129 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/017 TP Id TP/oneM2M/CSE/DMR/UPD/017 Test objective Check that the IUT updates successfully the value of the announceTo optional attribute of the RESOURCE_TYPE resource. Reference ETSI TS 118 101 [1], clause 10.2.18.4 and table 9.6.1.3.2-1, ETSI TS 118 104 [2], clause 7.3.3.10 Config Id CF02 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created the PARENT_RESOURCE resource containing RESOURCE_TYPE resource containing announceTo attribute set to NULL and the IUT having announced the PARENT_RESOURCE resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing announceTo attribute set to ANNC_TARGET_CSE_ADDRESS } IUT οƒŸ AE then { the IUT sends a valid CREATE Request containing To set ANNC_TARGET_CSE_ADDRESS and Content containing RESOURCE_TYPE announced variant resource containing MA (mandatory) attributes } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 130 oneM2M TS-0018 version 2.13.1 Release 2 TP Id RESOURCE_TYPE TP/oneM2M/CSE/DMR/UPD/017_ACP accesControlPolicy TP/oneM2M/CSE/DMR/UPD/017_CNT container TP/oneM2M/CSE/DMR/UPD/017_GRP group TP/oneM2M/CSE/DMR/UPD/017_LCP locationPolicy TP/oneM2M/CSE/DMR/UPD/017_MGO mgmtObj TP/oneM2M/CSE/DMR/UPD/017_NOD node TP/oneM2M/CSE/DMR/UPD/017_SCH schedule TP/oneM2M/CSE/DMR/UPD/017_TS timeSeries TP/oneM2M/CSE/DMR/UPD/017_TSI timeSeriesInstance ETSI ETSI TS 118 118 V2.13.1 (2020-12) 131 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/018 TP Id TP/oneM2M/CSE/DMR/UPD/018 Test objective Check that the IUT updates successfully the value of the announcedAttribute optional attribute of the RESOURCE_TYPE resource. Reference ETSI TS 118 101 [1], clause 10.2.18.8 and table 9.6.1.3.2-1, ETSI TS 118 104 [2], clause 7.3.3.10 Parent Release Release 2 Config Id CF02 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a RESOURCE_TYPE resource containing OA_ATTRIBUTE attribute set to VALUE and announceTo attribute set to ANNC_TARGET_CSE_ADDRESS and announcedAttribute attribute set to NULL and the IUT having announced the RESOURCE_TYPE resource to the announcement target CSE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing announcedAttribute attribute set to OA_ATTRIBUTE } IUT οƒŸ AE then { The IUT sends a valid UPDATE Request containing To set to ANNC_TARGET_CSE_ADDRESS and Content containing RESOURCE_TYPE announced variant resource containing OA_ATTRIBUTE attribute set to VALUE } IUT οƒ  CSE TP Id RESOURCE_TYPE OA_ATTRIBUTE TP/oneM2M/CSE/DMR/UPD/018_CNT/MBS container maxByteSize TP/oneM2M/CSE/DMR/UPD/018_GRP/MT Group memberType TP/oneM2M/CSE/DMR/UPD/018_LCP/LOI locationPolicy locationContainerID TP/oneM2M/CSE/DMR/UPD/018_MGO/DC mgmtObj description TP/oneM2M/CSE/DMR/UPD/018_NOD/HCL Node hostedCSELink TP/oneM2M/CSE/DMR/UPD/018_SCH/SE schedule scheduleElement ETSI ETSI TS 118 118 V2.13.1 (2020-12) 132 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/018_TS/MBS timeSeries maxByteSize TP/oneM2M/CSE/DMR/UPD/019 TP Id TP/oneM2M/CSE/DMR/UPD/019 Test objective Check that the IUT rejects a UPDATE Request target to TARGET_RESOURCE_ADDRESS resource when the Result Content set to RESULT_CONTENT Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 7.3.2.1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to RESULT_CONTENT Content and RESOURCE_TYPE resource containing valid attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) and no Content } IUT οƒ  AE TP Id Reference RESULT_CONTENT TP/oneM2M/CSE/DMR/UPD/019_RCN/2 ETSI TS 118 104 [2], clause 6.3.4.2.7 2 (hierarchical address) TP/oneM2M/CSE/DMR/UPD/019_RCN/3 3 (attributes and hierarchichal address) TP/oneM2M/CSE/DMR/UPD/019_RCN/4 4 (attributes and child resources) TP/oneM2M/CSE/DMR/UPD/019_RCN/5 5 (attributes and child resource references) TP/oneM2M/CSE/DMR/UPD/019_RCN/6 6 (child resource references) TP/oneM2M/CSE/DMR/UPD/019_RCN/7 7 (original resource) TP/oneM2M/CSE/DMR/UPD/019_RCN/8 8 (child resources) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 133 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/020 TP Id TP/oneM2M/CSE/DMR/UPD/020 Test objective Check that the IUT returns nothing of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 0 (nothing) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 0 (nothing) Content and RESOURCE_TYPE resource containing valid attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and no Content } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/UPD/020_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/UPD/020_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/UPD/020_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 134 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/021 TP Id TP/oneM2M/CSE/DMR/UPD/021 Test objective Check that the IUT returns successfully only attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 1 (attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 1 (attributes) Content and RESOURCE_TYPE resource containing valid attribute } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and no child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/UPD/021_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/UPD/021_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/UPD/021_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 135 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/UPD/022 TP Id TP/oneM2M/CSE/DMR/UPD/022 Test objective Check that the IUT returns successfully only modified attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 9 (modified attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform UPDATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 9 (modified attributes) Content and RESOURCE_TYPE resource containing valid ATTRIBUTE attribute set to VALUE } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing RESOURCE_TYPE resource containing modified attributes and no ATTRIBUTE attribute and no hierarchichal address and no child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/UPD/022_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/UPD/022_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/UPD/022_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 136 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3.3 CREATE Operation
TP/oneM2M/CSE/DMR/CRE/001 TP Id TP/oneM2M/CSE/DMR/CRE/001 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource on the TARGET_RESOURCE_ADDRESS of type PARENT_RESOURCE_TYPE with resource name not provided Reference ETSI TS 118 101 [1], clause 10.1.1.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to RESOURCE_TYPE and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing no resourceName attribute } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing RESOURCE_TYPE resource containing Valid resourceName attribute } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE PARENT_RESOURCE_ TYPE TP/oneM2M/CSE/DMR/CRE/001_CNT/CB Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_CNT/AE Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_CNT/CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) 3 (container) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 137 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TYPE PARENT_RESOURCE_ TYPE TP/oneM2M/CSE/DMR/CRE/001_ACP/CB Release 1 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_ACP/AE Release 1 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_SUB/CB Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_SUB/AE Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_SUB/CNT Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 3 (container) TP/oneM2M/CSE/DMR/CRE/001_SUB/ACP Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/001_SUB/CSR Release 1 ETSI TS 118 101 [1], table 9.6.4-1 23 (subscription) 16 (remoteCSE) TP/oneM2M/CSE/DMR/CRE/001_CIN/CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 4 (contentInstance) 3 (container) TP/oneM2M/CSE/DMR/CRE/001_GRP/CB Release 1 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_GRP/AE Release 1 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_SUB/GR P Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 9 (group) TP/oneM2M/CSE/DMR/CRE/001_SCH/CB Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_SCH/AE Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_SCH/SUB Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) 23 (subscription) TP/oneM2M/CSE/DMR/CRE/001_PCH/AE Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_SUB/SCH Release 2 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) 18 (schedule) TP/oneM2M/CSE/DMR/CRE/001_NOD/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 14 (node) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_MGC/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 12 (mgmtCmd) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_LCP/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 10 (locationPolicy) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_STCG/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 22 (statsConfig) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_STCL/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 21 (statsCollect) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_ASAR/CB Release 2 ETSI TS 118 101 [1], table 9.6.3-1 19(serviceSubscribed AppRule) 5 (CSEBase) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 138 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TYPE PARENT_RESOURCE_ TYPE TP/oneM2M/CSE/DMR/CRE/001_SCH/CS R Release 2 ETSI TS 118 101 [1], table 9.6.4-1 18 (schedule) 16 (remoteCSE) TP/oneM2M/CSE/DMR/CRE/001_SUB/AEA Release 2 ETSI TS 118 101 [1], table 9.6.5-1 23 (subscription) 10002 (AEannc) TP/oneM2M/CSE/DMR/CRE/001_CNT/AEA Release 2 ETSI TS 118 101 [1], table 9.6.5-1 3 (container) 10002 (AEannc) TP/oneM2M/CSE/DMR/CRE/001_GRP/AEA Release 2 ETSI TS 118 101 [1], table 9.6.5-1 9 (group) 10002 (AEannc) TP/oneM2M/CSE/DMR/CRE/001_ACP/AEA Release 2 ETSI TS 118 101 [1], table 9.6.5-1 1 (accessControlPolicy) 10002 (AEannc) TP/oneM2M/CSE/DMR/CRE/001_EVCF/ST CG Release 2 ETSI TS 118 101 [1], table 9.6.23-1 7 (eventConfig) 22 (statsConfig) TP/oneM2M/CSE/DMR/CRE/001_SUB/STC G Release 2 ETSI TS 118 101 [1], table 9.6.23-1 23 (subscription) 22 (statsConfig) TP/oneM2M/CSE/DMR/CRE/001_TS/CB Release 2 ETSI TS 118 101 [1], table 9.6.36-1 29 (timeSeries) 5 (CSEBase) TP/oneM2M/CSE/DMR/CRE/001_TS/AE Release 2 ETSI TS 118 101 [1], table 9.6.36-1 29 (timeSeries) 2 (AE) TP/oneM2M/CSE/DMR/CRE/001_TS/CSR Release 2 ETSI TS 118 101 [1], table 9.6.36-1 29 (timeSeries) 16 (remoteCSE) TP/oneM2M/CSE/DMR/CRE/001_TS/AEA Release 2 ETSI TS 118 101 [1], table 9.6.36-1 29 (timeSeries) 10002 (AEAnnc) TP/oneM2M/CSE/DMR/CRE/001_TSI/TS Release 2 ETSI TS 118 101 [1], table 9.6.37-1 30 (timeSeriesInstance) 30 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 139 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/002 TP Id TP/oneM2M/CSE/DMR/CRE/002 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource with a non-existing resource name provided by AE Reference ETSI TS 118 101 [1], clause 10.1.1.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS and the AE containing no child resource containing resourceName attribute set to NAME } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and Resource Type set to RESOURCE_TYPE and From set to AE-ID and Content containing RESOURCE_TYPE resource containing resourceName attribute set to NAME } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id PARENT_RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/002_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/002_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/002_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/002_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) TP/oneM2M/CSE/DMR/CRE/002_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 140 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/002_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/002_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.1 29 (timeSeries) TP/oneM2M/CSE/DMR/CRE/002_FLXC Release 2 ETSI TS 118 101 [1], clause 10.2.29.1 28 (flexContainer) TP/oneM2M/CSE/DMR/CRE/003 TP Id TP/oneM2M/CSE/DMR/CRE/003 Test objective Check that the IUT rejects the creation of a RESOURCE_TYPE resource with an existing resource name provided by AE Reference ETSI TS 118 101 [1], clause 10.1.1.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS and the AE containing a child resource having resourceName attribute set to NAME } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and Resource Type set to RESOURCE_TYPE and From set to AE-ID and Content containing RESOURCE_TYPE resource containing resourceName attribute set to NAME } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4105 (CONFLICT) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 141 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/003_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/003_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/003_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/003_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) TP/oneM2M/CSE/DMR/CRE/003_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/CRE/003_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/003_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.1 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 142 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/004 TP Id TP/oneM2M/CSE/DMR/CRE/004 Test objective Check that the IUT rejects the creation of a RESOURCE_TYPE resource when AE has no privileges Reference ETSI TS 118 101 [1], clause 10.1.1.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having no privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and Resource Type set to RESOURCE_TYPE and From set to AE-ID and Content containing RESOURCE_TYPE resource } IUT οƒŸ AE then { the IUT does not create the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 4103 (ACCESS_DENIED) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/004_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/004_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/004_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/004_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) TP/oneM2M/CSE/DMR/CRE/004_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/CRE/004_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/004_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.1 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 143 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/005 TP Id TP/oneM2M/CSE/DMR/CRE/005 Test objective Check that the IUT rejects the CREATE Request of container resource when the RW ATTRIBUTE is provided with an invalid value Reference ETSI TS 118 101 [1], clause 10.2.4.1, ETSI TS 118 104 [2], clause 7.4.7.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 3 (container) and Content containing an invalid RW ATTRIBUTE attribute } IUT οƒŸ AE then { the IUT does not create the container resource and the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) } IUT οƒ  AE TP Id Reference ATTRIBUTE TP/oneM2M/CSE/DMR/CRE/005_MNI ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 maxNrOfInstances TP/oneM2M/CSE/DMR/CRE/005_MBS ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 maxByteSize TP/oneM2M/CSE/DMR/CRE/005_MIA ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 maxInstanceAge ETSI ETSI TS 118 118 V2.13.1 (2020-12) 144 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/006 TP Id TP/oneM2M/CSE/DMR/CRE/006 Test objective Check that the IUT returns a default value to RW ATTRIBUTE in the response of a RESOURCE_TYPE resource CREATE Request where no a RW ATTRIBUTE is provided by AE Reference ETSI TS 118 101 [1], clause 10.2.4.1, ETSI TS 118 104 [2], clause 7.4.7.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing RESOURCE_TYPE resource containing valid ATTRIBUTE attribute } IUT οƒ  AE TP Id Reference RESOURCE_ TYPE ATTRIBUTE TP/oneM2M/CSE/DMR/CRE/006_CNT/MNI ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 container maxNrOfInstances TP/oneM2M/CSE/DMR/CRE/006_CNT/MBS ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 container maxByteSize TP/oneM2M/CSE/DMR/CRE/006_CNT/MIA ETSI TS 118 101 [1], clause 9.6.6, ETSI TS 118 104 [2], clause 7.4.7.1 container maxInstanceAge TP/oneM2M/CSE/DMR/CRE/006_TS/MNI ETSI TS 118 101 [1], clause 9.6.36, ETSI TS 118 104 [2], clause 7.4.38.1 timeSeries maxNrOfInstances TP/oneM2M/CSE/DMR/CRE/006_TS/MBS ETSI TS 118 101 [1], clause 9.6.36, ETSI TS 118 104 [2], clause 7.4.38.1 timeSeries maxByteSize ETSI ETSI TS 118 118 V2.13.1 (2020-12) 145 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/006_TS/MIA ETSI TS 118 101 [1], clause 9.6.36, ETSI TS 118 104 [2], clause 7.4.38.1 timeSeries maxInstanceAge TP/oneM2M/CSE/DMR/CRE/007 TP Id TP/oneM2M/CSE/DMR/CRE/007 Test objective Checks that the IUT accepts a newly created RESOURCE_TYPE when the currentNrOfInstances exceeds the field value set in maxNrOfInstances in the PARENT_RESOURCE_TYPE resource by removing enough of the oldest RESOURCE_TYPE resources to allow the creation of the new RESOURCE_TYPE resource Reference ETSI TS 118 101 [1], clause 10.2.19.2, ETSI TS 118 104 [2], clause 7.4.8.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a PARENT_RESOURCE_TYPE resource containing currentNrOfInstances attribute set to MAX_NUMBER_OF_INSTANCES and maxNrOfInstances attribute set to MAX_NUMBER_OF_INSTANCES and the AE having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT removes the oldest RESOURCE_TYPE resources and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id PARENT_RESOURCE_TYPE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/007_CNT/CIN container contentInstance TP/oneM2M/CSE/DMR/CRE/007_TS/TSI timeSeries timeSeriesInstance ETSI ETSI TS 118 118 V2.13.1 (2020-12) 146 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/008 TP Id TP/oneM2M/CSE/DMR/CRE/008 Test objective Checks that the IUT accepts a newly created RESOURCE_TYPE resource when the currentByteSize exceeds the field value set in maxByteSize in the PARENT_RESOURCE_TYPE resource by removing enough of the oldest RESOURCE_TYPE resources to allow the creation of the new RESOURCE_TYPE resource.. Reference ETSI TS 118 101 [1], clause 10.2.19.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a PARENT_RESOURCE_TYPE resource containing maxByteSize attribute set to MAX_BYTE_SIZE_OF_DATA and currentByteSize attribute set to MAX_BYTE_SIZE_OF_DATA and the AE having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Expected behaviour when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Content containing RESOURCE_TYPE resource with size less than MAX_BYTE_SIZE_OF DATA } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT removes the oldest contentInstance resources and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id PARENT_RESOURCE_TYPE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/008_CNT/CIN container contentInstance TP/oneM2M/CSE/DMR/CRE/008_TS/TSI timeSeries timeSeriesInstance ETSI ETSI TS 118 118 V2.13.1 (2020-12) 147 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/009 TP Id TP/oneM2M/CSE/DMR/CRE/009 Test objective Check that the IUT increaments and then copies the field value of attribute stateTag in parent container resource when contentInstance resource is created as the direct child of the parent container Reference ETSI TS 118 101 [1], clause 9.6.1.3.2, ETSI TS 118 104 [2], clause 7.4.7.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource CONTAINER_RESOURCE_ADDRESS containing stateTag attribute and the AE having privileges to perform CREATE operation on the resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to 4 (contentInstance) and Content containing contentInstance resource representation } IUT οƒŸ AE then { the IUT increments stateTag attribute of CONTAINER_RESOURCE_ADDRESS resource andthe IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 148 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/010 TP Id TP/oneM2M/CSE/DMR/CRE/010 Test objective Check that the IUT rejects the CREATE Request of a container resource named "la" as a direct child of a container resource Reference ETSI TS 118 101 [1], clause 10.2.22, ETSI TS 118 104 [2], clause 7.4.28.2.2 and clause 7.3.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform CREATE operation on the resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID and Content containing Container resource containing resourceName attribute set to "la" } IUT οƒŸ AE then { the IUT does not create the container resource and the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 149 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/011 TP Id TP/oneM2M/CSE/DMR/CRE/011 Test objective Check that the IUT rejects the CREATE Request of a container resource named "ol" as a direct child of a container resource Reference ETSI TS 118 101 [1], clause 10.2.23, ETSI TS 118 104 [2], clause 7.4.29.2.2 and clause 7.3.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a container resource CONTAINER_RESOURCE_ADDRESS and the IUT having privileges to perform CREATE operation on the resource CONTAINER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS and From set to AE_ID and Content containing container resource containing resourceName attribute set to "ol" } IUT οƒŸ AE then { the IUT does not create the container resource and the IUT sends a valid Response containing Response Status Code set to 4005 (OPERATION_NOT_ALLOWED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 150 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/012 TP Id TP/oneM2M/CSE/DMR/CRE/012 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource with the optional attribute OPTIONAL_ATTRIBUTE provided Reference ETSI TS 118 101 [1], clause 10.1.1 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing valid OPTIONAL_ATTRIBUTE attribute } IUT οƒŸ AE then { the IUT creates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/CRE/012_CNT/ACPI Release 1 PICS_CNT_ ACPI ETSI TS 118 101 [1], table 9.6.1.3.2-1 3 (container) accessContr olPolicyIDs TP/oneM2M/CSE/DMR/CRE/012_CNT/ET Release 1 PICS_CNT_ ET ETSI TS 118 101 [1], table 9.6.1.3.1-1 3 (container) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_CNT/LBL Release 1 PICS_CNT_L BL ETSI TS 118 101 [1], table 9.6.1.3.2-1 3 (container) labels TP/oneM2M/CSE/DMR/CRE/012_CNT/MNI Release 1 PICS_CNT_ MNI ETSI TS 118 101 [1], table 9.6.6-2 3 (container) maxNrOfInst ances TP/oneM2M/CSE/DMR/CRE/012_CNT/MBS Release 1 PICS_CNT_ MBS ETSI TS 118 101 [1], table 9.6.6-2 3 (container) maxByteSize ETSI ETSI TS 118 118 V2.13.1 (2020-12) 151 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/CRE/012_CNT/MIA Release 1 PICS_CNT_ MIA ETSI TS 118 101 [1], table 9.6.6-2 3 (container) maxInstance Age TP/oneM2M/CSE/DMR/CRE/012_CNT/OR Release 1 PICS_CNT_ OR ETSI TS 118 101 [1], table 9.6.6-2 3 (container) ontologyRef TP/oneM2M/CSE/DMR/CRE/012_CNT/CR Release 1 PICS_CNT_ CR ETSI TS 118 101 [1], table 9.6.6-2 3 (container) creator TP/oneM2M/CSE/DMR/CRE/012_CIN/ET Release 1 PICS_CIN_E T ETSI TS 118 101 [1], table 9.6.1.3.1-1 4 (contentInstance) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_CIN/LBL Release 1 PICS_CIN_L BL ETSI TS 118 101 [1], table 9.6.1.3.2-1 4 (contentInstance) labels TP/oneM2M/CSE/DMR/CRE/012_CIN/CR Release 1 PICS_CIN_C R ETSI TS 118 101 [1], table 9.6.7-2 4 (contentInstance) creator TP/oneM2M/CSE/DMR/CRE/012_CIN/CNF Release 1 PICS_CIN_C NF ETSI TS 118 101 [1], table 9.6.7-2 4 (contentInstance) contentInfo TP/oneM2M/CSE/DMR/CRE/012_CIN/OR Release 1 PICS_CIN_O R ETSI TS 118 101 [1], table 9.6.7-2 4 (contentInstance) ontologyRef TP/oneM2M/CSE/DMR/CRE/012_ACP/ET Release 1 N/A ETSI TS 118 101 [1], table 9.6.1.3.1-1 1 (accesControlPolicy) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_ACP/LBL Release 1 PICS_ACP_L BL ETSI TS 118 101 [1], table 9.6.1.3.2-1 1 (accesControlPolicy) labels TP/oneM2M/CSE/DMR/CRE/012_SUB/ACPI Release 1 PICS_SUB_ ACPI ETSI TS 118 101 [1], table 9.6.1.3.2-1 23 (subscription) accessContr olPolicyIDs TP/oneM2M/CSE/DMR/CRE/012_SUB/ET Release 1 N/A ETSI TS 118 101 [1], table 9.6.1.3.1-1 23 (subscription) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_SUB/LBL Release 1 PICS_SUB_L BL ETSI TS 118 101 [1], table 9.6.1.3.2-1 23 (subscription) labels TP/oneM2M/CSE/DMR/CRE/012_SUB/ENC Release 1 PICS_SUB_ ENC ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) eventNotificat ionCriteria TP/oneM2M/CSE/DMR/CRE/012_SUB/EXC Release 1 PICS_SUB_ EXC ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) expirationCo unter TP/oneM2M/CSE/DMR/CRE/012_SUB/GPI Release 1 PICS_SUB_ GPI ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) groupID TP/oneM2M/CSE/DMR/CRE/012_SUB/NFU Release 1 PICS_SUB_ NFU ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) notificationFo rwardingURI TP/oneM2M/CSE/DMR/CRE/012_SUB/BN Release 1 PICS_SUB_ BN ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) batchNotify TP/oneM2M/CSE/DMR/CRE/012_SUB/RL Release 1 PICS_SUB_ RL ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) rateLimit TP/oneM2M/CSE/DMR/CRE/012_SUB/PSN Release 1 PICS_SUB_ PSN ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) preSubscripti onNotify TP/oneM2M/CSE/DMR/CRE/012_SUB/PN Release 1 PICS_SUB_ PN ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) pendingNotifi cation TP/oneM2M/CSE/DMR/CRE/012_SUB/NSP Release 1 PICS_SUB_ NSP ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) notificationSt oragePriority ETSI ETSI TS 118 118 V2.13.1 (2020-12) 152 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE PICS Selection Reference RESOURCE_TYPE OPTIONAL_ ATTRIBUTE TP/oneM2M/CSE/DMR/CRE/012_SUB/LN Release 1 PICS_SUB_L N ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) latestNotify TP/oneM2M/CSE/DMR/CRE/012_SUB/NCT Release 1 PICS_SUB_ NCT ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) notificationCo ntentType TP/oneM2M/CSE/DMR/CRE/012_SUB/NEC Release 1 PICS_SUB_ NEC ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) notificationEv entCat TP/oneM2M/CSE/DMR/CRE/012_SUB/CR Release 1 PICS_SUB_ CR ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) creator TP/oneM2M/CSE/DMR/CRE/012_SUB/SU Release 1 PICS_SUB_ SU ETSI TS 118 101 [1], table 9.6.8-2 23 (subscription) subscriberUR I TP/oneM2M/CSE/DMR/CRE/012_STCG/CR Release 2 ETSI TS 118 101 [1], table 9.6.23-2 22 (statsConfig) creator TP/oneM2M/CSE/DMR/CRE/012_TS/ACPI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) accessContr olPolicyIDs TP/oneM2M/CSE/DMR/CRE/012_TS/ET Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_TS/LBL Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) labels TP/oneM2M/CSE/DMR/CRE/012_TS/CR Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) creator TP/oneM2M/CSE/DMR/CRE/012_TS/MNI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) maxNrOfInst ances TP/oneM2M/CSE/DMR/CRE/012_TS/MBS Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) maxByteSize TP/oneM2M/CSE/DMR/CRE/012_TS/MIA Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) maxInstance Age TP/oneM2M/CSE/DMR/CRE/012_TS/PEI Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) periodicInterv al TP/oneM2M/CSE/DMR/CRE/012_TS/MDD Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) missingData Detect TP/oneM2M/CSE/DMR/CRE/012_TS/MDN Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) missingData MaxNr TP/oneM2M/CSE/DMR/CRE/012_TS/MDT Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) missingData DetectTimer TP/oneM2M/CSE/DMR/CRE/012_TS/OR Release 2 ETSI TS 118 101 [1], table 9.6.36-2 29 (timeSeries) ontologyRef TP/oneM2M/CSE/DMR/CRE/012_TSI/ET Release 2 ETSI TS 118 101 [1], table 9.6.37-1 30 (timeSeriesInstance) expirationTim e TP/oneM2M/CSE/DMR/CRE/012_TSI/LBL Release 2 ETSI TS 118 101 [1], table 9.6.37-1 30 (timeSeriesInstance) labels TP/oneM2M/CSE/DMR/CRE/012_TSI/SNR Release 2 ETSI TS 118 101 [1], table 9.6.37-1 30 (timeSeriesInstance) sequenceNr ETSI ETSI TS 118 118 V2.13.1 (2020-12) 153 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/013 TP Id TP/oneM2M/CSE/DMR/CRE/013 Test objective Check that the IUT rejects the CREATE Request of a RESOURCE_TYPE resource with error "NOT_ACCEPTABLE" when contentSize exceeds maxByteSize of the PARENT_RESOURCE_TYPE Reference ETSI TS 118 101 [1], clause 10.2.19, ETSI TS 118 104 [2], clause 7.4.7.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a PARENT_RESOURCE_TYPE resource having maxByteSize attribute set to MAX_BYTE_SIZE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE_ID and Content containing RESOURCE_TYPE resource containing valid content with size larger than MAX_BYTE_SIZE } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 5207 (NOT_ACCEPTABLE) } IUT οƒ  AE TP Id PARENT_RESOURCE_TYPE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/013_CNT/CIN container contentInstance TP/oneM2M/CSE/DMR/CRE/013_TS/TSI timeSeries timeSeriesInstance ETSI ETSI TS 118 118 V2.13.1 (2020-12) 154 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/014 TP Id TP/oneM2M/CSE/DMR/CRE/014 Test objective Check that the IUT updates the currentByteSize attribute in a PARENT_RESOURCE_TYPE when a new RESOURCE_TYPE is created. Reference ETSI TS 118 101 [1], clause 10.2.19.2, ETSI TS 118 104 [2], clause 7.4.8.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a PARENT_RESOURCE_TYPE resource at PARENT_RESOURCE_ADDRESS containing maxByteSize attribute set to MAX_BYTE_SIZE_OF_DATA and currentByteSize attribute set to 0 and the AE having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Content containing RESOURCE_TYPE resource containing valid content attribute with size equal to DATA_SIZE } IUT οƒŸ AE then { the IUT increments currentByteSize attribute of PARENT_RESOURCE_ADDRESS resource by DATA_SIZE and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED)} IUT οƒ  AE TP Id PARENT_RESOURCE_TYPE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/014_CNT/CIN container contentInstance TP/oneM2M/CSE/DMR/CRE/014_TS/TSI timeSeries timeSeriesInstance ETSI ETSI TS 118 118 V2.13.1 (2020-12) 155 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/015 TP Id TP/oneM2M/CSE/DMR/CRE/015 Test objective Check that the IUT returns successfully after a CREATE request an empty content of created resource when the ResultContent set to 0 (Nothing) Reference ETSI TS 118 101 [1], clause 8.1.2, clause 8.1.3 and clause 10.1.1.1, ETSI TS 118 104 [2], clause 6.3.4.2.7 Parent Release PARENT_RELEASE Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Result Content set to 0 (nothing) and Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and no Content } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/015_CNT Release 2 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/015_GRP Release 2 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) TP/oneM2M/CSE/DMR/CRE/015_ACP Release 2 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/015_SUB Release 2 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/015_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 156 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/016 TP Id TP/oneM2M/CSE/DMR/CRE/016 Test objective Check that the IUT returns successfully after a CREATE request only hierarchichal address of the created resource when the Result Content is set to 2 (hierarchical address) Reference ETSI TS 118 101 [1], clause 8.1.2, clause 8.1.3 and clause 10.1.1.1, ETSI TS 118 104 [2], clause 6.3.4.2.7 Parent Release PARENT_RELEASE Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Result Content set to 2 (hierarchical address) and Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing Hierarchical address of the RESOURCE_TYPE resource } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/016_CNT Release 2 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/016_GRP Release 2 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) TP/oneM2M/CSE/DMR/CRE/016_ACP Release 2 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/016_SUB Release 2 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/016_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 157 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/017 TP Id TP/oneM2M/CSE/DMR/CRE/017 Test objective Check that the IUT returns successfully after a CREATE request only attributes and hierarchichal address of the created resource when Result Content is set 3 (attributes and hierarchichal address) Reference ETSI TS 118 101 [1], clause 8.1.2, clause 8.1.3 and clause 10.1.1.1, ETSI TS 118 104 [2], clause 6.3.4.2.7 Parent Release PARENT_RELEASE Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform RETRIEVE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Resource Type set to RESOURCE_TYPE and Result Content set to 3 (attributes and hierarchichal address) and Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing resource element containing Hierarchical address of the RESOURCE_TYPE resource and RESOURCE_TYPE resource representation } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/017_CNT Release 2 ETSI TS 118 101 [1], clause 10.2.4.1 3 (container) TP/oneM2M/CSE/DMR/CRE/017_GRP Release 2 ETSI TS 118 101 [1], clause 10.2.7.2 9 (group) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 158 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/017_ACP Release 2 ETSI TS 118 101 [1], clause 10.2.21.1 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/017_SUB Release 2 ETSI TS 118 101 [1], clause 10.2.11.2 23 (subscription) TP/oneM2M/CSE/DMR/CRE/017_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/018 TP Id TP/oneM2M/CSE/DMR/CRE/018 Test objective Check that the IUT rejects a CREATE request when the ResultContent is set to RESULT_CONTENT Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 7.3.2.1 Parent Release Release 2 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having privileges to perform CREATE operation on the resource AE_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to AE_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to RESULT_CONTENT } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) } IUT οƒ  AE TP Id Reference RESULT_CONTENT TP/oneM2M/CSE/DMR/CRE/018_RCN/4 ETSI TS 118 104 [2], clause 6.3.4.2.7 4 (attributes and child resources) TP/oneM2M/CSE/DMR/CRE/018_RCN/5 5 (attributes and child resources references) TP/oneM2M/CSE/DMR/CRE/018_RCN/6 6 (child resrouces references) TP/oneM2M/CSE/DMR/CRE/018_RCN/8 8 (child resources) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 159 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/019 TP Id TP/oneM2M/CSE/DMR/CRE/019 Test objective Check that the IUT returns successfully only attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 1 (attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 1 (attributes) Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and no child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/019_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/CRE/019_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/CRE/019_ACP Release 2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/019_PCH Release 2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/019_SUB Release 2 23 (subscription) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 160 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/020 TP Id TP/oneM2M/CSE/DMR/CRE/020 Test objective Check that the IUT returns successfully only modified attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 9 (modified attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 1 (attributes) Content containing RESOURCE_TYPE resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing RESOURCE_TYPE resource containing modified attributes } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/CRE/020_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/CRE/020_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/CRE/020_ACP Release 2 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/CRE/020_PCH Release 2 15 (pollingChannel) TP/oneM2M/CSE/DMR/CRE/020_SUB Release 2 23 (subscription) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 161 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/021 TP Id TP/oneM2M/CSE/DMR/CRE/021 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource on the TARGET_RESOURCE_ADDRESS of type announced PARENT_RESOURCE_TYPE Reference ETSI TS 118 101 [1], clause 9.6.5 Parent Release Release 2 Config Id CF04 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the CSE and the IUT having created the PARENT_RESOURCE_TYPE and the Originator having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from CSE containing Resource Type set to RESOURCE_TYPE and To set to PARENT_RESOURCE_ADDRESS and From set to CSE-ID and Content containing RESOURCE_TYPE resource containing no resourceName attribute } IUT οƒŸ CSE then { the IUT creates the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing RESOURCE_TYPE resource containing Valid resourceName attribute } IUT οƒ  CSE TP Id Reference RESOURCE_TYPE PARENT_RESO URCE_TYPE TP/oneM2M/CSE/DMR/CRE/021_CNTA/AEA ETSI TS 118 101 [1], table 9.6.5-1 (containerAnnc) (AEannc) TP/oneM2M/CSE/DMR/CRE/021_GRPA/AEA ETSI TS 118 101 [1], table 9.6.5-1 (groupAnnc) (AEannc) TP/oneM2M/CSE/DMR/CRE/021_ACPA/AEA ETSI TS 118 101 [1], table 9.6.5-1 (accessControlPolicyAnnc) (AEannc) TP/oneM2M/CSE/DMR/CRE/021_TSA/AEA ETSI TS 118 101 [1], table 9.6.5-1 (timeSeriesAnnc) (AEannc) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 162 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/022 TP Id TP/oneM2M/CSE/DMR/CRE/022 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource with the optional attribute announceTo provided Reference ETSI TS 118 101 [1], clause 10.2.18.4 and table 9.6.1.3.2-1, ETSI TS 118 104 [2], clause 7.3.3.10 Parent Release Release 2 Config Id CF02 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created and announced the PARENT_RESOURCE to the announcement target CSE and the AE having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing announceTo attribute set to ANNC_TARGET_CSE_ADDRESS } IUT οƒŸ AE then { The IUT sends a valid CREATE Request containing To set to ANNC_TARGET_CSE_ADDRESS and Content containing RESOURCE_TYPE announced variant resource containing MA (mandatory) attributes } IUT οƒ  CSE TP Id RESOURCE_TYPE PICS TP/oneM2M/CSE/DMR/CRE/022_ACP 1 (accesControlPolicy) PICS_IN_PROFILE TP/oneM2M/CSE/DMR/CRE/022_CNT 3 (container) PICS_IN_PROFILE TP/oneM2M/CSE/DMR/CRE/022_CIN 4 (contentInstance) PICS_IN_PROFILE TP/oneM2M/CSE/DMR/CRE/022_GRP 9 (group) TP/oneM2M/CSE/DMR/CRE/022_LCP 10 (locationPolicy) TP/oneM2M/CSE/DMR/CRE/022_MGO 13 (mgmtObj) TP/oneM2M/CSE/DMR/CRE/022_NOD 14 (node) TP/oneM2M/CSE/DMR/CRE/022_SCH 18 (schedule) TP/oneM2M/CSE/DMR/CRE/022_TS 29 (timeSeries) TP/oneM2M/CSE/DMR/CRE/022_TSI 30 (timeSeriesInstance) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 163 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/023 TP Id TP/oneM2M/CSE/DMR/CRE/023 Test objective Check that the IUT accepts the creation of a RESOURCE_TYPE resource with the optional attribute announcedAttribute provided Reference ETSI TS 118 101 [1], clause 10.2.18.4 and table 9.6.1.3.2-1, ETSI TS 118 104 [2], clause 7.3.3.10 Parent Release Release 2 Config Id CF02 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created and announced the PARENT_RESOURCE to the announcement target CSE and the AE having privileges to perform CREATE operation on the resource PARENT_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and From set to AE-ID and Content containing RESOURCE_TYPE resource containing OA_ATTRIBUTE attribute set to VALUE and announcedAttribute attribute set to OA_ATTRIBUTE and announceTo attribute set to ANNC_TARGET_CSE_ADDRESS } IUT οƒŸ AE then { The IUT sends a valid CREATE Request containing To set to ANNC_TARGET_CSE_ADDRESS and Content containing RESOURCE_TYPE announced variant resource containing MA (mandatory) attributes and OA_ATTRIBUTE attribute set to VALUE } IUT οƒ  CSE TP Id RESOURCE_TYPE PICS TP/oneM2M/CSE/DMR/CRE/023_CNT 3 (container) PICS_IN_PROFILE TP/oneM2M/CSE/DMR/CRE/023_CIN 4 (contentInstance) PICS_IN_PROFILE TP/oneM2M/CSE/DMR/CRE/023_GRP 9 (group) TP/oneM2M/CSE/DMR/CRE/023_LCP 10 (locationPolicy) TP/oneM2M/CSE/DMR/CRE/023_MGO 13 (mgmtObj) TP/oneM2M/CSE/DMR/CRE/023_NOD 14 (node) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 164 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/CRE/023_SCH 18 (schedule) TP/oneM2M/CSE/DMR/CRE/023_TS 29 (timeSeries) TP/oneM2M/CSE/DMR/CRE/023_TSI 30 (timeSeriesInstance)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3.4 DELETE Operation
TP/oneM2M/CSE/DMR/DEL/001 TP Id TP/oneM2M/CSE/DMR/DEL/001 Test objective Check that the IUT accepts the deletion of a RESOURCE_TYPE resource Reference ETSI TS 118 101 [1], clause 10.1.4 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT deletes the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/001_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.4 3 (container) TP/oneM2M/CSE/DMR/DEL/001_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.4 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/DEL/001_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.5 23 (subscription) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 165 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/001_CIN Release 1 ETSI TS 118 101 [1], clause 10.2.4.1 4 (contentInstance) TP/oneM2M/CSE/DMR/DEL/001_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.5 9 (group) TP/oneM2M/CSE/DMR/DEL/001_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/DEL/001_PCH Release 2 ETSI TS 118 101 [1], clause 10.2.13.5 15 (pollingChannel) TP/oneM2M/CSE/DMR/DEL/001_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.5 22 (statsConfig) TP/oneM2M/CSE/DMR/DEL/001_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.4 29 (timeSeries) TP/oneM2M/CSE/DMR/DEL/001_TSI Release 2 ETSI TS 118 101 [1], clause 10.2.31.4 30 (timeSeriesInstance) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 166 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/002 TP Id TP/oneM2M/CSE/DMR/DEL/002 Test objective Check that the IUT responds with an error when the AE tries to delete the resource TARGET_RESOURCE_ADDRESS without having privileges for the DELETE operation Reference ETSI TS 118 101 [1], clause 10.1.4 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having no privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT does not delete the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 4103 (ORIGINATOR_HAS_NO_PRIVILEGE) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/002_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.4 3 (container) TP/oneM2M/CSE/DMR/DEL/002_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.4 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/DEL/002_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.5 23 (subscription) TP/oneM2M/CSE/DMR/DEL/002_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.5 9 (group) TP/oneM2M/CSE/DMR/DEL/002_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/DEL/002_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.4 29 (timeSeries) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 167 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/003 TP Id TP/oneM2M/CSE/DMR/DEL/003 Test objective Check that the IUT responds with an error when the AE tries to delete the resource TARGET_RESOURCE_ADDRESS which does not exist Reference ETSI TS 118 101 [1], clause 10.1.4 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having not yet created a resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT does not delete the TARGET_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 168 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/004 TP Id TP/oneM2M/CSE/DMR/DEL/004 Test objective Check that the IUT responds with an error when AE tries to delete a child resource of a RESOURCE_TYPE resource when this resource has been already deleted Reference ETSI TS 118 101 [1], clause 10.1.4 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS and the AE having deleted the TARGET_RESOURCE_ADDRESS resource } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_CHILD_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/004_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.4 3 (container) TP/oneM2M/CSE/DMR/DEL/004_ACP Release 1 ETSI TS 118 101 [1], clause 10.2.21.4 1 (accessControlPolicy) TP/oneM2M/CSE/DMR/DEL/004_SUB Release 1 ETSI TS 118 101 [1], clause 10.2.11.5 23 (subscription) TP/oneM2M/CSE/DMR/DEL/004_GRP Release 1 ETSI TS 118 101 [1], clause 10.2.7.5 9 (group) TP/oneM2M/CSE/DMR/DEL/004_SCH Release 2 ETSI TS 118 101 [1], clause 10.2.40.2 18 (schedule) TP/oneM2M/CSE/DMR/DEL/004_STCG Release 2 ETSI TS 118 101 [1], clause 10.2.15.5 22 (statsConfig) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 169 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/004_TS Release 2 ETSI TS 118 101 [1], clause 10.2.30.4 29 (timeSeries) TP/oneM2M/CSE/DMR/DEL/005 TP Id TP/oneM2M/CSE/DMR/DEL/005 Test objective Check that the stateTag attribute of a RESOURCE_TYPE resource is increased when a child resource is deleted Reference ETSI TS 118 101 [1], clause 10.1.4 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a RESOURCE_TYPE resource containing a child resource and the AE having privileges to perform DELETE operation on the TARGET_CHILD_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_CHILD_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT increments the stateTag attribute of the RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE TP Id PARENT_ RELEASE Reference RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/005_CNT Release 1 ETSI TS 118 101 [1], clause 10.2.4.4 3 (container) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 170 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/006 TP Id TP/oneM2M/CSE/DMR/DEL/006 Test objective Check that the IUT decreases the field value of attribute currentNrOfInstances and currentByteSize of parent RESOURCE_TYPE when a latest RESOURCE_TYPE resource is deleted successfully Reference ETSI TS 118 101 [1], clause 10.2.19.5, ETSI TS 118 104 [2], clause 7.4.8.2.4 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a PARENT_RESOURCE_TYPE resource containing currentNrOfInstances attribute set to NR_OF_INSTANCES and currentByteSize attribute set to BYTE_SIZE_OF_DATA and a RESOURCE_TYPE resource TARGET_RESOURCE_ADDRESS and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT decreases the currentNrOfInstances attribute of PARENT_RESOURCE_TYPE resource and the IUT decreases the currentByteSize attribute of PARENT_RESOURCE_TYPE resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 171 oneM2M TS-0018 version 2.13.1 Release 2 TP Id PARENT_ RELEASE Reference RESOURCE_ TYPE PARENT_RESOURCE_ TYPE TP/oneM2M/CSE/DMR/DEL/006_CNT/ CIN Release 1 ETSI TS 118 101 [1], clause 10.2.4.4 4 (contentInsta nce) 3 (container) TP/oneM2M/CSE/DMR/DEL/006_TS/T SI Release 2 ETSI TS 118 101 [1], clause 10.2.30.4 30 (timeSeriesIn stance) 29 (timeSeries) TP/oneM2M/CSE/DMR/DEL/007 TP Id TP/oneM2M/CSE/DMR/DEL/007 Test objective Check that the IUT accepts the DELETE Request of the latest contentInstance resource target to a container resource Reference ETSI TS 118 101 [1], clause 10.2.22.2, ETSI TS 118 104 [2], clause 7.4.28.2.5 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a container resource containing CONTENT_INSTANCE_1 contentInstance resource and CONTENT_INSTANCE_2 contentInstance resource and the AE having privileges to perform DELETE operation on the container resource and creationTime attribute of CONTENT_INSTANCE_1 < creationTime attribute of CONTENT_INSTANCE_2 } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/la and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT deletes the CONTENT_INSTANCE_2_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 172 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/008 TP Id TP/oneM2M/CSE/DMR/DEL/008 Test objective Check that the IUT rejects the DELETE request of a latest resource in a container resource that has no direct child contentInstance resources. Reference ETSI TS 118 101 [1], clause 10.2.22.2, ETSI TS 118 104 [2], clause 7.4.28.2.5 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing no contentInstance resources } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/la and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 173 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/009 TP Id TP/oneM2M/CSE/DMR/DEL/009 Test objective Check that the IUT accepts the DELETE Request of the oldest contentInstance resource target to a container resource Reference ETSI TS 118 101 [1], clause 10.2.23.2, ETSI TS 118 104 [2], clause 7.4.29.2.5 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a container resource containing CONTENT_INSTANCE_1 contentInstance resource and CONTENT_INSTANCE_2 contentInstance resource and the AE having privileges to perform DELETE operation on the container resource and creationTime attribute of CONTENT_INSTANCE_1 < creationTime attribute of CONTENT_INSTANCE_2 } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT deletes the CONTENT_INSTANCE_1_RESOURCE_ADDRESS resource and the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 174 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/010 TP Id TP/oneM2M/CSE/DMR/DEL/010 Test objective Check that the IUT rejects the DELETE request of an oldest resource in a container resource that has no direct child contentInstance resources. Reference ETSI TS 118 101 [1], clause 10.2.23.2, ETSI TS 118 104 [2], clause 7.4.29.2.5 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE containing a container resource containing no contentInstance resources } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to CONTAINER_RESOURCE_ADDRESS/ol and From set to AE_ID and no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 175 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/011 TP Id TP/oneM2M/CSE/DMR/DEL/011 Test objective Check that the IUT rejects a DELETE Request target to TARGET_RESOURCE_ADDRESS resource when the Result Content set to RESULT_CONTENT Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 7.3.2.1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to RESULT_CONTENT no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4000 (BAD_REQUEST) and no Content } IUT οƒ  AE TP Id Reference RESULT_CONTENT TP/oneM2M/CSE/DMR/DEL/011_RCN/2 ETSI TS 118 104 [2], clause 6.3.4.2.7 2 (hierarchical address) TP/oneM2M/CSE/DMR/DEL/011_RCN/3 3 (attributes and hierarchichal address) TP/oneM2M/CSE/DMR/DEL/011_RCN/4 4 (attributes and child resources) TP/oneM2M/CSE/DMR/DEL/011_RCN/5 5 (attributes and child resource references) TP/oneM2M/CSE/DMR/DEL/011_RCN/6 6 (child resource references) TP/oneM2M/CSE/DMR/DEL/011_RCN/7 7 (original resource) TP/oneM2M/CSE/DMR/DEL/011_RCN/8 8 (child resources) TP/oneM2M/CSE/DMR/DEL/011_RCN/9 9 (modified attributes) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 176 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/012 TP Id TP/oneM2M/CSE/DMR/DEL/012 Test objective Check that the IUT returns nothing of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 0 (nothing) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 0 (nothing) no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and no Content } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/012_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/DEL/012_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/DEL/012_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 177 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/DEL/013 TP Id TP/oneM2M/CSE/DMR/DEL/013 Test objective Check that the IUT returns successfully only attributes of TARGET_RESOURCE_ADDRESS resource when the Result Content is set to 1 (attributes) Reference ETSI TS 118 101 [1], clause 8.1.2, ETSI TS 118 104 [2], clause 6.3.3.2.7 Config Id CF01 Parent Release PARENT_RELEASE PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type RESOURCE_TYPE containing a child resource and the AE having privileges to perform DELETE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Result Content set to 1 (attributes) no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and Content containing RESOURCE_TYPE resource containing attributes and no hierarchichal address and no child resources and no child resource references } IUT οƒ  AE TP Id PARENT_RELEASE RESOURCE_TYPE TP/oneM2M/CSE/DMR/DEL/013_CNT Release 2 3 (container) TP/oneM2M/CSE/DMR/DEL/013_GRP Release 2 9 (group) TP/oneM2M/CSE/DMR/DEL/013_ACP Release 2 1 (accessControlPolicy) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 178 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.3.5 BASIC Operation
TP/oneM2M/CSE/DMR/001 TP Id TP/oneM2M/CSE/DMR/001 Test objective Check that the IUT retargets the request to the hosting CSE when the To parameter contains the hosting CSE-ID which is known by the IUT (a descendant CSE or its Registrar CSE) Reference ETSI TS 118 101 [1], clause 8.2.1.1 Config Id CF02 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to a Hosting CSE and the IUT having registered the AE and the Hosting CSE containing a resource representation on TARGET_RESOURCE_ADDRESS and the AE having privileges to perform OPERATION on the Hosting CSE } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from the AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID } IUT οƒŸ AE then { the IUT sends a OPERATION Request to the Hosting CSE } IUT οƒ  CSE TP Id OPERATION TP/oneM2M/CSE/DMR/001_CRE CREATE TP/oneM2M/CSE/DMR/001_RET RETRIEVE TP/oneM2M/CSE/DMR/001_UPD UPDATE TP/oneM2M/CSE/DMR/001_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 179 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DMR/002 TP Id TP/oneM2M/CSE/DMR/002 Test objective Check that the IUT retargets the response from the hosting CSE after retargeting an OPERATION Request Reference ETSI TS 118 101 [1], clause 8.2.1.1 Config Id CF02 Parent Release Release 2 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the Hosting CSE and the IUT having registered the AE and the Hosting CSE containing a resource representation on TARGET_RESOURCE_ADDRESS and the AE having privileges to perform OPERATION on the Hosting CSE and the IUT having received a valid OPERATION Request from the AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and the IUT sends the OPERATION Request to the Hosting CSE } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Response from the Hosting CSE } IUT οƒŸ CSE then { the IUT sends a valid Response to the AE } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/DMR/002_CRE CREATE TP/oneM2M/CSE/DMR/002_RET RETRIEVE TP/oneM2M/CSE/DMR/002_UPD UPDATE TP/oneM2M/CSE/DMR/002_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 180 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.4 Subscription and Notification (SUB)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.4.1 CREATE Operation
TP/oneM2M/CSE/SUB/CRE/001 TP Id TP/oneM2M/CSE/SUB/CRE/001 Test objective Check that the IUT rejects the creation of the <subscription> resource when the target subscribed-to RESOURCE_TYPE resource is not subscribable. Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.4.8.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation and the IUT having a resource PARENT_RESOURCE_ADDRESS not being subscribable RESOURCE_TYPE resource } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and From set to AE-ID and Content containing subscription resource representation } IUT οƒŸ AE then { the IUT does not create the subscription resource and the IUT sends a valid Response containing Response Status Code set to 5203 (TARGET_NOT_SUBSCRIBABLE) and no Content } IUT οƒ  AE TP Id Reference RESOURCE_TYPE TP/oneM2M/CSE/SUB/CRE/001_CIN ETSI TS 118 101 [1], clause 9.6.7 4 (contentInstance) TP/oneM2M/CSE/SUB/CRE/001_SUB ETSI TS 118 101 [1], clause 9.6.8 23 (subscription) TP/oneM2M/CSE/SUB/CRE/001_TSI ETSI TS 118 101 [1], clause 9.6.37 30 (timeSeriesInstance) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 181 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/CRE/002 TP Id TP/oneM2M/CSE/SUB/CRE/002 Test objective Check that the IUT rejects the creation of the <subscription> resource when the originator does not have privileges for retrieving the subscribed-to resource. Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.4.8.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS containing accessControlPolicyIDs attribute pointing to accessControlPolicy resource containing privileges attribute containing accessControlRule attribute containing accessControlOriginators attribute indicating AE-ID and accessControlOperations attribute not indicating RETRIEVE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and From set to AE-ID and Content containing subscription resource representation } IUT οƒŸ AE then { the IUT does not create the subscription resource and the IUT sends a valid Response containing Response Status Code set to 4103 (ORIGINATOR_HAS_NO_PRIVILEGE) and no Content } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 182 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/CRE/003 TP Id TP/oneM2M/CSE/SUB/CRE/003 Test objective Check that the IUT rejects the creation of the <subscription> resource when the notificationURI is not the originator and the IUT cannot send the Notify request to the notificationURI Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.4.8.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation and the IUT not being able to send the NOTIFY Request to the NOTI_URI_ADDRESS containing verificationRequest set to TRUE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and From set to AE-ID and Content containg subscription resource containing notificationURI attribute set to NOTI_URI_ADDRESS } IUT οƒŸ AE then { the IUT does not create the subscription resource and the IUT sends a valid Response containing Response Status Code set to 5204 (SUBSCRIPTION_VERIFICATION_INITIATION_FAILED) and no Content } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 183 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/CRE/004 TP Id TP/oneM2M/CSE/SUB/CRE/004 Test objective Check that the IUT stores Originator ID in the notification creator attribute when a <SUBSCRIPTION> creation request which needs verification is received and the notificationURI is not the Originator. Reference ETSI TS 118 101 [1], clause 10.2.12.1, ETSI TS 118 104 [2], clause 7.4.9.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Resource Type set to 23 (subscription) and Content containing subscription resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS } IUT οƒŸ AE1 then { the IUT sends a valid NOTIFY Request containing Content containing notification message containing verificationRequest attribute set to TRUE and creator attribute set to AE1_RESOURCE_ADDRESS } IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 184 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/CRE/005 TP Id TP/oneM2M/CSE/SUB/CRE/005 Test objective Check that the IUT sends a Notify request to the subscriber resource when notificationEventType attribute is set to "Create_of_Direct_Child_Resource" and a create operation has been performed on the subscribed-to resource Reference ETSI TS 118 101 [1], table 9.6.8-3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and eventNotificationCriteria attribute containing notificationEventType set to 3 (Create_of_Direct_Child_Resource) and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing CHILD_RESOURCE_TYPE resource containing resourceName attribute set to NAME } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and the IUT sends a NOTIFY Request contaning Content containing Notification message containing notificationEvent attribute containing representation attribute containing CHILD_RESOURCE_TYPE resource containing All attributes } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 185 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/CRE/006 TP Id TP/oneM2M/CSE/DMR/CRE/006 Test objective Check that the IUT accepts the creation of a subscription resource with the eventNotificationCriteria attribute which includes a CONDITION_TAG condition provided Reference ETSI TS 118 101 [1], clause 9.6.8 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing Resource Type set to subscription and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing supscription resource containing eventNotificationCriteria attribute containing valid CONDITION_TAG condition } IUT οƒŸ AE then { the IUT creates the subscription resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) } IUT οƒ  AE TP Id Reference CONDITION_TAG TP/oneM2M/CSE/SUB/CRE/006_CRB ETSI TS 118 101 [1], clause 9.6.8 createdBefore TP/oneM2M/CSE/SUB/CRE/006_CRA ETSI TS 118 101 [1], clause 9.6.8 createdAfter TP/oneM2M/CSE/SUB/CRE/006_MS ETSI TS 118 101 [1], clause 9.6.8 modifiedSince TP/oneM2M/CSE/SUB/CRE/006_US ETSI TS 118 101 [1], clause 9.6.8 unmodifiedSince TP/oneM2M/CSE/SUB/CRE/006_STS ETSI TS 118 101 [1], clause 9.6.8 stateTagSmaller TP/oneM2M/CSE/SUB/CRE/006_STB ETSI TS 118 101 [1], clause 9.6.8 stateTagBigger ETSI ETSI TS 118 118 V2.13.1 (2020-12) 186 oneM2M TS-0018 version 2.13.1 Release 2 TP Id Reference CONDITION_TAG TP/oneM2M/CSE/SUB/CRE/006_EXB ETSI TS 118 101 [1], clause 9.6.8 expireBefore TP/oneM2M/CSE/SUB/CRE/006_EXA ETSI TS 118 101 [1], clause 9.6.8 expireAfter TP/oneM2M/CSE/SUB/CRE/006_SZA ETSI TS 118 101 [1], clause 9.6.8 sizeAbove TP/oneM2M/CSE/SUB/CRE/006_SZB ETSI TS 118 101 [1], clause 9.6.8 sizeBelow TP/oneM2M/CSE/SUB/CRE/006_ET ETSI TS 118 101 [1], clause 9.6.8 eventType TP/oneM2M/CSE/SUB/CRE/006_OM ETSI TS 118 101 [1], clause 9.6.8 operationMonitor TP/oneM2M/CSE/SUB/CRE/006_ATR ETSI TS 118 101 [1], clause 9.6.8 attribute ETSI ETSI TS 118 118 V2.13.1 (2020-12) 187 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.4.2 DELETE Operation
TP/oneM2M/CSE/SUB/DEL/001 TP Id TP/oneM2M/CSE/SUB/DEL/001 Test objective Check that the IUT sends a Notify request to the AE2_RESOURCE_ADDRESS of the subscriberURI attribute when the SUBSCRIPTION_RESOURCE_ADDRESS <subscription> resource is deleted Reference ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.5.1.2.4 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing subscription resource containing subscriberURI attribute set to AE2_RESOURCE_ADDRESS and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE1 containing To set to SUBSCRIPTION_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing subscriptionDeletion attribute set to TRUE and subscriptionReference attribute set to AE2_RESOURCE_ADDRESS } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 188 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/DEL/002 TP Id TP/oneM2M/CSE/SUB/DEL/002 Test objective Check that the IUT sends a Notify request to the subscriber resource when eventNotificationCriteria/notificationEventType attribute is set to "Delete_of_Resource" and an delete operation has been performed the subscribed-to resource Reference ETSI TS 118 101 [1], table 9.6.8-3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and eventNotificationCriteria attribute containing notificationEventType set to 2 (Delete_of_Resource) and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing a valid representation attribute } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 189 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/DEL/003 TP Id TP/oneM2M/CSE/SUB/DEL/003 Test objective Check that the IUT sends a Notify request to the subscriber resource when eventNotificationCriteria/notificationEventType attribute is set to "Delete_of_Direct_Child_Resource" and an delete operation has been performed on a child resource of the subscribed-to resource Reference ETSI TS 118 101 [1], table 9.6.8-3 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing a CHILD_RESOURCE_ADDRESS child resource and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and eventNotificationCriteria attribute containing notificationEventType set to 4 (Delete_of_Direct_Child_Resource) and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid DELETE Request from AE1 containing To set to CHILD_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2002 (DELETED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing representation attribute containing CHILD_RESOURCE_TYPE resource} IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 190 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.4.3 UPDATE Operation
TP/oneM2M/CSE/SUB/UPD/001 TP Id TP/oneM2M/CSE/SUB/UPD/001 Test objective Check that the IUT sends Notify request to the subscriber resource when an update operation has been performed on the subscribed-to resource Reference ETSI TS 118 101 [1], clause 10.2.11.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_2 } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing representation attribute containing <subscribed-to type> resource containing All attributes } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 191 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/002 TP Id TP/oneM2M/CSE/SUB/UPD/002 Test objective Check that the IUT sends a Notify request to the subscriber resource when the notificationContentType attribute is set to "modified attributes" and an update operation has been performed on the subscribed-to resource Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and notificationContentType attribute set to 2 (modified attributes) and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing representation attribute containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 192 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/003 TP Id TP/oneM2M/CSE/SUB/UPD/003 Test objective Check that the IUT sends a Notify request to the subscriber resource when the notificationContentType attribute is set to "ResourceID" and an update operation has been performed on the subscribed-to resource Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and notificationContentType attribute set to 3 (ResourceID) and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing representation attribute containing <subscribed-to type> resource containing subscribed-to ResourceID } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 193 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/004 TP Id TP/oneM2M/CSE/SUB/UPD/004 Test objective Check that the IUT decreases the expirationCounter attribute of a subscription resource when the Hosting CSE of the subscribed-to resource successfully sends the notification request to subscriber resource(s) Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and expirationCounter attribute set to MAX_NUMBER_NOTIFICATION and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT decreases the expirationCounter attribute of the subscription resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 194 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/005 TP Id TP/oneM2M/CSE/SUB/UPD/005 Test objective Check that the IUT deletes the subscription resource when the the expirationCounter meets zero Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and expirationCounter attribute set to 1 and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT decreases the expirationCounter attribute of the subscription resource and the IUT deletes the subscription resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 195 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/006 TP Id TP/oneM2M/CSE/SUB/UPD/006 Test objective Check that the IUT does not send a Notify request to the subscriber resource when the "attribute" condition tag of eventNotificationCriteria attribute is set to LIST_OF_ATTRIBUTE and does not contain the ATTRIBUTE_NAME attribute updated. Reference ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and eventNotificationCriteria attribute containing attribute condition tag set to LIST_OF_ATTRIBUTE containing no ATTRIBUTE_NAME attribute and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT does not send a NOTIFY Request } IUT οƒ  AE1 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 196 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/007 TP Id TP/oneM2M/CSE/SUB/UPD/007 Test objective Check that the IUT sends batched notifications to the subscriber resource when the number value of the batchNotify attribute is set to NUMBER and when this number have been reached Reference ETSI TS 118 101 [1], clause 10.2.12.1 Config Id CF01 Parent release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource having notificationURI attribute set to AE2_RESOURCE_ADDRESS and batchNotify attribute containing number attribute set to NUMBERand duration attribute set to TIME_LIMIT and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT having received (NUMBER– 1) valid UPDATE Requests from AE1_RESOURCE_ADDRESS to subscribed-to resource and the timer has not reached the TIME_LIMIT duration value } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing a valid ATTRIBUTE_NAME attribute } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends NUMBER times a NOTIFY Request contaning Content containing notification message containing a valid notificationEvent attribute } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 197 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/008 TP Id TP/oneM2M/CSE/SUB/UPD/008 Test objective Check that the IUT sends the latest notification to the subscriber resource when latestNotify is set to TRUE, the number value of the batchNotify attribute is set to NUMBER and when this number has been reached Reference ETSI TS 118 101 [1], clause 10.2.12.1 Config Id CF01 Parent release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource having notificationURI attribute set to AE2_RESOURCE_ADDRESS and latestNotify attribute set to TRUE and batchNotify attribute containing number attribute set to NUMBERand duration attribute set to TIME_LIMIT and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT having received (NUMBER– 1) valid UPDATE Requests from AE1_RESOURCE_ADDRESS to subscribed-to resource and the timer has not reached the TIME_LIMIT duration value } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing a valid ATTRIBUTE_NAME attribute } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request contaning Content containing the latest notification message containing a valid notificationEvent attribute} IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 198 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/UPD/009 TP Id TP/oneM2M/CSE/SUB/UPD/009 Test objective Check that the IUT sends a Notify request to the subscriber resource when the "attribute" condition tag of eventNotificationCriteria attribute is set to ATTRIBUTE_NAME and an update operation has been performed on the subscribed-to resource Reference ETSI TS 118 101 [1], clause 9.6.8, ETSI TS 118 104 [2], clause 7.5.1.2.2 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and eventNotificationCriteria attribute containing attribute condition tag set to ATTRIBUTE_NAME and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE1 containing To set to SUBSCRIBED_TO_RESOURCE_ADDRESS and From set to AE1_RESOURCE_ADDRESS and Content containing <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_2 } IUT οƒŸ AE1 then { the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and the IUT sends a NOTIFY Request contaning Content containing notification message containing notificationEvent attribute containing representation attribute containing <subscribed-to type> resource containing All attributes } IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 199 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.4.4 NOTIFY Operation
TP/oneM2M/CSE/SUB/NTF/001 TP Id TP/oneM2M/CSE/SUB/NTF/001 Test objective Check that the IUT rejects the creation of the <subscription> resource when the notificationURI is not the originator and the IUT have received the Notify response containing Response Status Code indicating SUBSCRIPTION_CREATOR_HAS_NO_PRIVILEGE Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.4.8.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation and notificationURI not being the originator and the IUT having sent the NOTIFY Request to the NOTI_URI_ADDRESS containing verificationRequest set to TRUE } Expected behaviour Test events Direction when { the IUT receives a valid Response containing Response Status Code set to 4101 (SUBSCRIPTION_CREATOR_HAS_NO_PRIVILEGE) } IUT οƒŸ AE then { the IUT does not create the subscription resource and the IUT sends a valid Response containing Response Status Code set to 4101 (SUBSCRIPTION_CREATOR_HAS_NO_PRIVILEGE) and no Content } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 200 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/002 TP Id TP/oneM2M/CSE/SUB/NTF/002 Test objective Check that the IUT rejects the creation of the <subscription> resource when the notificationURI is not the originator and the IUT have received the Notify response containing Response Status Code indicating SUBSCRIPTION_HOST_HAS_NO_PRIVILEGE Reference ETSI TS 118 101 [1], clause 10.2.11.2, ETSI TS 118 104 [2], clause 7.4.8.2.1 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation and notificationURI not being the originator and the IUT having sent the NOTIFY Request to the NOTI_URI_ADDRESS containing verificationRequest set to TRUE } Expected behaviour Test events Direction when { the IUT receives a valid Response containing Response Status Code set to 5205 (SUBSCRIPTION_HOST_HAS_NO_PRIVILEGE) } IUT οƒŸ AE then { the IUT does not create the subscription resource and the IUT sends a valid Response containing Response Status Code set to 5205 (SUBSCRIPTION_HOST_HAS_NO_PRIVILEGE) and no Content } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 201 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/003 TP Id TP/oneM2M/CSE/SUB/NTF/003 Test objective Check that the IUT sends batched notifications to the subscriber resource when the duration value of the batchNotify attribute is set to TIME_LIMIT and when this timer expires Reference ETSI TS 118 101 [1], clause 10.2.12.1 Config Id CF01 Parent release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME attribute set to VALUE_1 and subscription child resource having notificationURI attribute set to AE2_RESOURCE_ADDRESS and batchNotify attribute containing duration attrinbute set to TIME_LIMIT and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT having received a valid UPDATE Request from AE1_RESOURCE_ADDRESS to subscribed-to resource and timer has not reached TIME_LIMIT } Expected behaviour Test events Direction when { the timer expires after the TIME_LIMIT duration value } IUT οƒŸ AE1 then { The IUT sends a NOTIFY Request contaning Content containing notification message containing a valid notificationEvent attribute } IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 202 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/004 TP Id TP/oneM2M/CSE/SUB/NTF/004 Test objective Check that the IUT sends the latest notification to the subscriber resource when latestNotify is set to TRUE, the duration value of the batchNotify attribute is set to TIME_LIMIT and when this timer expires Reference ETSI TS 118 101 [1], clause 10.2.12.1 Config Id CF01 Parent release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing ATTRIBUTE_NAME set to VALUE_1 and subscription child resource having notificationURI attribute set to AE2_RESOURCE_ADDRESS and latestNotify attribute set to TRUE and batchNotify attribute containing duration attribute set to TIME_LIMIT and the AE1 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT having received a valid UPDATE Request from AE1_RESOURCE_ADDRESS to subscribed-to resource and timer has not reached TIME_LIMIT } Expected behaviour Test events Direction when { the timer expires after the TIME_LIMIT duration value } IUT οƒŸ AE1 then { The IUT sends a NOTIFY Request contaning Content containing the latest notification message containing a valid notificationEvent attribute } IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 203 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/005 TP Id TP/oneM2M/CSE/SUB/NTF/005 Test objective Check that the IUT sends the latest cached notification after IUT escapes from connectionless state when the pendingNotification is set to 1 (sendLatest) Reference ETSI TS 118 101 [1], clause 9.6.8 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing subscription child resource containing notificationURI attribute set to AE2_RESOURCE_ADDRESS and pendingNotification attribute set to 1 (sendLatest) and the AE2 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT being in the "connectionless state" with AE2 and the IUT having frequently received from AE1 a valid UPDATE Requests to subscribed-to resource } Expected behaviour Test events Direction when { the IUT escapes from the "connectionless state" } NA then { The IUT sends a valid NOTIFY Request contaning Content containing the latest notification message } IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 204 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/006 TP Id TP/oneM2M/CSE/SUB/NTF/006 Test objective Check that the IUT sends the notifications of cached notification messages after IUT escapes from connectionless state when the pendingNotification is set to 2 (sendAllPending) Reference ETSI TS 118 101 [1], clause 9.6.8 Config Id CF01 Parent release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having created a <subscribed-to type> resource containing subscription child resource having notificationURI attribute set to AE2_RESOURCE_ADDRESS and pendingNotification attribute set to 2 (sendAllPending) and the AE2 having privileges to perform RETRIEVE operation on the subscribed-to resource and the IUT being in the "connectionless state" with AE2 and the IUT having received from AE1 a NUMBER of valid UPDATE Requests to subscribed- to resource } Expected behaviour Test events Direction when { the IUT escapes from the "connectionless state" } NA then { The IUT sends NUMBER times a valid NOTIFY Request contaning Content containing notification message containing a valid notificationEvent attribute } IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 205 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/007 TP Id TP/oneM2M/CSE/SUB/NTF/007 Test objective Check that the IUT retargets the notification to the AE according to pointOfAccess in the <AE> resource. Reference ETSI TS 118 101 [1], clause 9.6.5 and clause 9.3.2.3.1, ETSI TS 118 104 [2], clause 7.3.3.9 Config Id CF02 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having created the AE resource containing POINT_OF_ACCESS attribute and REQUEST_REACHABILITY set to true } Expected behaviour Test events Direction when { the IUT receives a valid NOTIFY from CSE containing To set to AE_RESOURCE_ADDRESS From set to CSE_ID } IUT οƒŸ CSE then { the IUT sends the valid NOTIFY to POINT_OF_ACCESS } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 206 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/SUB/NTF/008 TP Id TP/oneM2M/CSE/SUB/NTF/008 Test objective Check that the IUT retargets the notification to the AE according to pointOfAccess in the <AE> resource and forward the response back to the CSE. Reference ETSI TS 118 101 [1], clause 9.6.5 and clause 9.3.2.3.1, ETSI TS 118 104 [2], clause 7.3.3.9 Config Id CF02 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having received a valid NOTIFY from CSE and The IUT having sent the NOTIFY to the AE } Expected behaviour Test events Direction when { the IUT receives a valid NOTIFY RESPONSE from the AE } IUT οƒŸ AE then { the IUT sends the valid NOTIFY RESPONSE to the CSE } IUT οƒ  CSE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 207 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.5 Group Management (GMG)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.5.1 CREATE Operation
TP/oneM2M/CSE/GMG/CRE/001 TP Id TP/oneM2M/CSE/GMG/CRE/001 Test objective Check that the IUT rejects the creation of the group resource when member ID exceed max number of members. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to LIST_OF_MEMBER_RESOURCE_IDS and maxNrOfMembers attribute set to MAX_NR_MEMBERS less than the number of memerIDs set in memberIDs attribute } IUT οƒŸ AE then { the IUT does not create the group resource and the IUT sends a valid Response containing Response Status Code set to 6010 (MAX_NUMBER_OF_MEMBER_EXCEEDED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 208 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/002 TP Id TP/oneM2M/CSE/GMG/CRE/002 Test objective Check that the IUT rejects the creation of the group resource when the memberType cannot be retrieved due to lack of privilege. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform CREATE operation and the sub-group members being in the "inital state" and the AE not having privileges to perform RETRIEVE operation on the sub-group members } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to RESOURCE_TYPE and From set to AE-ID and Content containing group resource representation containing memberIDs attribute containing sub-group members } IUT οƒŸ AE then { the IUT does not create the group resource and the IUT sends a valid valid Response containing Response Status Code set to 5105 (NO_PRIVILEGE) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 209 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/003 TP Id TP/oneM2M/CSE/GMG/CRE/003 Test objective Check that the IUT detects the presence of duplicate member IDs during the creation of the <group> resource and removes the duplicate member IDs prior to creation of the <group> resource. Reference ETSI TS 118 101 [1], clause 10.2.7.2 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having created a resource at TARGET_RESOURCE_ADDRESS allowing a child resource type group and the AE having privileges to perform CREATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having created a resource at MEMBER_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives an valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS, MEMBER_RESOURCE_ADDRESS } IUT οƒŸ AE then { the IUT creates the group resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS } IUT οƒ  AE NOTE: TARGET_RESOURCE_ADDRESS : <CSEBase>, <remoteCSE> MEMBER_RESOURCE_ADDRESS : any oneM2M resource type. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 210 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/004 TP Id TP/oneM2M/CSE/GMG/CRE/004 Test objective Check that the IUT validates the resource type during the creation of the <group> resource when memberType attribute is not 'mixed'. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.4.14.2.1 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource at TARGET_RESOURCE_ADDRESS allowing a child resource type group and the AE having privileges to perform CREATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS having resourceType attribute RESOURCE_TYPE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS and memberType attribute set to RESOURCE_TYPE } IUT οƒŸ AE then { the IUT creates the group resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) Content containing group resource containing memberTypeValidated attribute set to TRUE } IUT οƒ  AE NOTE: TARGET_RESOURCE_ADDRESS : <CSEBase>, <remoteCSE> MEMBER_RESOURCE_ADDRESS : any oneM2M resource type. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 211 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/005 TP Id TP/oneM2M/CSE/GMG/CRE/005 Test objective Check that the IUT handles unsuccessful validation of the resource type during the creation of the <group> resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is SET_MIXED. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.4.14.2.1 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource at TARGET_RESOURCE_ADDRESS allowing a child resource type group and the AE having privileges to perform CREATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS having resourceType attribute RESOURCE_TYPE_1 } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS and memberType attribute set to RESOURCE_TYPE_2 and consistencyStrategy attribute set to SET_MIXED } IUT οƒŸ AE then { the IUT creates the group resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing group resource containing memberTypeValidated attribute set to TRUE and memberType attribute set to MIXED } IUT οƒ  AE NOTE: TARGET_RESOURCE_ADDRESS : <CSEBase>, <remoteCSE> MEMBER_RESOURCE_ADDRESS : any oneM2M resource type. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 212 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/006 TP Id TP/oneM2M/CSE/GMG/CRE/006 Test objective Check that the IUT handles unsuccessful validation of the resource type during the creation of the <group> resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is ABANDON_MEMBER,. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.4.14.2.1 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource at TARGET_RESOURCE_ADDRESS allowing a child resource type group and the AE having privileges to perform CREATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_2 } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 213 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 and memberType attribute set to RESOURCE_TYPE_1 and consistencyStrategy attribute set to ABANDON_MEMBER } IUT οƒŸ AE then { the IUT creates the group resource and the IUT sends a valid Response containing Response Status Code set to 2001 (CREATED) and Content containing group resource containing memberTypeValidated attribute set to TRUE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 } IUT οƒ  AE NOTE: TARGET_RESOURCE_ADDRESS : <CSEBase>, <remoteCSE> MEMBER_RESOURCE_ADDRESS : any oneM2M resource type. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 214 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/CRE/007 TP Id TP/oneM2M/CSE/GMG/CRE/007 Test objective Check that the IUT handles unsuccessful validation of the resource type during the creation of the group resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is ABANDON_GROUP. Reference ETSI TS 118 101 [1], clause 10.2.7.2, ETSI TS 118 104 [2], clause 7.4.14.2.1 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource at TARGET_RESOURCE_ADDRESS allowing a child resource type <group> and the AE having privileges to perform CREATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_2 } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and Resource Type set to 9 (group) and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 and memberType attribute set to RESOURCE_TYPE_1 and consistencyStrategy attribute set to ABANDON_GROUP } IUT οƒŸ AE then { the IUT does not create the group resource and the IUT sends a valid Response containing Response Status Code set to 4110 (GROUP_MEMBER_TYPE_INCONSISTENT) } IUT οƒ  AE NOTE: TARGET_RESOURCE_ADDRESS : <CSEBase>, <remoteCSE> MEMBER_RESOURCE_ADDRESS : any oneM2M resource type. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 215 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.5.2 UPDATE Operation
TP/oneM2M/CSE/GMG/UPD/001 TP Id TP/oneM2M/CSE/GMG/UPD/001 Test objective Check that the IUT rejects the update of the group resource when the memberType cannot be retrieved due to lack of privilege. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having a resource PARENT_RESOURCE_ADDRESS allowing the AE to perform UPDATE operation and the sub-group members being in the "inital state" and the AE not having privileges to perform RETRIEVE operation on the sub-group members } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to PARENT_RESOURCE_ADDRESS and Resource Type set to RESOURCE_TYPE and From set to AE-ID and Content containing group resource representation } IUT οƒŸ AE then { the IUT sends a valid valid Response containing Response Status Code set to 5105 (NO_PRIVILEGE) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 216 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/002 TP Id TP/oneM2M/CSE/GMG/UPD/002 Test objective Check that the IUT detects the presence of duplicate member IDs during an update of the <group> resource and removes the duplicate member IDs prior to updating the <group> resource. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 and the IUT having created a <group> resource at GROUP_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 and the AE having privileges to perform UPDATE operation on the GROUP_RESOURCE_ADDRESS and the IUT having created a resource at MEMBER_RESOURCE_ADDRESS_2 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to GROUP_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_2, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 217 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/003 TP Id TP/oneM2M/CSE/GMG/UPD/003 Test objective Check that the IUT validates the resource type during an UPDATE of the <group> resource when memberType attribute is not 'mixed'. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 memberType attribute set to RESOURCE_TYPE_1 and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_1 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) Content containing group resource containing memberTypeValidated attribute set to TRUE } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 218 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/004 TP Id TP/oneM2M/CSE/GMG/UPD/004 Test objective Check that the IUT handles unsuccessful validation of the resource type during an UPDATE of the <group> resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is SET_MIXED. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 and memberType attribute set to RESOURCE_TYPE_1 and memberTypeValidated attribute set to TRUE and consistencyStrategy attribute set to SET_MIXED and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_2 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing group resource containing memberTypeValidated attribute set to TRUE and memberType attribute set to MIXED } IUT οƒ  AE TP/oneM2M/CSE/GMG/UPD/005 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 219 oneM2M TS-0018 version 2.13.1 Release 2 TP Id TP/oneM2M/CSE/GMG/UPD/005 Test objective Check that the IUT handles unsuccessful validation of the resource type during an UPDATE of the group resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is ABANDON_MEMBER. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 and memberType attribute set to RESOURCE_TYPE_1 and memberTypeValidated attribute set to TRUE and consistencyStrategy attribute set to ABANDON_MEMBER and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_2 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) and Content containing group resource containing memberTypeValidated attribute set to TRUE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 220 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/006 TP Id TP/oneM2M/CSE/GMG/UPD/006 Test objective Check that the IUT handles unsuccessful validation of the resource type during the creation of the group resource when memberType attribute is not 'mixed' and the consistencyStrategy attribute is ABANDON_GROUP. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1 and memberType attribute set to RESOURCE_TYPE_1 and memberTypeValidated attribute set to TRUE and consistencyStrategy attribute set to ABANDON_GROUP and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute RESOURCE_TYPE_2 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 221 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/007 TP Id TP/oneM2M/CSE/GMG/UPD/007 Test objective Check that the IUT detects when the number of memberIDs exceeds the limitation of maxNrOfMembers. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 and maxNrOfMembers attribute set to 2 and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute set to RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute set to RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_3 having resourceType attribute set to RESOURCE_TYPE_1 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2, MEMBER_RESOURCE_ADDRESS_3 } IUT οƒŸ AE then { the IUT does not update the group resource and the IUT sends a valid Response containing Response Status Code set to 6010 (MAX_NUMBER_OF_MEMBER_EXCEEDED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 222 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/008 TP Id TP/oneM2M/CSE/GMG/UPD/008 Test objective Check that the IUT detects when the value provided for maxNrOfMembers attribute is less than the value of the currentNrOfMembers attribute. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2, MEMBER_RESOURCE_ADDRESS_3 and maxNrOfMembers attribute set to 3 and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute set to RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_2 having resourceType attribute set to RESOURCE_TYPE_1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_3 having resourceType attribute set to RESOURCE_TYPE_1 } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing maxNrOfMembers attribute set to 2 } IUT οƒŸ AE then { the IUT does not update the group resource and the IUT sends a valid Response containing Response Status Code set to 6010 (MAX_NUMBER_OF_MEMBER_EXCEEDED) } IUT οƒ  AE TP/oneM2M/CSE/GMG/UPD/009 TP Id TP/oneM2M/CSE/GMG/UPD/009 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 223 oneM2M TS-0018 version 2.13.1 Release 2 Test objective Check that the IUT handles validation of the resource type during an UPDATE of the <group> resource when memberIDs contains a sub-group on a temporarily unreachable Hosting CSE. Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF02 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the remoteCSE and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1and memberType attribute set to RESOURCE_TYPE_1 and memberTypeValidated attribute set to TRUE and consistencyStrategy attribute set to ABANDON_MEMBER and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute set to RESOURCE_TYPE_1 and the remoteCSE having a group resource at MEMBER_RESOURCE_ADDRESS_2 containing memberType attribute set to RESOURCE_TYPE_1 and the remoteCSE having onlineStatus set to False } Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Content containing group resource containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒŸ AE then { the IUT updates the group resource and the IUT sends a valid Response containing Response Status Code set to 2004 (UPDATED) Content containing group resource containing memberTypeValidated attribute set to FALSE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 224 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/UPD/010 TP Id TP/oneM2M/CSE/GMG/UPD/010 Test objective Check that the IUT handles validation of the resource type during an UPDATE of the group resource when memberIDs contains a sub-group on a a previously unreachable Hosting CSE that has become reachable Reference ETSI TS 118 101 [1], clause 10.2.7.4, ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered to the remoteCSE and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 and memberType attribute set to RESOURCE_TYPE_1 and memberTypeValidated attribute set to FALSE and consistencyStrategy attribute set to ABANDON_MEMBER and the AE having privileges to perform UPDATE operation on the TARGET_RESOURCE_ADDRESS and the AE having a subscription to TARGET_RESOURCE_ADDRESS and the IUT having a resource at MEMBER_RESOURCE_ADDRESS_1 having resourceType attribute set to RESOURCE_TYPE_1 and the remoteCSE having a group resource at MEMBER_RESOURCE_ADDRESS_2 containing memberType attribute set to RESOURCE_TYPE_2 and the remoteCSE having onlineStatus set to False } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 225 oneM2M TS-0018 version 2.13.1 Release 2 Expected behaviour Test events Direction when { the IUT receives a valid UPDATE Request from remoteCSE containing To set to REMOTE_CSE_ADDRESS and From set to CSE-ID and Content containing remoteCSE resource containing onlineStatus attribute set to TRUE } IUT οƒŸ AE then { the IUT sends a NOTIFY Request containing Content containing group resource containing memberTypeValidated attribute set to TRUE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS_1, MEMBER_RESOURCE_ADDRESS_2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 226 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.5.3 RETRIEVE Operation
TP/oneM2M/CSE/GMG/RET/001 TP Id TP/oneM2M/CSE/GMG/RET/001 Test objective Check that the IUT performs a RETRIEVE request for each resource in memberIDs with a relative address appended to fanOutPoint that includes a virtual resource. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to ACP_RESOURCE_ID indicating to allow the AE privileges to perform RETRIEVE operation and memberType attribute set to 3 (container) and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS1, MEMBER_RESOURCE_ADDRESS2 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 containing resourceType attribute set to container and and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 containing resourceType attribute set to container and and MEMBER_RESOURCE_ADDRESS1 and MEMBER_RESOURCE_ADDRESS2 containing a child resource containing resourceType attribute set to contentInstance } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to ARGET_RESOURCE_ADDRESS/fopt/NAME/la and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing aggregatedResponse message containing Response for MEMBER_RESOURCE_ADDRESS1/NAME/la, Response for MEMBER_RESOURCE_ADDRESS2/NAME/la } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 227 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.5.4 BASIC OPERATION
TP/oneM2M/CSE/GMG/001 TP Id TP/oneM2M/CSE/GMG/001 Test objective Check that the IUT allows a <group>/fanoutPoint OPERATION when the Originator has OPERATION_PERMISSION specified in membersAccessControlPolicyIDs attribute in the group resource. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to allow the AE to perform OPERATION and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to RESPONSE_STATUS_CODE and Content containing aggregatedResponse containing Response for MEMBER_RESOURCE_ADDRESS1, Response for MEMBER_RESOURCE_ADDRESS2 } IUT οƒ  AE TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/GMG/001_CRE CREATE 2000 (OK) TP/oneM2M/CSE/GMG/001_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/GMG/001_UPD UPDATE 2000 (OK) TP/oneM2M/CSE/GMG/001_DEL DELETE 2000 (OK) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 228 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/002 TP Id TP/oneM2M/CSE/GMG/002 Test objective Check that IUT denies a <group>/fanOutPoint OPERATION when the Originator does not have OPERATION_PERMISSION specified in membersAccessControlPolicyIDs in the group resource. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to ACP_RESOURCE_ID indicating to allow the AE to perform all operations except OPERATION and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4103 (ORIGINATOR_HAS_NO_PRIVILEGE) } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/GMG/002_CRE CREATE TP/oneM2M/CSE/GMG/002_RET RETRIEVE TP/oneM2M/CSE/GMG/002_UPD UPDATE TP/oneM2M/CSE/GMG/002_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 229 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/003 TP Id TP/oneM2M/CSE/GMG/003 Test objective Check that the IUT allows a <group>/fanoutPoint OPERATION when the Originator has OPERATION_PERMISSION specified in accessControlPolicyIDs and the membersAccessControlPolicyIDs is empty in the <group> resource. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to empty and accessControlPolicyIDs attribute set to ACP_RESOURCE_ID indicating to allow the AE privileges to perform OPERATION and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set RESPONSE_STATUS_CODE Content containing aggregatedResponse message containing Response for MEMBER_RESOURCE_ADDRESS1, Response for MEMBER_RESOURCE_ADDRESS2 } IUT οƒ  AE TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/GMG/003_CRE CREATE 2000 (OK) TP/oneM2M/CSE/GMG/003_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/GMG/003_UPD UPDATE 2000 (OK) TP/oneM2M/CSE/GMG/003_DEL DELETE 2000 (OK) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 230 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/004 TP Id TP/oneM2M/CSE/GMG/004 Test objective Check that IUT rejects a <group>/fanOutPoint OPERATION when the Originator does not have OPERATION_PERMISSION specified in accessControlPolicyIDs and the membersAccessControlPolicyIDs is empty in the group resource. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to empty and accessControlPolicyIDs attribute set to ACP_RESOURCE_ID indicating to allow the AE privileges to perform all operations except OPERATION and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4103 (ORIGINATOR_HAS_NO_PRIVILEGE) } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/GMG/004_CRE CREATE TP/oneM2M/CSE/GMG/004_RET RETRIEVE TP/oneM2M/CSE/GMG/004_UPD UPDATE TP/oneM2M/CSE/GMG/004_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 231 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/005 TP Id TP/oneM2M/CSE/GMG/005 Test objective Check that IUT performs an OPERATION request for each resource in memberIDs with no relative address appended to it. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a <group> resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to allow the AE privileges to perform CREATE and memberType attribute set to AE AE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS1, MEMBER_RESOURCE_ADDRESS2 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 containing resourceType set to AE and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 containing resourceType set to AE } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID and Resource Type set to 3 (container) and Content containing container resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to RESPONSE_STATUS_CODE and Content containing aggregatedResponse message containing Response for MEMBER_RESOURCE_ADDRESS1 and Response for MEMBER_RESOURCE_ADDRESS2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 232 oneM2M TS-0018 version 2.13.1 Release 2 TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/GMG/005_CRE CREATE 2000 (OK) TP/oneM2M/CSE/GMG/005_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/GMG/005_UPD UPDATE 2000 (OK) TP/oneM2M/CSE/GMG/005_DEL DELETE 2000 (OK) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 233 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/006 TP Id TP/oneM2M/CSE/GMG/006 Test objective Check that IUT perfomrs an OPERATION request for each resource in memberIDs with a relative address appended to it. Reference ETSI TS 118 101 [1], clause 10.2.7.7 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a <group> resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to allow the AE privileges to perform CREATE and memberType attribute set to AE and memberIDs attribute set to MEMBER_RESOURCE_ADDRESS1, MEMBER_RESOURCE_ADDRESS2 and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 containing resourceType attribute set to AE and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 containing resourceType attribute set to AE and the IUT having a resource at MEMBER_RESOURCE_ADDRESS1 containing resourceType attribute set to container and resourceName attribute set to NAME and the IUT having a resource at MEMBER_RESOURCE_ADDRESS2 containing resourceType attribute set to container and resourceName attribute set to NAME } Expected behaviour Test events Direction when { the IUT receives a valid CREATE Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt/NAME and From set to AE-ID and Content containing contentInstance resource representation } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to RESPONSE_STATUS_CODE and Content containing aggregatedResponse message containing Response for MEMBER_RESOURCE_ADDRESS1 and Response for MEMBER_RESOURCE_ADDRESS2 } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 234 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/GMG/007 TP Id TP/oneM2M/CSE/GMG/007 Test objective Check that the IUT denies a <group>/fanOutPoint RETRIEVE when there is no memberID in <group> resource. Reference ETSI TS 118 104 [2], clause 7.4.14.2.4 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a group resource at TARGET_RESOURCE_ADDRESS containing membersAccessControlPolicyIDs attribute set to ACP_RESOURCE_ID indicating to allow the AE to perform all operations and no memberID attribute } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS/fopt and From set to AE-ID } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4109 (NO_MEMBER) } IUT οƒ  AE TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/GMG/006_CRE CREATE 2000 (OK) TP/oneM2M/CSE/GMG/006_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/GMG/006_UPD UPDATE 2000 (OK) TP/oneM2M/CSE/GMG/006_DEL DELETE 2000 (OK) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 235 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.6 Discovery (DIS)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.6.1 RETRIEVE Operation
TP/oneM2M/CSE/DIS/001 TP Id TP/oneM2M/CSE/DIS/001 Test objective Check that the IUT returns successfully a list all discovered resource addresses Reference ETSI TS 118 101 [1], clause 10.2.6, ETSI TS 118 104 [2], clause 7.2.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform DISCOVERY operation } Expected behaviour Test events Expected behaviour when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Filter Criteria containing filterUsage set to 1 (Discovery Criteria) } then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing URIList representation } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 236 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/002 TP Id TP/oneM2M/CSE/DIS/002 Test objective Check that the IUT returns successfully appropriate list of discovered resource when the filter criteria is provided in the request Reference ETSI TS 118 101 [1], clause 8.1.3 and clause 10.2.6, ETSI TS 118 104 [2], clause 7.2.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform RETRIEVE operation } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Filter Criteria set to FILTER_CRITERIA_CONDITIONS containing filterUsage set to 1 (Discovery Criteria) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing URIList representation } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 237 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/003 TP Id TP/oneM2M/CSE/DIS/003 Test objective Check that the IUT returns the empty address list when no result matching with filter criteria is discovered Reference ETSI TS 118 101 [1], clause 8.1.3 and clause 10.2.6, ETSI TS 118 104 [2], clause 7.2.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform RETRIEVE operation and FILTER_CRITERIA_CONDITIONS not being applicable to the IUT } Expected behaviour Test events Expected behaviour when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Filter Criteria set to FILTER_CRITERIA_CONDITIONS containing filterUsage set to 1 (Discovery Criteria) } then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing URIList element set to empty list } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 238 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/004 TP Id TP/oneM2M/CSE/DIS /004 Test objective Check that the IUT returns successfully a list of discovered resource addresses with Non- hierarchical addressing form when the Discovery Result Type is provided in the request Reference ETSI TS 118 101 [1], clause 8.1.3 and clause 10.2.6, ETSI TS 118 104 [2], clause 7.2.3.13 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform DISCOVERY operation } Expected behaviour Test events Expected behaviour when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Discovery Result Type set to 2 (unstructured) and Filter Criteria containing filterUsage set to 1 (Discovery Criteria) } then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing URIList representation containing unstructured addresses of discovered resources } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 239 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/005 TP Id TP/oneM2M/CSE/DIS/005 Test objective Check that the IUT rejects the discovery requests to the resource TARGET_RESOURCE_ADDRESS when AE has no privilege to perform the discovery request for the resource TARGET_RESOURCE_ADDRESS Reference ETSI TS 118 101 [1], clause 10.2.6.2 and clause 7.2.3.14, ETSI TS 118 104 [2], clause 7.3.3.14 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the AE having no privileges to perform RETRIEVE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Filter Criteria containing filterUsage set to 1 (Discovery Criteria) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4103 (ACCESS_DENIED) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 240 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/006 TP Id TP/oneM2M/CSE/DIS/006 Test objective Check that the IUT responds with an error when the AE sends requests to discover the resource TARGET_RESOURCE_ADDRESS which does not exist in the Hosting CSE Reference ETSI TS 118 101 [1], clause 10.2.6.2, ETSI TS 118 104 [2], clause 7.3.3.14 Config Id CF01 Parent Release Release 1 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having not yet created a containe resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Expected behaviour when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Filter Criteria containing filterUsage set to 1 (Discovery Criteria) } then { the IUT sends a valid Response containing Response Status Code set to 4004 (NOT_FOUND) } ETSI ETSI TS 118 118 V2.13.1 (2020-12) 241 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/007 TP Id TP/oneM2M/CSE/DIS/007 Test objective Check that the IUT responds the originator with an error when the originator sends a request including an invalid format of filter criteria to discover the resource TARGET_RESOURCE_ADDRESS Reference ETSI TS 118 101 [1], clause 10.2.6, ETSI TS 118 104 [2], clause 7.3.3.6 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the originator AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform DISCOVERY operation } Expected behaviour Test events Expected behaviour when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Filter Criteria set to FILTER_CRITERIA_CONDITIONS not being valid format } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4102 (CONTENTS_UNACCEPTABLE) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 242 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/008 TP Id TP/oneM2M/CSE/DIS/008 Test objective Check that the IUT responds the originator with an error when the originator sends a request to discover the resource TARGET_RESOURCE_ADDRESS including two conflicted filter criteria of different type FILTER_CRITERIA_CONDITION_1 and FILTER_CRITERIA_CONDITION_2 (E.G. createBefore < createdAfter) Reference ETSI TS 118 101 [1], clause 6.2.5, ETSI TS 118 104 [2], clause 7.3.3.17 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the originator AE and the IUT having a container resource TARGET_RESOURCE_ADDRESS containing a child resource and the AE having privileges to perform RETRIEVE operation } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and Filter Criteria containing filterUsage set to 1 (Discovery Criteria) and having conflict conditions } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 4102 (CONTENTS_UNACCEPTABLE) } IUT οƒ  AE TP Id REQ Reference FILTER_CRITERIA _CONDITION_1 FILTER_CRITERIA _CONDITION_2 TP/oneM2M/CSE/DIS/008_CRB/CRA REQ-0004-07241 createdBefore createdAfter TP/oneM2M/CSE/DIS/008_MS/US REQ-0004-07242 unmodifiedSince modifiedSince TP/oneM2M/CSE/DIS/008_STS/STB REQ-0004-07243 stateTagSmaller stateTagBigger TP/oneM2M/CSE/DIS/008_EXB/EXA REQ-0004-07244 expireBefore expireAfter ETSI ETSI TS 118 118 V2.13.1 (2020-12) 243 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/DIS/009 TP Id TP/oneM2M/CSE/DIS/009 Test objective Check that the IUT returns the empty address list when resources match the filter criteria but they do not include DISCOVERY permission. Reference ETSI TS 118 101 [1], clause 9.6.2.3 and clause 10.2.6, ETSI TS 118 104 [2], clause 7.2.3.13 Parent Release Release 1 Config Id CF01 PICS Selection PICS_CSE Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having a resource TARGET_RESOURCE_ADDRESS not allowing the AE to perform DISCOVERY operation and FILTER_CRITERIA_CONDITIONS being applicable to the IUT } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Filter Criteria set to FILTER_CRITERIA_CONDITIONS containing filterUsage set to 1 (Discovery Criteria) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing URIList element set to empty list } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 244 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.7 Communication Management and Delivery Handling(CMDH)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.7.1 Resource pollingChannel (PCH)
TP/oneM2M/CSE/PCH/001 TP Id TP/oneM2M/CSE/PCH/001 Test objective Check that the IUT which hosts <pollingChannel> resource forwards a Notify request successfully to a target AE, once the IUT receives a polling request from AE (retrieve request to <pollingChannelURI> resource) See the note below. Reference ETSI TS 118 101 [1], clause 10.2.13.6, ETSI TS 118 104 [2], clause 7.4.22.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered an AE1 and the AE having a child <pollingChannel> resource and the IUT having received a retrieve request from the AE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a NOTIFY Request from the CSE containing To set to AE_RESOURCE_ADDRESS and From set to CSE_ID } IUT οƒŸ CSE then { the IUT sends a RETRIEVE Response to the AE containing Response Status Code set to 2000 (OK) Content containing the request received from the CSE } IUT οƒ  AE NOTE: Based on figure 10.2.13.1-1 in ETSI TS 118 101 [1] step 001, 002 and 003 in order. In this case, IUT is pending AE's polling request since there was no request to AE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 245 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/PCH/002 TP Id TP/oneM2M/CSE/PCH/002 Test objective Check that the IUT which hosts <pollingChannel> resource forwards a Notify request successfully to a target AE, once the IUT receives a polling request from the AE Reference ETSI TS 118 101 [1], clause 10.2.13.6, ETSI TS 118 104 [2], clause 7.4.22.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered an AE and the AE having a child <pollingChannel> resource and the IUT having received a NOTIFY Request from CSE containing To set to AE_RESOURCE_ADDRESS and From set to CSE_ID } Expected behaviour Test events Direction when { the IUT receives a retrieve Request from the AE containing To set to POLLINGCHANNELURI _RESOURCE_ADDRESS } IUT οƒŸ AE then { the IUT sends a Response to the AE containing Response Status Code set to 2000 (OK) Content containing the Request received from the CSE } IUT οƒ  AE NOTE: Based on figure 10.2.13.1-1 in ETSI TS 118 101 [1] step 002 is followed by 001 and 003. The CSE's request to AE is pended and will be sent as soon as AE sends polling request to CSE. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 246 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/PCH/003 TP Id TP/oneM2M/CSE/PCH/003 Test objective Check that the IUT performs both forwarding the response to the CSE and sending response to AE after receiving a Notify Request from the AE sent to the <pollingChannelURI> resource Reference ETSI TS 118 101 [1], clause 10.2.13.8, ETSI TS 118 104 [2], clause 7.4.22.2.2 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered an AE and the AE1 having a child <pollingChannel> resource and the IUT having received a retrieve Request from the AE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and the IUT having received a NOTIFY Request from the CSE containing To set to AE_RESOURCE_ADDRESS and From set to CSE_ID and the IUT sends a Response to the AE containing Response Status Code set to 2000 (OK) Content containing the Request received from the CSE } Expected behaviour Test events Direction when { the IUT receives a NOTIFY Request from the AE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and Content containing Response Status Code set to RESPONSE_STATUS_CODE } IUT οƒŸ AE then { the IUT sends a Response to the CSE Response Status Code set to RESPONSE_STATUS_CODE the IUT sends the valid NOTIFY Response to the AE } IUT οƒ  CSE IUT οƒ  AE NOTE: Based on figure 10.2.13.1-1 in ETSI TS 118 101 [1] step 005 and 006. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 247 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/PCH/004 TP Id TP/oneM2M/CSE/PCH/004 Test objective Check that the IUT which performs polling sends the Notify request to <pollingChannelURI> Hosting CSE after receiving response using polling channel Reference ETSI TS 118 101 [1], clause 10.2.13.8, ETSI TS 118 104 [2], clause 7.4.22.2.5 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered to a CSE and the IUT having a <pollingChannel> resource and the IUT having sent a retrieve Request to the CSE To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and the CSE having received the Request containing To set to CSE_RESOURCE_ADDRESS and From set to ORIGINATOR_ID } Expected behaviour Test events Direction when { the IUT receives a polling Response from the CSE containing Response Status Code set to 2000 (OK) } IUT οƒŸ CSE1 then { the IUT sends a NOTIFY Request to the CSE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and Content containing Response Status Code set to RESPONSE_STATUS_CODE } IUT οƒ  CSE1 NOTE: Based on figure 10.2.13.1-1 in ETSI TS 118 101 [1] step 004 and 005. ETSI ETSI TS 118 118 V2.13.1 (2020-12) 248 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/PCH/005 TP Id TP/oneM2M/CSE/PCH/005 Test objective Check that the IUT rejects a <pollingChannel> OPERATION of the AE when AE-ID is not same as the AE-ID of the parent resource Reference ETSI TS 118 101 [1], clause 10.2.13.2, ETSI TS 118 104 [2], clause 7.4.21 Config Id CF01 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered an AE1 and the IUT having registered an AE2 and the IUT having created a pollingChannel resource on the AE1 } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from the AE2 containing To set to POLLING_CHANNEL_RESOURCE_ADDRESS and From set to AE2_ID } IUT οƒŸ AE2 then { the IUT sends a valid Response containing Response Status Code set to 4103 (ORIGINATOR_HAS_NO_PRIVILEGE) } IUT οƒ  AE2 TP Id Reference OPERATION TP/oneM2M/CSE/PCH/005_RET ETSI TS 118 101 10.2.13.3 RETRIEVE TP/oneM2M/CSE/PCH/005_UPD ETSI TS 118 101 10.2.13.4 UPDATE TP/oneM2M/CSE/PCH/005_DEL ETSI TS 118 101 10.2.13.5 DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 249 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/PCH/006 TP Id TP/oneM2M/CSE/PCH/006 Test objective Check that the IUT sends the response with a status to the CSE1 when the request expires according to its Request Expiration Timestamp Reference ETSI TS 118 101 [1], clause 10.2.13.6 Config Id CF02 Parent Release Release 2 PICS Selection PICS_PCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered an AE and the AE having a child <pollingChannel> resource and the IUT having received a RETRIEVE Request from AE containing To set to POLLINGCHANNELURI_RESOURCE_ADDRESS and Request Expiration Timestamp set to VALUE } Expected behaviour Test events Direction when { Request Expiration Timestamp expires } IUT then { and the IUT sends a Response to the AE containing Response Status Code set to 4008 (REQUEST_TIMEOUT) } IUT οƒ  AE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 250 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.7.2 Response Type (RT)
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.7.2.1 nonBlockingRequestSynch (NBS)
TP/oneM2M/CSE/RT/NBS/001 TP Id TP/oneM2M/CSE/RT/NBS/001 Test objective Check that the IUT rejects a Non-Blocking Synchronous Request OPERATION if the IUT does not support the <request> resource Reference ETSI TS 118 101 [1], clause 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_SYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform CREATE operation on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 1 (nonBlockingRequestSynch) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 5206 (NON_BLOCKING_REQUEST_NOT_SUPPORTED) } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBS/001_CRE CREATE TP/oneM2M/CSE/RT/NBS/001_UPD UPDATE TP/oneM2M/CSE/RT/NBS/001_RET RETRIEVE TP/oneM2M/CSE/RT/NBS/001_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 251 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBS/002 TP Id TP/oneM2M/CSE/RT/NBS/002 Test objective Check that the IUT responds to a Non-Blocking Synchronous Request OPERATION with the reference of a <request> resource provided within the Content parameter of the Response Reference ETSI TS 118 101 [1], clause 8.2.2.1 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_SYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 1 (nonBlockingRequestSynch) } IUT οƒŸ AE then { and the IUT sends a valid Response containing Response Status Code set to 1001 (ACCEPTED for n onBlockingRequestSynch) and Content containing URI attribute set to REQUEST_RESOURCE_ADDRESS } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBS/002_CRE CREATE TP/oneM2M/CSE/RT/NBS/002_UPD UPDATE TP/oneM2M/CSE/RT/NBS/002_RET RETRIEVE TP/oneM2M/CSE/RT/NBS/002_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 252 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBS/003 TP Id TP/oneM2M/CSE/RT/NBS/003 Test objective Check that the IUT returns successfully the <request> resource after receiving a Non-Blocking Synchronous Request OPERATION and it contains the expected result in operationResult attribute Reference ETSI TS 118 101 [1], clause 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_SYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the IUT having received a Non-Blocking Synchronous Request OPERATION and the IUT having created a resource TARGET_RESOURCE_ADDRESS of type <request> under the AE resource } Expected behaviour Test events Direction when { the IUT receives a valid RETRIEVE Request from AE containing To set to TARGET_RESOURCE_ADDRESS and From set to AE_ID and ResponseType set to 3 (blockingRequest) no Content } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 2000 (OK) and Content containing request resource representation containing operationResult attribute containing expected response to OPERATION } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBS/003_CRE CREATE TP/oneM2M/CSE/RT/NBS/003_UPD UPDATE TP/oneM2M/CSE/RT/NBS/003_RET RETRIEVE TP/oneM2M/CSE/RT/NBS/003_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 253 oneM2M TS-0018 version 2.13.1 Release 2
86bb51039c7d46c1c45390deedd919e6
118 118
7.2.2.7.2.2 nonBlockingRequestAsynch (NBA)
TP/oneM2M/CSE/RT/NBA/001 TP Id TP/oneM2M/CSE/RT/NBA/001 Test objective Check that the IUT responds to a Non-Blocking Asynchronous Request OPERATION without a reference to a resource containing the context of the request if the IUT does not support the <request> resource Reference ETSI TS 118 101 [1], clause 8.2.2.3 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_ASYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 2 (nonBlockingRequestAsynch) } IUT οƒŸ AE then { the IUT sends a valid Response containing Response Status Code set to 1002 (ACCEPTED for nonBlockingRequestAsynch) and no Content } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBA/001_CRE CREATE TP/oneM2M/CSE/RT/NBA/001_UPD UPDATE TP/oneM2M/CSE/RT/NBA/001_RET RETRIEVE TP/oneM2M/CSE/RT/NBA/001_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 254 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBA/002 TP Id TP/oneM2M/CSE/RT/NBA/002 Test objective Check that the IUT responds to a Non-Blocking Asynchronous Request OPERATION with the reference of a <request> resource provided within the Content parameter of the Response Reference ETSI TS 118 101 [1], clause 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_ASYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 2 (nonBlockingRequestAsynch) } IUT οƒŸ AE then { and the IUT sends a valid Response containing Response Status Code set to 1002 (ACCEPTED for nonBlockingRequestAsynch) and Content containing URI attribute set to REQUEST_RESOURCE_ADDRESS } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBA/002_CRE CREATE TP/oneM2M/CSE/RT/NBA/002_UPD UPDATE TP/oneM2M/CSE/RT/NBA/002_RET RETRIEVE TP/oneM2M/CSE/RT/NBA/002_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 255 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBA/003 TP Id TP/oneM2M/CSE/RT/NBA/003 Test objective Check that the IUT sends the result of the requested Non-Blocking Asynchronous OPERATION as notification to the Originator when no notification target list is provided Reference ETSI TS 118 101 [1], clause 8.1.2, 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_ASYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 2 (nonBlockingRequestAsynch) NotificationURI not set } IUT οƒŸ AE then { the IUT sends a valid Response (Ack) and the IUT sends a valid NOTIFY Request containing Content containing ResponsePrimitive representation indicating the response of the original Non-Blocking Asynchronous OPERATION containing Response Status Code set to RESPONSE_STATUS_CODE } IUT οƒ  AE TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/RT/NBA/003_CRE CREATE 2001 (CREATED) TP/oneM2M/CSE/RT/NBA/003_UPD UPDATE 2004 (UPDATED) TP/oneM2M/CSE/RT/NBA/003_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/RT/NBA/003_DEL DELETE 2002 (DELETED) ETSI ETSI TS 118 118 V2.13.1 (2020-12) 256 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBA/004 TP Id TP/oneM2M/CSE/RT/NBA/004 Test objective Check that the IUT does not send the result of the requested Non-Blocking Asynchronous OPERATION as notification to the Originator when an empty notification target list is provided Reference ETSI TS 118 101 [1], clause 8.1.2, 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_ASYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE and the Originator having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and ResponseType set to 2 (nonBlockingRequestAsynch) and NotificationURI set to empty list } IUT οƒŸ AE then { the IUT sends a valid Response (Ack) and the IUT does not send a NOTIFY Response } IUT οƒ  AE TP Id OPERATION TP/oneM2M/CSE/RT/NBA/004_CRE CREATE TP/oneM2M/CSE/RT/NBA/004_UPD UPDATE TP/oneM2M/CSE/RT/NBA/004_RET RETRIEVE TP/oneM2M/CSE/RT/NBA/004_DEL DELETE ETSI ETSI TS 118 118 V2.13.1 (2020-12) 257 oneM2M TS-0018 version 2.13.1 Release 2 TP/oneM2M/CSE/RT/NBA/005 TP Id TP/oneM2M/CSE/RT/NBA/005 Test objective Check that the IUT sends the result of the requested Non-Blocking Asynchronous OPERATION as notification to the notification targets indicated in responseType/notificationURI attribute of the request Reference ETSI TS 118 101 [1], clauses 8.1.2, 8.2.2.2 Config Id CF01 Parent Release Release 2 PICS Selection PICS_NON_BLOCKING_REQUEST_ASYNCH Initial conditions with { the IUT being in the "initial state" and the IUT having registered the AE1 and the IUT having registered the AE2 and the AE1 having privileges to perform OPERATION on the resource TARGET_RESOURCE_ADDRESS } Expected behaviour Test events Direction when { the IUT receives a valid OPERATION Request from AE containing Resource Type set to 3 (container) and To set to TARGET_RESOURCE_ADDRESS and From set to AE-ID and Response Type parameter containing responseTypeValue set to 2 (nonBlockingRequestAsynch) and NotificationURI set to AE1_RESOURCE_ADDRESS and AE2_RESOURCE_ADDRESS } IUT οƒŸ AE then { the IUT sends a valid Response (Ack) and the IUT sends a valid NOTIFY Request containing to AE1 Content containing ResponsePrimitive representation indicating the response of the original Non-Blocking Asynchronous OPERATION containing Response Status Code set to RESPONSE_STATUS_CODE and the IUT sends a valid NOTIFY Request containing to AE2 Content containing ResponsePrimitive representation indicating the response of the original Non-Blocking Asynchronous OPERATION containing Response Status Code set to RESPONSE_STATUS_CODE } IUT οƒ  AE1 IUT οƒ  AE1 IUT οƒ  AE2 ETSI ETSI TS 118 118 V2.13.1 (2020-12) 258 oneM2M TS-0018 version 2.13.1 Release 2 TP Id OPERATION RESPONSE_STATUS_CODE TP/oneM2M/CSE/RT/NBA/005_CRE CREATE 2001 (CREATED) TP/oneM2M/CSE/RT/NBA/005_UPD UPDATE 2004 (UPDATED) TP/oneM2M/CSE/RT/NBA/005_RET RETRIEVE 2000 (OK) TP/oneM2M/CSE/RT/NBA/005_DEL DELETE 2002 (DELETED)