Commit 0b1beaf8 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Warning Message TPs added

parent 65a83011
Loading
Loading
Loading
Loading
+36 −0
Original line number Original line Diff line number Diff line
@@ -22,7 +22,43 @@ Package Ngap_Common {
    Domain {
    Domain {
        pics:
        pics:
            - NONE
            - NONE
            - PICS_A2/1		//gNB
            - PICS_A2/2		//AMF
            - PICS_A3/1_1	//gNB - PDU session management procedure - PDU SESSION RESOURCE SETUP REQUEST 
            - PICS_A3/1_2	//gNB - PDU session management procedure - PDU SESSION RESOURCE RELEASE COMMAND
            - PICS_A3/1_3	//gNB - PDU session management procedure - PDU SESSION RESOURCE MODIFY REQUEST 
            - PICS_A3/1_4	//gNB - PDU session management procedure - PDU SESSION RESOURCE MODIFY NOTIFY 
            - PICS_A3/1_5	//gNB - PDU session management procedure - PDU SESSION RESOURCE MODIFY INDICATION
            - PICS_A3/8_1	//gNB - Warning Message Transmission procedure - WRITE-REPLACE WARNING REQUEST
            - PICS_A3/8_2	//gNB - Warning Message Transmission procedure - PWS CANCEL REQUEST
            - PICS_A3/8_3	//gNB - Warning Message Transmission procedure - PWS RESTART INDICATION
            - PICS_A3/8_4	//gNB - Warning Message Transmission procedure - PWS FAILURE INDICATION
            - PICS_A3/9_1	//gNB - NRPPa Transport procedure - DOWNLINK UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A3/9_2	//gNB - NRPPa Transport procedure - UPLINK UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A3/9_3	//gNB - NRPPa Transport procedure - DOWNLINK NON UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A3/9_4	//gNB - NRPPa Transport procedure - UPLINK NON UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A3/10_1	//gNB - Trace procedure - TRACE START messages
            - PICS_A3/10_2	//gNB - Trace procedure - TRACE FAILURE INDICATION messages
            - PICS_A3/10_3	//gNB - Trace procedure - DEACTIVATE TRACE messages
            - PICS_A3/10_4	//gNB - Trace procedure - CELL TRAFFIC TRACE messages
            - PICS_A3/5_1
            - PICS_A3/5_1
            - PICS_A4/1_1	//AMF - PDU session management procedure - PDU SESSION RESOURCE SETUP REQUEST 
            - PICS_A4/1_2	//AMF - PDU session management procedure - PDU SESSION RESOURCE RELEASE COMMAND
            - PICS_A4/1_3	//AMF - PDU session management procedure - PDU SESSION RESOURCE MODIFY REQUEST
            - PICS_A4/1_4	//AMF - PDU session management procedure - PDU SESSION RESOURCE MODIFY NOTIFY
            - PICS_A4/1_5	//AMF - PDU session management procedure - PDU SESSION RESOURCE MODIFY INDICATION
            - PICS_A4/8_1	//AMF - Warning Message Transmission procedure - WRITE-REPLACE WARNING REQUEST
            - PICS_A4/8_2	//AMF - Warning Message Transmission procedure - PWS CANCEL REQUEST
            - PICS_A4/8_3	//AMF - Warning Message Transmission procedure - PWS RESTART INDICATION
            - PICS_A4/8_4	//AMF - Warning Message Transmission procedure - PWS FAILURE INDICATION
            - PICS_A4/9_1	//AMF - NRPPa Transport procedure - DOWNLINK UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A4/9_2	//AMF - NRPPa Transport procedure - UPLINK UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A4/9_3	//AMF - NRPPa Transport procedure - DOWNLINK NON UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A4/9_4	//AMF - NRPPa Transport procedure - UPLINK NON UE ASSOCIATED NRPPA TRANSPORT messages
            - PICS_A4/10_1	//gNB - Trace procedure - TRACE START messages
            - PICS_A4/10_2	//gNB - Trace procedure - TRACE FAILURE INDICATION messages
            - PICS_A4/10_3	//gNB - Trace procedure - DEACTIVATE TRACE messages
            - PICS_A4/10_4	//gNB - Trace procedure - CELL TRAFFIC TRACE messages
            - NOT_PICS_2
            - NOT_PICS_2
        ;
        ;
        entities:
        entities:
+72 −5
Original line number Original line Diff line number Diff line
@@ -33,7 +33,7 @@ Package TP_AMF {
        
        
        Config Id CFG_AMF_01
        Config Id CFG_AMF_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/2 and PICS_A4/1_1
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -70,7 +70,7 @@ Package TP_AMF {
        
        
        Config Id CFG_AMF_01
        Config Id CFG_AMF_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/2 and PICS_A4/1_2
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -111,7 +111,7 @@ Package TP_AMF {
        
        
        Config Id CFG_AMF_01
        Config Id CFG_AMF_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/2 and PICS_A4/1_3
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -161,7 +161,7 @@ Package TP_AMF {
        
        
        Config Id CFG_AMF_01
        Config Id CFG_AMF_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/2 and PICS_A4/1_5
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -224,7 +224,7 @@ Package TP_AMF {
        
        
        Config Id CFG_AMF_01
        Config Id CFG_AMF_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/2 and PICS_A4/1_5
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -1750,6 +1750,73 @@ Package TP_AMF {
       
       
	Group "8.9 Warning Message Transmission Procedures"
	Group "8.9 Warning Message Transmission Procedures"
	{
	{
    	import all from Ngap_Common;
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_AMF_WTP_01 
        
        Test objective "Verify that the IUT can send a WRITE REPLACE WARNING REQUEST to start broadcasting of warning messages."
        
        Reference 
            "ETSI TS 138 413 [1], Clauses 8.9.1.2" 
        
        Config Id CFG_AMF_01
        
        PICS Selection PICS_A2/2 and PICS_A4/8_1
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {  
                	the IUT entity indicate a Write message Transmission procedure
                }
                then {
                    the IUT entity sends a  WRITE_REPLACE_WARNING_REQUEST containing 
                        Message_Identifier,
                        Serial_Number,
                        Repetition_Period,
                        Number_of_Broadcasts_Requested;
                     to the GNB entity
                	}
            	}
            
            } // end TP_NGAP_AMF_WTP_01
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_AMF_WTP_02 
        
        Test objective "Verify that the IUT can send a PWS CANCEL REQUEST to cancel broadcasting of warning messages."
        
        Reference 
            "ETSI TS 138 413 [1], Clauses 8.9.2.2" 
        
        Config Id CFG_AMF_01
        
        PICS Selection PICS_A2/2 and PICS_A4/8_2
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {  
                	the IUT entity indicate a PWS cancel procedure
                }
                then {
                    the IUT entity sends a  PWS_CANCEL_REQUEST containing 
                        Message_Identifier,
                        Serial_Number;
                     to the GNB entity
                	}
            	}
            
            } // end TP_NGAP_AMF_WTP_02
		
		
	} // "8.9 Warning Message Transmission Procedures"
	} // "8.9 Warning Message Transmission Procedures"
	
	
+188 −9
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_1
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -90,7 +90,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_1
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -162,7 +162,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_1
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -221,7 +221,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_1
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -283,7 +283,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_2
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -333,7 +333,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_2
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -389,7 +389,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_3
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -456,7 +456,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_4
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -497,7 +497,7 @@ Package TP_GNB {
        
        
        Config Id CFG_GNB_01
        Config Id CFG_GNB_01
        
        
        PICS Selection PICS_A3/5_1
        PICS Selection PICS_A2/1 and PICS_A3/1_5
        
        
        Initial conditions with {
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
            the UE entity isRegisteredTo the AMF
@@ -1650,6 +1650,185 @@ Package TP_GNB {


	Group "8.9 Warning Message Transmission Procedures"
	Group "8.9 Warning Message Transmission Procedures"
	{
	{
    	import all from Ngap_Common;
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_GNB_WTP_01 
        
        Test objective "Verify that the NG-RAN node successfully processes a WRITE-REPLACE WARNING REQUEST containing mandatory IEs and answers with WRITE-REPLACE WARNING RESPONSE to start broadcasting of warning messages."
        
        Reference 
            "ETSI TS 138 413 [1], Clause 8.9.1.2" 
        
        Config Id CFG_GNB_01
        
        PICS Selection PICS_A2/1 and PICS_A3/8_1
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a WRITE_REPLACE_WARNING_REQUEST containing 
                        Message_Identifier,
                        Serial_Number,
                        Repetition_Period,
                        Number_of_Broadcasts_Requested;
                    from the AMF entity
                }
                then {
                    the IUT entity sends a  WRITE_REPLACE_WARNING_RESPONSE containing
                        Message_Identifier,
                        Serial_Number;
                     to the AMF entity
               	}
           	}
            
        } // end TP_NGAP_GNB_WTP_01
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_GNB_WTP_02 
        
        Test objective "Verify that the NG-RAN node successfully processes a WRITE-REPLACE WARNING REQUEST containing Message Identifier IE and/or Serial Number IE different from those in the warning message being broadcast and if Concurent Warning Message Indicator is not present then IUT node answers with WRITE-REPLACE WARNING RESPONSE  and replaces the warning message being broadcast with newly received one for that area."
        
        Reference 
            "ETSI TS 138 413 [1], Clause 8.9.1.2" //paragraph 3 
        
        Config Id CFG_GNB_01
        
        PICS Selection PICS_A2/1 and PICS_A3/8_1
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a WRITE_REPLACE_WARNING_REQUEST containing 
                        Message_Identifier indicating value "different from already being broadcasted",
                        Serial_Number indicating value "different from already being broadcasted",
                        Repetition_Period,
                        Number_of_Broadcasts_Requested,
                        not Concurent_Warning_Message_Indicator;
                    from the AMF entity
                }
                then {
                    the IUT entity sends a  WRITE_REPLACE_WARNING_RESPONSE containing
                        Message_Identifier,
                        Serial_Number;
                     to the AMF entity
               	}
           	}
            
        } // end TP_NGAP_GNB_WTP_02
            
        //TODO:possible to add additional tests from 8.9.1.2 paragraph 4 and on
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_GNB_WTP_03 
        
        Test objective "Verify that the NG-RAN node successfully processes a PWS CANCEL REQUEST containing mandatory IEs and answers with PWS CANCEL RESPONSE to cancel an already ongoing broadcast warning messages in all of the cells in the NG-RAN."
        
        Reference 
            "ETSI TS 138 413 [1], Clause 8.9.2.2" //paragraph 3
        
        Config Id CFG_GNB_01
        
        PICS Selection PICS_A2/1 and PICS_A3/8_2
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a PWS_CANCEL_REQUEST containing 
                        Message_Identifier,
                        Serial_Number;
                    from the AMF entity
                }
                then {
                    the IUT entity sends a PWS_CANCEL_RESPONSE containing
                        Message_Identifier,
                        Serial_Number;
                     to the AMF entity
               	}
           	}
            
        } // end TP_NGAP_GNB_WTP_03
            
        //TODO:possible to add additional tests from 8.9.2.2 paragraph 3, 5 and on
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_GNB_WTP_04 
        
        Test objective "Verify that the IUT can send a PWS RESTART INDICATION to inform AMF that PWS information for some or all cells may be reloaded from the CBC if needed."
        
        Reference 
            "ETSI TS 138 413 [1], Clause 8.9.3.2"
        
        Config Id CFG_GNB_01
        
        PICS Selection PICS_A2/1 and PICS_A3/8_3
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity indicate a PWS restart indication
                }
                then {
                    the IUT entity sends a PWS_RESTART_INDICATION containing
                        Cell_List_for_Restart,
                        Global_RAN_Node_ID;
                     to the AMF entity
               	}
           	}
            
        } // end TP_NGAP_GNB_WTP_04
    	 
    	Test Purpose {
		
        TP Id TP_NGAP_GNB_WTP_05 
        
        Test objective "Verify that the IUT can send a PWS FAILURE INDICATION to inform AMF that ongoing PWS operation for one or more cells has failed."
        
        Reference 
            "ETSI TS 138 413 [1], Clause 8.9.4.2"
        
        Config Id CFG_GNB_01
        
        PICS Selection PICS_A2/1 and PICS_A3/8_4
        
        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity indicate a PWS failure indication
                }
                then {
                    the IUT entity sends a PWS_FAILURE_INDICATION containing
                        PWS_Failed_Cell_List,
                        Global_RAN_Node_ID;
                     to the AMF entity
               	}
           	}
            
        } // end TP_NGAP_GNB_WTP_05
		
		
	} // end "8.9 Warning Message Transmission Procedures"
	} // end "8.9 Warning Message Transmission Procedures"