Commit 7e73130a authored by YannGarcia's avatar YannGarcia
Browse files

Bug fixed againt Mockoon

parent 3d66f5e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_OK_01
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_01
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_01
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_02
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_03
# Check that the IUT responds with the configured bandwidth allocation when queried by a MEC Application
@@ -249,7 +249,7 @@ AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_01
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_004_NF
# Check that the IUT updates the requested bandwidth requirements when commanded by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_OK
AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_OK
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_BR
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
+16 −16
Original line number Diff line number Diff line
@@ -633,7 +633,7 @@ module AtsMec_MultiAccessSteeringInfoAPI_TestCases {
        alt {
          [] httpPort.receive(
                              mw_http_response(
                                               mw_http_response_ok(
                                               mw_http_response_201_created(
                                                                            mw_http_message_body_json(
                                                                                                      mw_body_json_mts_session_info(
                                                                                                                                    mw_mts_session_info(
+1 −1
Original line number Diff line number Diff line
@@ -699,7 +699,7 @@ module AtsMec_TrafficManagementAPI_TestCases {
                                                                   mw_http_message_body_json(
                                                                                             mw_body_json_bw_info(
                                                                                                                  mw_bw_info(
                                                                                                                             PX_APP_INSTANCE_ID
                                                                                                                             v_app_instance_id
                                                                                                                             )))))) -> value v_response {
            tc_ac.stop;
            

LibIts @ 913d1303

Original line number Diff line number Diff line
Subproject commit 26b8f58bf5d2d4a09b9e63061a6d871a927f8985
Subproject commit 913d130353cf716ab620edbafcb56d2213dc344d
+16 −14
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ module TrafficManagementAPI_Functions {
    alt {
      [] httpPort.receive(
                          mw_http_response(
                                           mw_http_response_ok(
                                           mw_http_response_201_created(
                                                                        mw_http_message_body_json(
                                                                                                  mw_body_json_bw_info(
                                                                                                                       mw_bw_info(
@@ -64,7 +64,7 @@ module TrafficManagementAPI_Functions {
        
        tc_ac.stop;

        log("f_create_bw_allocation_resource: BwInfo recsource created: ", v_response);
        log("f_create_bw_allocation_resource: BwInfo resource created: ", v_response);
        f_get_header(valueof(v_response.response.header), "Location", v_bw_allocation_id);
        if (lengthof(v_bw_allocation_id) != 0) {
          p_bw_allocation_id := v_bw_allocation_id[0];
@@ -96,6 +96,7 @@ module TrafficManagementAPI_Functions {
                          mw_http_response(
                                           mw_http_response_204_no_content
                                           )) {
        tc_ac.stop;
      }
      [] tc_ac.timeout {
        log("f_delete_bw_allocation_resource: Expected message not received");
@@ -137,7 +138,7 @@ module TrafficManagementAPI_Functions {
    alt {
      [] httpPort.receive(
                          mw_http_response(
                                           mw_http_response_ok(
                                           mw_http_response_201_created(
                                                                        mw_http_message_body_json(
                                                                                                  mw_body_json_mts_session_info(
                                                                                                                                mw_mts_session_info(
@@ -147,7 +148,7 @@ module TrafficManagementAPI_Functions {
        
        tc_ac.stop;

        log("f_create_mts_session_info_resource: BwInfo recsource created: ", v_response);
        log("f_create_mts_session_info_resource: BwInfo resource created: ", v_response);
        f_get_header(valueof(v_response.response.header), "Location", v_mts_session_info_id);
        if (lengthof(v_mts_session_info_id) != 0) {
          p_mts_session_id := v_mts_session_info_id[0];
@@ -179,6 +180,7 @@ module TrafficManagementAPI_Functions {
                          mw_http_response(
                                           mw_http_response_204_no_content
                                           )) {
        tc_ac.stop;
      }
      [] tc_ac.timeout {
        log("f_delete_mts_session_info_resource: Expected message not received");