Update scenario img_file in tempest.conf
[functest.git] / functest / opnfv_tests / vnf / epc / featureFiles / Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth.feature
1     ############################################################################################################################
2     #                                              Date: <22/11/2016> Version: <1.1>                                           #
3     ############################################################################################################################
4
5     Feature:Auth_NotAccept_by_Network_GUTIattach_IMSIdiff_AuthReject_re_Auth
6
7     @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
8
9     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
10
11     Given all configured endpoints for SSH are connected successfully
12
13     Given the steps below will be executed at the end
14     When I stop S1AP simulator on node ABOT
15     When I run the SSH command "sudo service mme_gw restart" on node MME
16     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" on node ABOT
17     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.WRONGIMSI=false" on node ABOT
18     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
19     Then the ending steps are complete
20
21     # set ABOT configuration
22     Given that I setup S1AP Simulator with default parameters specified in {abotprop.ABOT.EPC.Defaults} on node ABOT
23     Given that I setup S1AP Simulator with USIM parameter "ABOT.UE.USIM.AttachWithImsi=false" on node ABOT
24     # set the value of RES parameter (other than 0x00) manually in Authentication Response message which is sent from UE to MME
25     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0xFF" on node ABOT
26     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.WRONGIMSI=true" on node ABOT
27
28     # Execute ABOT S1AP Simulator
29     When I run S1AP simulator on node ABOT with 1 UE
30
31     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
32     Given the execution is paused for {abotprop.WAIT_10_SEC} seconds
33
34     # Validate Test Case Execution at Simulator
35     Then I receive S1AP response on node ABOT and verify the presence of all the following values:
36     | responseResult                          | existence               |
37     | Send Attach Request message with GUTI   | {string:nocase:present} |
38     | Received Authentication Request message | {string:nocase:present} |