Commit 666584f3 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files
parents 9a69f95e 15965c4d
Loading
Loading
Loading
Loading
+854 −51

File changed.

Preview size limit exceeded, changes collapsed.

test_purposes/Mw/TP_MW.tplan2

deleted100644 → 0
+0 −327
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2019-2020.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/


Package TP_MW {
    
    import all from Sip_Common;
    
    Test Purpose {
        
        TP Id TP_MW_PCSCF_MESSAGE_01
        // TP_IMST2_MW_GEN_01 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective "All IMS CN components shall support SIP messages which are greater than 1 300 bytes in length"
               
        Reference 
          "TS 124 229 (V15.6.0) [1], clause 4.2A"  
        
        Config Id CFG_INT_MW_01
                  
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isRegisteredTo the IMS_A and
            the NW_UE_B entity isAttachedTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IMS_P_CSCF_A entity receives a MESSAGE
                       containing ContentLength indicating value greater than 1300 bytes
                       ;
                    to the IMS_A entity
                }
                then {
                    the IMS_P_CSCF_A entity forwards the MESSAGE to the IMS_I_CSCF_A entity
                }
            }  
    }  // End of TP_MW_PCSCF_MESSAGE_01
    
    Test Purpose {
        
        TP Id TP_MW_PCSCF_REGISTER_01
        // TP_IMST2_MW_REG_01 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective  "Verify that the SUT successfully processes a first registration (UE_A initiated)."
        
        Reference 
            "ETSI TS 124 229 (V15.3.0) [5], clauses 5.2.1, 6.2"
        
        Config Id CFG_INT_MW_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isAttachedTo the EPC_A and
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity isTriggeredToStart
                }
                then {
                    the IMS_P_CSCF_A entity sends a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Path indicating value PX_P_CSCF_A_SIP_URI,
                        PChargingVector containing
                            icid indicating value PX_TO_BE_DEFINED,
                        PVisitedNetworkID indicating value PX_TO_BE_DEFINED,
                        Require_HDR indicating value "path",
                        Supported indicating value "path"
                        ;;
                    and the IMS_P_CSCF_A entity receives an 401_Unauthorized containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        PChargingVector containing
                            icid indicating value PX_TO_BE_DEFINED,
                        Warning,
                        WwwAuthenticate containing
                            Authentication_Scheme,
                            Realm,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth"
                        ;;;
                }
            }
    } // End of TP_MW_PCSCF_REGISTER_01
    
    Test Purpose {
        
        TP Id TP_MW_PCSCF_REGISTER_02
        // TP_IMST2_MW_REG_08 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective  "Verify that the SUT successfully processes a full registration (UE_A initiated)."
        
        Reference 
            "ETSI TS 124 229 (V15.3.0) [5], clauses 5.2.1, 6.2"
        
        Config Id CFG_INT_MW_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isAttachedTo the EPC_A and
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity isTriggeredToStart and
                    the UE_A entity hasAchieveFirstREGISTER
                }
                then {
                    the IMS_P_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Authorization containing
                            Authentication_Scheme indicating value PX_TO_BE_DEFINED,
                            Authentication_URI indicating value PX_TO_BE_DEFINED,
                            Username indicating value PX_UE_A_USERNAME,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value "not empty",
                            qop indicating value "auth"
                        ;;
                    and the IMS_P_CSCF_A entity sends an 200_Ok containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        AuthenticationInfo,
                        PAccessNetworkInfo,
                        PAssociatedURI indicating value PX_UE_A_SIP_URI,
                        P_Charging_Function_Addresses_HDR,
                        Path
                        ;
                }
            }
    } // End of TP_MW_PCSCF_REGISTER_02
    
    Test Purpose {
        
        TP Id TP_GM_PCSCF_REGISTER_03
        // TP_IMST2_MW_REG_01 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective  "Verify that the SUT successfully processes a invalid first registration (UE_A initiated)."
        
        Reference 
            "ETSI TS 124 229 (V15.3.0) [5], clauses 5.1.3, 6.1.1 and 6.1.2"
        
        Config Id CFG_INT_GM_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isAttachedTo the EPC_A and
            the UE_A entity isNotRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity isTriggeredToStart
                }
                then {
                    the IMS_P_CSCF_A entity receives a REGISTER containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Authorization containing
                            Authentication_Schema indicating value PX_TO_BE_DEFINED,
                            Authentication_URI indicating value PX_TO_BE_DEFINED,
                            Username indicating value PX_UE_A_INVALID_USERNAME,
                            Realm indicating value PX_UE_A_REALM,
                            Algorithm indicating value PX_UE_A_AUTH_ALG,
                            Nonce indicating value ""
                        ;;
                    and the IMS_P_CSCF_A entity sends an 404_NotFound containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_A_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID
                        ;
                }
            }
    } // End of TP_GM_PCSCF_REGISTER_03
    
    Test Purpose {
        
        TP Id TP_MW_PCSCF_SUBSCRIBE_01
        // TP_IMST2_MW_REG_14 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective  "Verify that the SUT successfully processes a SUBSCRIBE (UE_A initiated)."
        
        Reference 
            "ETSI TS 124 229 (V15.3.0) [5], clauses 5.2.1, 6.2"
        
        Config Id CFG_INT_MW_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isAttachedTo the EPC_A and
            the UE_A entity isRegisteredTo the IMS_A
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity isRequestedToSend a SUBSCRIBE
                }
                then {
                    the IMS_P_CSCF_A entity sends an SUBSCRIBE containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Route indicating value PX_UE_A_SERVICE_ROUTE
                        // TODO To be continued
                        ;
                     and the IMS_P_CSCF_A entity receives a 200_Ok containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA
                        // TODO To be continued
                        ;
                 }
            }
    } // End of TP_MW_PCSCF_SUBSCRIBE_01
    
    Test Purpose {
        
        TP Id TP_MW_PCSCF_INVITE_01
        // TP_IMST2_MW_INI_05 from ETSI TS 102 790-2 V3.1.1 (2014-07)
        
        Test objective  "Verify that the SUT successfully processes an initial INVITE (UE_A initiated)."
        
        Reference 
            "ETSI TS 124 229 (V15.3.0) [5], clauses 5.2.1, 6.2"
        
        Config Id CFG_INT_GM_01
        
        PICS Selection PICS_1
        
        Initial conditions with {
            the UE_A entity isAttachedTo the EPC_A and
            the UE_B entity isAttachedTo the EPC_B and
            the UE_A entity isRegisteredTo the IMS_A and
            the UE_B entity isRegisteredTo the IMS_B
        }
        
        Expected behaviour
            ensure that {
                when {
                    the UE_A entity isRequestedToSend an INVITE
                }
                then {
                    the IMS_P_CSCF_A entity sends an INVITE containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA,
                        Route indicating value PX_UE_A_SERVICE_ROUTE,
                        PAccessNetworkInfo,
                        ContentType indicating value "application/sdp",
                        ContentLength,
                        MessageBody containing
                            SDP containing
                                Version indicating value "0" 
                                // TODO To be continued
                            ;
                        ;;
                     and the IMS_P_CSCF_A entity receives a 100_Trying containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA
                        ;
                     or the IMS_P_CSCF_A entity receives a 180_Ringing containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA
                        ;
                     and the IMS_P_CSCF_A entity receives a 200_Ok containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA
                        ;
                     and the IMS_P_CSCF_A entity sends a ACK containing
                        From indicating value PX_UE_A_SIP_URI,
                        To indicating value PX_UE_B_SIP_URI,
                        CallId indicating value PX_UE_A_CALLID,
                        Via indicating value PX_UE_A_VIA
                        ;
                 }
            }
    } // End of TP_MW_PCSCF_INVITE_01
    
} // End of Package TP_MW
+1254 −0

