8.2 Non-blocking configuration testing
8.2.1 Synchronous request
8.2.1.1 Container management
8.2.1.1.1 Container Create
Interoperability Test Description
| Identifier: | TD_M2M_NB_01 |
| Objective: | AE creates a <Container> resource using non-blocking synchronous request in registrar CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking synchronous request to create a <Container> resource in registrar CSE | |
| 2 | Mca | PRO Check Primitive | Sent request contains: • op = 1 (Create) • to = {CSEBaseName} • fr= AE-ID • rqi = (token-string) • rt = 1 (non-blocking synchronous) • ty = 3 (container) • pc = Serialized Representation of the <Container> resource |
| 3 | Mca | PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | Stimulus | AE is requested to wait then send a retrieve request to <Request> reference | |
| 6 | Mca | PRO Check Primitive | Sent Retrieve request contains: • op = 2 (Retrieve) • to = <Request> reference • fr = AE-ID • rqi = (token-string) • pc = empty |
| 7 | Mca | PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = <Request> resource with the parameter "requestStatus" set to 1 (COMPLETED) and the "operationResult" parameter containing the <Container> resource |
| 8 | IOP Check | AE indicates successful operation |
8.2.1.1.2 Container Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NB_02 |
| Objective: | AE retrieves a <container> resource using non-blocking synchronous request from registrar CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource in registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking synchronous request to retrieve the <Container> resource from registrar CSE | |
| 2 | Mca | PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource • fr= AE-ID • rqi = (token-string) • rt = 1 (non-blocking synchronous) • pc = empty |
| 3 | Mca | PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | Stimulus | AE is requested to send a retrieve request to <Request> reference | |
| 6 | Mca | PRO Check Primitive | Sent Retrieve request contains: • op = 2 (Retrieve) • to = <Request> reference • fr = AE-ID • rqi = (token-string) • pc = empty |
| 7 | Mca | PRO Check Primitive | • rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = <Request> resource with the parameter "requestStatus" set to 1 (COMPLETED) and the "operationResult" parameter containing the <Container> resource |
| 8 | IOP Check | AE indicates successful operation |
8.2.1.1.3 Container Update
Interoperability Test Description
| Identifier: | TD_M2M_NB_03 |
| Objective: | AE updates a <Container> resource using non-blocking synchronous request in registrar CSE |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource in registrar CSE
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking synchronous request to update the <Container> resource | |
| 2 | Mca | PRO Check Primitive | Sent request contains: • op = 3 (Update) • to = {CSEBaseName}/URI of <Container> resource • fr= AE-ID • rqi = (token-string) • rt = 1 (non-blocking synchronous) • pc = Serialized Representation of the updated <Container> resource |
| 3 | Mca | PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | Stimulus | AE is requested to wait then send a retrieve request to <Request> reference | |
| 6 | Mca | PRO Check Primitive | Sent Retrieve request contains: • op = 2 (Retrieve) • to = <Request> reference • fr = AE-ID • rqi = (token-string) • pc = empty |
| 7 | Mca | PRO Check Primitive | rsc = 2000 (OK) • rqi = (token-string) same as received in request message • pc = <Request> resource with the parameter "requestStatus" set to 1 (COMPLETED) and the "operationResult" parameter containing the <Container> resource |
| 8 | IOP Check | AE indicates successful operation |
8.2.1.1.4 Container Delete
Interoperability Test Description
| Identifier: | TD_M2M_NB_04 |
| Objective: | AE deletes a Container resource using non-blocking synchronous request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource in registrar CSE
Test Sequence
| Test Sequence | +==========+========+======================+==========================================================================================================================================================================================================+ | Step | RP | Type | Description |
| 1 | Stimulus | AE is requested to send a non-blocking synchronous request to delete the <Container> resource | |
| 2 |
Mca |
PRO Check Primitive |
Sent request contains:
|
| 3 |
Mca |
PRO Check Primitive |
Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing:
|
| 4 | IOP Check | AE indicates successful operation | |
| 5 | Stimulus | AE is requested to send a retrieve request to <Request> reference | |
| 6 |
Mca |
PRO Check Primitive |
Sent Retrieve request contains:
|
| 7 |
Mca |
PRO Check Primitive |
Response contains:
|
| 8 | IOP Check | AE indicates successful operation |
8.2.2 Asynchronous request
8.2.2.1 Container management
8.2.2.1.1 Container Create
Interoperability Test Description
| Identifier: | TD_M2M_NB_05 |
| Objective: | AE creates a <Container> resource using non-blocking asynchronous request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE is reachable on the URI: "AE-Notification-URI"
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking asynchronous request to create the <Container> resource in registrar CSE | |
| 2 | Mca |
PRO Check Primitive | • Sent request contains: • op = 1 (Create) • to = {CSEBaseName} • fr= AE-ID • rqi = (token-string) • rt = 2 (non-blocking asynchronous) • ty = 3 (container) • nu= AE-Notification-URI • oneM2M-RQI: Request-ID •pc = Serialized Representation of the <Container> resource |
| 3 | Mca |
PRO Check Primitive | • Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | IOP Check | Registrar CSE sends notify request to AE | |
| 6 | Mca |
PRO Check Primitive | Sent request contains: • op = 5 (Notify) • to = AE-Notification-URI • fr = registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of notification data object |
| 7 | Mca |
PRO Check Primitive | AE sends notify response to Registrar CSE containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 8 | IOP Check | Registrar CSE indicates successful operation |
8.2.2.1.2 Container Retrieve
Interoperability Test Description
| Identifier: | TD_M2M_NB_06 |
| Objective: | AE retrieves a <container> resource using non-blocking asynchronous request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource on registrar CSE
AE is reachable on the URI: "AE-Notification-URI"
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking asynchronous request to retrieve the <Container> resource from registrar CSE | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 2 (Retrieve) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • rt = 2 (non-blocking asynchronous) • nu = AE-Notification-URI • pc = empty |
Mca |
PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
|
| 4 | IOP Check | AE indicates successful operation | |
| 5 | IOP Check | Registrar CSE sends notify request to AE | |
| 6 | Mca |
PRO Check Primitive | Sent request contains: • op = 5 (Notify) • to = AE-Notification-URI • fr = registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of notification data object |
| 7 | Mca |
PRO Check Primitive | AE sends notify response to Registrar CSE containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 8 | IOP Check | Registrar CSE indicates successful operation |
8.2.2.1.3 Container Update
Interoperability Test Description
| Identifier: | TD_M2M_NB_07 |
| Objective: | AE updates a <Container> resource using non-blocking asynchronous request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource on registrar CSE
AE is reachable on the URI: "AE-Notification-URI"
Test Sequence
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking asynchronous request to update the <Container> resource in registrar CSE | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 3 (Update) • to = {CSEBaseName}/URI of <Container> resource • fr = AE-ID • rqi = (token-string) • rt = 2 (non-blocking asynchronous) • nu = AE-Notification-URI • pc = Serialized Representation of the updated <Container> resource |
| 3 | Mca |
PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | IOP Check | Registrar CSE sends notify request to AE | |
| 6 | Mca |
PRO Check Primitive | Sent request contains: • op = 5 (Notify) • to = AE-Notification-URI • fr = registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of notification data object |
| 7 | Mca |
PRO Check Primitive | AE sends notify response to Registrar CSE containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 8 | IOP Check | Registrar CSE indicates successful operation |
8.2.2.1.4 Container Delete
Interoperability Test Description
| Identifier: | TD_M2M_NB_08 |
| Objective: | AE deletes a Container resource using non-blocking asynchronous request |
| Configuration: | M2M_CFG_01 |
| References: | oneM2M TS-0001 <a href="#_ref_1">[1]</a>, clause 10.2.4.1<br />oneM2M TS-0004 <a href="#_ref_2">[2]</a>, clause 7.4.6.2.1 |
Pre-test conditions:
AE has created a <Container> resource on registrar CSE
AE is reachable on the URI: "AE-Notification-URI"
Test Sequence
| r Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE is requested to send a non-blocking asynchronous request to delete the <Container> resource in registrar CSE | |
| 2 | Mca |
PRO Check Primitive | Sent request contains: • op = 4 (Delete) • to = {CSEBaseName}/URI of <container> resource • fr = AE-ID • rqi = (token-string) • rt = 2 (non-blocking asynchronous) • nu = AE-Notification-URI • pc = empty |
| 3 | Mca |
PRO Check Primitive | Registrar CSE creates an internal <Request> resource and sends acknowledgement response containing: • rsc = 1000 (Accepted) • rqi = token-string) same as received in request message • pc = Reference to the created <Request> resource |
| 4 | IOP Check | AE indicates successful operation | |
| 5 | IOP Check | Registrar CSE sends notify request to AE | |
| 6 | Mca |
PRO Check Primitive | Sent request contains: • op = 5 (Notify) • to = AE-Notification-URI • fr = registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of notification data object |
| 7 | Mca |
PRO Check Primitive | AE sends notify response to Registrar CSE containing: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 8 | IOP Check | Registrar CSE indicates successful operation |