Loading ccsrc/Protocols/Json/json_codec.cc +4 −4 Original line number Original line Diff line number Diff line Loading @@ -379,13 +379,13 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy } } if (it->second[0] == '[') { // BwInfoList if (it->second[0] == '[') { // BwInfoList TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); BwManagementAPI__TypesAndValues::BwInfoList bw_info_list; TrafficManagementAPI__TypesAndValues::BwInfoList bw_info_list; bw_info_list.decode(BwManagementAPI__TypesAndValues::BwInfoList_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); bw_info_list.decode(TrafficManagementAPI__TypesAndValues::BwInfoList_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); msg.bwInfoList() = bw_info_list; msg.bwInfoList() = bw_info_list; } else { // BwInfo } else { // BwInfo BwManagementAPI__TypesAndValues::BwInfo bw_info; TrafficManagementAPI__TypesAndValues::BwInfo bw_info; TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); bw_info.decode(BwManagementAPI__TypesAndValues::BwInfo_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); bw_info.decode(TrafficManagementAPI__TypesAndValues::BwInfo_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); msg.bwInfo() = bw_info; msg.bwInfo() = bw_info; } } } else if (it->second.find("\"detail\"") != std::string::npos) { } else if (it->second.find("\"detail\"") != std::string::npos) { Loading etc/AtsMec/AtsMec_Mockoon.cf_ +13 −4 Original line number Original line Diff line number Diff line Loading @@ -228,10 +228,19 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server #AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK #AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK # ETSI GS MEC 015 # ETSI GS MEC 015 #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_001_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_001_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_BR #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_BR AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_NF AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_NF # ETSI GS MEC 016 # ETSI GS MEC 028 # ETSI GS MEC 030 AtsMec_V2XInformationAPI_TestCases.TC_MEC_MEC030_SRV_V2X_001_OK_01 [GROUPS] [GROUPS] # In this section you can specify groups of hosts. These groups can be used inside the # In this section you can specify groups of hosts. These groups can be used inside the Loading ttcn/AtsMec/AtsMec_TestControl.ttcn +17 −17 Original line number Original line Diff line number Diff line Loading @@ -6,8 +6,8 @@ module AtsMec_TestControl { import from UEidentityAPI_Pics all; import from UEidentityAPI_Pics all; // LibMec/RnisAPI // LibMec/RnisAPI import from RnisAPI_Pics all; import from RnisAPI_Pics all; // LibMec/BwManagementAPI // LibMec/TrafficManagementAPI import from BwManagementAPI_Pics all; import from TrafficManagementAPI_Pics all; // LibMec/AppEnablementAPI // LibMec/AppEnablementAPI import from AppEnablementAPI_Pics all; import from AppEnablementAPI_Pics all; // LibMec/UEAppInterfaceAPI // LibMec/UEAppInterfaceAPI Loading @@ -21,7 +21,7 @@ module AtsMec_TestControl { import from AtsMec_UEidentityAPI_TestCases all; import from AtsMec_UEidentityAPI_TestCases all; // import from AtsMec_RadioNodeLocationAPI_TestCases all; // import from AtsMec_RadioNodeLocationAPI_TestCases all; import from AtsMec_RnisAPI_TestCases all; import from AtsMec_RnisAPI_TestCases all; import from AtsMec_BwManagementAPI_TestCases all; import from AtsMec_TrafficManagementAPI_TestCases all; import from AtsMec_AppEnablementAPI_TestCases all; import from AtsMec_AppEnablementAPI_TestCases all; import from AtsMec_UEAppInterfaceAPI_TestCases all; import from AtsMec_UEAppInterfaceAPI_TestCases all; Loading Loading @@ -73,16 +73,16 @@ module AtsMec_TestControl { } } if (PICS_ENABLE_UE_APP_CTX) { if (PICS_ENABLE_UE_APP_CTX) { execute(TC_MEC_MEO_UEAPPCTX_001_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_001_OK()); execute(TC_MEC_MEO_UEAPPCTX_001_BR()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_001_BR()); execute(TC_MEC_MEO_UEAPPCTX_002_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_OK()); execute(TC_MEC_MEO_UEAPPCTX_002_BR()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_BR()); execute(TC_MEC_MEO_UEAPPCTX_002_NF()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_NF()); execute(TC_MEC_MEO_UEAPPCTX_003_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_003_OK()); execute(TC_MEC_MEO_UEAPPCTX_003_NF()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_003_NF()); execute(TC_MEC_MEO_UEAPPS_001_OK()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_OK()); execute(TC_MEC_MEO_UEAPPS_001_BR()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_BR()); execute(TC_MEC_MEO_UEAPPS_001_NF()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_NF()); } } } } Loading Loading @@ -116,10 +116,10 @@ module AtsMec_TestControl { } } if (PICS_MEC_PLAT and PICS_BWMANAGEMENT_API_SUPPORTED) { if (PICS_MEC_PLAT and PICS_BWMANAGEMENT_API_SUPPORTED) { execute(TC_MEC_SRV_BWA_001_OK()); execute(TC_MEC_MEC015_SRV_TM_001_OK()); execute(TC_MEC_SRV_BWA_002_OK()); execute(TC_MEC_MEC015_SRV_TM_002_OK()); execute(TC_MEC_SRV_BWA_002_BR()); execute(TC_MEC_MEC015_SRV_TM_002_BR()); execute(TC_MEC_SRV_BWA_002_NF()); execute(TC_MEC_MEC015_SRV_TM_002_NF()); } } } // End of 'control' statement } // End of 'control' statement Loading ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn→ttcn/AtsMec/AtsMec_TrafficManagementAPI_TestCases.ttcn +17 −17 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,7 @@ * All rights reserved. * All rights reserved. * @see ETSI GS MEC 015, Draft ETSI GS MEC 015 V2.1.1 (2020-06) * @see ETSI GS MEC 015, Draft ETSI GS MEC 015 V2.1.1 (2020-06) */ */ module AtsMec_BwManagementAPI_TestCases { module AtsMec_TrafficManagementAPI_TestCases { // Libcommon // Libcommon import from LibCommon_Time all; import from LibCommon_Time all; Loading @@ -23,11 +23,11 @@ module AtsMec_BwManagementAPI_TestCases { import from LibItsHttp_JsonTemplates all; import from LibItsHttp_JsonTemplates all; import from LibItsHttp_TestSystem all; import from LibItsHttp_TestSystem all; // LibMec/BwManagementAPI // LibMec/TrafficManagementAPI import from BwManagementAPI_TypesAndValues all; import from TrafficManagementAPI_TypesAndValues all; import from BwManagementAPI_Templates all; import from TrafficManagementAPI_Templates all; import from BwManagementAPI_Pics all; import from TrafficManagementAPI_Pics all; import from BwManagementAPI_Pixits all; import from TrafficManagementAPI_Pixits all; // LibMec // LibMec import from LibMec_Templates all; import from LibMec_Templates all; Loading @@ -42,7 +42,7 @@ module AtsMec_BwManagementAPI_TestCases { * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -93,14 +93,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_001_OK } // End of testcase TC_MEC_MEC015_SRV_TM_001_OK /** /** * @desc Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application * @desc Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -153,14 +153,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_OK } // End of testcase TC_MEC_MEC015_SRV_TM_002_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -213,14 +213,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_BR } // End of testcase TC_MEC_MEC015_SRV_TM_002_BR /** /** * @desc Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -273,14 +273,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_NF } // End of testcase TC_MEC_MEC015_SRV_TM_002_NF /** /** * @desc Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application * @desc Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_003_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_003_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -344,8 +344,8 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_003_OK } // End of testcase TC_MEC_MEC015_SRV_TM_003_OK } // End of group me_app_role } // End of group me_app_role } // End of module AtsMec_BwManagementAPI_TestCases } // End of module AtsMec_TrafficManagementAPI_TestCases ttcn/AtsMec/AtsMec_UEAppInterfaceAPI_TestCases.ttcn +20 −20 Original line number Original line Diff line number Diff line Loading @@ -38,7 +38,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { * @desc Check that the IUT acknowledges the creation of the application context when requested by an UE Application * @desc Check that the IUT acknowledges the creation of the application context when requested by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -106,13 +106,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_001_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_001_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -167,13 +167,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_001_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_BR /** /** * @desc Check that the IUT updates the application callback reference when commanded by an UE Application * @desc Check that the IUT updates the application callback reference when commanded by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -232,13 +232,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_delete_ue_app_ctx(); f_delete_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -295,13 +295,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_BR /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -358,13 +358,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_NF /** /** * @desc Check that the IUT deletes the application context when commanded by an UE Application * @desc Check that the IUT deletes the application context when commanded by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_003_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -411,13 +411,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_003_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_OK /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_003_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -464,7 +464,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_003_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_NF } // End of group ue_app_ctx } // End of group ue_app_ctx Loading @@ -474,7 +474,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { * @desc Check that the IUT responds with the list of user applications available when requested by an UE Application * @desc Check that the IUT responds with the list of user applications available when requested by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -526,13 +526,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_create_ue_app_ctx(); f_create_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -581,13 +581,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_create_ue_app_ctx(); f_create_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_BR /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -634,7 +634,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_NF } // End of group ue_apps } // End of group ue_apps Loading Loading
ccsrc/Protocols/Json/json_codec.cc +4 −4 Original line number Original line Diff line number Diff line Loading @@ -379,13 +379,13 @@ int json_codec::decode (const OCTETSTRING& p_data, LibItsHttp__JsonMessageBodyTy } } if (it->second[0] == '[') { // BwInfoList if (it->second[0] == '[') { // BwInfoList TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); BwManagementAPI__TypesAndValues::BwInfoList bw_info_list; TrafficManagementAPI__TypesAndValues::BwInfoList bw_info_list; bw_info_list.decode(BwManagementAPI__TypesAndValues::BwInfoList_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); bw_info_list.decode(TrafficManagementAPI__TypesAndValues::BwInfoList_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); msg.bwInfoList() = bw_info_list; msg.bwInfoList() = bw_info_list; } else { // BwInfo } else { // BwInfo BwManagementAPI__TypesAndValues::BwInfo bw_info; TrafficManagementAPI__TypesAndValues::BwInfo bw_info; TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); TTCN_Buffer decoding_buffer_(OCTETSTRING(str.length(), (const unsigned char*)str.c_str())); bw_info.decode(BwManagementAPI__TypesAndValues::BwInfo_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); bw_info.decode(TrafficManagementAPI__TypesAndValues::BwInfo_descr_, decoding_buffer_, TTCN_EncDec::CT_JSON); msg.bwInfo() = bw_info; msg.bwInfo() = bw_info; } } } else if (it->second.find("\"detail\"") != std::string::npos) { } else if (it->second.find("\"detail\"") != std::string::npos) { Loading
etc/AtsMec/AtsMec_Mockoon.cf_ +13 −4 Original line number Original line Diff line number Diff line Loading @@ -228,10 +228,19 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server #AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK #AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK # ETSI GS MEC 015 # ETSI GS MEC 015 #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_001_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_001_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_OK #AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_BR #AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_BR AtsMec_BwManagementAPI_TestCases.TC_MEC_SRV_BWA_002_NF AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_NF # ETSI GS MEC 016 # ETSI GS MEC 028 # ETSI GS MEC 030 AtsMec_V2XInformationAPI_TestCases.TC_MEC_MEC030_SRV_V2X_001_OK_01 [GROUPS] [GROUPS] # In this section you can specify groups of hosts. These groups can be used inside the # In this section you can specify groups of hosts. These groups can be used inside the Loading
ttcn/AtsMec/AtsMec_TestControl.ttcn +17 −17 Original line number Original line Diff line number Diff line Loading @@ -6,8 +6,8 @@ module AtsMec_TestControl { import from UEidentityAPI_Pics all; import from UEidentityAPI_Pics all; // LibMec/RnisAPI // LibMec/RnisAPI import from RnisAPI_Pics all; import from RnisAPI_Pics all; // LibMec/BwManagementAPI // LibMec/TrafficManagementAPI import from BwManagementAPI_Pics all; import from TrafficManagementAPI_Pics all; // LibMec/AppEnablementAPI // LibMec/AppEnablementAPI import from AppEnablementAPI_Pics all; import from AppEnablementAPI_Pics all; // LibMec/UEAppInterfaceAPI // LibMec/UEAppInterfaceAPI Loading @@ -21,7 +21,7 @@ module AtsMec_TestControl { import from AtsMec_UEidentityAPI_TestCases all; import from AtsMec_UEidentityAPI_TestCases all; // import from AtsMec_RadioNodeLocationAPI_TestCases all; // import from AtsMec_RadioNodeLocationAPI_TestCases all; import from AtsMec_RnisAPI_TestCases all; import from AtsMec_RnisAPI_TestCases all; import from AtsMec_BwManagementAPI_TestCases all; import from AtsMec_TrafficManagementAPI_TestCases all; import from AtsMec_AppEnablementAPI_TestCases all; import from AtsMec_AppEnablementAPI_TestCases all; import from AtsMec_UEAppInterfaceAPI_TestCases all; import from AtsMec_UEAppInterfaceAPI_TestCases all; Loading Loading @@ -73,16 +73,16 @@ module AtsMec_TestControl { } } if (PICS_ENABLE_UE_APP_CTX) { if (PICS_ENABLE_UE_APP_CTX) { execute(TC_MEC_MEO_UEAPPCTX_001_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_001_OK()); execute(TC_MEC_MEO_UEAPPCTX_001_BR()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_001_BR()); execute(TC_MEC_MEO_UEAPPCTX_002_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_OK()); execute(TC_MEC_MEO_UEAPPCTX_002_BR()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_BR()); execute(TC_MEC_MEO_UEAPPCTX_002_NF()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_002_NF()); execute(TC_MEC_MEO_UEAPPCTX_003_OK()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_003_OK()); execute(TC_MEC_MEO_UEAPPCTX_003_NF()); execute(TC_MEC_MEC016_MEO_UEAPPCTX_003_NF()); execute(TC_MEC_MEO_UEAPPS_001_OK()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_OK()); execute(TC_MEC_MEO_UEAPPS_001_BR()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_BR()); execute(TC_MEC_MEO_UEAPPS_001_NF()); execute(TC_MEC_MEC016_MEO_UEAPPS_001_NF()); } } } } Loading Loading @@ -116,10 +116,10 @@ module AtsMec_TestControl { } } if (PICS_MEC_PLAT and PICS_BWMANAGEMENT_API_SUPPORTED) { if (PICS_MEC_PLAT and PICS_BWMANAGEMENT_API_SUPPORTED) { execute(TC_MEC_SRV_BWA_001_OK()); execute(TC_MEC_MEC015_SRV_TM_001_OK()); execute(TC_MEC_SRV_BWA_002_OK()); execute(TC_MEC_MEC015_SRV_TM_002_OK()); execute(TC_MEC_SRV_BWA_002_BR()); execute(TC_MEC_MEC015_SRV_TM_002_BR()); execute(TC_MEC_SRV_BWA_002_NF()); execute(TC_MEC_MEC015_SRV_TM_002_NF()); } } } // End of 'control' statement } // End of 'control' statement Loading
ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn→ttcn/AtsMec/AtsMec_TrafficManagementAPI_TestCases.ttcn +17 −17 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,7 @@ * All rights reserved. * All rights reserved. * @see ETSI GS MEC 015, Draft ETSI GS MEC 015 V2.1.1 (2020-06) * @see ETSI GS MEC 015, Draft ETSI GS MEC 015 V2.1.1 (2020-06) */ */ module AtsMec_BwManagementAPI_TestCases { module AtsMec_TrafficManagementAPI_TestCases { // Libcommon // Libcommon import from LibCommon_Time all; import from LibCommon_Time all; Loading @@ -23,11 +23,11 @@ module AtsMec_BwManagementAPI_TestCases { import from LibItsHttp_JsonTemplates all; import from LibItsHttp_JsonTemplates all; import from LibItsHttp_TestSystem all; import from LibItsHttp_TestSystem all; // LibMec/BwManagementAPI // LibMec/TrafficManagementAPI import from BwManagementAPI_TypesAndValues all; import from TrafficManagementAPI_TypesAndValues all; import from BwManagementAPI_Templates all; import from TrafficManagementAPI_Templates all; import from BwManagementAPI_Pics all; import from TrafficManagementAPI_Pics all; import from BwManagementAPI_Pixits all; import from TrafficManagementAPI_Pixits all; // LibMec // LibMec import from LibMec_Templates all; import from LibMec_Templates all; Loading @@ -42,7 +42,7 @@ module AtsMec_BwManagementAPI_TestCases { * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -93,14 +93,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_001_OK } // End of testcase TC_MEC_MEC015_SRV_TM_001_OK /** /** * @desc Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application * @desc Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -153,14 +153,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_OK } // End of testcase TC_MEC_MEC015_SRV_TM_002_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -213,14 +213,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_BR } // End of testcase TC_MEC_MEC015_SRV_TM_002_BR /** /** * @desc Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_002_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_002_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -273,14 +273,14 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_002_NF } // End of testcase TC_MEC_MEC015_SRV_TM_002_NF /** /** * @desc Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application * @desc Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see https://forge.etsi.org/gitlab/mec/MEC-tests/blob/master/Test%20Purposes/Plat/Mp1/Bandwidth/PlatBandwidthManager.tplan2 * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml * @see hhttps://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/raw/master/BwManagementApi.yaml */ */ testcase TC_MEC_SRV_BWA_003_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC015_SRV_TM_003_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -344,8 +344,8 @@ module AtsMec_BwManagementAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_SRV_BWA_003_OK } // End of testcase TC_MEC_MEC015_SRV_TM_003_OK } // End of group me_app_role } // End of group me_app_role } // End of module AtsMec_BwManagementAPI_TestCases } // End of module AtsMec_TrafficManagementAPI_TestCases
ttcn/AtsMec/AtsMec_UEAppInterfaceAPI_TestCases.ttcn +20 −20 Original line number Original line Diff line number Diff line Loading @@ -38,7 +38,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { * @desc Check that the IUT acknowledges the creation of the application context when requested by an UE Application * @desc Check that the IUT acknowledges the creation of the application context when requested by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -106,13 +106,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_001_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_001_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -167,13 +167,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_001_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_001_BR /** /** * @desc Check that the IUT updates the application callback reference when commanded by an UE Application * @desc Check that the IUT updates the application callback reference when commanded by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -232,13 +232,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_delete_ue_app_ctx(); f_delete_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -295,13 +295,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_BR /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_002_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -358,13 +358,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_002_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_002_NF /** /** * @desc Check that the IUT deletes the application context when commanded by an UE Application * @desc Check that the IUT deletes the application context when commanded by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_003_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -411,13 +411,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_003_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_OK /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 */ */ testcase TC_MEC_MEO_UEAPPCTX_003_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; Loading Loading @@ -464,7 +464,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPCTX_003_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPCTX_003_NF } // End of group ue_app_ctx } // End of group ue_app_ctx Loading @@ -474,7 +474,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { * @desc Check that the IUT responds with the list of user applications available when requested by an UE Application * @desc Check that the IUT responds with the list of user applications available when requested by an UE Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_OK() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_OK() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -526,13 +526,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_create_ue_app_ctx(); f_create_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_OK } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_OK /** /** * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @desc Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_BR() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_BR() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -581,13 +581,13 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_create_ue_app_ctx(); f_create_ue_app_ctx(); f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_BR } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_BR /** /** * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @desc Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 * @see https://forge.etsi.org/rep/mec/gs032p2-test-purposes/blob/master/Test%20Purposes/MEO/UEAPPS/SysUeApplications.tplan2 */ */ testcase TC_MEC_MEO_UEAPPS_001_NF() runs on HttpComponent system HttpTestAdapter { testcase TC_MEC_MEC016_MEO_UEAPPS_001_NF() runs on HttpComponent system HttpTestAdapter { // Local variables // Local variables var Headers v_headers; var Headers v_headers; var HttpMessage v_response; var HttpMessage v_response; Loading Loading @@ -634,7 +634,7 @@ module AtsMec_UEAppInterfaceAPI_TestCases { // Postamble // Postamble f_cf_01_http_down(); f_cf_01_http_down(); } // End of testcase TC_MEC_MEO_UEAPPS_001_NF } // End of testcase TC_MEC_MEC016_MEO_UEAPPS_001_NF } // End of group ue_apps } // End of group ue_apps Loading