Commit 7014c2ac authored by garciay's avatar garciay
Browse files

Create TC for Path Management

parent 7fa38de5
Loading
Loading
Loading
Loading
+16 −16
Original line number Original line Diff line number Diff line
@@ -78,8 +78,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_01());
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_01());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_MME();
                f_cf01_S11Down_MME();
@@ -133,8 +133,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_02());
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_02());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_MME();
                f_cf01_S11Down_MME();
@@ -188,8 +188,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_03());
                vc_gtpv2c_sgw.start(f_TC_S11_MME_PM_03());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_MME();
                f_cf01_S11Down_MME();
@@ -322,7 +322,7 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_01());
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_01());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
@@ -377,8 +377,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_02());
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_02());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_SGW();
                f_cf01_S11Down_SGW();
@@ -432,8 +432,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_03());
                vc_gtpv2c_mme.start(f_TC_S11_SGW_PM_03());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_SGW();
                f_cf01_S11Down_SGW();
@@ -451,7 +451,7 @@ module AtsGtpv2C_TestCases {
            /**
            /**
            * @desc    Validate the Create Session Request/Response and the Modify Bearer Request/Response Procedure between MME and S-GW as part of the ATTACH Procedure
            * @desc    Validate the Create Session Request/Response and the Modify Bearer Request/Response Procedure between MME and S-GW as part of the ATTACH Procedure
            * <pre>
            * <pre>
            * Pics Selection: PICS_S11_IUT_IS_SGW and PICS_MME_CREATE_SESSION_REQUEST and PICS_MME_CREATE_BEARER_RESPONSE and PICS_MME_MODIFY_BEARER_REQUEST
            * Pics Selection: PICS_S11_IUT_IS_SGW and PICS_SGW_CREATE_SESSION_RESPONSE and PICS_MME_CREATE_BEARER_REQUEST and PICS_MME_BEARER_RESOURCE_FAILURE_INDICATION and PICS_MME_MODIFY_BEARER_RESPONSE
            * Config Id: CF01
            * Config Id: CF01
            * Initial conditions:
            * Initial conditions:
            *  with {
            *  with {
@@ -483,8 +483,8 @@ module AtsGtpv2C_TestCases {
                // Local variables
                // Local variables
                
                
                // Test control
                // Test control
                if (not (PICS_S11_IUT_IS_SGW and PICS_MME_CREATE_SESSION_REQUEST and PICS_MME_CREATE_BEARER_RESPONSE and PICS_MME_MODIFY_BEARER_REQUEST)) {
                if (not (PICS_S11_IUT_IS_SGW and PICS_SGW_CREATE_SESSION_RESPONSE and PICS_MME_CREATE_BEARER_REQUEST and PICS_MME_BEARER_RESOURCE_FAILURE_INDICATION and PICS_MME_MODIFY_BEARER_RESPONSE)) {
                    log("*** " & testcasename() & ": PICS_S11_IUT_IS_SGW and PICS_MME_CREATE_SESSION_REQUEST and PICS_MME_CREATE_BEARER_RESPONSE and PICS_MME_MODIFY_BEARER_REQUEST required for executing the TC ***");
                    log("*** " & testcasename() & ": PICS_S11_IUT_IS_SGW and PICS_MME_CREATE_SESSION_REQUEST and PICS_SGW_CREATE_SESSION_RESPONSE and PICS_MME_CREATE_BEARER_REQUEST and PICS_MME_BEARER_RESOURCE_FAILURE_INDICATION and PICS_MME_MODIFY_BEARER_RESPONSE required for executing the TC ***");
                    setverdict(inconc);
                    setverdict(inconc);
                    stop;
                    stop;
                }
                }
@@ -495,8 +495,8 @@ module AtsGtpv2C_TestCases {
                // Start
                // Start
                vc_gtpv2c_mme.start(f_TC_S11_SGW_TM_01());
                vc_gtpv2c_mme.start(f_TC_S11_SGW_TM_01());
                
                
                // synchronize PTC on 2 sychronization points
                // synchronize PTC on 1 sychronization point
                f_serverSyncNClientsAndStop(2, {c_prDone, c_tbDone, c_poDone});
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                
                // Postamble
                // Postamble
                f_cf01_S11Down_SGW();
                f_cf01_S11Down_SGW();
+6 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,9 @@ module AtsGtpv2C_TestControl {
                execute(TC_S11_MME_PM_03());
                execute(TC_S11_MME_PM_03());
            }
            }
            /* Tunnel management */
            /* Tunnel management */
            if (PICS_MME_CREATE_SESSION_REQUEST and PICS_MME_CREATE_BEARER_RESPONSE and PICS_MME_MODIFY_BEARER_REQUEST) {
                execute(TC_S11_MME_TM_01());
            }
        }
        }
        
        
        /* IUT is S-GW */
        /* IUT is S-GW */
@@ -40,6 +43,9 @@ module AtsGtpv2C_TestControl {
                execute(TC_S11_SGW_PM_03());
                execute(TC_S11_SGW_PM_03());
            }
            }
            /* Tunnel management */
            /* Tunnel management */
            if (PICS_SGW_CREATE_SESSION_RESPONSE and PICS_MME_CREATE_BEARER_REQUEST and PICS_MME_BEARER_RESOURCE_FAILURE_INDICATION and PICS_MME_MODIFY_BEARER_RESPONSE) {
                execute(TC_S11_SGW_TM_01());
            }
        }
        }
        
        
    } // End of 'control' statement
    } // End of 'control' statement