vEPC tests with juju as an VNF manager
[functest.git] / functest / opnfv_tests / vnf / epc / featureFiles / Auth_NotAccept_by_UE_SQN_failure.feature
1     ############################################################################################################################
2     #                                              Date: <13/01/2017> Version: <1.1>                                           #
3     ############################################################################################################################
4
5
6     Feature:Auth_NotAccept_by_UE_SQN_failure
7
8     @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
9
10     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.
11
12     Given all configured endpoints for SSH are connected successfully
13
14     Given the steps below will be executed at the end
15     When I stop S1AP simulator on node ABOT
16     When I run the SSH command "sudo service mme_gw restart" on node MME
17     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=false" on node ABOT
18     Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT
19     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
20     Then the ending steps are complete
21
22     # set ABOT configuration
23     Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT
24     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.SYNC_FAILURE=true" on node ABOT
25     Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT
26
27     # Execute ABOT S1AP Simulator
28     When I run S1AP simulator on node ABOT with 1 UE
29
30     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
31     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
32
33     # Validate Test Case Execution at Simulator
34     Then I receive S1AP response on node ABOT and verify the presence of all the following values:
35     | responseResult                                 | existence               |
36     | Send Attach Request message with GUTI          | {string:nocase:present} |
37     | Received Identity Request message              | {string:nocase:present} |
38     | Identification requested type = IMSI           | {string:nocase:present} |
39     | Send Identity Response message                 | {string:nocase:present} |
40     | Received Authentication Request message        | {string:nocase:present} |
41     | Send Authentication Failure message (cause=21) | {string:nocase:present} |
42     | Received Authentication Request message        | {string:nocase:present} |
43     | Send Authentication Response message           | {string:nocase:present} |
44     | Received Security Mode Command message         | {string:nocase:present} |
45     | Send Security Mode Complete message            | {string:nocase:present} |
46     | Received Attach Accept message                 | {string:nocase:present} |