Commit 0a2c2794 authored by Yann Garcia's avatar Yann Garcia
Browse files

Create first TC for Sh/Dh

parent 59f01234
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -332,12 +332,12 @@ group AwaitingMessage {
    
    function f_awaiting_UDR(template (present)UDR_MSG p_UDR) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({uAR_MSG:=p_UDR});
        f_awaitingDiameterMsg({uDR_MSG:=p_UDR});
        //store specific parameter for UDR if needed
        if (ischosen (vc_recvDiamMsg.uAR_MSG)){
            vc_sessionId := vc_recvDiamMsg.uAR_MSG.session_Id;
            vc_recv_hopid:= vc_recvDiamMsg.uAR_MSG.header.hopid;
            vc_recv_endid:= vc_recvDiamMsg.uAR_MSG.header.endid;
        if (ischosen (vc_recvDiamMsg.uDR_MSG)){
            vc_sessionId := vc_recvDiamMsg.uDR_MSG.session_Id;
            vc_recv_hopid:= vc_recvDiamMsg.uDR_MSG.header.hopid;
            vc_recv_endid:= vc_recvDiamMsg.uDR_MSG.header.endid;
        } else 
        {
            log("WARNING: " & __SCOPE__ & "vc_recvDiamMsg different message as expected:", vc_recvDiamMsg);
@@ -346,7 +346,7 @@ group AwaitingMessage {
    
    function f_awaiting_UDA(template (present)UDA_MSG p_UDA) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({uAA_MSG:=p_UDA});
        f_awaitingDiameterMsg({uDA_MSG:=p_UDA});
        //store specific parameter for UDA if needed
    }
    
@@ -838,14 +838,14 @@ group SendMessage {

        //set specific parameter for UDR if needed

        f_sendDiameterMsg({uAR_MSG:=p_UDR});
        f_sendDiameterMsg({uDR_MSG:=p_UDR});
    }

    function f_send_UDA(template (value) UDA_MSG p_UDA) runs on DiameterComponent
    {
        //set specific parameter for UDA if needed

        f_sendDiameterMsg({uAA_MSG:=p_UDA});
        f_sendDiameterMsg({uDA_MSG:=p_UDA});
    }    
    
    function f_send_SAR(template (value) SAR_MSG p_SAR) runs on DiameterComponent