File added.

Preview size limit exceeded, changes collapsed.

+39 −3
Original line number Diff line number Diff line
@@ -77,20 +77,26 @@ Package Sip_Common {
            - hasReceivedSubsequentOrTargetRefreshRequestInDialog
            - previouslyEstablishedCallWith
            - isRequestedToSend
            - isBusy
            - isNoLongerAvailable
            // SIP Requests
            - hasAchieveFirstREGISTER
            - REGISTER
            - SUBSCRIBE
            - hasAchieveInitialINVITE
            - hasAchieveINVITE
            - INVITE
            - 486_INVITE
            - ACK
            // SIP Responses
            - 401_Unauthorized
            - 100_Trying
            - 180_Ringing
            - 200_Ok
            - 2xx_Any
            - 404_NotFound
            - 403_Forbidden
            - 4xx_Any
        ;
    } // End of Domain section

@@ -134,7 +140,7 @@ Package Sip_Common {
        Component Type SipEnumComponent with gate gSip of type defaultGT gate gEnum of type enumGT; 
        Component Type EnumDBComponent with gate gEnum of type enumGT;
        
            Test Configuration CFG_INT_GM_01
            Test Configuration CF_VxLTE_INT
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_P_CSCF_A of type SipComponent
@@ -144,7 +150,17 @@ Package Sip_Common {
                    connection between IMS_P_CSCF_A.g and IMS_I_CSCF_A.g 
            ;
            
            Test Configuration CFG_INT_MW_01
            Test Configuration CF_VxLTE_RMI
                containing 
                    Tester component UE_B of type SipComponent
                    Tester component IMS_P_CSCF_B of type SipComponent
                    
                    SUT component IMS_P_CSCF_B of type SipComponent
                    connection between UE_B.g and IMS_P_CSCF_B.g
                    connection between IMS_P_CSCF_B.g and IMS_I_CSCF_B.g 
            ;
            
            Test Configuration CFG_RMI_GM_01
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_P_CSCF_A of type SipComponent
@@ -154,6 +170,26 @@ Package Sip_Common {
                    connection between IMS_P_CSCF_A.g and IMS_I_CSCF_A.g 
            ;
            
            Test Configuration CFG_INT_MW_01 // MW at P-CSCF
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_P_CSCF_A of type SipComponent
                    
                    SUT component IMS_P_CSCF_A of type SipComponent
                    connection between UE_A.g and IMS_P_CSCF_A.g
                    connection between IMS_P_CSCF_A.g and IMS_S_CSCF_A.g
            ;
            
            Test Configuration CFG_INT_MW_02 // MW at S-CSCF
                containing 
                    Tester component IMS_P_CSCF_A of type SipComponent
                    Tester component IMS_S_CSCF_A of type SipComponent
                    
                    SUT component  of type SipComponent
                    connection between IMS_P_CSCF_A.g and IMS_S_CSCF_A.g
                    connection between IMS_S_CSCF_A.g and IMS_I_CSCF_A.g
            ;
            
            Test Configuration CFG_IC_01
                containing 
                    Tester component UE_A of type SipComponent