1 <?xml version="1.0" encoding="utf-8"?> |
|
2 |
|
3 <!-- MOD_1013.001_SIM_ATK_TSY_[TLV validation - invalid simple tlv len] --> |
|
4 |
|
5 |
|
6 <isc-test-control id="1013"> |
|
7 |
|
8 |
|
9 <!-- ******** --> |
|
10 <!-- CHANNELS --> |
|
11 <!-- ******** --> |
|
12 <channels> |
|
13 <channel id="0x07"/> |
|
14 </channels> |
|
15 |
|
16 |
|
17 <!-- ****** --> |
|
18 <!-- INPUTS --> |
|
19 <!-- ****** --> |
|
20 <inputs> |
|
21 |
|
22 <!-- PROACTIVE COMMANDS --> |
|
23 <!-- ****************** --> |
|
24 |
|
25 <input id="10001"> |
|
26 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.1.1</name> |
|
27 <direction>sos</direction> |
|
28 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,03,01,21,80,82,80,81,02,8D,19,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
29 </input> |
|
30 |
|
31 <input id="10002"> |
|
32 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.2.1</name> |
|
33 <direction>sos</direction> |
|
34 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,80,01,21,80,82,02,81,02,8D,19,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
35 </input> |
|
36 |
|
37 <input id="10003"> |
|
38 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.3.1</name> |
|
39 <direction>sos</direction> |
|
40 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,03,01,21,80,82,02,81,02,8D,80,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
41 </input> |
|
42 |
|
43 <input id="10004"> |
|
44 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.4.1</name> |
|
45 <direction>sos</direction> |
|
46 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,03,01,21,80,82,02,81,02,8D,20,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
47 </input> |
|
48 |
|
49 <input id="10005"> |
|
50 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.5.1</name> |
|
51 <direction>sos</direction> |
|
52 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,05,01,21,80,82,04,81,02,8D,40,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
53 </input> |
|
54 |
|
55 <input id="10006"> |
|
56 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.6.1</name> |
|
57 <direction>sos</direction> |
|
58 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,29,D0,25,81,03,01,21,80,82,02,81,02,8D,81,7F,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
59 </input> |
|
60 |
|
61 <input id="10007"> |
|
62 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.7.1</name> |
|
63 <direction>sos</direction> |
|
64 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,29,D0,25,81,03,01,21,80,82,02,81,02,8D,81,80,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
65 </input> |
|
66 |
|
67 <input id="10008"> |
|
68 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.8.1</name> |
|
69 <direction>sos</direction> |
|
70 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,28,D0,24,81,03,01,21,80,82,02,81,02,8D,10,08,04,17,04,14,04,20,04,10,04,12,04,21,04,22,04,12,04,23,04,19,04,22,04,15,90,00</message> |
|
71 </input> |
|
72 |
|
73 <input id="10009"> |
|
74 <name>PROACTIVE COMMAND: DISPLAY TEXT 1.9.1</name> |
|
75 <direction>sos</direction> |
|
76 <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,20,D0,1C,81,04,01,23,00,AB,82,02,81,82,8D,0C,04,45,6E,74,65,72,20,31,32,33,34,35,91,02,05,05,90,00</message> |
|
77 </input> |
|
78 |
|
79 |
|
80 <!-- SIM SESSION END --> |
|
81 <!-- *************** --> |
|
82 <input id="90004"> |
|
83 <name>ATK_SW_DATA_NTF: PROACTIVE SIM SESSION ENDED</name> |
|
84 <direction>sos</direction> |
|
85 <message>00,00,00,5A,00,00,78,34,00,13,00,00,90,00,00,00</message> |
|
86 </input> |
|
87 |
|
88 </inputs> |
|
89 |
|
90 |
|
91 <!-- ******* --> |
|
92 <!-- OUTPUTS --> |
|
93 <!-- ******* --> |
|
94 <outputs> |
|
95 |
|
96 <!-- TERMINAL RESPONSES --> |
|
97 <!-- ****************** --> |
|
98 |
|
99 <output id="40001"> |
|
100 <name>TERMINAL RESPONSE: DISPLAY TEXT 1.1.1</name> |
|
101 <direction>dos</direction> |
|
102 <message>1D,00,10,5A,00,16,00,08,00,11,00,00,00,0C,81,03,01,21,80,82,02,82,81,83,01,32,00,00</message> |
|
103 <mask>00,00,00,FF,00,00,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask> |
|
104 </output> |
|
105 |
|
106 <output id="40002"> |
|
107 <name>TERMINAL RESPONSE: DISPLAY TEXT 1.2.1</name> |
|
108 <direction>dos</direction> |
|
109 <message>1D,00,10,5A,00,16,00,08,00,11,00,00,00,0C,00,00,00,00,00,82,02,82,81,83,01,32,00,00</message> |
|
110 <mask>00,00,00,FF,00,00,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask> |
|
111 </output> |
|
112 |
|
113 </outputs> |
|
114 |
|
115 |
|
116 <!-- ********** --> |
|
117 <!-- TEST STEPS --> |
|
118 <!-- ********** --> |
|
119 <steps> |
|
120 |
|
121 |
|
122 <!-- PROACTIVE COMMANDS --> |
|
123 <!-- ****************** --> |
|
124 |
|
125 <step id="10001" type="simulate"> |
|
126 <name>Send PCMD</name> |
|
127 <channel id="0x07"/> |
|
128 <input-ref id="10001"/> |
|
129 </step> |
|
130 |
|
131 <step id="10002" type="simulate"> |
|
132 <name>Send PCMD</name> |
|
133 <channel id="0x07"/> |
|
134 <input-ref id="10002"/> |
|
135 </step> |
|
136 |
|
137 <step id="10003" type="simulate"> |
|
138 <name>Send PCMD</name> |
|
139 <channel id="0x07"/> |
|
140 <input-ref id="10003"/> |
|
141 </step> |
|
142 |
|
143 <step id="10004" type="simulate"> |
|
144 <name>Send PCMD</name> |
|
145 <channel id="0x07"/> |
|
146 <input-ref id="10004"/> |
|
147 </step> |
|
148 |
|
149 <step id="10005" type="simulate"> |
|
150 <name>Send PCMD</name> |
|
151 <channel id="0x07"/> |
|
152 <input-ref id="10005"/> |
|
153 </step> |
|
154 |
|
155 <step id="10006" type="simulate"> |
|
156 <name>Send PCMD</name> |
|
157 <channel id="0x07"/> |
|
158 <input-ref id="10006"/> |
|
159 </step> |
|
160 |
|
161 <step id="10007" type="simulate"> |
|
162 <name>Send PCMD</name> |
|
163 <channel id="0x07"/> |
|
164 <input-ref id="10007"/> |
|
165 </step> |
|
166 |
|
167 <step id="10008" type="simulate"> |
|
168 <name>Send PCMD</name> |
|
169 <channel id="0x07"/> |
|
170 <input-ref id="10008"/> |
|
171 </step> |
|
172 |
|
173 <step id="10009" type="simulate"> |
|
174 <name>Send PCMD</name> |
|
175 <channel id="0x07"/> |
|
176 <input-ref id="10009"/> |
|
177 </step> |
|
178 |
|
179 <!-- TERMINAL RESPONSES --> |
|
180 <!-- ****************** --> |
|
181 |
|
182 <step id="40001" type="intercept"> |
|
183 <name>Intercept TR</name> |
|
184 <channel id="0x07"/> |
|
185 <output-ref id="40001"/> |
|
186 <flags>0x40</flags> <!-- Store transaction ID from intercepted message --> |
|
187 </step> |
|
188 |
|
189 <step id="40002" type="intercept"> |
|
190 <name>Intercept TR</name> |
|
191 <channel id="0x07"/> |
|
192 <output-ref id="40002"/> |
|
193 <flags>0x40</flags> <!-- Store transaction ID from intercepted message --> |
|
194 </step> |
|
195 |
|
196 <!-- GENERAL STEPS --> |
|
197 <!-- ************* --> |
|
198 |
|
199 <step id="90001" type="sync"> |
|
200 <name>Sync with test env</name> |
|
201 </step> |
|
202 |
|
203 <step id="90002" type="open-channel"> |
|
204 <name>Attach to channel 7</name> |
|
205 <channel id="0x07"/> |
|
206 </step> |
|
207 |
|
208 <step id="90003" type="close-channel"> |
|
209 <name>Detach from channel 7</name> |
|
210 <channel id="0x07"/> |
|
211 </step> |
|
212 |
|
213 <step id="90004" type="simulate"> |
|
214 <name>SIM session end</name> |
|
215 <channel id="0x07"/> |
|
216 <input-ref id="90004"/> |
|
217 <flags>0x40</flags> <!-- Use stored transaction ID in simulated message --> |
|
218 </step> |
|
219 |
|
220 </steps> |
|
221 |
|
222 |
|
223 <!-- ********** --> |
|
224 <!-- TEST CASES --> |
|
225 <!-- ********** --> |
|
226 <cases> |
|
227 |
|
228 <case id="101"> |
|
229 <name>Sequence 1.1 (DISPLAY TEXT, invalid device identity len)</name> |
|
230 <timeout>10</timeout> |
|
231 <test-steps> |
|
232 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
233 <step-ref id="10001"/> <!-- Send PCMD --> |
|
234 <step-ref id="40001"/> <!-- Receive TR --> |
|
235 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
236 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
237 </test-steps> |
|
238 </case> |
|
239 |
|
240 <case id="102"> |
|
241 <name>Sequence 1.2 (DISPLAY TEXT, invalid command details len)</name> |
|
242 <timeout>10</timeout> |
|
243 <test-steps> |
|
244 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
245 <step-ref id="10002"/> <!-- Send PCMD --> |
|
246 <step-ref id="40002"/> <!-- Receive TR --> |
|
247 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
248 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
249 </test-steps> |
|
250 </case> |
|
251 |
|
252 <case id="103"> |
|
253 <name>Sequence 1.3 (DISPLAY TEXT, invalid simple tlv len ( 1 byte))</name> |
|
254 <timeout>10</timeout> |
|
255 <test-steps> |
|
256 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
257 <step-ref id="10003"/> <!-- Send PCMD --> |
|
258 <step-ref id="40001"/> <!-- Receive TR --> |
|
259 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
260 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
261 </test-steps> |
|
262 </case> |
|
263 |
|
264 <case id="104"> |
|
265 <name>Sequence 1.4 (DISPLAY TEXT, simple tlv lens doesn't match to the total proactive command len)</name> |
|
266 <timeout>10</timeout> |
|
267 <test-steps> |
|
268 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
269 <step-ref id="10004"/> <!-- Send PCMD --> |
|
270 <step-ref id="40001"/> <!-- Receive TR --> |
|
271 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
272 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
273 </test-steps> |
|
274 </case> |
|
275 |
|
276 <case id="105"> |
|
277 <name>Sequence 1.5 (DISPLAY TEXT, simple tlv lens doesn't match to the total proactive command len part2)</name> |
|
278 <timeout>10</timeout> |
|
279 <test-steps> |
|
280 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
281 <step-ref id="10005"/> <!-- Send PCMD --> |
|
282 <step-ref id="40002"/> <!-- Receive TR --> |
|
283 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
284 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
285 </test-steps> |
|
286 </case> |
|
287 |
|
288 <case id="106"> |
|
289 <name>Sequence 1.6 (DISPLAY TEXT, invalid simple tlv len ( 2 byte))</name> |
|
290 <timeout>10</timeout> |
|
291 <test-steps> |
|
292 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
293 <step-ref id="10006"/> <!-- Send PCMD --> |
|
294 <step-ref id="40001"/> <!-- Receive TR --> |
|
295 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
296 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
297 </test-steps> |
|
298 </case> |
|
299 |
|
300 <case id="107"> |
|
301 <name>Sequence 1.7 (DISPLAY TEXT, simple tlv lens doesn't match to the total proactive command len part3)</name> |
|
302 <timeout>10</timeout> |
|
303 <test-steps> |
|
304 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
305 <step-ref id="10007"/> <!-- Send PCMD --> |
|
306 <step-ref id="40001"/> <!-- Receive TR --> |
|
307 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
308 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
309 </test-steps> |
|
310 </case> |
|
311 |
|
312 <case id="108"> |
|
313 <name>Sequence 1.8 (DISPLAY TEXT, simple tlv lens doesn't match to the total proactive command len part4)</name> |
|
314 <timeout>10</timeout> |
|
315 <test-steps> |
|
316 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
317 <step-ref id="10008"/> <!-- Send PCMD --> |
|
318 <step-ref id="40001"/> <!-- Receive TR --> |
|
319 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
320 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
321 </test-steps> |
|
322 </case> |
|
323 |
|
324 <case id="109"> |
|
325 <name>Sequence 1.9 (GET INPUT, Command details TLV has one extra byte)</name> |
|
326 <timeout>10</timeout> |
|
327 <test-steps> |
|
328 <step-ref id="90002"/> <!-- Attach to channel 7 --> |
|
329 <step-ref id="10009"/> <!-- Send PCMD --> |
|
330 <step-ref id="40002"/> <!-- Receive TR --> |
|
331 <step-ref id="90004"/> <!-- SimSessionEnd --> |
|
332 <step-ref id="90003"/> <!-- Detach from channel 7 --> |
|
333 </test-steps> |
|
334 </case> |
|
335 |
|
336 </cases> |
|
337 |
|
338 </isc-test-control> |
|