vEPC tests with juju as an VNF manager
[functest.git] / functest / opnfv_tests / vnf / epc / featureFiles / Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth.feature
1     ############################################################################################################################
2     #                                              Date: <22/11/2016> Version: <1.1>                                           #
3     ############################################################################################################################
4
5
6     Feature:Auth_NotAccept_by_Network_GUTIattach_AuthReject_re_Auth
7
8     @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
9
10     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.
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     #RES is restored to 0x00 in teardown process
18     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" on node ABOT
19     Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=true" on node ABOT
20     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
21     Then the ending steps are complete
22
23     # set ABOT configuration
24     Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT
25     Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT
26     # set the value of RES parameter (other than 0x00) manually in Authentication Response message which is sent from UE to MME
27     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0xFF" on node ABOT
28
29
30     # Execute ABOT S1AP Simulator
31     When I run S1AP simulator on node ABOT with 1 UE
32
33     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
34     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
35
36     # Validate Test Case Execution at Simulator
37     Then I receive S1AP response on node ABOT and verify the presence of all the following values:
38     | responseResult                             | existence               |
39     | Send Attach Request message with GUTI      | {string:nocase:present} |
40     | Received Identity Request message          | {string:nocase:present} |
41     | Identification requested type = IMSI       | {string:nocase:present} |
42     | Send Identity Response message             | {string:nocase:present} |
43     | Received Authentication Request message    | {string:nocase:present} |
44     | Send Authentication Response message       | {string:nocase:present} |
45     | Received Authentication Reject message     | {string:nocase:present} |
46     | Authentication not accepted by the network | {string:nocase:present} |
47