aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_subscriber_errors.ctrl
blob: 2ae9b69a0d60033555924ba5f8e3651e8b2ef593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
GET 1 invalid
ERROR 1 Command not found
SET 2 invalid nonsense
ERROR 2 Command not found

GET 3 subscriber.by-imsi-nonsense.info
ERROR 3 Invalid value part of 'by-xxx-value' selector.
GET 4 subscriber.by-msisdn-nonsense.info
ERROR 4 Invalid value part of 'by-xxx-value' selector.
GET 5 subscriber.by-id-nonsense.info
ERROR 5 Invalid value part of 'by-xxx-value' selector.

GET 6 subscriber
ERROR 6 Command not present.
GET 7 subscriber.
ERROR 7 Command not present.
GET 8 subscriber.by-nonsense
ERROR 8 Command not present.
GET 9 subscriber.by-nonsense-
ERROR 9 Command not present.
GET 10 subscriber.by-nonsense-123456
ERROR 10 Command not present.
GET 11 subscriber.by-nonsense-123456.
ERROR 11 Command not present.
GET 12 subscriber.by-imsi-
ERROR 12 Command not present.
GET 13 subscriber.by-imsi-.
ERROR 13 Command not present.
GET 14 subscriber.by-imsi-901990000000003
ERROR 14 Command not present.
GET 15 subscriber.by-imsi-901990000000003.
ERROR 15 Command not present.

GET 16 subscriber.by-nonsense-123456.info
ERROR 16 Not a known subscriber 'by-xxx-' selector.
GET 17 subscriber.by-123456.info
ERROR 17 Not a known subscriber 'by-xxx-' selector.

GET 18 subscriber.by-imsi-.info
ERROR 18 Invalid value part of 'by-xxx-value' selector.
GET 19 subscriber.by-imsi--.info
ERROR 19 Invalid value part of 'by-xxx-value' selector.

GET 20 subscriber.by-imsi-12345678901234567.info
ERROR 20 Invalid value part of 'by-xxx-value' selector.
GET 21 subscriber.by-imsi-12345.info
ERROR 21 Invalid value part of 'by-xxx-value' selector.
GET 22 subscriber.by-imsi-1234567890123456.info
ERROR 22 Invalid value part of 'by-xxx-value' selector.

GET 23 subscriber.by-id-99999999999999999999999999.info
ERROR 23 Invalid value part of 'by-xxx-value' selector.
GET 24 subscriber.by-id-9223372036854775807.info
ERROR 24 No such subscriber.
GET 25 subscriber.by-id-9223372036854775808.info
ERROR 25 Invalid value part of 'by-xxx-value' selector.
GET 26 subscriber.by-id--1.info
ERROR 26 No such subscriber.
GET 27 subscriber.by-id--9223372036854775808.info
ERROR 27 No such subscriber.
GET 28 subscriber.by-id--9223372036854775809.info
ERROR 28 Invalid value part of 'by-xxx-value' selector.

GET 29 subscriber.by-id-1+1.info
ERROR 29 GET variable contains invalid characters
GET 30 subscriber.by-id--.info
ERROR 30 Invalid value part of 'by-xxx-value' selector.
GET 31 subscriber.by-id-+1.info
ERROR 31 GET variable contains invalid characters
GET 32 subscriber.by-id-+-1.info
ERROR 32 GET variable contains invalid characters
GET 33 subscriber.by-id--+1.info
ERROR 33 GET variable contains invalid characters
GET 34 subscriber.by-id-++1.info
ERROR 34 GET variable contains invalid characters
GET 35 subscriber.by-id---1.info
ERROR 35 Invalid value part of 'by-xxx-value' selector.

GET 36 subscriber.by-id- 1.info
ERROR 36 GET with trailing characters
GET 37 subscriber.by-id-+ 1.info
ERROR 37 GET variable contains invalid characters
GET 38 subscriber.by-id-- 1.info
ERROR 38 GET with trailing characters


SET 39 subscriber.by-imsi-901990000000001.info foo
ERROR 39 Read Only attribute
SET 40 subscriber.by-imsi-901990000000001.info-aud foo
ERROR 40 Read Only attribute
SET 41 subscriber.by-imsi-901990000000001.info-all foo
ERROR 41 Read Only attribute

SET 42 subscriber.by-imsi-901990000000001.ps-enabled nonsense
ERROR 42 Value failed verification.
SET 43 subscriber.by-imsi-901990000000001.cs-enabled nonsense
ERROR 43 Value failed verification.

SET 44 subscriber.by-imsi-901990000000001.ps-enabled
ERROR 44 SET incomplete
SET 45 subscriber.by-imsi-901990000000001.cs-enabled
ERROR 45 SET incomplete

GET 46 subscriber.by-imsi-1234567890123456.ps-enabled
ERROR 46 Invalid value part of 'by-xxx-value' selector.
GET 47 subscriber.by-imsi-1234567890123456.cs-enabled
ERROR 47 Invalid value part of 'by-xxx-value' selector.

GET 48 subscriber.by-id-0x0123.info
ERROR 48 Invalid value part of 'by-xxx-value' selector.

SET 49 subscriber.create zzz
ERROR 49 Invalid IMSI value.

SET 50 subscriber.create 901990000000001
ERROR 50 Subscriber already exists.

SET 51 subscriber.by-imsi-1234567890123456.msisdn hellobadmsisdn
ERROR 51 Value failed verification.

SET 52 subscriber.delete 100000
ERROR 52 Subscriber doesn't exist.

SET 53 subscriber.delete zzz
ERROR 53 Invalid IMSI value.

SET 54 subscriber.by-imsi-901990000000003.aud2g foobar
ERROR 54 Value failed verification.

SET 55 subscriber.by-imsi-901990000000003.aud2g foobar,2134
ERROR 55 Unknown auth algorithm.

SET 56 subscriber.by-imsi-901990000000003.aud2g xor-2g,2134
ERROR 56 Invalid KI.

SET 57 subscriber.by-imsi-901990000000003.aud3g foobar
ERROR 57 Value failed verification.

SET 58 subscriber.by-imsi-901990000000003.aud3g foobar,2134
ERROR 58 Unknown auth algorithm.

SET 59 subscriber.by-imsi-901990000000003.aud3g milenage,2134
ERROR 59 Invalid KI.

SET 60 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,AAA
ERROR 60 Invalid format.

SET 61 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC
ERROR 61 Invalid format.

SET 62 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,zzz
ERROR 62 Invalid OP/OPC.

SET 63 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,fb2a3d1b360f599abab99db8669f8308,
ERROR 63 Invalid format.