Loading etc/AtsMec_EdgePlatformApplicationEnablement/AtsMec_EdgePlatformApplicationEnablement_Sandbox.cfg_ +3 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ LibMec_Pics.PICS_ROOT_API := "/sbxykqjr17/mep1/" # Need to sign i LibMec_Pics.PICS_MEC_PLAT := true # Application Instance ID EdgePlatformApplicationEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "8b49cf3a-b5ea-4bcf-ab20-35f92990a922" # Copied from ETSI MEC Sandbox GUI EdgePlatformApplicationEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "35b117eb-d372-451f-9c98-f97807f44776" # Copied from ETSI MEC Sandbox GUI # Callbacks Loading Loading @@ -127,9 +127,9 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec011)/TCP(debug=1 # Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_001_NF # Check that the IUT updates the liveness of a MEC service instance when requested by a MEC Application AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_OK #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_OK # Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_BR AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_BR # Check that the IUT responds with a list of available MEC services when queried by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_SAQ_001_OK Loading ttcn/AtsMec_EdgePlatformApplicationEnablement/AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.ttcn +11 −1 Original line number Diff line number Diff line Loading @@ -2277,6 +2277,9 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { testcase TC_MEC_MEC011_SRV_MSL_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables var Headers v_headers; var ServiceInfo v_service_info; var charstring v_subscription_id; var charstring v_uri; // Test control if (not(PICS_MEC_PLAT) or not (PICS_SERVICES) or not(PICS_APP_ENABLEMENT_API_SUPPORTED)) { Loading @@ -2291,11 +2294,17 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { // Test adapter configuration // Preamble f_create_service_info_with_liveness(v_service_info, v_subscription_id); f_init_default_headers_list(-, -, v_headers); v_uri := regexp( oct2char(unichar2oct(v_service_info.links.liveness.href, "UTF-8")), "?+" & PX_LINK_LIV & "/(?*)", 0 ); httpPort.send( m_http_request( m_http_request_patch( PICS_ROOT_API & PX_LINK_LIV, PICS_ROOT_API & PX_LINK_LIV & "/" & v_uri, v_headers, m_http_message_body_json( m_body_json_srv_liveness_update( Loading Loading @@ -2323,6 +2332,7 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { } // End of 'alt' statement // Postamble f_delete_service_info(v_subscription_id); f_cf_01_http_down(); } // End of testcase TC_MEC_MEC011_SRV_MSL_002_BR Loading Loading
etc/AtsMec_EdgePlatformApplicationEnablement/AtsMec_EdgePlatformApplicationEnablement_Sandbox.cfg_ +3 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ LibMec_Pics.PICS_ROOT_API := "/sbxykqjr17/mep1/" # Need to sign i LibMec_Pics.PICS_MEC_PLAT := true # Application Instance ID EdgePlatformApplicationEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "8b49cf3a-b5ea-4bcf-ab20-35f92990a922" # Copied from ETSI MEC Sandbox GUI EdgePlatformApplicationEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "35b117eb-d372-451f-9c98-f97807f44776" # Copied from ETSI MEC Sandbox GUI # Callbacks Loading Loading @@ -127,9 +127,9 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec011)/TCP(debug=1 # Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_001_NF # Check that the IUT updates the liveness of a MEC service instance when requested by a MEC Application AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_OK #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_OK # Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_BR AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_MSL_002_BR # Check that the IUT responds with a list of available MEC services when queried by a MEC Application #AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.TC_MEC_MEC011_SRV_SAQ_001_OK Loading
ttcn/AtsMec_EdgePlatformApplicationEnablement/AtsMec_EdgePlatformApplicationEnablementAPI_TestCases.ttcn +11 −1 Original line number Diff line number Diff line Loading @@ -2277,6 +2277,9 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { testcase TC_MEC_MEC011_SRV_MSL_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables var Headers v_headers; var ServiceInfo v_service_info; var charstring v_subscription_id; var charstring v_uri; // Test control if (not(PICS_MEC_PLAT) or not (PICS_SERVICES) or not(PICS_APP_ENABLEMENT_API_SUPPORTED)) { Loading @@ -2291,11 +2294,17 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { // Test adapter configuration // Preamble f_create_service_info_with_liveness(v_service_info, v_subscription_id); f_init_default_headers_list(-, -, v_headers); v_uri := regexp( oct2char(unichar2oct(v_service_info.links.liveness.href, "UTF-8")), "?+" & PX_LINK_LIV & "/(?*)", 0 ); httpPort.send( m_http_request( m_http_request_patch( PICS_ROOT_API & PX_LINK_LIV, PICS_ROOT_API & PX_LINK_LIV & "/" & v_uri, v_headers, m_http_message_body_json( m_body_json_srv_liveness_update( Loading Loading @@ -2323,6 +2332,7 @@ module AtsMec_EdgePlatformApplicationEnablementAPI_TestCases { } // End of 'alt' statement // Postamble f_delete_service_info(v_subscription_id); f_cf_01_http_down(); } // End of testcase TC_MEC_MEC011_SRV_MSL_002_BR Loading