| [MODULE_PARAMETERS] |
| tsp_addresses := |
| { |
| { |
| id := "tester", |
| hostName := "127.0.0.1", |
| portNumber := 30000 |
| }, |
| { |
| id := "tester2", |
| hostName := "127.0.0.1", |
| portNumber := 30001 |
| }, |
| { |
| id := "sut", |
| hostName := "127.0.0.1", |
| portNumber := 40000 |
| } |
| } |
| |
| tsp_EPTF_COAP_LGen_psks := |
| { |
| { identity := "client1", key := "01020304" } |
| } |
| |
| tsp_EPTF_COAP_LGen_debug := true; |
| tsp_EPTF_COAP_LGen_debugVerbose := true; |
| tsp_EPTF_COAP_LocalTransport_debug := true; |
| tsp_EPTF_COAP_LocalTransport_debugVerbose := true; |
| tsp_EPTF_LwM2M_LGen_debug := true; |
| tsp_EPTF_LwM2M_LGen_debugVerbose := true; |
| tsp_EPTF_LwM2M_CoapApplibTransport_debug := true; |
| tsp_LWM2M_TLV_EncDec_debug := true; |
| |
| tsp_SUT_localHost := "127.0.0.1"; |
| tsp_SUT_localPort := 40000; |
| tsp_SUT_remoteHost := "127.0.0.1"; |
| tsp_SUT_remotePort := 30000; |
| |
| tsp_EPTF_COAP_NON_LIFETIME := 10.0; |
| tsp_EPTF_COAP_EXCHANGE_LIFETIME := 10.0; |
| //tsp_EPTF_COAP_BlockwiseTransfer_collectContent := true; |
| |
| tsp_CoapPeer_maxResponseTime := 3.0; |
| |
| [LOGGING] |
| FileMask := TTCN_ERROR | TTCN_ACTION | TTCN_TESTCASE | TTCN_STATISTICS | TTCN_WARNING | LOG_ALL | TTCN_DEBUG |
| ConsoleMask := TTCN_ERROR | TTCN_ACTION | TTCN_TESTCASE | TTCN_STATISTICS | TTCN_WARNING |
| LogFile := "logs/%e.%h-%r.log" |
| LogEventTypes := Yes |
| //SourceInfoFormat := Stack |
| SourceInfoFormat := Single |
| LogEntityName := Yes |
| |
| [EXTERNAL_COMMANDS] |
| #BeginTestCase := "/home/eantwuh/iotsim/cfg/startTcpDump" |
| #EndTestCase := "/home/eantwuh/iotsim/cfg/stopTcpDump" |
| |
| [MAIN_CONTROLLER] |
| TCPPort := 9777 |
| KillTimer := 30.0 |
| |
| [TESTPORT_PARAMETERS] |
| *.IPL4_PCO.debug := "YES" |
| *.IPL4_PCO.pureNonBlocking := "YES" |
| *.IPL4_PCO.ssl_allowed_ciphers_list := "PSK" |
| //*.IPL4_PCO.DTLSv1 := "NO" |
| |
| [EXECUTE] |
| ///////////////////// |
| // Component tests |
| ///////////////////// |
| // Encdec |
| EPTF_LwM2M_Tests.tc_tlv_decoding_string |
| EPTF_LwM2M_Tests.tc_encdec_LwM2M_JSON_Resources_to_oct |
| EPTF_LwM2M_Tests.tc_encdec_SenML_JSON_Resources_to_oct |
| EPTF_LwM2M_Tests.tc_encdec_LwM2M_Resources_to_oct_using_LwM2M_JSON |
| EPTF_LwM2M_Tests.tc_encdec_LwM2M_Resources_to_oct_using_SenML_JSON |
| // Register-deregister |
| EPTF_LwM2M_Tests.tc_initialization |
| EPTF_LwM2M_Tests.tc_registration |
| EPTF_LwM2M_Tests.tc_deregistration |
| // Read |
| EPTF_LwM2M_Tests.tc_read_resource_float_using_text |
| EPTF_LwM2M_Tests.tc_read_resource_float_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_read_resource_float_using_senml_json |
| EPTF_LwM2M_Tests.tc_read_resource_int_using_text |
| EPTF_LwM2M_Tests.tc_read_resource_int_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_read_resource_int_using_senml_json |
| EPTF_LwM2M_Tests.tc_read_resource_string_using_text |
| EPTF_LwM2M_Tests.tc_read_resource_string_lwm2m_json |
| EPTF_LwM2M_Tests.tc_read_resource_string_senlm_json |
| EPTF_LwM2M_Tests.tc_read_object_instance_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_read_object_instance_using_senml_json |
| EPTF_LwM2M_Tests.tc_read_object_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_read_object_using_senml_json |
| // Write |
| EPTF_LwM2M_Tests.tc_write_resource_float_using_text |
| EPTF_LwM2M_Tests.tc_write_resource_float_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_write_resource_float_using_senml_json |
| EPTF_LwM2M_Tests.tc_write_resource_int_using_text |
| EPTF_LwM2M_Tests.tc_write_resource_int_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_write_resource_int_using_senml_json |
| EPTF_LwM2M_Tests.tc_write_resource_string_using_text |
| EPTF_LwM2M_Tests.tc_write_resource_string_using_lwm2m_json |
| EPTF_LwM2M_Tests.tc_write_resource_string_using_senml_json |
| EPTF_LwM2M_Tests.tc_write_resource_block1_stateless_succ |
| EPTF_LwM2M_Tests.tc_write_resource_block1_atomic_succ |
| // Execute |
| EPTF_LwM2M_Tests.tc_execute_resource |
| // Observe |
| EPTF_LwM2M_Tests.tc_observe_subscription |
| EPTF_LwM2M_Tests.tc_observe_notification |
| EPTF_LwM2M_Tests.tc_observe_unsubscribe |
| EPTF_LwM2M_Tests.tc_observe_object_subscription |
| EPTF_LwM2M_Tests.tc_observe_object_notification |
| EPTF_LwM2M_Tests.tc_observe_object_unsubscribe |
| EPTF_LwM2M_Tests.tc_observe_object_instance_subscription |
| EPTF_LwM2M_Tests.tc_observe_object_instance_notification |
| EPTF_LwM2M_Tests.tc_observe_object_instance_unsubscribe |
| |
| /* |
| ///////////////////// |
| // Interop against Leshan |
| ///////////////////// |
| EPTF_LwM2M_Tests.tc_regDereg_againstLeshan |
| EPTF_LwM2M_Tests.tc_regDereg_againstLeshan_psk |
| */ |