Commit 5bf03132 authored by wattelet's avatar wattelet
Browse files

CL test group updated for 2 components

parent 04f6535c
Loading
Loading
Loading
Loading
+176 −2
Original line number Original line Diff line number Diff line
@@ -549,7 +549,7 @@ module DiameterS6a_HSS_TCFunctions {
        
        
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_awaiting_ULA( mdw_ULA( 
            f_awaiting_ULA( mdw_ULA( 
                        ?,
                        vc_sessionId2,
                        mw_S6a_ULA_Body_dummy
                        mw_S6a_ULA_Body_dummy
            ));
            ));
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
@@ -895,6 +895,7 @@ module DiameterS6a_HSS_TCFunctions {
            // Test Body
            // Test Body
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal
            // FIXME How to achieve it
            // FIXME How to achieve it
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            
            
            // Clause 'then':  the IUT sends a CL-Request
            // Clause 'then':  the IUT sends a CL-Request
@@ -918,6 +919,7 @@ module DiameterS6a_HSS_TCFunctions {
                ) // End of md_CLA
                ) // End of md_CLA
            );
            );
            
            
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            
            // Postamble
            // Postamble
@@ -927,6 +929,47 @@ module DiameterS6a_HSS_TCFunctions {
            
            
        } // End of TC function f_TC_HSS_CL_01
        } // End of TC function f_TC_HSS_CL_01


        function f_TC_HSS_CL_01_NewMME() runs on DiameterComponent {
            
            // Local variables
            
            // Preamble
            f_preamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
            
            // Test Body
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            f_send_ULR(
                md_ULR( 
                    vc_sessionId2,
                    md_ulrBodyAvps(
                        md_auth_Session_State_noStateMaintained,
                        vc_originHost2,
                        vc_originRealm,
                        vc_destinationRealm,
                        m_userName(PX_USR_NAME),
                        m_rAT_Type(PX_RAT_TYPE),
                        md_ulr_Flags_AVP(2),
                        m_visitedPLMNId_dummy
                    ) // End of md_ulrBodyAvps
                ) // End of md_ULR
            );
        
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_awaiting_ULA( mdw_ULA( 
                        vc_sessionId2,
                        mw_S6a_ULA_Body_dummy
            ));
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            // Postamble
            f_postamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
            
        } // End of TC function f_TC_HSS_CL_01_NewMME
        
        /**
        /**
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an ongoing update procedure
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an ongoing update procedure
         */
         */
@@ -945,6 +988,7 @@ module DiameterS6a_HSS_TCFunctions {
            // Test Body
            // Test Body
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an ongoing update procedure
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an ongoing update procedure
            // FIXME How to achieve it
            // FIXME How to achieve it
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME an ongoing update procedure");
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME an ongoing update procedure");
            
            
            // Clause 'then':  the IUT sends a CL-Request
            // Clause 'then':  the IUT sends a CL-Request
@@ -968,6 +1012,7 @@ module DiameterS6a_HSS_TCFunctions {
                ) // End of md_CLA
                ) // End of md_CLA
            );
            );
            
            
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            
            // Postamble
            // Postamble
@@ -977,6 +1022,48 @@ module DiameterS6a_HSS_TCFunctions {
            
            
        } // End of TC function f_TC_HSS_CL_02
        } // End of TC function f_TC_HSS_CL_02
        
        

        function f_TC_HSS_CL_02_NewMME() runs on DiameterComponent {
            
            // Local variables
            
            // Preamble
            f_preamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
            
            // Test Body
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            f_send_ULR(
                md_ULR( 
                    vc_sessionId2,
                    md_ulrBodyAvps(
                        md_auth_Session_State_noStateMaintained,
                        vc_originHost2,
                        vc_originRealm,
                        vc_destinationRealm,
                        m_userName(PX_USR_NAME),
                        m_rAT_Type(PX_RAT_TYPE),
                        md_ulr_Flags_AVP(2),
                        m_visitedPLMNId_dummy
                        ) // End of md_ulrBodyAvps
                ) // End of md_ULR
            );
        
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_awaiting_ULA( mdw_ULA( 
                        vc_sessionId2,
                        mw_S6a_ULA_Body_dummy
            ));
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            // Postamble
            f_postamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
            
        } // End of TC function f_TC_HSS_CL_02_NewMME

        /**
        /**
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an initial attach procedure
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an initial attach procedure
         */
         */
