8.1 No Hop configuration testing
8.1.1 CSEBase Management
8.1.1.1 CSEBase Retrieve on Mca
Interoperability Test Description
| Identifier: | TD_M2M_NH_01 |
| Objective: | AE retrieves the CSEBase resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.2.11<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.2 |
Pre-test conditions:
- CSEBase resource has been automatically created in CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a retrieve Request to CSE with name | |
| 2 | Mca | PRO Check Primitive | • Operation (op) = 2 (Retrieve) • To (to) = Resource-ID of requested <CSEBase> resource, assumed CSE-relative here • From (from) = AE-ID of request originator • Request Identifier (rqi) = (token-string) |
| 3 | Mca | PRO Check Primitive | • Response Status Code (rsc) = 2000 (OK) • Request Identifier (rqi) = same string as received in request message • Content (pc) = Serialized Representation of <CSEBase> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.2 RemoteCSE Management
8.1.2.1 RemoteCSE Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_02 |
| Objective: | Registree CSE registers to Registrar CSE |
| Configuration: | M2M_CFG_02 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.2.1 |
Pre-test conditions:
- CSEBase resource has been created in registrar CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | Registree CSE is requested to send a RemoteCSE Create request to Registrar CSE | |
| 2 | Mcc |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = Registree CSE-ID • rqi = (token-string) • ty = 16 (RemoteCSE) • pc = Serialized representation of <RemoteCSE> resource |
| 3 | Mcc |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <RemoteCSE> resource |
| 4 | IOP Check | Check if possible that the <remoteCSE> resource has been created in registrar CSE | |
| 5 | IOP Check | Check if possible that the corresponding <remoteCSE> resource has been also created in registree CSE | |
| 6 | IOP Check | Registree CSE indicates successful operation |
8.1.2.2 remoteCSE Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_03 |
| Objective: | Registree CSE retrieves RemoteCSE from Registrar CSE |
| Configuration: | M2M_CFG_02 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.2.2 |
Pre-test conditions:
-
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
-
Registree CSE has created a remoteCSE resource on registrar CSE with name {RemoteCSEName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | Registree CSE is requested to send a RemoteCSE retrieve request to Registrar CSE | |
| 2 | Mcc |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/{remoteCSEName} • fr = Registree CSE-ID • rqi = (token-string) • pc = empty |
| 3 | Mcc |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <RemoteCSE> resource |
| 4 | IOP Check | Registree CSE indicates successful operation |
8.1.2.3 remoteCSE Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_04 |
| Objective: | Registree CSE updates RemoteCSE from Registrar CSE |
| Configuration: | M2M_CFG_02 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.2.3 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
Registree CSE has created a remoteCSE resource on registrar CSE with name {RemoteCSEName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | Registree CSE is requested to send a RemoteCSE update request to Registrar CSE | |
| 2 | Mcc |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{remoteCSEName} • fr = Registree CSE-ID • rqi = (token-string) • pc = Serialized representation of updated <RemoteCSE> resource |
| 3 | IOP Check | Check if possible that the <remoteCSE> resource has been updated in registrar CSE | |
| 4 | Mcc |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <RemoteCSE> resource |
| 5 | IOP Check | Registree CSE indicates successful operation |
8.1.2.4 remoteCSE Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_05 |
| Objective: | Registree CSE deletes RemoteCSE from Registrar CSE |
| Configuration: | M2M_CFG_02 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.2.4 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
Registree CSE has created a remoteCSE resource on registrar CSE with name {RemoteCSEName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | Registree CSE is requested to send a RemoteCSE delete request to Registrar CSE | |
| 2 | Mcc |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{remoteCSEName} • fr = Registree CSE-ID • rqi = (token-string) • pc = empty |
| 3 | Mcc |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <remoteCSE> resource has been removed from registrar CSE | |
| 5 | IOP Check | Check if possible that the <remoteCSE> resource is also removed from registree CSE | |
| 6 | IOP Check | Registree CSE indicates successful operation |
8.1.3 Application Entity Registration
8.1.3.1 AE Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_06 |
| Objective: | AE registers to its registrar CSE via an AE Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.2.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.5.2.1 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
AE does not have an AE-ID, i.e. it registers from scratch
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a AE Create request to register to the Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 2 (AE) • pc = Serialized representation of <AE> resource |
| 3 | IOP Check | Check if possible that the <AE> resource is created in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <AE> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.3.2 AE Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_07 |
| Objective: | AE retrieves <AE> resource via an AE Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.2.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.5.2.2 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}bgf
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a AE retrieve request to Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/{AE} • fr = AE-ID of request originator • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <AE> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.3.3 AE Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_08 |
| Objective: | AE updates attribute in <AE> resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.2.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.5.2.3 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an AE Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{AE} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <AE> resource |
| 3 | IOP Check | Check if possible that the <AE> resource has been updated in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <AE> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.3.4 AE Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_09 |
| Objective: | AE de-registers by deleting <AE> resource via an AE Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.2.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.5.2.4 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an AE Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{AE} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <AE> resource has been removed from registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.4 Container Management
8.1.4.1 Container Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_10 |
| Objective: | AE creates a container resource in registrar CSE via a container Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <AE> resource • fr = AE-ID • rqi = (token-string) • ty = 3 (Container) • pc = Serialized representation of <container> resource |
| 3 | IOP Check | Check if possible that the <container> resource is created in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.4.2 Container Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_11 |
| Objective: | AE retrieves information of a container resource via a container Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.4.3 Container Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_12 |
| Objective: | AE updates attribute in application resource via a container Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a container Update Request to update the lifetime of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <container> resource |
| 3 | IOP Check | Check if possible that the < container > resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.4.4 Container Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_13 |
| Objective: | AE deletes a specific container resource via a container Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a container Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <container> resource is deleted in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <container> resource has been removed in registrar CSE | |
| 6 | IOP Check | AE indicates successful operation |
8.1.5 ContentInstance Management
8.1.5.1 ContentInstance Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_14 |
| Objective: | AE adds a contentInstance resource <contentInstance> to a specific container in Registrar CSE via a contentInstance Create Request and the Registrar CSE updates the parent <container> resource with stateTag, currentNrOfInstances, and CurrentByteSize attributes correspondingly |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.7<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.7.1.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
AE has created a container resource <container> on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a RETRIEVE request with resultContent set to 1 (default value) to retrieve the <container> resource and AE sends a request to create a < contentInstance > resource | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of < container > resource • fr = AE-ID • rqi = (token-string) • ty = 4 (contentInstance) • pc = Serialized representation of <contentInstance> resource |
| 3 | IOP Check | Check if possible that the <contentInstance> resource is created in Registrar CSE and AE sends a RETRIEVE request to the <container> resource to check that if the Registrar CSE has updated stateTag, currentNrOfInstances, and CurrentByteSize attribute correspondingly which is resulted from the successful creation of child <contentInstance> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <contentInstance> resource |
| 5 | IOP Check | AE indicates successful CREATE operation of <contentInstance> and indicates Registrar CSE has updated stateTag, currentNrOfInstances, and CurrentByteSize attribute correspondingly by checking the response of a <container> request to the <container> resource |
IOP Verdict:
Set verdict to pass if IOP check goal is achieved exactly, otherwise verdict fail is set with corresponding error message
8.1.5.2 ContentInstance Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_15 |
| Objective: | AE retrieves information of a contentInstance resource via a contentInstance Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.8<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.7.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a contentInstance resource <contentInstance> as child resource of <container> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <contentInstance> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <contentInstance> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <contentInstance> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.5.3 ContentInstance Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_17 |
| Objective: | AE deletes contentInstance resource via a contentInstance Delete Request and the Registrar CSE updates the parent <container> resource with currentNrOfInstances, and CurrentByteSize attributes correspondingly |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.7.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a contentInstance resource <contentInstance> as child resource of <container> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a RETRIEVE request with resultContent set to 1 (default value) to retrieve the <container> resource and AE is requested to send a contentInstance Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <contentInstance> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <contentInstance> resource is deleted in Registrar CSE and AE sends a RETRIEVE request to the parent <container> resource to check that if the Registrar CSE has updated currentNrOfInstances, and CurrentByteSize attribute correspondingly which is resulted from the successful deletion of child <contentInstance> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <contentInstance> resource has been removed in registrar CSE. | |
| 6 | IOP Check | AE indicates successful DELETE operation of <contentInstance> and indicates Registrar CSE has updated currentNrOfInstances, and CurrentByteSize attribute correspondingly |
IOP Verdict:
Set the verdict to pass if both the <contentInstance> is deleted and the Registrar CSE updatedcurrentNrOfInstances, and CurrentByteSize attribute. Otherwise, set the verdict to fail with corresponding error message
8.1.5.4 <latest> ContentInstance Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_49 |
| Objective: | AE deletes a <latest> resource of a <container> and the Registrar CSE points a latest <contentInstance> among the existing contentInstances to the <latest> resource of the <container> |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.12<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.27.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created more than one contentInstances <contentInstance> as child of <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE retrieves a <latest> resource in a <container> and then sends a DELETE request to the <latest> resource of the <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <latest> resource of a <container> • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = representation of deleted <latest> resource of a <container> |
| 4 | IOP Check | AE indicates successful DELETE operation of a <latest> resource and AE sends a RETRIEVE request to <latest> resource of a <container> to check if the retrieved <latest> resource in the <container> is different with that one that was retrieved before DELETE request of the <latest> resource in terms of resourceID and resourceName attribute value |
IOP Verdict:
Set the verdict to pass if IOP check goal is achieved, otherwise set the verdict to fail with corresponding error message
8.1.5.5 <oldest> ContentInstance Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_50 |
| Objective: | AE deletes a <oldest> resource of a <container> and the Registrar CSE points an oldest <contentInstance> among the existing contentInstances to the <oldest> resource of the <container> |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.14<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.28.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created more than one contentInstances <contentInstance> as child of <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE retrieves a <oldest> resource of a <container> and AE sends a DELETE Request to the <oldest> resource of the <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <oldest> resource of a <container> • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = representation of deleted <oldest> resource of a <container> |
| 4 | IOP Check | AE indicates successful DELETE operation of a <oldest> resource and AE sends a RETRIEVE request to <oldest> resource of a <container> to check if the retrieved <oldest> resource in the <container> is different with that one that was retrieved before DELETE request of the <oldest> resource in terms of resourceID and resourceName attribute values |
IOP Verdict:
Set the verdict to pass if IOP check goal is achieved, otherwise set the verdict to fail with corresponding error message
8.1.5.6 ContentInstance Create when currentNrOfInstance equals to maxNrOfInstances in parent <container> resource
Interoperability Test Description
| Identifier: | TD_M2M_NH_51 |
| Objective: | AE sends a <contentInstance> CREATE request to a <container> which contains attribute currentNrOfInstances whose value equals to that of maxNrOfInstances and Registrar CSE deletes the oldest <contentInstance> from the parent <container> and then creates the requested <contentInstance> resource for the originator AE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.7<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
AE has created a container resource <container> (where the number of contentInstances equals to the value set in maxNrOfInstance) on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a RETRIEVE request with resultContent set to 1 (default value) to retrieve the <oldest> contentInstance resource and AE sends a request to create a <contentInstance> resource |
|
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • ty = 4 (contentInstance) • pc = Serialized representation of <contentInstance> resource |
| 3 | IOP Check | Check if possible that the <oldest> resource of a <container> is deleted | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <contentInstance> resource |
| 5 | IOP Check | AE indicates successful CREATE operation of <contentInstance> and indicates the representation of the recent <oldest> resource in the <container> is different with that of <oldest> resource retrieved at the beginning of test in terms of resourceID and resourceName attribute value |
IOP Verdict:
Set the verdict to pass if IOP check goal is achieved, otherwise set the verdict to fail with corresponding error message
8.1.5.7 <latest> ContentInstance Retrieve
8.1.5.7.1 Attribute locationID of the <container> resource configured
Interoperability Test Description
| Identifier: | TD_M2M_NH_102 |
| Objective: | AE retrieves a <latest> resource of a <container> for which attribute locationID is configured, value of locationUpdatePeriod is marked '0' or not defined and locationSource attribute is 'Network Based' |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.11<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.27.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a <locationPolicy> resource on Registrar CSE having its resourceID and locationContainerID attribute set to locationID and resourceID attribute of the <container> resource respectively
In resource <locationPolicy>, value of locationUpdatePeriod is marked '0' or not defined and locationSource attribute is 'Network Based'
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <latest> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource/la • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of latest <contentInstance> resource, created after acquiring location info from Location Server, in response to Location Request made by the CSE, using the attributes stored in the <locationPolicy > resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.5.7.2 Attribute locationID of the <container> resource not configured
Interoperability Test Description
| Identifier: | TD_M2M_NH_71 |
| Objective: | AE retrieves a <latest> resource of a <container> and the Registrar CSE points a latest <contentInstance> among the existing contentInstances to the <latest> resource of the <container> |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.11<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.27.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created multiple contentInstance resources <contentInstance> as child resource of <container> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <latest> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource/la • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of latest <contentInstance> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.5.8 <oldest> ContentInstance Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_72 |
| Objective: | AE retrieves a <oldest> resource of a <container> and the Registrar CSE points a oldest <contentInstance> among the existing contentInstances to the <oldest> resource of the <container> |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.13<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.28.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created multiple contentInstance resources <contentInstance> as child resource of <container> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <oldest> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource/ol • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of oldest <contentInstance> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.6 Discovery
8.1.6.1 Discovery of all resources
Interoperability Test Description
| Identifier: | TD_M2M_NH_18 |
| Objective: | AE discovers all accessible resources from registrar CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a discovery request to registrar CSE | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • fu=1 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing addresses of all discovered resources |
| 4 | IOP Check | AE indicates successful operation |
8.1.6.2 Discovery with label filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_19 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using the label filter criteria |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
A <Container> resource with label "key1" is created on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Discovery request in order to discover the <Container> resource using the label filter criteria | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • fu=1 • lbl=key1 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the address of the <Container> address |
| 4 | IOP Check | AE indicates successful operation |
8.1.6.3 Discovery with limit filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_20 |
| Objective: | AE discovers accessible resources residing in Registrar CSE limiting the number of matching resources to the specified value |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Discovery request in order to discover at most 2 resources in registrar CSE | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • fu = 1 • lim = 2 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • cnst = 1 • cno t= 2 • pc = Serialized representation of data object containing the address of the <Container> address |
| 4 | IOP Check | AE indicates successful operation |
8.1.6.4 Discovery with multiple filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_21 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using multiple Filter Criteria |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
Two <Container> resources with labels "key1" and "key2" are created in Registrar CSE
A <Group> resources with labels "key1" and "key2" is created in Registrar CSE
Test Sequence
8.1.6.5 Discovery with level filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_58 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using the level filter criteria value set to 1 |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
<AE1> and <AE2> resources are created in Registrar CSE
A <Container> resource is created under both <AE> resources in Registrar CSE
A <ContentInstance> resource is created under both <Container> resources in Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Discovery request in order to discover specific resources located in Registrar CSE using level filter criteria value set to 1 | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu=1 • lvl=1 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the address of both <AE> resources |
| 4 | IOP Check | AE1 indicates successful operation |
Interoperability Test Description
| Identifier: | TD_M2M_NH_59 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using the level filter criteria value set to 2 |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
<AE1> and <AE2> resources are created in Registrar CSE. A <Container> resource is created under both <AE> resources in Registrar CSE
A <ContentInstance> resource is created under both <Container> resources in Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Discovery request in order to discover specific resources located in Registrar CSE using level filter criteria value set to 2 | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu = 1 • lvl = 2 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the address of all <AE> and <Container> resources |
| 4 | IOP Check | AE1 indicates successful operation |
Interoperability Test Description
| Identifier: | TD_M2M_NH_60 |
| Objective: | AE1 discovers accessible resources residing in Registrar CSE using the level filter criteria value set to 3 |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
<AE1> and <AE2> resources are created in Registrar CSE
A <Container> resource is created under both <AE> resources in Registrar CSE
A <ContentInstance> resource is created under both <Container> resources in Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE1 is requested to send a Discovery request in order to discover specific resources located in Registrar CSE using level filter criteria value set to 3 | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu=1 • lvl=3 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the address of all <AE>, <Container> and <ContentInstance>resources |
| 4 | IOP Check | AE indicates successful operation |
8.1.6.6 Discovery with offset filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_61 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using the offset filter criteria value set to 3 |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
<AE1> and <AE2> resources are created in Registrar CSE. A <Container> resource is created under both <AE> resources in Registrar CSE
A <ContentInstance> resource is created under both <Container> resources in Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE1 is requested to send a Discovery request in order to discover specific resources located in Registrar CSE using offset filter criteria value set to 3 | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu=1 • ofst=3 • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing only 3 of the 6 <AE>, <container> and <contentInstance> resources hosted by the Registrar CSE |
| 4 | IOP Check | AE1 indicates successful operation |
Interoperability Test Description
| Identifier: | TD_M2M_NH_62 |
| Objective: | AE discovers all the accessible resources residing in Registrar CSE using the offset filter criteria |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
<AE1> and <AE2> resources are created in Registrar CSE
A <Container> resource is created under both <AE> resources in Registrar CSE
A <ContentInstance> resource is created under both <Container> resources in Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE1 is requested to send a Discovery request in order to discover specific resources located in Registrar CSE using offset filter criteria attribute value set to 0 (Default value) and limit filter Criteria attribute value set to 2 | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu = 1 • lim = 2 • pc = empty |
| 3 | IOP Check | Registrar CSE sends success response to AE1 | |
| 4 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • cnst = 1 • cnot = 2 • pc = Serialized representation of data object containing the address of first 2 resources hosted by Registrar CSE |
| 5 | IOP Check | AE1 sends discovery request to Registrar CSE with offset filtercriteria value set to 2 and limit filter criteria attribute value set to 2 | |
| 6 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu=1 • ofst = 2 • lim = 2 • pc = empty |
| 7 | IOP Check | Registrar CSE sends success response to AE1 | |
| 8 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • cnst=1 • cnot=4 • pc = Serialized representation of data object containing the address of next 2 resources hosted by Registrar CSE |
| 9 | IOP Check | AE1 sends discovery request to Registrar CSE with offset filtercriteria value set to 4 and limit filtercriteria attribute value set to 2 | |
| 10 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE1-ID • rqi = (token-string) • fu = 1 • ofst = 4 • lim = 2 • pc = empty |
| 11 | IOP Check | Registrar CSE sends success response to AE1 | |
| 12 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • cnst = 2 • pc = Serialized representation of data object containing the address of last 2 resources hosted by Registrar CSE |
| 13 | IOP Check | AE1 indicates successful operation |
8.1.7 Subscription Management
8.1.7.1 Subscription Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_22 |
| Objective: | AE creates a subscription to Application Entity resource via subscription Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.8.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
AE has created a container resource <container> on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a subscription Create request to the Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <Container> resource • fr = AE-ID • rqi = (token-string) • ty = 23 (Subscription) • pc = Serialized representation of <Subscription> resource |
| 3 | IOP Check | Check if possible that the <Subscription> resource is created in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <Subscription> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.7.2 Subscription Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_23 |
| Objective: | AE retrieves subscription resource from Registrar CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.8.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a subscription resource <subscription> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <subscription> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <Subscription> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <Subscription> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.7.3 Subscription Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_24 |
| Objective: | AE updates information about a subscription via subscription Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.8.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a subscription resource <subscription> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a subscription Update Request to update the lifetime of the resource. | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <Subscription> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <Subscription> resource |
| 3 | IOP Check | Check if possible that the <subscription> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <Subscription> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.7.4 Subscription Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_25 |
| Objective: | AE cancels subscription via an subscription Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.8.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
AE has created a subscription resource <subscription> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a subscription Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <Subscription> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <Subscription> resource is deleted in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <subscription> resource has been removed in registrar CSE | |
| 6 | IOP Check | AE indicates successful operation |
8.1.8 accessControlPolicy Management
8.1.8.1 accessControlPolicy Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_26 |
| Objective: | AE creates an accessControlPolicy resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.3.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.2.2.1 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an accessControlPolicy Create Request | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/{AE} • fr = AE-ID • rqi = (token-string) • ty = 1 (accessControlPolicy) • pc = Serialized representation of <accessControlPolicy > resource |
| 3 | IOP Check | Check if possible that the <container> resource is created in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <accessControlPolicy> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.8.2 accessControlPolicy Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_27 |
| Objective: | AE retrieves accessControlPolicy resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.3.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.2.2.2 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a accessControlPolicy retrieve request to Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/{AE}/{accessControlPolicyName} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <accessControlPolicy> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.8.3 accessControlPolicy Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_28 |
| Objective: | AE updates attribute in accessControlPolicy resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.3.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.2.2.3 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an accessControlPolicy update request to Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{AE}/{accessControlPolicyName} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <accessControlPolicy > resource |
| 3 | IOP Check | Check if possible that the <accessControlPolicy> resource has been updated in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <accessControlPolicy> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.8.4 accessControlPolicy Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_29 |
| Objective: | AE deletes accessControlPolicy resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.3.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.2.2.4 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an accessControlPolicy delete request to Registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{AE}/{accessControlPolicyName} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <accessControlPolicy> resource has been removed from registrar CSE. | |
| 5 | IOP Check | AE indicates successful operation |
8.1.8.5 Unauthorized operation (Insufficient Access Rights, operations)
Interoperability Test Description
| Identifier: | TD_M2M_NH_30 |
| Objective: | AE delete request is rejected due to accessControlPolicy (accessControlOperations) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.15 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}, and accessControlOperations with no delete privilege
AE has created a <container> resource on registrar CSE under <AE>, with name {containerName} and accessControlPolicyIDs including proper identifier of accessControlPolicy resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a container Delete Request for resource <container> | |
| 2 | Mca |
PRO Check Primitive | •op = 4 (Delete) • to = {CSEBaseName}/{AE}/{containerName} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 4103 (ACCESS_DENIED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <container> resource has not been removed in registrar CSE | |
| 5 | IOP Check | AE indicates unsuccessful operation (Delete error - no privilege) |
8.1.8.6 Unauthorized operation (Insufficient Access Rights, originators)
Interoperability Test Description
| Identifier: | TD_M2M_NH_73 |
| Objective: | AE delete request is rejected due to accessControlPolicy (accessControlOriginators) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.15 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}, and accessControlOriginators with no privilege for AE
AE has created a <container> resource on registrar CSE under <AE>, with name {containerName} and accessControlPolicyIDs including proper identifier of accessControlPolicy resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a container Delete Request for resource <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{AE}/{containerName} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 4103 (ACCESS_DENIED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <container> resource has not been removed in registrar CSE | |
| 5 | IOP Check | AE indicates unsuccessful operation (Delete error - no privilege) |
8.1.8.7 Authorized operation
Interoperability Test Description
| Identifier: | TD_M2M_NH_74 |
| Objective: | AE delete request is allowed due to accessControlPolicy |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.15 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created a <AE> resource on registrar CSE with name {AE}
accessControlPolicy resource has been created in registrar CSE under <AE> resource with name {accessControlPolicyName}, and accessControlOperations with delete privilege and accessControlOriginators with privilege for AE
AE has created a <container> resource on registrar CSE under <AE>, with name {containerName} and accessControlPolicyIDs including proper identifier of accessControlPolicy resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a container Delete Request for resource <container> | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{AE}/{containerName} • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 4 | IOP Check | Check if possible that the <container> resource has been removed in registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.9 Group Management
8.1.9.1 Group Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_32 |
| Objective: | AE retrieves group resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.2.2 |
Pre-test conditions:
AE has created a <group> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a group Retrieve Request | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (RETRIEVE) • to = {CSEBaseName}/{group} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <group> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.9.2 Group Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_31 |
| Objective: | AE creates a group resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.2.2 |
Pre-test conditions:
void
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a group Create Request | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 9 (group) • pc = Serialized representation of <group> resource |
| 3 | IOP Check | Check if possible that the <group> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <group> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.9.3 Group Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_33 |
| Objective: | AE updates attribute in group resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.2.4 |
Pre-test conditions:
AE has created a <group> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a group Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{group} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <group> resource |
| 3 | IOP Check | Check if possible that the <group> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (CHANGED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <group> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.9.4 Group Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_34 |
| Objective: | AE deletes group resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.2.5 |
Pre-test conditions:
AE has created a <group> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a group Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (DELETE) • to = {CSEBaseName}/{group} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message |
| 4 | IOP Check | Check if possible that the <group> resource is deleted in Registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.10 Node Management
8.1.10.1 Node Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_35 |
| Objective: | AE creates a node resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.18.2.1 |
Pre-test conditions:
void
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a node Create Request | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 14 (node) • pc = Serialized representation of <node> resource |
| 3 | IOP Check | Check if possible that the <node> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <node> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.10.2 Node Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_36 |
| Objective: | AE retrieves node resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.18.2.2 |
Pre-test conditions:
AE has created a <node> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a node Retrieve Request | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (RETRIEVE) • to = {CSEBaseName}/{node} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <node> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.10.3 Node Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_37 |
| Objective: | AE updates attribute in node resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.18.2.3 |
Pre-test conditions:
AE has created a <node> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a node Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{node} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <node> resource |
| 3 | IOP Check | Check if possible that the <node> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (CHANGED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <node> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.10.4 Node Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_38 |
| Objective: | AE deletes node resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.18.2.4 |
Pre-test conditions:
AE has created a <node> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a node Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (DELETE) • to = {CSEBaseName}/{node} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message |
| 4 | IOP Check | Check if possible that the <node> resource is deleted in Registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.11 PollingChannel Management
8.1.11.1 PollingChannel Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_39 |
| Objective: | AE creates a <pollingChannel> resource in registrar CSE via a Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.13<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.21.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a < pollingChannel > | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <AE> resource • fr = AE-ID • rqi = (token-string) • ty = 15 (pollingChannel) • pc = Serialized representation of < pollingChannel > resource |
| 3 | IOP Check | Check if possible that the < pollingChannel > resource is created in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of < pollingChannel > resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.11.2 PollingChannel Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_40 |
| Objective: | AE retrieves information of a pollingChannel resource via a Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.14<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.21.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource < pollingChannel > on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a < pollingChannel > | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of < pollingChannel > resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of < pollingChannel > resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.11.3 pollingChannel Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_41 |
| Objective: | AE updates attribute in pollingChannel resource via a Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.15<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.21.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a pollingChannel Update Request to update the lifetime of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of < pollingChannel > resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated < pollingChannel > resource |
| 3 | IOP Check | Check if possible that the < pollingChannel > resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of < pollingChannel > resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.11.3 pollingChannel Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_41 |
| Objective: | AE updates attribute in pollingChannel resource via a Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.15<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.21.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a pollingChannel Update Request to update the lifetime of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of < pollingChannel > resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated < pollingChannel > resource |
| 3 | IOP Check | Check if possible that the < pollingChannel > resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of < pollingChannel > resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.11.4 pollingChannel Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_42 |
| Objective: | AE deletes a pollingChannel resource via a Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.16<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.21.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a subscription Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of < pollingChannel > resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the < pollingChannel > resource is deleted in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the < pollingChannel > resource has been removed in registrar CSE | |
| 6 | IOP Check | AE indicates successful operation |
8.1.11.5 Long Polling on a PollingChannel Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_43 |
| Objective: | AE retrieves information of a pollingChannel resource via a Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.5.18<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.22.2.2 |
Pre-test conditions:
A pollingChannel resource < pollingChannel > has been created in application <AE> on the Registrar CSE
A subscription to a <container> resource has been created using the <pollingChannel> as a notificationURI in the subscription
A single <contentInstance> resource is created in the subscribed to resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a pollingChannelURI Retrieve Request for <pollingChannelURI> | |
| 2 | Mca |
PRO Check Primitive | Sent RETRIEVE request contains: • To : <CSEBase>/<AE>/<pollingChannel>/pollingChannelURI • Fr : AE-ID |
| 3 | Mca |
PRO Check Primitive | Sent RETRIEVE response contains: • To : AE-ID • Fr : CSE-ID • Response Status Code : OK • Cn: pending Notification request |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | Repeat steps 1-2. There is no pending request. When the Request Expiration Timestamp expires Registrar sends response indicating "REQUEST_TIMEOUT" | ||
| 6 | Mca |
PRO Check Primitive | Sent RETRIEVE response contains: • To : AE-ID • Fr : CSE-ID • Response Status Code : REQUEST_TIMEOUT |
8.1.12 FanoutPoint Management
8.1.12.1 FanoutPoint Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_44 |
| Objective: | AE creates a <contentInstance> resource in each group member |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.6<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.3.1 |
Pre-test conditions:
A group is created containing 2 members of type <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Create Request to create <contentInstance> in each group member | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/{group}/fopt • fr = AE-ID • rqi = (token-string) • ty = 4 (contentInstance) • pc = Serialized representation of <contentInstance> resource |
| 3 | IOP Check | Check if possible that the <contentInstance> resource is created in each member hosting CSE | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = aggregated response |
| 5 | IOP Check | AE indicates successful operation |
IOP Verdict:
Verify that the aggregate response includes responses from each member of the group
8.1.12.2 FanoutPoint Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_45 |
| Objective: | AE retrieves the <container> resource from in each group member |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.7<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.3.2 |
Pre-test conditions:
A group is created containing 2 members of type <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request to the fanoutPoint of <group> resource | |
| 2 |
Check Mca |
PRO Check Primitive |
• op = 2 (Retrieve) • to = {CSEBaseName}/{group}/fopt • fr = AE-ID • rqi = (token-string) |
| 3 | IOP Check | ||
| 4 |
Check Mca |
PRO Check Primitive |
• rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = aggregated response |
| 5 | IOP Check | AE indicates successful operation | |
| IOP Verdict | Verify that the aggregate response includes responses from each member of the group | ||
| PRO Verdict | |||
IOP Verdict:
Verify that the aggregate response includes responses from each member of the group
8.1.12.3 FanoutPoint Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_46 |
| Objective: | AE updates an <container> resource of each member resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.8<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.3.3 |
Pre-test conditions:
A group is created containing 2 members of type <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Update Request to the fanoutPoint of <group> resource to lifetime of the resource | |
| 2 | Check Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{group}/fopt • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <container> resource |
| 3 | IOP Check | Check if possible that both of the <container> resources have been updated in registrar CSE | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2004 (CHANGED) • rqi = (token-string) same as received in request message • pc = aggregated response |
| 5 | IOP Check | AE indicates successful operation |
IOP Verdict:
Verify that the aggregate response includes responses from each member of the group
8.1.12.4 FanoutPoint Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_47 |
| Objective: | AE deletes a <container> of each member |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.9<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.3.4 |
Pre-test conditions:
A group is created containing 2 members of type <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Delete 'oldest' Request to the fanoutPoint of <group> resource | |
| 2 | Check Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/{group}/fopt • fr = AE-ID • rqi = (token-string) |
| 3 | Check Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = aggregated response |
| 4 | Verify | Check if possible that the oldest <contentInstance> resource has been removed in registrar CSE | |
| 5 | Verify | AE indicates successful operation |
IOP Verdict:
Verify that the aggregate response includes responses from each member of the group
8.1.13 Notification Management
8.1.13.1 Notification
Interoperability Test Description
| Identifier: | TD_M2M_NH_48 |
| Objective: | AE receives a notification request from the HOST CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.1 |
Pre-test conditions:
AE1 has created an application resource <AE> on registrar CSE
AE1 has created a container resource <container> on registrar CSE
AE1 has created a <subscription> as a child resource of a <container>
AE2 has created an application resource <AE> on registrar CSE
AE2 has permissions to UPDATE the container created by AE1
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Update request to the <container> created by AE1. This triggers or causes the HOST CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = notificationURI of subscription resource • from = Registrar CSE-ID rqi = (token-string) • pc = Serialized representation of Notification data object |
| 3 | IOP Check | Check if the notification representation | |
| 4 | Check Mca |
PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 5 | IOP Check | AE1 indicates notification received |
8.1.13.2 Update Notification
Interoperability Test Description
| Identifier: | TD_M2M_NH_80 |
| Objective: | AE2 sends maxNrOfInstances UPDATE request to <container> which has been set to subscribed-to resource. Since <subscription> resource has specific setting in eventNotificationCriteria, Hosting CSE send notification to AE1 |
| Configuration: | M2M_CFG_10 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.19 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE1 has created a <container> resource on registrar CSE
AE1 has created <subscription> resources under the <container> resource. AE1 has set attribute of eventNotificationCriteria to a specific condition (e.g. maxNrOfInstances in this scenario) and notificationEventType set to 1(Update of Resource)
AE2 has permissions to UPDATE the <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Update Request to the <container>. This triggers or causes the Hosting CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 3 (Update) • to = ID of <container> resource • from = AE2-ID • rqi = (token-string) • pc = Serialized representation of maxNrOfInstances update |
| 3 | IOP Check | Hosting CSE successfully updated mxNrOfInsatnce of the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource |
| 5 | IOP Check | AE2 successfully received response of Update request | |
| 6 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = ID of <subscription> resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notify request which contain notificationEventType equal to 1(Update of Resource) |
| 7 | IOP Check | AE1 successfully received Notify request | |
| 8 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | IOP Check | Hosting CSE successfully received response of Notify request | |
| 10 | Check Mca |
PRO Check Primitive | • op = 3 (Update) • to = ID of <container> resource • from = AE2-ID • rqi = (token-string) • pc = Serialized representation of labels update(can be any other attribute) |
| 11 | IOP Check | Hosting CSE successfully updated labels of the <container> resource | |
| 12 | Check Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource |
| 13 | IOP Check | AE2 successfully received response of Update request, notify request will not be sent |
IOP Verdict:
Check that the notification is only sent when there is update of maxNrOfInstances due to setting of the eventNotificationCriteria
8.1.13.3 Delete Notification
Interoperability Test Description
| Identifier: | TD_M2M_NH_81 |
| Objective: | AE2 sends DELETE request to <container> which has been set to subscribed-to resource. Since <subscription> resource has notificationEventType with 'Delete of Resource', Hosting CSE send notification to AE1 |
| Configuration: | M2M_CFG_10 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.19 |
Pre-test conditions:
AE2 has permissions to UPDATE the <container>
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE1 has created a <container> resource on registrar CSE
AE1 has created a <subscription> under the <container> resource, with notificationEventType set to 2(Delete of Resource)
AE2 has permissions to DELETE the <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Delete Request to the <container>. This triggers or causes the Hosting CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 4 (Delete) • to = ID of <container> resource • fr = AE2-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Hosting CSE successfully deleted the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | AE2 successfully received response of Delete request | |
| 6 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = ID of <subscription> resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notify request which contain notificationEventType equal to 2(Delete of Resource) |
| 7 | IOP Check | AE1 successfully received Notify request | |
| 8 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | IOP Check | Hosting CSE successfully received response of Notify request |
8.1.13.4 Creation of Direct Child Resource Notification
Interoperability Test Description
| Identifier: | TD_M2M_NH_82 |
| Objective: | AE2 sends <contentInstance> CREATE request to <container> which has been set to subscribed-to resource. Since <subscription> resource has notificationEventType with 'Create of Direct Child Resource', Hosting CSE send notification to AE1 |
| Configuration: | M2M_CFG_10 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.19 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE1 has created a <container> resource on registrar CSE
AE1 has created a <subscription> under the <container> resource, with notificationEventType set to 3(Create of Direct Child Resource)
AE2 has permissions to CREATE child resource under the <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Create Request of <contentInstance> resource to the <container> resource. This triggers or causes the Hosting CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = ID of <container> resource • fr = AE2-ID • rqi = (token-string) • ty = 4 (contentInstance) • pc = Serialized representation of <contentInstance> resource |
| 3 | IOP Check | Hosting CSE successfully created the <contentInstance> resource under the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <contentInstance> resource |
| 5 | IOP Check | AE2 successfully received response of Create request | |
| 6 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = ID of <subscription> resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notify request which contain notificationEventType equal to 3(Create of Direct Child Resource) |
| 7 | IOP Check | AE1 successfully received Notify request | |
| 8 | Check Mca |
PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | IOP Check | Hosting CSE successfully received response of Notify request |
Note
8.1.13.5 Deletion of Direct Child Resource Notification
Interoperability Test Description
| Identifier: | TD_M2M_NH_83 |
| Objective: | AE2 sends DELETE request to the <contentInstance> which is located under the subscribed-to resource. Since <subscription> resource has notificationEventType with 'Delete of Direct Child Resource', Hosting CSE send notification to AE1 |
| Configuration: | M2M_CFG_10 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.19 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE1 has created a <container> resource on registrar CSE
AE1 has created a <contentInstance> as a child resource of <container> created by AE1
AE1 has created a <subscription> under the <container> resource, with notificationEventType set to 4(Delete of Direct Child Resource)
AE2 has permissions to DELETE the <contentInstance>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Delete Request to the <contentinstance>. This triggers or causes the Hosting CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 4 (Delete) • to = ID of <contentInstance> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Hosting CSE successfully deleted the <contentInstance> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | AE2 successfully received response of Delete request | |
| 6 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = ID of <subscription> resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notify request which contain notificationEventType equal to 4(Delete of Direct Child Resource) |
| 7 | IOP Check | AE1 successfully received Notify request | |
| 8 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | IOP Check | Hosting CSE successfully received response of Notify request |
8.1.13.6 Notifcation Aggregation
Interoperability Test Description
| Identifier: | TD_M2M_NH_89 |
| Objective: | AE creates <subscription> resources by sending Create Request to the fanOutPoint.<br />Since AE has set notifyAggregation to 2, Hosting CSE aggregate notification and send aggregated notification to AE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.7.11<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.14.2.4 |
Pre-test conditions:
CSEBase resource has been created in registrar CSE with name {CSEBaseName}
AE has created two <container> resources on registrar CSE
AE has created a <group> resource with memberIDs set to two <container> resources. AE has set number in notifyAggregation to 2
AE has created <subscription> resources under the members of <group> resources by sending Create Request to the fanOutPoint. AE has set notificationForwardingURI and notificationEventType set to 3(Create of Direct Child Resource)
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Create Request of <contentInstance> resource to the fanOutPoint | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/{group}/fopt • fr = AE-ID • rqi = (token-string) • ty = 4 (contentInstance) • pc = Serialized representation of <subscription> resource |
| 3 | IOP Check | Hosting CSE successfully created the <contentInstance> resources in each member | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = aggregated response |
| 5 | IOP Check | AE successfully received converged response | |
| 6 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = ID of <subscription> resource • from = Registrar CSE-ID • rqi = (token-string) • pc = aggregated Notify request which contain the occurrence of child resource creation |
| 7 | IOP Check | AE successfully received aggregated Notify request | |
| 8 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | IOP Check | Group Hosting CSE successfully received response of Notify request |
IOP Verdict:
Check that the response is aggregated by the group Hosting CSE and successfully parse to AE
8.1.14 FlexContainer Management
8.1.14.1 FlexContainer Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_52 |
| Objective: | AE creates a flexContainer resource in Registrar CSE via a flexContainer Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.16, 9.6.35<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.37.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a <flexContainer> | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 28 (flexContainer) • pc = Serialized representation of <flexContainer> resource |
| 3 | IOP Check | Check if possible that the <flexContainer> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <flexContainer> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.14.2 FlexContainer Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_53 |
| Objective: | AE retrieves information of a flexContainer resource via a flexContainer Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clauses 10.2.4.17, 9.6.35<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.37.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a flexContainer resource <flexContainer> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <flexContainer> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <flexContainer> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <flexContainer> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.14.3 FlexContainer Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_54 |
| Objective: | AE updates attribute in application resource via a flexContainer Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clauses 10.2.4.18, 9.6.35<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.37.2.3 |
| Pre-testconditions: |
|
|||
| Test Sequence | ||||
| Step | RP | Type | Description | |
| 1 | Stimulus | AE is requested to send a flexContainer Update request to update any customAttribute of the resource |
||
| 2 |
Mca |
PRO Check Primitive |
|
|
| 3 | IOP Check | Check that the <flexContainer> resource is updated in the Registrar CSE | ||
| 4 |
Mca |
PRO Check Primitive |
|
|
| 5 | IOP Check | AE indicates successful operation | ||
8.1.14.4 FlexContainer Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_55 |
| Objective: | AE deletes a specific container resource via a container Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clauses 10.2.4.19, 9.6.35<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.37.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a flexContainer resource <flexContainer> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a flexContainer Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <flexContainer> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <flexContainer> resource is deleted in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <flexContainer> resource has been removed in Registrar CSE | |
| 6 | IOP Check | AE indicates successful operation |
8.1.14.5 Notification Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_56 |
| Objective: | AE receives a notification request on flexContainer update from the HOST CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clauses 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.1 |
Pre-test conditions:
AE1 has created an application resource <AE> on Registrar CSE
AE1 has created a flexContainer resource <flexContainer> on Registrar CSE
AE1 has created a <subscription> as a child resource of a <flexContainer>
AE2 has created an application resource <AE> on Registrar CSE
AE2 has permissions to UPDATE customAttributes of flexContainer
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a update request to <flexContainer> for updating customAttribute. This triggers or causes the HOST CSE to send a notification to AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = notificationURI of subscription resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notification data object |
| 3 | IOP Check | Check if the notification representation | |
| 4 | Check Mca |
PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 5 | IOP Check | AE1 indicates notification received |
8.1.14.6 Discovery with attribute filter criteria over customAttributes
Interoperability Test Description
| Identifier: | TD_M2M_NH_57 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using attribute filter criteria which has a customAttribute name and value assigned to it. |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clauses 10.2.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.14 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a flexContainer resource <flexContainer> on Registrar CSE with customAttribute set to a specific value "x", created on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Discovery request in order to discover the <Container> resource using attribute filter criteria | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • fu=1 • atr=<nm>,<val> • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE sends response containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the address of the <flexContainer> address |
| 4 | IOP Check | AE indicates successful operation |
8.1.15 External Management Operations Management
8.1.15.1 mgmtCmd Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_63 |
| Objective: | AE creates a mgmtCmd resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.8<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.16.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a mgmtCmd Create Request | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 12 (mgmtCmd) • pc = Serialized representation of <mgmtCmd> resource |
| 3 | IOP Check | Check if possible that the <mgmtCmd> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <mgmtCmd> resource |
| 5 | IOP Check | AE indicates successful operation |
IOP Verdict:
Set verdict to pass if IOP check goal is achieved exactly, otherwise verdict fail is set with corresponding error message.
8.1.15.2 mgmtCmd Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_64 |
| Objective: | AE retrieves mgmtCmd resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.9<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.16.2.2 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a mgmtCmd Retrieve Request | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (RETRIEVE) • to = {CSEBaseName}/{mgmtCmd} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <mgmtCmd> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.15.3 mgmtCmd Update (Normal)
Interoperability Test Description
| Identifier: | TD_M2M_NH_65 |
| Objective: | AE updates attribute (not with 'true' in execEnable attribute) in mgmtCmd resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.10<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.16.2.3.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a mgmtCmd Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{mgmtCmd} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <mgmtCmd> resource |
| 3 | IOP Check | Check if possible that the <mgmtCmd> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <mgmtCmd> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.15.4 mgmtCmd Update (Execute)
Interoperability Test Description
| Identifier: | TD_M2M_NH_66 |
| Objective: | AE updates attribute (with 'true' in execEnable attribute) in mgmtCmd resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.12<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.16.2.3.2 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a mgmtCmd Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{mgmtCmd} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <mgmtCmd> resource |
| 3 | IOP Check | Check if possible that the <mgmtCmd> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <mgmtCmd> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.15.5 mgmtCmd Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_67 |
| Objective: | AE deletes mgmtCmd resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.11<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.16.2.4 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a mgmtCmd Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (DELETE) • to = {CSEBaseName}/{mgmtCmd} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message |
| 4 | IOP Check | Check if possible that the <mgmtCmd> resource is deleted in Registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.15.6 execInstance Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_68 |
| Objective: | AE retrieves execInstance resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.20<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.17.2.2 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
AE has executed the mgmtCmd resource <mgmtCmd> on Registrar CSE (update execEnable attribute with 'true')
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a execInstance Retrieve Request | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (RETRIEVE) • to = {CSEBaseName}/{mgmtCmd}/{execInstance} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <execInstance> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.15.7 execInstance Update (Cancel)
Interoperability Test Description
| Identifier: | TD_M2M_NH_69 |
| Objective: | AE updates attribute 'execDisable' to true in execInstance resource to cancel pending management command. |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.19<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.17.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
AE has executed the mgmtCmd resource <mgmtCmd> on Registrar CSE (update execEnable attribute with 'true')
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a execInstance Update Request | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/{mgmtCmd}/{execInstance} • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of <execInstance> resource |
| 3 | IOP Check | Check if possible that the <execInstance> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (UPDATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <execInstance> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.15.8 execInstance Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_70 |
| Objective: | AE deletes execInstance resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.8.21<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.17.2.3 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a node resource <node> on Registrar CSE
AE has created a mgmtCmd resource <mgmtCmd> on Registrar CSE
AE has executed the mgmtCmd resource <mgmtCmd> on Registrar CSE (update execEnable attribute with 'true')
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send an execInstance Delete request | |
| 2 | Mca | PRO Check Primitive | • op = 4 (DELETE) • to = {CSEBaseName}/{mgmtCmd}/{execInstance} • fr = AE-ID • rqi = (token-string) |
| 3 | Mca | PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message |
| 4 | IOP Check | Check that the <execInstance> resource is deleted in the Registrar CSE | |
| 5 | IOP Check | AE indicates successful operation |
8.1.16 SemanticDescriptor Management
8.1.16.1 SemanticDescriptor Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_75 |
| Objective: | AE creates a SemanticDescriptor resource in Registrar CSE via a SemanticDescriptor Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0034 <a href="#_ref_13">[13]</a>, clause 6.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.34.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
AE has created a container resource <container> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a <semanticDescriptor> | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of < container > resource • fr = AE-ID • rqi = (token-string) • ty = 24 (semanticDescriptor) • pc = Serialized representation of <semanticDescriptor> resource |
| 3 | IOP Check | Check if possible that the <semanticDescriptor> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <semanticDescriptor> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.16.2 SemanticDescriptor Retrieve
Interoperabili1ty Test Description
| Identifier: | TD_M2M_NH_76 |
| Objective: | AE retrieves information of a semanticDescriptor resource via a semanticDescriptor Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0034 <a href="#_ref_13">[13]</a>, clause 6.1.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.34.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a semanticDescriptor resource <semanticDescriptor> as child resource of <AE> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <semanticDescriptor> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <semanticDescriptor> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <semanticDescriptor> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.16.3 SemanticDescriptor Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_77 |
| Objective: | AE updates attribute in <semanticDescriptor> resource via a semanticDescriptor Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0034 <a href="#_ref_13">[13]</a>, clause 6.1.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.34.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a semanticDescriptor resource <semanticDescriptor> as child resource of <AE> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a semanticDescriptor Update Request to update the descriptor attribute of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <semanticDescriptor> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <semanticDescriptor> resource |
| 3 | IOP Check | Check if possible that the <semanticDescriptor> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <semanticDescriptor> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.16.4 SemanticDescriptor Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_78 |
| Objective: | AE deletes SemanticDescriptor resource via a SemanticDescriptor Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0034 <a href="#_ref_13">[13]</a>, clause 6.1.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.34.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a semanticDescriptor resource <semanticDescriptor> as child of <AE> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a semanticDescriptor Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <semanticDescriptor> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <semanticDescriptor> resource is deleted in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <semanticDescriptor> resource has been removed in Registrar CSE | |
| 6 | IOP Check | AE indicates successful operation. |
8.1.17 Semantic Resource Discovery
8.1.17.1 Discovery with semanticFilter filter criteria
Interoperability Test Description
| Identifier: | TD_M2M_NH_79 |
| Objective: | AE discovers accessible resources residing in Registrar CSE using the semanticFilter filter criteria |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0034 <a href="#_ref_13">[13]</a>, clause 7.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.3.3.18 |
Pre-test conditions:
AE1 has created an application resource <AE> on Registrar CSE
AE1 has created a container resource <container> on Registrar CSE
AE1 has created a <semanticDescriptor> as a child resource of a <container>
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE1 is requested to send a Discovery request to discover the <container> resource using the semanticFilter filterCriteria | |
| 2 | Check Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName} • from = AE-ID • rqi = (token-string) • fu=1 • smf=sparqlQuery1 • pc = empty |
| 3 | Check Mca |
PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of data object containing the <Container> address |
| 4 | IOP Check | AE1 indicates notification received |
8.1.18 ResultContent
8.1.18.1 ResultContent=0
Interoperability Test Description
| Identifier: | TD_M2M_NH_84 |
| Objective: | Check creation of <container> resource with result content set to 0(nothing) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.7 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a <container> resource Create Request to the Registrar CSE with rcn=0 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 3 (container) • rcn = 0 • pc = Serialized representation of <container> resource which contain {containerName} as a rn |
| 3 | IOP Check | Hosting CSE successfully created the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message |
| 5 | IOP Check | AE successfully received response of Create request |
IOP Verdict:
Check that the response body does not include any message
8.1.18.2 ResultContent=1
Interoperability Test Description
| Identifier: | TD_M2M_NH_85 |
| Objective: | Check creation of <container> resource with result content set to 1(attributes) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.7 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a <container> resource Create Request to the Registrar CSE with rcn=1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 3 (container) • rcn = 1 • pc = Serialized representation of <container> resource |
| 3 | IOP Check | Hosting CSE successfully created the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource which contain attributes |
| 5 | IOP Check | AE successfully received response of Create request |
IOP Verdict:
Check that the response body include attributes
8.1.18.3 ResultContent=2
Interoperability Test Description
| Identifier: | TD_M2M_NH_86 |
| Objective: | Check creation of <container> resource with result content set to 2(hierarchical address) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.7 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a <container> resource Create Request to the Registrar CSE with rcn = 2 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 3 (container) • rcn = 2 • pc = Serialized representation of <container> resource |
| 3 | IOP Check | Hosting CSE successfully created the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Hierarchical address of <container> resource |
| 5 | IOP Check | AE successfully received response of Create request |
IOP Verdict:
Check that the response body include hierarchical address
8.1.18.4 ResultContent=3
Interoperability Test Description
| Identifier: | TD_M2M_NH_87 |
| Objective: | Check creation of <container> resource with result content set to 3(hierarchical address and attributes) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.7 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a <container> Create Request to the Registrar CSE with rcn=3 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 3 (container) • rcn = 3 • pc = Serialized representation of <container> resource |
| 3 | IOP Check | Hosting CSE successfully created the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> resource with hierarchical address |
| 5 | IOP Check | AE successfully received response of Create request |
IOP Verdict:
Check that the response body include hierarchical address and attributes
8.1.18.5 ResultContent=4
Interoperability Test Description
| Identifier: | TD_M2M_NH_88 |
| Objective: | Check retrievability of <container> resource with result content set to 4 (attributes and child resources) |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 8.1.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 6.3.4.2.7 |
Pre-test conditions:
CSEBase resource has been created in CSE with name {CSEBaseName}
AE has created a <container> resource on registrar CSE
AE has created two <contentInstance> resources under the <container> resources
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a <container> Retrieve Request to the Registrar CSE with rcn=4 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = ID of <container> resource • fr = AE-ID • rqi = (token-string) • rcn = 4 |
| 3 | IOP Check | Hosting CSE successfully received Retrieve request of the <container> resource | |
| 4 | Check Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <container> and child resources |
| 5 | IOP Check | AE successfully received response of Retrieve request |
IOP Verdict:
Check that the response body include attributes and child resources
8.1.19 timeSeries Management
8.1.19.1 timeSeries Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_90 |
| Objective: | AE creates a <timeSeries> resource in registrar CSE via a Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.21<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.38.2.1 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Create Request of the <timeSeries> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <AE> resource • fr = AE-ID • qi = (token-string) • ty = 29 (timeSeries) • pc = Serialized representation of <timeSeries> resource |
| 3 | IOP Check | Registrar CSE successfully created the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeries> resource |
| 5 | IOP Check | AE successfully received response of Create Request |
8.1.19.2 timeSeries Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_91 |
| Objective: | AE retrieves information of a <timeSeries> resource via a Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.22<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.38.2.2 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSereis> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request of the <timeSeries> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <timeSeries> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Registrar CSE successfully received Retrieve Request of the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeries> resource |
| 5 | IOP Check | AE successfully received response of Retrieve Request |
8.1.19.3 timeSeries Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_92 |
| Objective: | AE updates attribute in <timeSeries> resource via a Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.23<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.38.2.3 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSereis> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Update Request to the <timeSeries> resource to update the maxNrOfInstances | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <timeSeries> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of maxNrOfInstances update(can be any other attribute) |
| 3 | IOP Check | Registrar CSE successfully updated the maxNrOfInstances of the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeries> resource |
| 5 | IOP Check | AE successfully received response of Update Request |
8.1.19.4 timeSeries Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_93 |
| Objective: | AE deletes a <timeSeries> resource via a Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.24<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.38.2.4 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSeries> resource on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Delete Request of the <timeSeries> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <timeSeries> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Registrar CSE successfully deleted the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | AE successfully received response of Delete Request |
8.1.20 timeSeriesInstance Management
8.1.20.1 timeSeriesInstance Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_94 |
| Objective: | AE sends Create Request of a <timeSeriesInstance> resource to a <timeSeries> resource in Registrar CSE. Registrar CSE creates the <timeSeriesInstance> resource and updates the parent <timeSeries> resource with currentNrOfInstances and currentByteSize attributes correspondingly |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.25<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.39.2.1 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSeries> resource on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Create Request of the <timeSeriesInstance> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <timeSeries> resource • fr = AE-ID • rqi = (token-string) • ty = 30 (timeSeriesInstance) • pc = Serialized representation of <timeSeriesInstance> resource |
| 3 | IOP Check | Registrar CSE successfully created <timeSeriesInstance> resource and updated currentNrOfInstances and currentByteSize of the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeriesInstance> resource |
| 5 | IOP Check | AE successfully received response of Create Request |
8.1.20.2 timeSeriesInstance Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_95 |
| Objective: | AE retrieves information of a <timeSeriesInstance> resource via a Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.26<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.39.2.2 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSeries> resource on registrar CSE
AE has created a <timeSeriesInstance> resource as child resource of the <timeSeries> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <timeSeriesInstance> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <timeSeriesInstance> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Registrar CSE successfully received Retrieve Request of the <timeSeriesInstance> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeriesInstance> resource |
| 5 | IOP Check | AE successfully received response of Retrieve Request |
8.1.20.3 timeSeriesInstance Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_96 |
| Objective: | AE sends Delete Request of a <timeSeriesInstance> resource in Registrar CSE. Registrar CSE delete the <timeSeriesInstance> resource and updates the parent <timeSeries> resource with currentNrOfInstances and currentByteSize attributes correspondingly |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.28<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.39.2.4 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSeries> resource on registrar CSE
AE has created a <timeSeriesInstance> resource as child resource of the <timeSeries> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Delete Requeest a <timeSeriesInstance> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <timeSeriesInstance> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Registrar CSE successfully deleted <timeSeriesInstance> resource and updated currentNrOfInstances and currentByteSize of the <timeSeries> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | AE successfully received response of Delete Request |
8.1.20.4 timeSeriesInstance Create when currentNrOfInstance equals to maxNrOfInstances in parent <timeSeries> resource
Interoperability Test Description
| Identifier: | TD_M2M_NH_97 |
| Objective: | AE sends a <timeSeriesInstance> resource Create Request to a <timeSeries> resource which contains currentNrOfInstances value equals to that of maxNrOfInstances and Registrar CSE deletes the oldest <timeSeriesInstance> resource from the <timeSeries> resource and then creates the requested <timeSeriesInstance> resource |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.25<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.38.2.1 |
Pre-test conditions:
AE has created a <AE> resource on Registrar CSE
AE has created a <timeSeries> resource on registrar CSE
AE has created several <timeSeriesInstance> resources and currentNrOfInstances of the <timeSeries> resource reach the maxNrOfInstances
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Create Request of the <timeSeriesInstance> resource | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName}/URI of <timeSeries> resource • fr = AE-ID • rqi = (token-string) • ty = 30 (timeSeriesInstance) • pc = Serialized representation of <timeSeriesInstance> resource |
| 3 | IOP Check | Registrar CSE successfully deleted <timeSeriesInstance> resource with the oldest dataGenerationTime and created <timeSeriesInstance> resource | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <timeSeriesInstance> resource |
| 5 | IOP Check | AE successfully received response of Create Request |
8.1.21 Location Management
8.1.21.1 LocationPolicy Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_98 |
| Objective: | AE creates a <locationPolicy> resource in registrar CSE via a locationPolicy Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.9.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.10.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a <locationPolicy> | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 10 (LocationPolicy) • pc = Serialized representation of <locationPolicy> resource |
| 3 | IOP Check | Check if possible that the <locationPolicy> resource is created in registrar CSE Check if possible that the <container> resource is created on registrar CSE having its resourceID and locationID attribute set to locationContainerID and resourceID attribute of the <locationPolicy> resource respectively |
|
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <locationPolicy> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.21.2 LocationPolicy Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_99 |
| Objective: | AE retrieves information of a <locationPolicy> resource via a locationPolicy Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.9.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.10.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a locationPolicy resource <locationPolicy> on Registrar CSE
AE has created a container resource <container> on Registrar CSE having its resourceID and locationID attribute set to locationContainerID and resourceID attribute of the <locationPolicy> resource respectively
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <locationPolicy> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <locationPolicy> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <locationPolicy> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.21.3 LocationPolicy Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_100 |
| Objective: | AE updates attribute in <locationPolicy> resource via a locationPolicy Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.9.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.10.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a locationPolicy resource <locationPolicy> on Registrar CSE
AE has created a container resource <container> on Registrar CSE having its resourceID and locationID attribute set to locationContainerID and resourceID attribute of the <locationPolicy> resource respectively
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a locationPolicy Update Request to update the lifetime of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <locationPolicy> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <locationPolicy> resource |
| 3 | IOP Check | Check if possible that the < locationPolicy > resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <locationPolicy> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.21.4 LocationPolicy Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_101 |
| Objective: | AE deletes a specific <locationPolicy> resource via a locationPolicy Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.9.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.10.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a locationPolicy resource <locationPolicy> on Registrar CSE
AE has created a container resource <container> on Registrar CSE having its resourceID and locationID attribute set to locationContainerID and resourceID attribute of the <locationPolicy> resource respectively
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a locationPolicy Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <locationPolicy> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <locationPolicy> resource is deleted in registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <locationPolicy> resource has been removed in registrar CSE | |
| 6 | IOP Check | Check if possible that the associated resources (e.g. <container>, <contentInstance> resources) are removed from the registrar CSE | |
| 7 | IOP Check | Check if possible that if the locationSource attribute and the locationUpdatePeriod attribute of the <locationPolicy> resource were set with appropriate value, the session with underlying network are torn down | |
| 8 | IOP Check | AE indicates successful operation |
8.1.22 Schedule management
8.1.22.1 Schedule Create
Interoperability Test Description
| Identifier: | TD_M2M_NH_155 |
| Objective: | AE creates a <schedule> resource in Registrar CSE via a Schedule Create Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.17.2<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.9.2.1 |
Pre-test conditions:
AE has created an application resource <AE> on Registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE sends a request to create a <schedule> | |
| 2 | Mca |
PRO Check Primitive | • op = 1 (Create) • to = {CSEBaseName} • fr = AE-ID • rqi = (token-string) • ty = 18 (schedule) • pc = Serialized representation of <schedule> resource |
| 3 | IOP Check | Check if possible that the <schedule> resource is created in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2001 (CREATED) • rqi = (token-string) same as received in request message • pc = Serialized representation of <schedule> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.22.2 Schedule Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NH_156 |
| Objective: | AE retrieves information of a <schedule> resource via a schedule Retrieve Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.17.3<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.9.2.2 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a schedule resource <schedule> as child resource of <CSEBase> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a Retrieve Request for a <schedule> | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <schedule> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | Mca |
PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = Serialized representation of <schedule> resource |
| 4 | IOP Check | AE indicates successful operation |
8.1.22.3 Schedule Update
Interoperability Test Description
| Identifier: | TD_M2M_NH_157 |
| Objective: | AE updates attribute in <schedule> resource via a schedule Update Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.17.4<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.9.2.3 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a schedule resource <schedule> as child resource of <AE> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a schedule Update Request to update an attribute of the resource | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <schedule> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <schedule> resource |
| 3 | IOP Check | Check if possible that the <schedule> resource is updated in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <schedule> resource |
| 5 | IOP Check | AE indicates successful operation |
8.1.22.4 Schedule Delete
Interoperability Test Description
| Identifier: | TD_M2M_NH_158 |
| Objective: | AE deletes <schedule> resource via a Schedule Delete Request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.17.5<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.9.2.4 |
Pre-test conditions:
AE has created an Application Entity resource <AE> on Registrar CSE
AE has created a <schedule> resource as child of <AE> resource
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a schedule Delete Request | |
| 2 | Mca |
PRO Check Primitive | • op = 4 (Delete) • to = {CSEBaseName}/URI of <schedule> resource • fr = AE-ID • rqi = (token-string) • pc = empty |
| 3 | IOP Check | Check if possible that the <schedule> resource is deleted in Registrar CSE | |
| 4 | Mca |
PRO Check Primitive | • rsc = 2002 (DELETED) • rqi = (token-string) same as received in request message • pc = empty |
| 5 | IOP Check | Check if possible that the <schedule> resource has been removed in Registrar CSE | |
| 6 | IOP Check | AE indicates successful operation |
8.1.22.5 Notification to AE with configured Schedule resource
Interoperability Test Description
| Identifier: | TD_M2M_NH_159 |
| Objective: | CSE sends a notification request to the AE when <schedule> resource is configured |
| Configuration: | M2M_CFG_10 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 9.6.9, 10.2.12<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.1 |
Pre-test conditions:
AE1 has created an application resource <AE> on registrar CSE
AE1 has created a container resource <container> on registrar CSE
AE1 has created a <subscription> as a child resource of a <container>
AE1 has created a <schedule> as a child resource of a <subscription>
AE2 has created an application resource <AE> on registrar CSE
AE2 has permissions to UPDATE the container created by AE1
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a Update request to the <container> created by AE1 | |
| 2 | Check Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of updated <container> resource |
| 3 | IOP Check | The HOST CSE prepares a notification to AE1 and sends it within the time window indicated in scheduleElement attribute of <schedule> resource | |
| 4 | Check Mca |
PRO Check Primitive | • op = 5 (Notify) • to = notificationURI of subscription resource • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notification data object |
| 5 | Check Mca |
PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 6 | IOP Check | Check that AE1 has received the notification within the time window indicated in scheduleElement attribute of <schedule> resource |