2 Documentation Sanity test suite verifies basic functionality of IoTDM but also
3 ... functionality of testing client libraries.
4 ... CRUD + N operations are performed on minimal resource tree using HTTP protocol.
5 Suite Setup Setup Suite
6 Suite Teardown End Suite
7 Resource ../../../libraries/IoTDM/iotdm_sanity_tests.robot
8 Resource ../../../libraries/IoTDM/IoTDMResources.robot
14 1.01 HTTP Sanity test - Create AE
15 [Documentation] Create AE resource and verify response
18 1.02 HTTP Sanity test - Retrieve AE
19 [Documentation] Retrieve AE resource and verify response
20 Sanity Test Retrieve AE
22 1.03 HTTP Sanity test - Update AE
23 [Documentation] Update AE resource and verify response
26 1.04 HTTP Sanity test - Retrieve updated AE
27 [Documentation] Retrieve updated AE, verify updated element and verify response
28 Sanity Test Retrieve Updated AE
30 1.05 HTTP Sanity test - Delete AE
31 [Documentation] Delete AE resource and verify response
34 1.06 HTTP Sanity test - Retrieve deleted AE
35 [Documentation] Try to retrieve already deleted AE. Expect and verify error response
36 Sanity Test Retrieve Deleted AE
38 1.07 HTTP Sanity test - Create AE, Container and Subscription
39 [Documentation] Create AE, Container and Subscription resources. Subscription resource has set
40 ... eventType 3 so notification will be trigerred when child resource of Container resource is
41 ... created. Notifications will be sent to communication Rx channel.
42 ... Verify response of create requests.
43 Sanity Test Create AE Container Subscription http://${local_ip}:${rx_port}
45 1.08 HTTP Sanity test - Create Content Instance and handle notification
46 [Documentation] Create contentInstance resource what should trigger notification. Receive the notification
47 ... and create positive response and send. Verify the received notification request.
48 Sanity Test Create Content Instance And Handle Notification
50 1.09 HTTP Sanity test - Create Content Instance and use automatic notification response
51 [Documentation] Set up automatic reply for notifications from specific subscription resource. Create
52 ... contentInstance resource what will trigger the notification and check if was handled
54 Sanity Test Create Content Instance And Use Automatic Notification Response
58 [Documentation] Connect to IoTDM and prepare testing resource tree
59 IOTDM Basic Suite Setup ${ODL_SYSTEM_1_IP} ${ODL_RESTCONF_USER} ${ODL_RESTCONF_PASSWORD}
60 Connect And Provision cseBase
61 Create Iotdm Http Connection ${defAeId} ${ODL_SYSTEM_1_IP} 8282 application/json ${rx_port}
62 Resolve Local Ip Address
65 Clear The Resource Tree
66 Close Iotdm Communication