Commit 0aae141a authored by rennoch's avatar rennoch
Browse files

Gx tests: PCEF_MSI06

parent 537537fa
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -1305,7 +1305,36 @@ module DiameterGx_Gx_TCFunctions {

            } // end function f_TC_PCEF_MSI_05

            /*
            *  @desc	This is the test case function TC_PCEF_MSI_06
            *  @param	
            */
            function f_TC_PCEF_MSI_06()
            runs on DiameterComponent {

               f_preamble_PCRF();
                
               f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync
                
               f_awaiting_CCR(mw_CCR_Request(vc_sessionId, 
                									vc_originHost, 
                									vc_originRealm, 
                									vc_destinationRealm,
                									mw_cC_Request_Type(INITIAL_REQUEST_E),
                									*, *, *));

                f_send_CCA(m_CCA_Result(vc_sessionId, vc_originHost, vc_originRealm, 
                	m_experimentalResult(m_vendorId_dummy,m_expResultCode(DIAMETER_ERROR_INITIAL_PARAMETERS_E))));

				//note: verdict need to be set due to oberservation of IP-CAN traffic (e.g. other test component)

                f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); //     sync
    
                f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync

                f_postamble_PCRF();

            } // end function f_TC_PCEF_MSI_06
            
        }//end group  TP_PCEFRole_MSI
        
+10 −0
Original line number Diff line number Diff line
@@ -1209,6 +1209,16 @@ module DiameterGx_Templates {
                result_Code := p_resultCode
            }
            
            template CCA_MSG m_CCA_Result(template Session_Id_AVP p_sessionId,
                                         template Origin_Host_AVP p_originHost,
                                         template Origin_Realm_AVP p_originRealm,
                                         template Experimental_Result_AVP p_experimentalResult)
                modifies m_CCA_basic := 
            {
                header := m_diameterHeaderAns_dummy(CCA_E, c_applIdGx),
                experimental_Result := p_experimentalResult
            }
          
          } //     end group Gxmodified_answer_templates_send
		  
          group Gxmodified_answer_templates_receive {