Commit f9222f4a authored by Yann Garcia's avatar Yann Garcia
Browse files

Adding TC_NGAP_AMF_PDU_02_02 in NGAP_TestCases.ttcn

parent 11d8d874
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -2136,6 +2136,33 @@ module NGAP_TestCases {

                } // End of testcase TC_NGAP_AMF_PDU_02

                /**
                 * @desc "Verify that the IUT successfully receives and processes the PDU_SESSION_RESOURCE_RELEASE_RESPONSE message and completes the PDU Session Resource Release procedure for a single PDU_Session_Resource."
                 */
                testcase TC_NGAP_AMF_PDU_02_02() runs on aMFNGAPComponent system TestAdapter {

                    // Local variables
                    var aMFNGAPComponent v_ngap_gnb;

                    // Test control
                    if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_1_2)){
                        log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_1_2' shall be set to true for executing the TC. ***");
                        stop;
                    }

                    // Test component configuration
                    f_cf_NGAP_aMF_Up(v_ngap_gnb);

                    // Start
                    v_ngap_gnb.start(f_TC_NGAP_AMF_PDU_02_02());

                    // synchronize PTC on 1 sychronization points
                    f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});

                    f_cf_Down/*gNBoraMF*/();

                } // End of testcase TC_NGAP_AMF_PDU_02_02

            } // End of group PDU_Session_Resource_Release
            //8.2.3
            group PDU_Session_Resource_Modify{