diff options
Diffstat (limited to 'functest/opnfv_tests/vnf/epc/featureFiles')
24 files changed, 955 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/000-local-commands.feature b/functest/opnfv_tests/vnf/epc/featureFiles/000-local-commands.feature new file mode 100644 index 00000000..438e2c0e --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/000-local-commands.feature @@ -0,0 +1,12 @@ + Feature: Local_Commands_Testing + + @local-commands + Scenario: Local Commands testing + Given all configured endpoints for SSH are connected successfully + When I execute the command ifconfig in this system and check the presence of following strings in the response: + | responseResult | existence | + | inet | {string:nocase:present} | + | UP | {string:nocase:present} | + | BROADCAST | {string:nocase:present} | + | RUNNING | {string:nocase:present} | + | MULTICAST | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI.feature new file mode 100644 index 00000000..67831580 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI.feature @@ -0,0 +1,39 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature:Attach_Procedure_AttachWithIMSI + +@attach-procedure @Attach_Procedure_AttachWithIMSI @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 + +Scenario: Attach Procedure Success configured with AttachWithIMSI when Selected PLMN is neither the registered PLMN nor in the list of equivalent PLMNs + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MCC.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MCC.feature new file mode 100644 index 00000000..4e3cfd7b --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MCC.feature @@ -0,0 +1,32 @@ +############################################################################################################################ +# Date: <31/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature:Attach_Procedure_AttachWithIMSI_Wrong_MCC + +@attach-procedure @Attach_Procedure_AttachWithIMSI_Wrong_MCC @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 + +Scenario: Attach Procedure Failure due to wrong MCC. + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with EPC parameter "ABOT.ENB.mobile_country_code=201" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Received s1 setup failure for MME | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MNC.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MNC.feature new file mode 100644 index 00000000..6082db06 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_MNC.feature @@ -0,0 +1,33 @@ +############################################################################################################################ +# Date: <31/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature:Attach_Procedure_AttachWithIMSI_Wrong_MNC + +@attach-procedure @Attach_Procedure_AttachWithIMSI_Wrong_MNC @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 + +Scenario: Attach Procedure Failure due to wrong MNC. + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with EPC parameter "ABOT.ENB.mobile_network_code=95" on node ABOT + +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Received s1 setup failure for MME | {string:nocase:present} | + + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_TAC.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_TAC.feature new file mode 100644 index 00000000..855ffd63 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_AttachWithIMSI_Wrong_TAC.feature @@ -0,0 +1,33 @@ +############################################################################################################################ +# Date: <31/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature:Attach_Procedure_AttachWithIMSI_Wrong_TAC + +@attach-procedure @Attach_Procedure_AttachWithIMSI_Wrong_TAC @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 + +Scenario: Attach Procedure Failure due to wrong TAC + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with EPC parameter "ABOT.ENB.tracking_area_code=10" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Received s1 setup failure for MME | {string:nocase:present} | + + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_Attach_With_GUTI.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_Attach_With_GUTI.feature new file mode 100644 index 00000000..d6ca0369 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_Attach_With_GUTI.feature @@ -0,0 +1,36 @@ +############################################################################################################################ +# Date: <31/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature:Attach_Procedure_Attach_With_GUTI + +@attach-procedure @Attach_Procedure_Attach_With_GUTI @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +Scenario: Attach Procedure Success with right GUTI. + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with GUTI | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DNS_Server_Addr_Request.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DNS_Server_Addr_Request.feature new file mode 100644 index 00000000..f68e1812 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DNS_Server_Addr_Request.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With DNS Server Address Request Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_DNS_Server_Address_Request @PCO + +Scenario: Attach Procedure indicating a request DNS Server Address in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IPV6_DNS_SERVER_ADDR_REQ=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with DNS Server Address Request | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0003 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HA_Addr_Request.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HA_Addr_Request.feature new file mode 100644 index 00000000..92c38a2b --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HA_Addr_Request.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure with DSMIPv6 Home Agent Address Request Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_DSMIPv6_Home_Agent_Address_Request @PCO + +Scenario: Attach Procedure indicating a request for DSMIPv6 Home Agent Address in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IPV6_HA_ADDR_REQ=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with DSMIPv6 Home Agent Address Request | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0007 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HN_Prefix_Request.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HN_Prefix_Request.feature new file mode 100644 index 00000000..fe389028 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_HN_Prefix_Request.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With DSMIPv6 Home Network Prefix Request Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_DSMIPv6_Home_Network_Prefix_Request @PCO + +Scenario: Attach Procedure indicating a request for DSMIPv6 Home Network Prefix Request in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IPV6_HN_PREFIX_REQ=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with DSMIPv6 Home Network Prefix Request | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0008 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_IPv4_HA_Addr_Request.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_IPv4_HA_Addr_Request.feature new file mode 100644 index 00000000..5821cd55 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_DSMIPv6_IPv4_HA_Addr_Request.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With DSMIPv6 IPv4 Home Agent Address Request Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_DSMIPv6_IPv4_Home_Agent_Address_Request @PCO + +Scenario: Attach Procedure indicating a request for DSMIPv6 IPv4 Home Agent Address in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IPV6_IPV4_HA_ADDR_REQ=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with DSMIPv6 IPv4 Home Agent Address Request | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0009 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IM_CN_SS_Signalling_Flag.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IM_CN_SS_Signalling_Flag.feature new file mode 100644 index 00000000..81f4fbc4 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IM_CN_SS_Signalling_Flag.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With IM CN Subsystem Signalling Flag Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_IM_CN_Subsystem_Signalling_Flag @PCO + +Scenario: Attach Procedure indicating IM CN Subsystem Signalling Flag in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IM_CN_SS_SIGNAL_FLAG=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with IM CN Subsystem Signalling Flag | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0002 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_DHCPv4.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_DHCPv4.feature new file mode 100644 index 00000000..fba01f24 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_DHCPv4.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure with IPv4 Address Allocation Via DHCPv4 Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_IPv4_Address_Allocation_Via_DHCPv4 @PCO + +Scenario: Attach Procedure indicating IPv4 address allocation via DHCPv4 in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IP_ADDR_ALLOC_DHCPV4=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with IPv4 address allocation via DHCPv4 | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 000B | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_NAS_Signalling.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_NAS_Signalling.feature new file mode 100644 index 00000000..1cb869b4 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_IP_Addr_Alloc_NAS_Signalling.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With IP Address Allocation Via NAS Signalling Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_IP_Address_Allocation_Via_NAS_Signalling @PCO + +Scenario: Attach Procedure indicating IP address allocation via NAS signalling in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IP_ADDR_NAS_SIGNALING=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with IP address allocation via NAS signalling | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 000A | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_MS_Support_Bearer_Ctrl_Indication.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_MS_Support_Bearer_Ctrl_Indication.feature new file mode 100644 index 00000000..bfc7515c --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_MS_Support_Bearer_Ctrl_Indication.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With MS Support of Network Requested Bearer Control indicator in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_MS_Support_Network_Requested_Bearer_Control_Indicator @PCO + +Scenario: Attach Procedure indicating MS Support of Network Requested Bearer Control indicator + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.MS_SUPPORT_BEARER_CTRL_IND=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with MS Support of Network Requested Bearer Control indicator | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0005 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_P_CSCF_Addr_Request.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_P_CSCF_Addr_Request.feature new file mode 100644 index 00000000..605bb934 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Attach_Procedure_With_P_CSCF_Addr_Request.feature @@ -0,0 +1,44 @@ +############################################################################################################################ +# Date: <22/08/2016> Version: <1.1> # +############################################################################################################################ + +Feature: Attach Procedure With P-CSCF Address Request Indication in PCO + +@attach-procedure @TS_24_301 @24_301_5_5 @24_301_5_5_1_2_2 @TS_24_368 @24_368_4 @24_368-5_4 @Series-0000 +@TS_36_523_9_2_1_1_3 @Attach_Procedure_P-CSCF_Address_Request @PCO + +Scenario: Attach Procedure indicating a request for P-CSCF address in the protocol configuration options + +Given all configured endpoints for SSH are connected successfully + +Given the steps below will be executed at the end +When I stop S1AP simulator on node ABOT +When I run the SSH command "sudo service mme_gw restart" on node MME +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds +Then the ending steps are complete + +# Set ABOT configuration +Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT +Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + +Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.PCO.IPV6_P_CSCF_ADDR_REQ=true" on node ABOT + +# Execute ABOT S1AP Simulator +When I run S1AP simulator on node ABOT with 1 UE + +# Wait for execution to complete before checking results +Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + +# Validate Test Case Execution at Simulator +Then I receive S1AP response on node ABOT and verify the presence of all the following values: +| responseResult | existence | +| Send Attach Request message with IMSI | {string:nocase:present} | +| Send PDN Connectivity Request message with P-CSCF Address Request | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Authentication Request message | {string:nocase:present} | +| Send Authentication Response message | {string:nocase:present} | +| Received Security Mode Command message | {string:nocase:present} | +| Send Security Mode Complete message | {string:nocase:present} | +| Received Attach Accept message | {string:nocase:present} | +| Received Activate Default EPS Bearer Context Request message with PCO contain Protocol ID 0001 | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_Accept.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_Accept.feature new file mode 100644 index 00000000..3136dbdb --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_Accept.feature @@ -0,0 +1,45 @@ + ############################################################################################################################ + # Date: <13/01/2017> Version: <1.1> # + ############################################################################################################################ + + + Feature:Auth_Accept + + @authentication-procedure @Auth_Accept @TS_24_301 @24_301_5_4_2_1 @24_301_5_4_2_3 @33_401_6_1_1 @Series-0004 + + Scenario: UE receives an AUTHENTICATION REQUEST message. UE responds with a correct AUTHENTICATION RESPONSE message and establishes correct + EPS security context. + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # Set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + # Wait for execution to complete before checking results + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Identity Request message | {string:nocase:present} | + | Identification requested type = IMSI | {string:nocase:present} | + | Send Identity Response message | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Response message | {string:nocase:present} | + | Received Security Mode Command message | {string:nocase:present} | + | Send Security Mode Complete message | {string:nocase:present} | + | Received Attach Accept message | {string:nocase:present} | + + + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth.feature new file mode 100644 index 00000000..fa0d3764 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth.feature @@ -0,0 +1,47 @@ + ############################################################################################################################ + # Date: <22/11/2016> Version: <1.1> # + ############################################################################################################################ + + + Feature:Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth + + @authentication-procedure @Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth @TS_24_301 @24_301_5_3_3 @24_301_5_5_1_2_2 @24_301_5_5_1_2_4 @24_301_6_5_1_2 @24_301_9_9_3_33 @TS_36_304 @36_304_4_3 @negTCs @Series-0001 + + Scenario: Authentication not accepted by the network when attach with GUTI, Authentication reject when RES is different from UE and MME. IMSI given by the UE during the identification procedure is same from the IMSI the network had associated with the GUTI. + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + #RES is restored to 0x00 in teardown process + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + # set the value of RES parameter (other than 0x00) manually in Authentication Response message which is sent from UE to MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0xFF" on node ABOT + + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Identity Request message | {string:nocase:present} | + | Identification requested type = IMSI | {string:nocase:present} | + | Send Identity Response message | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Response message | {string:nocase:present} | + | Received Authentication Reject message | {string:nocase:present} | + | Authentication not accepted by the network | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth.feature new file mode 100644 index 00000000..4c00c878 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth.feature @@ -0,0 +1,38 @@ + ############################################################################################################################ + # Date: <22/11/2016> Version: <1.1> # + ############################################################################################################################ + + Feature:Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth + + @authentication-procedure @Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth @TS_24_301 @24_301_5_3_3 @24_301_5_5_1_2_2 @24_301_5_5_1_2_4 @24_301_6_5_1_2 @24_301_9_9_3_33 @TS_36_304 @36_304_4_3 @negTCs @Series-0001 + + Scenario: Authentication not accepted by the network when attach with GUTI, Authentication reject when RES is different from UE and MME. IMSI given by the UE during the identification procedure differs from the IMSI the network had associated with the GUTI + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" on node ABOT + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.WRONGIMSI=false" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + # set the value of RES parameter (other than 0x00) manually in Authentication Response message which is sent from UE to MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0xFF" on node ABOT + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.WRONGIMSI=true" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth.feature new file mode 100644 index 00000000..cce93f42 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth.feature @@ -0,0 +1,62 @@ + ############################################################################################################################ + # Date: <22/11/2016> Version: <1.1> # + ############################################################################################################################ + + Feature:Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth + + @authentication-procedure @Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth @TS_24_301 @24_301_5_3_3 @24_301_5_5_1_2_2 @24_301_5_5_1_2_4 @24_301_6_5_1_2 @24_301_9_9_3_33 @TS_36_304 @36_304_4_3 @negTCs @Series-0001 + + Scenario: Authentication not accepted by the network when attach with IMSI, Authentication reject when RES is different from UE and MME + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + #RES is restore to 0x00 in teardown process + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + # set the value of RES parameter (other than 0x00) manually in Authentication Response message which is sent from UE to MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0xFF" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with IMSI | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Response message | {string:nocase:present} | + | Received Authentication Reject message | {string:nocase:present} | + | Authentication not accepted by the network | {string:nocase:present} | + + + + + + + + + + + + + + + + + + + + + + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_GUTIattach_MAC_code_failure.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_GUTIattach_MAC_code_failure.feature new file mode 100644 index 00000000..ca5b281f --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_GUTIattach_MAC_code_failure.feature @@ -0,0 +1,45 @@ + ############################################################################################################################ + # Date: <13/12/2016> Version: <1.1> # + ############################################################################################################################ + + Feature:Auth_NotAccept_by_UE_GUTIattachMAC_code_failure + + @authentication-procedure @Auth_NotAccept_by_UE_GUTIattach_MAC_code_failure @TS_24_301 @24_301_5_4_2_6 @24_301_5_4_2_7 @negTCs @Series-0002 + + Scenario: UE received invalid MAC code in AUTN parameter in the AUTHENTICATION REQUEST message. Authentication not accepted by the UE when attach with GUTI. UE responds the Authentication failure message with EMM cause (reject cause) #20 "MAC failure". + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.USIM_API_K=\"8BAF473F2F8FD09487CCCBD7097C6862\"" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + + # CORRECT K_VALUE is 8BAF473F2F8FD09487CCCBD7097C6862 WRONG K_VALUE fec86ba6eb707ed08905757b1bb44b8f + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.USIM_API_K=\"fec86ba6eb707ed08905757b1bb44b8f\"" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Identity Request message | {string:nocase:present} | + | Identification requested type = IMSI | {string:nocase:present} | + | Send Identity Response message | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Failure message (cause=20) | {string:nocase:present} | + | Received Authentication Reject message | {string:nocase:present} | + | Authentication not accepted by the network | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_IMSIattach_MAC_code_failure.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_IMSIattach_MAC_code_failure.feature new file mode 100644 index 00000000..2b8cf401 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_IMSIattach_MAC_code_failure.feature @@ -0,0 +1,42 @@ + ############################################################################################################################ + # Date: <13/12/2016> Version: <1.1> # + ############################################################################################################################ + + Feature:Auth_NotAccept_by_UE_IMSIattach_MAC_code_failure + + @authentication-procedure @Auth_NotAccept_by_UE_IMSIattach_MAC_code_failure @TS_24_301 @24_301_5_4_2_6 @24_301_5_4_2_7 @negTCs @Series-0002 + + Scenario: UE received invalid MAC code in AUTN parameter in the AUTHENTICATION REQUEST message. Authentication not accepted by the UE when attach with IMSI. UE responds the Authentication failure message with EMM cause (reject cause) #20 "MAC failure". + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + # WRONGIMSI is restored to false in teardown process + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.USIM_API_K_VALUE=\"8BAF473F2F8FD09487CCCBD7097C6862\"" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + + # CORRECT K_VALUE is 8BAF473F2F8FD09487CCCBD7097C6862 WRONG K_VALUE fec86ba6eb707ed08905757b1bb44b8f + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.USIM_API_K=\"fec86ba6eb707ed08905757b1bb44b8f\"" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with IMSI | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Failure message (cause=20) | {string:nocase:present} | + | Received Authentication Reject message | {string:nocase:present} | + | Authentication not accepted by the network | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature new file mode 100644 index 00000000..ff2a2e20 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature @@ -0,0 +1,46 @@ + ############################################################################################################################ + # Date: <13/01/2017> Version: <1.1> # + ############################################################################################################################ + + + Feature:Auth_NotAccept_by_UE_SQN_failure + + @authentication-procedure @Auth_NotAccept_by_UE_SQN_failure @TS_24_301 @24_301_5_4_2_6 @24_301_5_4_2_7 @negTCs @Series-0004 + + Scenario: UE receives an AUTHENTICATION REQUEST message with SQN out of range. UE sends an AUTHENTICATION FAILURE message to the network, with EMM cause "synch failure" and a re-synchronization token. Now UE receives a new correct AUTHENTICATION REQUEST message while T3420 is running. Finally UE sends a correct AUTHENTICATION RESPONSE message. + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=false" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=true" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Identity Request message | {string:nocase:present} | + | Identification requested type = IMSI | {string:nocase:present} | + | Send Identity Response message | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Failure message (cause=21) | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Response message | {string:nocase:present} | + | Received Security Mode Command message | {string:nocase:present} | + | Send Security Mode Complete message | {string:nocase:present} | + | Received Attach Accept message | {string:nocase:present} | diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_non_EPS_AuthUnaccpt.feature b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_non_EPS_AuthUnaccpt.feature new file mode 100644 index 00000000..372e6b79 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_non_EPS_AuthUnaccpt.feature @@ -0,0 +1,45 @@ + ############################################################################################################################ + # Date: <13/01/2017> Version: <1.1> # + ############################################################################################################################ + + + Feature:Auth_NotAccept_by_UE_non_EPS_AuthUnaccpt + + @authentication-procedure @Auth_NotAccept_by_UE_non_EPS_AuthUnaccpt @TS_24_301 @24_301_5_4_2_6 @24_301_5_4_2_7 @negTCs @Series-0004 @SS_changesReqd + + Scenario: UE receives an AUTHENTICATION REQUEST message with "separation bit" in the AMF field is 0. UE shall send an AUTHENTICATION FAILURE message to the network, with the reject cause #26 "non-EPS authentication unacceptable" + + # AuC system changes required. HSS should send Authentication request message with AMF=AMF_RESYNCH amf = {0xff 0xff} + # file name kdf.c line no: 156 uint8_t amf[] = { 0xFF, 0xFF }; + + Given all configured endpoints for SSH are connected successfully + + Given the steps below will be executed at the end + When I stop S1AP simulator on node ABOT + When I run the SSH command "sudo service mme_gw restart" on node MME + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=false" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Then the ending steps are complete + + # set ABOT configuration + Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT + Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=true" on node ABOT + Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT + + # Execute ABOT S1AP Simulator + When I run S1AP simulator on node ABOT with 1 UE + + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + Given the execution is paused for {abotprop.WAIT_10_SEC} seconds + + # Validate Test Case Execution at Simulator + Then I receive S1AP response on node ABOT and verify the presence of all the following values: + | responseResult | existence | + | Send Attach Request message with GUTI | {string:nocase:present} | + | Received Identity Request message | {string:nocase:present} | + | Identification requested type = IMSI | {string:nocase:present} | + | Send Identity Response message | {string:nocase:present} | + | Received Authentication Request message | {string:nocase:present} | + | Send Authentication Failure message (cause=26) | {string:nocase:present} | + diff --git a/functest/opnfv_tests/vnf/epc/featureFiles/ResourceBundle.xml b/functest/opnfv_tests/vnf/epc/featureFiles/ResourceBundle.xml new file mode 100644 index 00000000..64297220 --- /dev/null +++ b/functest/opnfv_tests/vnf/epc/featureFiles/ResourceBundle.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<message-bundle> + +</message-bundle>
\ No newline at end of file |