AtsGtpv2C_TestCases.ttcn 144 KB
Newer Older
garciay's avatar
garciay committed
             *      then {
             *          Verify that the IUT sends a Trace Session Deactivation message to the P-GW
             *      }
             *  }
             * </pre>
             * @verdict pass on success, inconc on timeout, fail otherwise
             *
             * @see         ETSI TS 103 202-2 V0.0.2 (2014-03), TP_TMM_02
garciay's avatar
garciay committed
             * @reference   ETSI TS 129 274, clauses 7.12.1
garciay's avatar
garciay committed
             */
            testcase TC_S11_SGW_TMM_02() runs on Gtpv2CComponent system Gtpv2CSystemAdapter {
                
                // Local variables
                
                // Test control
                if (not (PICS_S11_IUT_IS_SGW)) {
                    log("*** " & testcasename() & ": PICS_S11_IUT_IS_SGW required for executing the TC ***");
                    setverdict(inconc);
                    stop;
                }
                
                // Test component configuration
                f_cf01_S11Up_SGW();
                
                // Start
                vc_mme.start(f_TC_S11_SGW_TMM_02());
                
                // synchronize PTC on 1 sychronization point(s)
                f_serverSyncNClientsAndStop(1, { c_prDone, c_tbDone, c_poDone });
                
                // Postamble
                f_cf01_S11Down_SGW();
                
            } // End of testcase TC_S11_SGW_TMM_02 
            
        } // End of group traceManagement
        
        group testCodec { // Debug purpose 
            
            testcase TC_SGW_CODEC_01() runs on Gtpv2CComponent system Gtpv2CSystemAdapter {
                
                // Local variables
                
                // Test control
                if (not (PICS_S11_IUT_IS_SGW)) {
                    log("*** " & testcasename() & ": PICS_S11_IUT_IS_SGW required for executing the TC ***");
                    setverdict(inconc);
                    stop;
                }
                
                // Test component configuration
                f_cf01_S11Up_SGW();
                
                // Start
                vc_mme.start(f_TC_SGW_CODEC_01());
                
                // synchronize PTC on 1 sychronization point(s)
                f_serverSyncNClientsAndStop(1, { c_prDone, c_tbDone, c_poDone });
                
                // Postamble
                f_cf01_S11Down_SGW();
                
            } // End of testcase TC_SGW_CODEC_01 
            
        } // End of group traceManagement
        
    } // End of group sgwRole 
    
} // End of module AtsGtpv2C_TestCases