@@ -995,6 +1082,7 @@ module DiameterS6a_HSS_TCFunctions {
            // Test Body
            // Test Body
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an initial attach procedure
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an initial attach procedure
            // FIXME How to achieve it
            // FIXME How to achieve it
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            
            
            // Clause 'then':  the IUT sends a CL-Request
            // Clause 'then':  the IUT sends a CL-Request
@@ -1017,6 +1105,7 @@ module DiameterS6a_HSS_TCFunctions {
                ) // End of md_CLA
                ) // End of md_CLA
            );
            );
            
            
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            
            // Postamble
            // Postamble
@@ -1026,6 +1115,48 @@ module DiameterS6a_HSS_TCFunctions {
            
            
        } // End of TC function f_TC_HSS_CL_03
        } // End of TC function f_TC_HSS_CL_03
        
        

        function f_TC_HSS_CL_03_NewMME() runs on DiameterComponent {
            
            // Local variables
            
            // Preamble
            f_preamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
            
            // Test Body
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            f_send_ULR(
                md_ULR( 
                    vc_sessionId2,
                    md_ulrBodyAvps(
                        md_auth_Session_State_noStateMaintained,
                        vc_originHost2,
                        vc_originRealm,
                        vc_destinationRealm,
                        m_userName(PX_USR_NAME),
                        m_rAT_Type(PX_RAT_TYPE),
                        md_ulr_Flags_AVP(2),
                        m_visitedPLMNId_dummy
                    ) // End of md_ulrBodyAvps
                ) // End of md_ULR
            );
        
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_awaiting_ULA( mdw_ULA( 
                        vc_sessionId2,
                        mw_S6a_ULA_Body_dummy
            ));
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            // Postamble
            f_postamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
            
        } // End of TC function f_TC_HSS_CL_03_NewMME

        /**
        /**
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an initial attach procedure
         * @desc    Verify that the IUT can successfully initiate all mandatory AVPs in a CL-Request due to Cancel Location procedure to inform MME about an initial attach procedure
         */
         */
@@ -1044,6 +1175,7 @@ module DiameterS6a_HSS_TCFunctions {
            // Test Body
            // Test Body
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an initial attach procedure
            // Clause 'when': the IUT is requested to indicate a request for cancel location procedure to inform MME about an initial attach procedure
            // FIXME How to achieve it
            // FIXME How to achieve it
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            action("the IUT is requested to indicate a request for cancel location procedure to inform MME about subscriber’s subscription withdrawal");
            
            
            // Clause 'then':  the IUT sends a CL-Request
            // Clause 'then':  the IUT sends a CL-Request
@@ -1067,6 +1199,7 @@ module DiameterS6a_HSS_TCFunctions {
                ) // End of md_CLA
                ) // End of md_CLA
            );
            );
            
            
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            
            // Postamble
            // Postamble
@@ -1076,6 +1209,47 @@ module DiameterS6a_HSS_TCFunctions {
            
            
        } // End of TC function f_TC_HSS_CL_04
        } // End of TC function f_TC_HSS_CL_04
        
        
        function f_TC_HSS_CL_04_NewMME() runs on DiameterComponent {
            
            // Local variables
            
            // Preamble
            f_preamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
            
            // Test Body
            f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());
            f_send_ULR(
                md_ULR( 
                    vc_sessionId2,
                    md_ulrBodyAvps(
                        md_auth_Session_State_noStateMaintained,
                        vc_originHost2,
                        vc_originRealm,
                        vc_destinationRealm,
                        m_userName(PX_USR_NAME),
                        m_rAT_Type(PX_RAT_TYPE),
                        md_ulr_Flags_AVP(2),
                        m_visitedPLMNId_dummy
                    ) // End of md_ulrBodyAvps
                ) // End of md_ULR
            );
        
            f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());
            f_awaiting_ULA( mdw_ULA( 
                        vc_sessionId2,
                        mw_S6a_ULA_Body_dummy
            ));
            f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
            
            // Postamble
            f_postamble_HSS2();
            f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
            log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
            
        } // End of TC function f_TC_HSS_CL_04_NewMME
    
    } // End of group cancelLocation
    } // End of group cancelLocation


    // 5.2.2.3 Purge UE
    // 5.2.2.3 Purge UE