Merge "Implement trunk ports testcase"
[functest.git] / functest / opnfv_tests / vnf / epc / featureFiles / Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth.feature
1     ############################################################################################################################
2     #                                              Date: <22/11/2016> Version: <1.1>                                           #
3     ############################################################################################################################
4
5     Feature:Auth_NotAccept_by_Network_IMSIattach_AuthReject_re_Auth
6
7     @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
8
9     Scenario: Authentication not accepted by the network when attach with IMSI, Authentication reject when RES is different from UE and MME
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     #RES is restore to 0x00 in teardown process
17     Given that I setup S1AP Simulator with UE parameter "ABOT.UE.CONFIG.SECURITY.RES=0x00" 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=true" 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
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 IMSI      | {string:nocase:present} |
37     | Received Authentication Request message    | {string:nocase:present} |
38     | Send Authentication Response message       | {string:nocase:present} |
39     | Received Authentication Reject message     | {string:nocase:present} |
40     | Authentication not accepted by the network | {string:nocase:present} |
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62