2 Documentation Test suite testing IoTDM PluginManager RPC calls registrations of default plugins and
3 ... communication channels and re-configuration of port of registered plugins
5 Resource ../../../variables/Variables.robot
6 Resource ../../../libraries/ClusterManagement.robot
7 Resource ../../../libraries/TemplatedRequests.robot
9 Suite Setup Setup Suite
10 Suite Teardown Teardown Suite
14 ${VAR_BASE} ${CURDIR}/../../../variables/IoTDM/
15 # TODO 500 seems to be a bug in ODL, remove when solved
16 @{NEGATIVE_RESULTS} ${500} ${400}
20 1.00 Default result of onem2m-plugin-manager-plugin-data RPC
21 [Documentation] Verifies the result of RPC and looks for data items related to:
22 ... HTTP, CoAP, MQTT, WS and Onem2mExample
23 BuiltIn.Wait_Until_Keyword_Succeeds 15 sec 1 sec Verify Default PluginData Output
25 1.01 Plugin data of HTTP - filtered
26 [Documentation] Verifies all plugin data about HTTP provider module plugin
27 Verify RPC Plugin Data http/filtered
29 1.02 Plugin data of CoAP - filtered
30 [Documentation] Verifies all plugin data about CoAP provider module plugin
31 Verify RPC Plugin Data coap/filtered
33 1.03 Plugin data of MQTT - filtered
34 [Documentation] Verifies all plugin data about MQTT provider module plugin
35 Verify RPC Plugin Data mqtt/filtered
37 1.04 Plugin data of WS - filtered
38 [Documentation] Verifies all plugin data about WS provider module plugin
39 Verify RPC Plugin Data ws/filtered
41 1.05 Plugin data of Onem2mExample - filtered
42 [Documentation] Verifies all plugin data about Onem2mExample provider module plugin
43 Verify RPC Plugin Data onem2m_example/filtered
45 1.06 Plugin data of SimpleAdapter - filtered
46 [Documentation] Verifies all plugin data about Onem2mExample provider module plugin
47 Verify RPC Plugin Data simple_adapter/filtered
49 2.00.01 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC - HTTP
50 [Documentation] Verifies if the result of the RPC contains correct data about HTTP
51 Verify RPC Plugin Registrations http/default
53 2.00.02 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC - CoAP
54 [Documentation] Verifies if the result of the RPC contains correct data about CoAP
55 Verify RPC Plugin Registrations coap/default
57 2.00.03 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC - MQTT
58 [Documentation] Verifies if the result of the RPC contains correct data about MQTT
59 Verify RPC Plugin Registrations mqtt/default
61 2.00.04 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC - WS
62 [Documentation] Verifies if the result of the RPC contains correct data about ws
63 Verify RPC Plugin Registrations ws/default
65 2.00.05 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC - Onem2mExample
66 [Documentation] Verifies if the result of the RPC contains correct data about Onem2mExample
67 Verify RPC Plugin Registrations onem2m_example/default
69 2.01.01 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC filtered - HTTP
70 [Documentation] Verifies if the result of the RPC with input filter contains correct data about HTTP only
71 Verify RPC Plugin Registrations http/filtered
73 2.01.02 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC filtered - CoAP
74 [Documentation] Verifies if the result of the RPC with input filter contains correct data about CoAP only
75 Verify RPC Plugin Registrations coap/filtered
77 2.01.03 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC filtered - MQTT
78 [Documentation] Verifies if the result of the RPC with input filter contains correct data about MQTT only
79 Verify RPC Plugin Registrations mqtt/filtered
81 2.01.04 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC filtered - WS
82 [Documentation] Verifies if the result of the RPC with input filter contains correct data about WS only
83 Verify RPC Plugin Registrations ws/filtered
85 2.01.05 Default result of onem2m-plugin-manager-iotdm-plugin-registrations RPC filtered - Onem2mExample
86 [Documentation] Verifies if the result of the RPC with input filter contains correct data about Onem2mExample only
87 Verify RPC Plugin Registrations onem2m_example/filtered
89 3.00.01 Default result of onem2m-plugin-manager-db-api-client-registrations RPC - Onem2mExample
90 [Documentation] Verifies the result of RPC and looks for Onem2mExample registration
91 Verify RPC Db Registrations onem2m_example/filtered
93 3.00.02 Default result of onem2m-plugin-manager-db-api-client-registrations RPC - SimpleAdapter
94 [Documentation] Verifies the result of RPC and looks for SimpleAdapter registration
95 Verify RPC Db Registrations simple_adapter/default
97 3.01.00 Default result of onem2m-plugin-manager-db-api-client-registrations RPC - filtered Onem2mExample
98 [Documentation] Verifies result of RPC with input filter for Onem2mExample
99 Verify RPC Db Registrations onem2m_example/filtered
101 3.01.01 Default result of onem2m-plugin-manager-db-api-client-registrations RPC - filtered SimpleAdapter
102 [Documentation] Verifies result of RPC with input filter for SimpleAdapter
103 Verify RPC Db Registrations simple_adapter/filtered
105 4.00.01 Default result of onem2m-plugin-manager-simple-config-client-registrations RPC - Onem2mExample
106 [Documentation] Verifies the result of RPC and looks for Onem2mExample registration
107 Verify RPC Positive simple_config_registrations/default
109 4.00.02 Default result of onem2m-plugin-manager-simple-config-client-registrations RPC - filtered Onem2mExample
110 [Documentation] Verifies the result of RPC with input filter and looks for Onem2mExample registration only
111 Verify RPC Positive simple_config_registrations/filtered
113 5.00.01 Default Communication channel for HTTP plugin
114 [Documentation] Verifies the default instance of HTTP communication channel for HTTP provider
115 Verify RPC Comm Channels http/default
117 5.00.02 Default Communication channel for CoAP plugin
118 [Documentation] Verifies the default instance of CoAP communication channel for CoAP provider
119 Verify RPC Comm Channels coap/default
121 5.00.03 Default Communication channel for MQTT plugin
122 [Documentation] Verifies the default instance of MQTT communication channel for MQTT provider
123 Verify RPC Comm Channels mqtt/default
125 5.00.04 Default Communication channel for WS plugin
126 [Documentation] Verifies the default instance of WS communication channel for WS provider
127 Verify RPC Comm Channels ws/default
129 5.00.05 Default Communication channel for Onem2mExample plugin
130 [Documentation] Verifies the default instance of HTTP communication channel for Onem2mExample plugin
131 Verify RPC Comm Channels onem2m_example/default
133 5.01.01 Default Communication channel for HTTP plugin - filtered
134 [Documentation] Verifies the default instances of HTTP communication channel for HTTP provider using RPC with input filter
135 Verify RPC Comm Channels http/filtered
137 5.01.02 Default Communication channel for CoAP plugin - filtered
138 [Documentation] Verifies the default instance of CoAP communication channel for CoAP provider using RPC with input filter
139 Verify RPC Comm Channels coap/filtered
141 5.01.03 Default Communication channel for MQTT plugin - filtered
142 [Documentation] Verifies the default instance of MQTT communication channel for MQTT provider using RPC with input filter
143 Verify RPC Comm Channels mqtt/filtered
145 5.01.04 Default Communication channel for WS plugin - filtered
146 [Documentation] Verifies the default instance of WS communication channel for WS provider using RPC with input filter
147 Verify RPC Comm Channels ws/filtered
149 5.01.05 Default Communication channel for Onem2mExample plugin - filtered
150 [Documentation] Verifies the default instance of HTTP communication channel for Onem2mExample plugin using RPC with input filter
151 Verify RPC Comm Channels onem2m_example/filtered
153 6.00.01 Change port number of HTTP provider plugin
154 [Documentation] Configures new port number for HTTP provider module and verifies
155 TemplatedRequests.Put_As_Json_Templated folder=${VAR_BASE}/put_http/change_port verify=True
156 TemplatedRequests.Get_As_Json_Templated folder=${VAR_BASE}/get_http verify=True
157 Verify PluginData After Reconfiguration of HTTP
159 6.00.02 Check HTTP communication using new port
160 [Documentation] Sends GET request to the new port and verifies if it is possible to use the new configured port
161 ... for HTTP communication and verifies also if the old port is not opened for HTTP communication.
162 [Tags] not-implemented exclude
165 6.01.01 Change port number of CoAP provider plugin
166 [Documentation] Configures new port number for CoAP provider module and verifies
167 TemplatedRequests.Put_As_Json_Templated folder=${VAR_BASE}/put_coap/change_port verify=True
168 TemplatedRequests.Get_As_Json_Templated folder=${VAR_BASE}/get_coap verify=True
169 Verify PluginData After Reconfiguration of CoAP
171 6.01.02 Check CoAP communication using new port
172 [Documentation] Sends GET request to the new port and verifies if it is possible to use the new configured port
173 ... for CoAP communication and verifies also if the old port is not opened for CoAP communication.
174 [Tags] not-implemented exclude
177 6.02.00 Setup MQTT communication
178 [Documentation] MQTT communication is not configured by default. This TC turns it ON and verifies.
179 [Tags] not-implemented exclude
180 #TemplatedRequests.Put_As_Json_Templated folder=${VAR_BASE}/put_mqtt verify=True
181 #TODO: this will not work because we need to have MQTT broker provisioned in cluster
182 #TODO: this needs to be solved with releng team
185 6.02.01 Change port number of MQTT provider plugin
186 [Documentation] Configures new port number for MQTT provider module and verifies
187 [Tags] not-implemented exclude
188 #TemplatedRequests.Put_As_Json_Templated folder=${VAR_BASE}/put_mqtt/change_port verify=True
189 #TemplatedRequests.Get_As_Json_Templated folder=${VAR_BASE}/get_mqtt verify=True
190 #Verify PluginData After Reconfiguration of MQTT
191 #TODO: this will not work because we need to have MQTT broker provisioned in cluster
192 #TODO: this needs to be solved with releng team
195 6.02.02 Check MQTT communication using new port
196 [Documentation] Sends GET request to the new port and verifies if it is possible to use the new configured port
197 ... for MQTT communication and verifies also if the old port is not opened for MQTT communication.
198 [Tags] not-implemented exclude
199 #TODO: this will not work because we need to have MQTT broker provisioned in cluster
200 #TODO: this needs to be solved with releng team
203 6.03.01 Change port number of WS provider plugin
204 [Documentation] Configures new port number for WS provider module and verifies
205 [Tags] not-implemented exclude
206 #todo check current configuration of ws if the feature is added to IoTDM project as in 6.01
209 6.03.02 Check WS communication using new port
210 [Documentation] Sends GET request to the new port and verifies if it is possible to use the new configured port
211 ... for WS communication and verifies also if the old port is not opened for WS communication.
212 [Tags] not-implemented exclude
215 6.04 Change port number of Onem2mExample provider plugin
216 [Documentation] Configures new port number for Onem2mExample module using SimpleConfig and verifies
217 Verify RPC Positive put_onem2m_example/change_port
218 Verify RPC Positive get_onem2m_example
219 Verify PluginData After Reconfiguration of Onem2mExample
221 6.05 Restart IoTDM and verify configuration of all plugins
222 [Documentation] Restarts IoTDM and verifies if the modules still uses new configuration
225 BuiltIn.Wait_Until_Keyword_Succeeds 60 sec 1 sec Verify PluginData After Reconfiguration of All Modules
226 #todo change for ws port in ${VAR_BASE}/plugin_data/changed_data when feature is added to IoTDM project
228 6.06 Revert Configurations of all plugins
229 [Documentation] Reverts configuration of all re-configured plugins back to default state
230 TemplatedRequests.Delete_Templated folder=${VAR_BASE}/put_http/change_port
231 TemplatedRequests.Delete_Templated folder=${VAR_BASE}/put_coap/change_port
232 #TODO revert also MQTT when issues solved
233 # TemplatedRequests.Delete_Templated folder=${VAR_BASE}/put_mqtt/change_port
234 #TODO revert for ws when feature is added to IoTDM project
235 # TemplatedRequests.Delete_Templated folder=${VAR_BASE}/put_ws/change_port
236 # Calls RPC for configuration delete
237 Verify RPC Positive put_onem2m_example
239 7.00 Test missing configuration of HTTP provider module
240 [Documentation] Tests multiple cases of missing mandatory configuration items of HTTP provider module
241 Verify RPC Negative TC http_cfg/missing_sec_level
242 Verify RPC Negative TC http_cfg/missing_sec_conn
243 Verify RPC Negative TC http_cfg/missing_server_port
245 7.01 Test invalid values in configuration of HTTP provider module
246 [Documentation] Tests multiple cases of invalid values set in configuration of HTTP provider module
247 Verify RPC Negative TC http_cfg/invalid_server_port
248 Verify RPC Negative TC http_cfg/invalid_sec_level
249 Verify RPC Negative TC http_cfg/invalid_sec_conn
251 7.02 Test missing configuration of CoAP provider module
252 [Documentation] Tests multiple cases of missing mandatory configuration items of CoAP provider module
253 Verify RPC Negative TC coap_cfg/missing_sec_level
254 Verify RPC Negative TC coap_cfg/missing_sec_conn
255 Verify RPC Negative TC coap_cfg/missing_server_port
257 7.03 Test invalid values in configuration of CoAP provider module
258 [Documentation] Tests multiple cases of invalid values set in configuration of CoAP provider module
259 Verify RPC Negative TC coap_cfg/invalid_server_port
260 Verify RPC Negative TC coap_cfg/invalid_sec_level
261 Verify RPC Negative TC coap_cfg/invalid_sec_conn
263 7.04 Test missing configuration of MQTT provider module
264 [Documentation] Tests multiple cases of missing mandatory configuration items of MQTT provider module
265 Verify RPC Negative TC mqtt_cfg/missing_mqtt_broker_ip
266 Verify RPC Negative TC mqtt_cfg/missing_mqtt_broker_port
267 Verify RPC Negative TC mqtt_cfg/missing_sec_level
269 7.05 Test invalid values in configuration of MQTT provider module
270 [Documentation] Tests multiple cases of invalid values set in configuration of MQTT provider module
271 Verify RPC Negative TC mqtt_cfg/invalid_mqtt_broker_ip
272 Verify RPC Negative TC mqtt_cfg/invalid_sec_level
273 Verify RPC Negative TC mqtt_cfg/invalid_mqtt_broker_port
275 7.06 Test missing configuration of WS provider module
276 [Documentation] Tests multiple cases of missing mandatory configuration items of WS provider module
277 [Tags] not-implemented exclude
278 #todo check missing configuration of ws if the feature is added to IoTDM project as in 7.00
281 7.07 Test invalid values in configuration of WS provider module
282 [Documentation] Tests multiple cases of invalid values set in configuration of WS provider module
283 [Tags] not-implemented exclude
284 #todo check invalid configuration of ws if the feature is added to IoTDM project as in 7.01
287 7.08 Test conflicting configuration handling for HTTP
288 [Documentation] Tests configuration of TCP port number for HTTP provider module.
289 ... The new configuration conflicts with configurtion of Onem2mExample plugin module.
290 [Tags] not-implemented exclude
291 #NOTE: the conflicting configuration results with 200 all the times beacuse the init() method of the module
292 # is called asynchronously later and if it fails it's just logged and bundle init has failed...
293 # so we can check registration in plugin manager
294 # TODO: But it just says that there is not expected registration so we need to implement some registry of
295 # TODO: registration failures and provide RPCs to list registration errors and clear registration errors
296 # TODO: Improvement task opened: Bug 7771 - Implementation of registry of errors and related RPCs for PluginManager
299 7.09 Test conflicting configuration handling for MQTT
300 [Documentation] Tests configuration of TCP port number for MQTT provider module.
301 [Tags] not-implemented exclude
302 # TODO: Improvement task opened: Bug 7771
305 7.10 Test conflicting configuration handling for WS
306 [Documentation] Tests configuration of TCP port number for WS provider module.
307 [Tags] not-implemented exclude
308 # TODO: Improvement task opened: Bug 7771
311 7.11 Test conflicting configuration handling for Onem2mExample
312 [Documentation] Tests configuration of TCP port number for Onem2mExample provider module.
313 [Tags] not-implemented exclude
314 # TODO: Improvement task opened: Bug 7771
317 7.12 Test conflicting configuration handling for Coap
318 [Documentation] Tests configuration of TCP port number for Coap provider module.
319 [Tags] not-implemented exclude
320 # TODO: Improvement task opened: Bug 7771
323 8.00 Test default configuration in onem2m-core
324 [Documentation] Tests usage of default configuration for IoTDM plugins
325 [Tags] not-implemented exclude
328 9.00 Test onem2m-simple-config:iplugin-cfg-get doesn`t contain anything in key-val-list
329 [Documentation] Verify if key-val-list doesn`t exist
330 Verify RPC Simple Config get_default
332 9.01 Test onem2m-simple-config:iplugin-cfg-put to add values to IoTDM SimpleConfig
333 [Documentation] Adds multiple values to Simple config
334 Verify RPC Simple Config put
336 9.02 Test onem2m-simple-config:iplugin-cfg-get contains values that were set
337 [Documentation] Tests if SimpleConfig contains added values
338 Verify RPC Simple Config get
340 9.03 Test onem2m-simple-config:iplugin-cfg-key-get receives single data
341 [Documentation] Tests if SimpleConfig receive correct value
342 Verify RPC Simple Config Key get0
343 Verify RPC Simple Config Key get1
345 9.04 Test onem2m-simple-config:iplugin-cfg-key-put set single data
346 [Documentation] Adds value to SimpleConfig using key and verify that it exists
347 Verify RPC Simple Config Key put
348 Verify RPC Simple Config Key put/check
350 9.05 Test onem2m-simple-config:iplugin-cfg-key-get-startup data
351 [Documentation] Tests if key startup recieves correct data
352 Verify RPC Simple Config Key startup
354 9.06 Test onem2m-simple-config:iplugin-cfg-key-del deletes single data
355 [Documentation] Deletes previously added value from SimpleConfig and verify it doesn`t exist anymore
356 Verify RPC Simple Config delete_key
357 Verify RPC Negative Simple Config negative/get_key
359 9.07 Test onem2m-simple-config:iplugin-cfg-key-get-startup data does not exist
360 [Documentation] Calls the startup rpc on key that does not exit and checks error
361 Verify RPC Negative Simple Config negative/get_startup_key
363 9.08 Test onem2m-simple-config:iplugin-cfg-key-del delete not existing single data
364 [Documentation] Try to delete not existing data and check fail
365 Verify RPC Negative Simple Config negative/delete_key
367 9.09 Test onem2m-simple-config:iplugin-cfg-put to add wrong values and expect error
368 [Documentation] Tests if SimpleConfig doesn`t allow to add values to SimpleConfig
369 Verify RPC Negative TC simple_config/iplugin_cfg_put/non_reg_plugin verify=${true}
370 Verify RPC Negative TC simple_config/iplugin_cfg_put/non_reg_instance verify=${true}
372 9.10 Test onem2m-simple-config:iplugin-cfg-get-startup contains expected data
373 [Documentation] Check if startup content contains only expected data
374 Verify RPC Simple Config get_startup
376 9.11 Test iplugin-cfg-get-startup-config and iplugin-cfg-get-running-config should equal
377 [Documentation] Tests if StartupConfig and running config are the same in content
378 ${resp1} = TemplatedRequests.Post_As_Json_Templated
379 ... folder=${VAR_BASE}/simple_config/get_startup/config
381 ${resp2} = TemplatedRequests.Post_As_Json_Templated
382 ... folder=${VAR_BASE}/simple_config/get_running_config
384 Should Be Equal ${resp1} ${resp2}
386 9.12 Test onem2m-simple-config:iplugin-cfg-del to delete all the values
387 [Documentation] Deletes previously added values from Onem2mExample plugin and verify that they are gone
388 Verify RPC Simple Config delete_config
389 Verify RPC Simple Config get_startup/config/default
391 9.13 Test IoTDM BUG 7593
392 [Documentation] Multiple times try to delete configuration which doesn't exist.
393 ... https://bugs.opendaylight.org/show_bug.cgi?id=7593
394 Verify RPC Negative TC simple_config/multi_delete verify=${true}
395 Verify RPC Negative TC simple_config/multi_delete verify=${true}
396 Verify RPC Negative TC simple_config/multi_delete verify=${true}
398 9.14 Test onem2m-simple-config:iplugin-cfg-del to delete empty config
399 [Documentation] Delete of empty configuration passes without error
400 Verify RPC Simple Config delete_config
402 10.01 Test input filters of onem2m-plugin-manager:onem2m-plugin-manager-iotdm-plugin-registrations
403 [Documentation] Use all filtering inputs and all combinations of them.
404 ... Verify that the output includes onlyt expected items or is empty because there is not such plugin in
406 [Tags] not-implemented exclude
409 10.02 Test input filters of onem2m-plugin-manager:onem2m-plugin-manager-communication-channels
410 [Documentation] Use all filtering inputs and all combinations of them.
411 ... Verify that the output includes onlyt expected items or is empty because there is not such plugin
412 ... or channel in the system.
413 [Tags] not-implemented exclude
416 10.03 Test input filters of onem2m-plugin-manager:onem2m-plugin-manager-db-api-client-registrations
417 [Documentation] Use all filtering inputs and all combinations of them.
418 ... Verify that the output includes onlyt expected items or is empty because there is not such plugin in
420 [Tags] not-implemented exclude
423 10.04 Test input filters of onem2m-plugin-manager:onem2m-plugin-manager-simple-config-client-registrations
424 [Documentation] Use all filtering inputs and all combinations of them.
425 ... Verify that the output includes onlyt expected items or is empty because there is not such plugin in
427 [Tags] not-implemented exclude
430 10.05 Test input filters of onem2m-plugin-manager:onem2m-plugin-manager-plugin-data
431 [Documentation] Use all filtering inputs and all combinations of them.
432 ... Verify that the output includes onlyt expected items or is empty because there is not such plugin in
434 [Tags] not-implemented exclude
440 Fail "Not implemented"
443 [Documentation] Prepares suite keywords and initialize mqtt and coap
444 TemplatedRequests.Create_Default_Session
445 ClusterManagement.ClusterManagement_Setup
451 [Documentation] Restart IoTDM running on remote machine
452 Log Restarting cluster of IoTDM instances
453 ClusterManagement.Stop_Members_From_List_Or_All
454 ClusterManagement.Start_Members_From_List_Or_All
456 Verify Default PluginData Output
457 [Documentation] Verifies output of RPC call onem2m-plugin-manager:onem2m-plugin-manager-plugin-data
458 ... whether contains data about all default modules registering as plugins.
459 Verify RPC Plugin Data http/default
460 Verify RPC Plugin Data coap/default
461 Verify RPC Plugin Data mqtt/default
462 Verify RPC Plugin Data ws/default
463 Verify RPC Plugin Data onem2m_example/default
464 Verify RPC Plugin Data simple_adapter/default
466 Verify PluginData After Reconfiguration of HTTP
467 [Documentation] Verifies plugin registration change after re-configuration of the plugin. Re-registration
468 ... should be done in 15 seconds and is checked in one second interval
469 BuiltIn.Wait_Until_Keyword_Succeeds 15 sec 1 sec Verify RPC Plugin Data http/changed_port
471 Verify PluginData After Reconfiguration of CoAP
472 [Documentation] Verifies plugin registration change after re-configuration of the plugin. Re-registration
473 ... should be done in 15 seconds and is checked in one second interval
474 BuiltIn.Wait_Until_Keyword_Succeeds 15 sec 1 sec Verify RPC Plugin Data coap/changed_port
476 Verify PluginData After Reconfiguration of MQTT
477 [Documentation] Verifies plugin registration change after re-configuration of the plugin. Re-registration
478 ... should be done in 15 seconds and is checked in one second interval
479 #BuiltIn.Wait_Until_Keyword_Succeeds 15 sec 1 sec Verify RPC Plugin Data mqtt/changed_port
482 Verify PluginData After Reconfiguration of Onem2mExample
483 [Documentation] Verifies plugin registration change after re-configuration of the plugin. Re-registration
484 ... should be done immediatelly because Onem2mExample plugin uses SimpleConfig for its configuration.
485 Verify RPC Plugin Data onem2m_example/changed_port
487 Verify PluginData After Reconfiguration of All Modules
488 [Documentation] Verifies registrations of all default plugins after re-configuration.
489 Verify PluginData After Reconfiguration of HTTP
490 Verify PluginData After Reconfiguration of CoAP
491 # TODO verify also MQTT when imlemented
492 #Verify PluginData After Reconfiguration of MQTT
493 Verify PluginData After Reconfiguration of Onem2mExample
496 [Documentation] Verifies positive RPC scenario
497 [Arguments] ${variables_folder}
498 TemplatedRequests.Post_As_Json_Templated folder=${VAR_BASE}/${variables_folder} verify=True
501 [Documentation] Verifies negative RPC scenario
502 [Arguments] ${variables_folder} ${verify}=${false}
503 TemplatedRequests.Post_As_Json_Templated
504 ... folder=${VAR_BASE}/${variables_folder}
506 ... explicit_status_codes=${NEGATIVE_RESULTS}
508 Verify RPC Plugin Data
509 [Documentation] Verifies positive PluginData RPC scenarios described in plugin_data variables directory
510 [Arguments] ${plugin_data_folder}
511 Verify RPC Positive plugin_data/${plugin_data_folder}
513 Verify RPC Plugin Registrations
514 [Documentation] Verifies positive IoTDMPluginRegistrations RPC scenarios described in iotdm_plugin_registrations variables directory
515 [Arguments] ${plugin_reg_folder}
516 Verify RPC Positive iotdm_plugin_registrations/${plugin_reg_folder}
518 Verify RPC Db Registrations
519 [Documentation] Verifies positive DbRegistrations RPC scenarios described in db_registrations variables directory
520 [Arguments] ${db_reg_folder}
521 Verify RPC Positive db_registrations/${db_reg_folder}
523 Verify RPC Comm Channels
524 [Documentation] Verifies positive CommunicationChannels RPC scenarios described in communication_channels variables directory
525 [Arguments] ${comm_channel_folder}
526 Verify RPC Positive communication_channels/${comm_channel_folder}
528 Verify RPC Negative TC
529 [Documentation] Verifies negative re-configuration TCs described in negative_tcs variables directory
530 [Arguments] ${negative_tc_folder} ${verify}=${false}
531 Verify RPC Negative negative_tcs/${negative_tc_folder} verify=${verify}
533 Verify RPC Simple Config
534 [Documentation] Verifies positive SimpleConfig RPC scenarios described in simple_config variables directory
535 [Arguments] ${simple_config_folder}
536 Verify RPC Positive simple_config/${simple_config_folder}
538 Verify RPC Negative Simple Config
539 [Documentation] Verifies negative SimpleConfig RPC scenarios described in simple_config variables directory
540 [Arguments] ${negative_tc_folder} ${verify}=${false}
541 Verify RPC Negative simple_config/${negative_tc_folder} verify=${verify}
543 Verify RPC Simple Config Key
544 [Documentation] Verifies positive SimpleConfig Key RPC scenarios described in simple_config_key variables directory
545 [Arguments] ${simple_config_key_folder}
546 Verify RPC Positive simple_config_key/${simple_config_key_folder}