aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature
diff options
context:
space:
mode:
authorsoumaya <soumaya.nayek@rebaca.com>2017-09-12 22:49:21 +0530
committerCédric Ollivier <cedric.ollivier@orange.com>2017-12-11 13:51:52 +0100
commit00315cbac45bdffe0cfd3174a4b0871ccb610b97 (patch)
tree382caa3f197947fe3a39690527bc467ae6bc4481 /functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature
parent41a81e7f5ca5d3733e6e5655f5ece7859ce9f49b (diff)
vEPC tests with juju as an VNF manager
juju_epc testcase validate EPC setup with the help of ABoT which acting as test executor. Functest-abot-epc-bundle deploys OAI charms alongwith mysql and ABoT. JUJU is acting as a VNF manager. Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
Diffstat (limited to 'functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature')
-rw-r--r--functest/opnfv_tests/vnf/epc/featureFiles/Auth_NotAccept_by_UE_SQN_failure.feature46
1 files changed, 46 insertions, 0 deletions
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} |