From 0b1beaf8f9283735e7c1cf6f370cc5d856ccb6f5 Mon Sep 17 00:00:00 2001 From: pintar Date: Mon, 18 Dec 2023 15:20:03 +0100 Subject: [PATCH 1/5] Warning Message TPs added --- test_purposes/Ngap_Common.tplan2 | 36 +++++ test_purposes/ngap/TP_AMF_NGAP2.tplan2 | 77 +++++++++- test_purposes/ngap/TP_GNB_NGAP.tplan2 | 197 +++++++++++++++++++++++-- 3 files changed, 296 insertions(+), 14 deletions(-) diff --git a/test_purposes/Ngap_Common.tplan2 b/test_purposes/Ngap_Common.tplan2 index b93c858..e3a74fe 100644 --- a/test_purposes/Ngap_Common.tplan2 +++ b/test_purposes/Ngap_Common.tplan2 @@ -22,7 +22,43 @@ Package Ngap_Common { Domain { pics: - 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_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 ; entities: diff --git a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 index 88919a4..7ba156d 100644 --- a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 +++ b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 @@ -33,7 +33,7 @@ Package TP_AMF { Config Id CFG_AMF_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/2 and PICS_A4/1_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -70,7 +70,7 @@ Package TP_AMF { Config Id CFG_AMF_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/2 and PICS_A4/1_2 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -111,7 +111,7 @@ Package TP_AMF { Config Id CFG_AMF_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/2 and PICS_A4/1_3 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -161,7 +161,7 @@ Package TP_AMF { Config Id CFG_AMF_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/2 and PICS_A4/1_5 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -224,7 +224,7 @@ Package TP_AMF { Config Id CFG_AMF_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/2 and PICS_A4/1_5 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -1750,6 +1750,73 @@ Package TP_AMF { 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" diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index 848f0b6..1f7c5eb 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -31,7 +31,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -90,7 +90,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -162,7 +162,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -221,7 +221,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -283,7 +283,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_2 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -333,7 +333,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_2 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -389,7 +389,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_3 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -456,7 +456,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_4 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -497,7 +497,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 + PICS Selection PICS_A2/1 and PICS_A3/1_5 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -1650,6 +1650,185 @@ Package TP_GNB { 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" -- GitLab From 3d58160546412db7a321ca78405df185e7b6a693 Mon Sep 17 00:00:00 2001 From: Sascha Hackel Date: Fri, 12 Jan 2024 10:17:00 +0100 Subject: [PATCH 2/5] fix error with Paging message in wrong section --- test_purposes/Ngap_Common.tplan2 | 1 + test_purposes/ngap/TP_AMF_NGAP2.tplan2 | 46 +++++ test_purposes/ngap/TP_GNB_NGAP.tplan2 | 245 +------------------------ 3 files changed, 57 insertions(+), 235 deletions(-) diff --git a/test_purposes/Ngap_Common.tplan2 b/test_purposes/Ngap_Common.tplan2 index e3a74fe..5d728b5 100644 --- a/test_purposes/Ngap_Common.tplan2 +++ b/test_purposes/Ngap_Common.tplan2 @@ -47,6 +47,7 @@ Package Ngap_Common { - 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/4_1 //AMF - Paging procedures - Paging - 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 diff --git a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 index 7ba156d..58b577c 100644 --- a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 +++ b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 @@ -1140,6 +1140,52 @@ Package TP_AMF { } // End Group "8.4 UE Mobility Management Procedures" + Group "8.5 Paging Procedures" + { + Group "Paging" + { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_PAG_01 + + Test objective "Verify that the IUT can send a PAGING message to enable the AMF to page a UE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.5.1.2 and 9.2.4.1" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A4/4_1 + + // TODO: initial condition? + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate the initiation "of a Paging procedure" + } + then { + the IUT entity sends a PAGING containing + UE_Paging_Identity containing + 5G_S_TMSI containing + 5G_S_TMSI + ; + ; + ; + to the GNB entity + } + } + + } // end TP_NGAP_GNB_PAG_01 + } // end "Paging" + + } // end "8.5 Paging Procedures" + Group "8.6 Transport of NAS Messages Procedures" { Group "Downlink NAS Transport" diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index 1f7c5eb..cacef18 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -31,7 +31,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_1 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -90,7 +90,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_1 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -162,7 +162,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_1 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -221,7 +221,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_1 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -283,7 +283,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_2 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -333,7 +333,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_2 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -389,7 +389,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_3 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -456,7 +456,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_4 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -497,7 +497,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A2/1 and PICS_A3/1_5 + PICS Selection PICS_A3/5_1 Initial conditions with { the UE entity isRegisteredTo the AMF @@ -1410,52 +1410,6 @@ Package TP_GNB { } // End Group "8.4 UE Mobility Management Procedures" - Group "8.5 Paging Procedures" - { - Group "Paging" - { - import all from Ngap_Common; - - Test Purpose { - - TP Id TP_NGAP_GNB_PAG_01 - - Test objective "Verify that the IUT can send a PAGING message to enable the AMF to page a UE." - - Reference - "ETSI TS 138 413 [1], Clauses 8.5.1.2 and 9.2.4.1" - - Config Id CFG_GNB_01 - - PICS Selection PICS_A3/5_1 - - // TODO: initial condition? - Initial conditions with { - the UE entity isRegisteredTo the AMF - } - - Expected behaviour - ensure that { - when { - the IUT entity indicate the initiation "of a Page procedure" - } - then { - the IUT entity sends an INITIAL_UE_MESSAGE containing - UE_Paging_Identity containing - 5G_S_TMSI containing - 5G_S_TMSI - ; - ; - ; - to the AMF entity - } - } - - } // end TP_NGAP_GNB_PAG_01 - } // end "Paging" - - } // end "8.5 Paging Procedures" - Group "8.6 Transport of NAS Messages Procedures" { Group "Initial UE Message" @@ -1540,7 +1494,7 @@ Package TP_GNB { RAN_UE_NGAP_ID, NAS_PDU, User_Location_Information - ; + ; to the AMF entity } } @@ -1650,185 +1604,6 @@ Package TP_GNB { 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" -- GitLab From 09e35cae5941291a6e5d2d1099dc95f10f5a40f1 Mon Sep 17 00:00:00 2001 From: Sascha Hackel Date: Thu, 25 Jan 2024 10:47:57 +0100 Subject: [PATCH 3/5] add PICS references to commons file and update PICS reference within TPs for CMP group --- test_purposes/Ngap_Common.tplan2 | 10 +++++++++- test_purposes/ngap/TP_GNB_NGAP.tplan2 | 24 ++++++++++++------------ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/test_purposes/Ngap_Common.tplan2 b/test_purposes/Ngap_Common.tplan2 index 5d728b5..3d42066 100644 --- a/test_purposes/Ngap_Common.tplan2 +++ b/test_purposes/Ngap_Common.tplan2 @@ -29,6 +29,15 @@ Package Ngap_Common { - 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/2_1 //gnB - UE Context Management Procedures - INITIAL CONTEXT SETUP REQUEST + - PICS_A3/2_2 //gnB - UE Context Management Procedures - UE CONTEXT RELEASE REQUEST + - PICS_A3/2_3 //gnB - UE Context Management Procedures - UE CONTEXT RELEASE COMMAND + - PICS_A3/2_4 //gnB - UE Context Management Procedures - UE CONTEXT MODIFICATION REQUEST + - PICS_A3/2_5 //gnB - UE Context Management Procedures - RRC INACTIVE TRANSITION REPORT + - PICS_A3/2_8 //gnB - UE Context Management Procedures - RAN CP Relocation Indication + - PICS_A3/2_11 //gnB - UE Context Management Procedures - UE CONTEXT SUSPEND REQUEST + - PICS_A3/2_12 //gnB - UE Context Management Procedures - UE CONTEXT RESUME REQUEST + - PICS_A3/5_1 //gNB - Transport of NAS Messages Procedures - INITIAL UE MESSAGE - 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 @@ -41,7 +50,6 @@ Package Ngap_Common { - 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_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 diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index cacef18..38e8a66 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -547,7 +547,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_1 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO @@ -598,7 +598,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_1 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO; check initial conditions @@ -655,7 +655,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_2 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions @@ -701,7 +701,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_3 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO @@ -748,7 +748,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_3 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO @@ -800,7 +800,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_4 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO; check initial conditions @@ -838,7 +838,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_4 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions @@ -872,7 +872,7 @@ Package TP_GNB { Test Purpose { - TP Id TP_NGAP_GNB_CMP_07 + TP Id TP_NGAP_GNB_CMP_11 Test objective "Verify that the IUT can send a RRC INACTIVE TRANSITION REPORT that contains mandatory IEs" @@ -881,7 +881,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_5 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions @@ -923,7 +923,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_8 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions @@ -966,7 +966,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_11 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions @@ -1012,7 +1012,7 @@ Package TP_GNB { Config Id CFG_GNB_01 - PICS Selection PICS_A3/5_1 //TODO: Not sure here. PIC means item 5.1 in table A3 but couldn't find either. + PICS Selection PICS_A3/2_12 Initial conditions with { the UE entity isRegisteredTo the AMF // TODO: check initial conditions -- GitLab From ec5e04179db03635f81e5257beb7c5970a0fa7e6 Mon Sep 17 00:00:00 2001 From: pintar Date: Fri, 2 Feb 2024 10:38:03 +0100 Subject: [PATCH 4/5] Trace and Location TPs added --- test_purposes/ngap/TP_AMF_NGAP2.tplan2 | 138 ++++++++++++++++++ test_purposes/ngap/TP_GNB_NGAP.tplan2 | 188 +++++++++++++++++++++++++ 2 files changed, 326 insertions(+) diff --git a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 index 7ba156d..0e4a2fe 100644 --- a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 +++ b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 @@ -1822,11 +1822,149 @@ Package TP_AMF { Group "8.10 NRPPa Transport Procedures" { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_NTP_01 + + Test objective "Verify that the IUT can send a DOWNLINK UE ASSOCIATED NRPPA TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." + + Reference + "ETSI TS 138 413 [1], Clauses 8.10.2.1" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A2/2 and PICS_A4/9_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a NRPPA transport procedure + } + then { + the IUT entity sends a DOWNLINK_UE_ASSOCIATED_NRPPA_TRANSPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Routing_ID, + NRPPa_PDU; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_NTP_01 + + Test Purpose { + + TP Id TP_NGAP_AMF_NTP_02 + + Test objective "Verify that the IUT can send a DOWNLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." + + Reference + "ETSI TS 138 413 [1], Clauses 8.10.2.3" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A2/2 and PICS_A4/9_3 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a NRPPA transport procedure + } + then { + the IUT entity sends a DOWNLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT containing + Routing_ID, + NRPPa_PDU; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_NTP_02 } // "8.10 NRPPa Transport Procedures" Group "8.11 Trace Procedures" { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_AMF_TRP_01 + + Test objective "Verify that the IUT can send a TRACE_START to initiate a trace session for a UE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.11.1.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A2/2 and PICS_A4/10_1 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a trace procedure + } + then { + the IUT entity sends a TRACE_START containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Trace_Activation containing + NG_RAN_Trace_ID, + Interfaces_to_Trace, + Trace_Depth, + Trace_Collection_Entity_IP_Address;; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_TRP_01 + + Test Purpose { + + TP Id TP_NGAP_AMF_TRP_02 + + Test objective "Verify that the IUT can send a DEACTIVATE_TRACE to deactivate a trace session for a UE." + + Reference + "ETSI TS 138 413 [1], Clauses 8.11.3.2" + + Config Id CFG_AMF_01 + + PICS Selection PICS_A2/2 and PICS_A4/10_3 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a deactivate trace procedure + } + then { + the IUT entity sends a DEACTIVATE_TRACE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NG_RAN_Trace_ID; + to the GNB entity + } + } + + } // end TP_NGAP_AMF_TRP_02 } // "8.11 Trace Procedures" diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index 1f7c5eb..b238146 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -1834,11 +1834,199 @@ Package TP_GNB { Group "8.10 NRPPa Transport Procedures" { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_NTP_01 + + Test objective "Verify that the IUT can send a UPLINK_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." + + Reference + "ETSI TS 138 413 [1], Clause 8.10.2.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/9_2 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a NRPPA transport procedure + } + then { + the IUT entity sends a UPLINK_UE_ASSOCIATED_NRPPA_TRANSPORT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Routing_ID, + NRPPa_PDU; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_NTP_01 + + Test Purpose { + + TP Id TP_NGAP_GNB_NTP_02 + + Test objective "Verify that the IUT can send a UPLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." + + Reference + "ETSI TS 138 413 [1], Clause 8.10.2.4" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/9_2 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity indicate a NRPPA transport procedure + } + then { + the IUT entity sends a UPLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT containing + Routing_ID, + NRPPa_PDU; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_NTP_02 } // end "8.10 NRPPa Transport Procedures" Group "8.11 Trace Procedures" { + import all from Ngap_Common; + + Test Purpose { + + TP Id TP_NGAP_GNB_TRP_01 + + Test objective "Verify that the IUT can send a TRACE_FAILURE_INDICATION to inform AMF that Trace Start procedure has failed due to an interaction with handover procedure." + + Reference + "ETSI TS 138 413 [1], Clauses 8.11.1.2 and 8.11.2.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/10_1 and PICS_A3/10_2 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a TRACE_START containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Trace_Activation containing + NG_RAN_Trace_ID, + Interfaces_to_Trace, + Trace_Depth, + Trace_Collection_Entity_IP_Address;; + from the AMF entity + } + then { + the IUT entity sends a TRACE_FAILURE_INDICATIONT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NG_RAN_Trace_ID, + Cause; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_TRP_01 + + Test Purpose { + + TP Id TP_NGAP_GNB_TRP_02 + + Test objective "Verify that the IUT can send a TRACE_FAILURE_INDICATION to inform AMF that a Deactivate Trace procedure has failed due to an interaction with handover procedure." + + Reference + "ETSI TS 138 413 [1], Clauses 8.11.2.2 and 8.11.3.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/10_2 and PICS_A3/10_3 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a DEACTIVATE_TRACE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + Trace_Activation containing + NG_RAN_Trace_ID, + Interfaces_to_Trace, + Trace_Depth, + Trace_Collection_Entity_IP_Address;; + from the AMF entity + } + then { + the IUT entity sends a TRACE_FAILURE_INDICATIONT containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NG_RAN_Trace_ID, + Cause; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_TRP_02 + + Test Purpose { + + TP Id TP_NGAP_GNB_TRP_03 + + Test objective "Verify that the IUT can send a CELL_TRAFFIC_TRACE to send the allocated Trace Recording Session Reference and Trace Reference to AMF." + + Reference + "ETSI TS 138 413 [1], Clause 8.11.4.2" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/10_4 + + Initial conditions with { + the UE entity isRegisteredTo the AMF + } + + Expected behaviour + ensure that { + when { + + the IUT entity indicate a cell traffic trace procedure + } + then { + the IUT entity sends a CELL_TRAFFIC_TRACE containing + AMF_UE_NGAP_ID, + RAN_UE_NGAP_ID, + NG_RAN_Trace_ID, + NG_RAN_CGI, + Trace_Colection_Entity_IP_Address; + to the AMF entity + } + } + + } // end TP_NGAP_GNB_TRP_03 } // end "8.11 Trace Procedures" -- GitLab From 9dbfeee54c8a45cd622207477abf7361319f0f63 Mon Sep 17 00:00:00 2001 From: pintar Date: Fri, 2 Feb 2024 11:58:38 +0100 Subject: [PATCH 5/5] WTP added again, clauses added --- test_purposes/ngap/TP_AMF_NGAP2.tplan2 | 12 +- test_purposes/ngap/TP_GNB_NGAP.tplan2 | 193 ++++++++++++++++++++++++- 2 files changed, 193 insertions(+), 12 deletions(-) diff --git a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 index 224a0ae..6f08cfb 100644 --- a/test_purposes/ngap/TP_AMF_NGAP2.tplan2 +++ b/test_purposes/ngap/TP_AMF_NGAP2.tplan2 @@ -1805,7 +1805,7 @@ Package TP_AMF { 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" + "ETSI TS 138 413 [1], Clauses 8.9.1.2 and 9.2.8.1" Config Id CFG_AMF_01 @@ -1839,7 +1839,7 @@ Package TP_AMF { 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" + "ETSI TS 138 413 [1], Clauses 8.9.2.2 and 9.2.8.3" Config Id CFG_AMF_01 @@ -1877,7 +1877,7 @@ Package TP_AMF { Test objective "Verify that the IUT can send a DOWNLINK UE ASSOCIATED NRPPA TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." Reference - "ETSI TS 138 413 [1], Clauses 8.10.2.1" + "ETSI TS 138 413 [1], Clauses 8.10.2.1 and 9.2.9.1" Config Id CFG_AMF_01 @@ -1911,7 +1911,7 @@ Package TP_AMF { Test objective "Verify that the IUT can send a DOWNLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." Reference - "ETSI TS 138 413 [1], Clauses 8.10.2.3" + "ETSI TS 138 413 [1], Clauses 8.10.2.3 and 9.2.9.3" Config Id CFG_AMF_01 @@ -1949,7 +1949,7 @@ Package TP_AMF { Test objective "Verify that the IUT can send a TRACE_START to initiate a trace session for a UE." Reference - "ETSI TS 138 413 [1], Clauses 8.11.1.2" + "ETSI TS 138 413 [1], Clauses 8.11.1.2 and 9.2.10.1" Config Id CFG_AMF_01 @@ -1986,7 +1986,7 @@ Package TP_AMF { Test objective "Verify that the IUT can send a DEACTIVATE_TRACE to deactivate a trace session for a UE." Reference - "ETSI TS 138 413 [1], Clauses 8.11.3.2" + "ETSI TS 138 413 [1], Clauses 8.11.3.2 and 9.2.10.3" Config Id CFG_AMF_01 diff --git a/test_purposes/ngap/TP_GNB_NGAP.tplan2 b/test_purposes/ngap/TP_GNB_NGAP.tplan2 index dc65564..17d5522 100644 --- a/test_purposes/ngap/TP_GNB_NGAP.tplan2 +++ b/test_purposes/ngap/TP_GNB_NGAP.tplan2 @@ -1603,7 +1603,188 @@ Package TP_GNB { } // end Group "8.8 Configuration Transfer Procedure" 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], Clauses 8.9.1.2 and 9.2.8.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], Clauses 8.9.1.2 and 9.2.8.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], Clauses 8.9.2.2 and 9.2.8.4" //paragraph 3 + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/8_2 + + Initial conditions with { + the UE entity isNotRegisteredTo 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], Clauses 8.9.3.2 and 9.2.8.5" + + Config Id CFG_GNB_01 + + PICS Selection PICS_A2/1 and PICS_A3/8_3 + + Initial conditions with { + the UE entity isNotRegisteredTo 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, + TAI_List_for_Restart, + Emergency_Area_ID_List_for_Restart; + 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], Clauses 8.9.4.2 and 9.2.8.6" + + 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" @@ -1618,7 +1799,7 @@ Package TP_GNB { Test objective "Verify that the IUT can send a UPLINK_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." Reference - "ETSI TS 138 413 [1], Clause 8.10.2.2" + "ETSI TS 138 413 [1], Clauses 8.10.2.2 and 9.2.9.2" Config Id CFG_GNB_01 @@ -1652,7 +1833,7 @@ Package TP_GNB { Test objective "Verify that the IUT can send a UPLINK_NON_UE_ASSOCIATED_NRPPA_TRANSPORT to carry NRPPA signaling between NG-RAN and LMF(Location Management Functionality)." Reference - "ETSI TS 138 413 [1], Clause 8.10.2.4" + "ETSI TS 138 413 [1], Clauses 8.10.2.4 and 9.2.9.4" Config Id CFG_GNB_01 @@ -1690,7 +1871,7 @@ Package TP_GNB { Test objective "Verify that the IUT can send a TRACE_FAILURE_INDICATION to inform AMF that Trace Start procedure has failed due to an interaction with handover procedure." Reference - "ETSI TS 138 413 [1], Clauses 8.11.1.2 and 8.11.2.2" + "ETSI TS 138 413 [1], Clauses 8.11.1.2, 8.11.2.2, 9.2.10.1 and 9.2.10.2" Config Id CFG_GNB_01 @@ -1732,7 +1913,7 @@ Package TP_GNB { Test objective "Verify that the IUT can send a TRACE_FAILURE_INDICATION to inform AMF that a Deactivate Trace procedure has failed due to an interaction with handover procedure." Reference - "ETSI TS 138 413 [1], Clauses 8.11.2.2 and 8.11.3.2" + "ETSI TS 138 413 [1], Clauses 8.11.2.2, 8.11.3.2, 9.2.10.2 and 9.2.10.3" Config Id CFG_GNB_01 @@ -1774,7 +1955,7 @@ Package TP_GNB { Test objective "Verify that the IUT can send a CELL_TRAFFIC_TRACE to send the allocated Trace Recording Session Reference and Trace Reference to AMF." Reference - "ETSI TS 138 413 [1], Clause 8.11.4.2" + "ETSI TS 138 413 [1], Clauses 8.11.4.2 and 9.2.10.4" Config Id CFG_GNB_01 -- GitLab