CoAP Version is 1 in all the tests.
At the current state of these test specifications, the Base Key is not used.
Objective : Perform a simple GET transaction using OSCOAP, Content-Format and Uri-Path option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a simple GET transaction using OSCOAP, Content-Format and Uri-Path option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format, Uri-Path, Uri-Query and ETag option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format, Uri-Path, Uri-Query and ETag option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including
|
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format, Uri-Path, Uri-Query, ETag, Accept and Max-Age option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective :Perform a GET transaction using OSCOAP, Content-Format, Uri-Path, Uri-Query, ETag, Accept and Max-Age option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including
|
5 |
Verify |
|
Objective : Perform a POST transaction using OSCOAP, Content-Format, Location-path, Location-Query and Uri-Path option, creating a resource (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP POST request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a POST transaction using OSCOAP, Content-Format, Location-path, Location-Query and Uri-Path option, creating a resource (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP POST request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including
|
5 |
Verify |
|
Objective : Perform a PUT transaction using OSCOAP, Uri-Path and If-Match option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP PUT request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a PUT transaction using OSCOAP, Uri-Path and If-Match option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP PUT request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including
|
5 |
Verify |
|
Objective : Perform a DELETE transaction using OSCOAP and Uri-Path option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP DEL request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a DELETE transaction using OSCOAP and Uri-Path option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP DEL request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly
|
5 |
Verify |
|
Objective : Perform a DELETE transaction on an non-existing resource using OSCOAP and Uri-Path option (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP PUT request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
|
Objective : Perform a DELETE transaction on an non-existing resource using OSCOAP and Uri-Path option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP PUT request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the error 4.04 response correctly
|
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient Keys (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client doesn't receive a response back |
5 |
Verify |
Client displays the received packet (if any) |
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient Keys (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
The message verification [6.3] fails and the server stops processing the message |
3 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient IVs(Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client doesn't receive a response back |
5 |
Verify |
Client displays the received packet (if any) |
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient Keys (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
The message verification [6.3] fails and the server stops processing the message |
3 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient Ids(Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client doesn't receive a response back |
5 |
Verify |
Client displays the received packet (if any) |
Objective : Perform a GET transaction with non matching Client Sender - Server Recipient Keys (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
The message verification [6.3] fails and the server stops processing the message |
3 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender Keys (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
The message verification [6.5] fails and the client stops processing the message |
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender Keys (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender IVs (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
The message verification [6.5] fails and the client stops processing the message |
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender IVs (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender Ids (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
The message verification [6.5] fails and the client stops processing the message |
5 |
Verify |
|
Objective : Perform a GET transaction with non matching Client Recipient - Server Sender Ids (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
4 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, request replayed by the Client (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
Client doesn't receive a response back |
5 |
Verify |
Client displays the received packet (if any) |
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, request replayed by the Client (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
The message verification [6.3] fails and the server stops processing the message |
3 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, response replayed by the Server (Correct Tid) (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
The message verification [6.5] fails and the client stops processing the message |
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, response replayed by the Server (Correct Tid) (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, response replayed by the Server (Wrong Tid) (Client side)
Configuration :
client security context: Security Context A, with:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
|
4 |
Check |
The message verification [6.5] fails and the client stops processing the message |
5 |
Verify |
|
Objective : Perform a GET transaction using OSCOAP, Content-Format and Uri-Path option, response replayed by the Server (Wrong Tid) (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request protected with OSCOAP, including:
|
2 |
Check |
Server parses the request and continues the CoAP processing (OSCOAP verification succeeds) |
3 |
Verify |
|
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
|
Objective : Perform a GET transaction without using OSCOAP to a protected resource, Content-Format and Uri-Path option (Client side)
Configuration :
client security context: Security Context A, with:
N/A
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request, including:
|
2 |
Check |
Client serializes the request |
3 |
Verify |
Client displays the sent packet |
4 |
Check |
Client parses the response and continues the CoAP processing (OSCOAP verification succeeds) |
5 |
Verify |
Client displays the received packet |
Objective : Perform a GET transaction without using OSCOAP to a protected resource, Content-Format and Uri-Path option (Server side)
Configuration :
server security context: Security Context B, with:
server resources:
Test Sequence
| Step | Type | Description |
|---|---|---|
1 |
Stimulus |
The client is requested to send a CoAP GET request, including:
|
2 |
Check |
The message verification [6.3] fails |
3 |
Verify |
Server displays the received packet |
4 |
Check |
Server serialize the response correctly, including:
|
5 |
Verify |
Server displays the sent packet |