adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_smscbdatadownload.xml
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     1 <?xml version="1.0" encoding="utf-8"?> 
       
     2 
       
     3 <!-- MOD_0030.001_SIM_ATK_TSY_[SMS-CB Data Download] -->
       
     4 
       
     5 
       
     6 
       
     7 <isc-test-control id="30">
       
     8 
       
     9 
       
    10 <!-- ******** -->
       
    11 <!-- CHANNELS -->
       
    12 <!-- ******** -->
       
    13 <channels>
       
    14 	<channel id="0x07"/>
       
    15 </channels>
       
    16 
       
    17 
       
    18 <!-- ****** -->
       
    19 <!-- INPUTS -->
       
    20 <!-- ****** -->
       
    21 <inputs>
       
    22 
       
    23 <!-- INITIALIZATION_MESSAGES -->
       
    24 <!-- *********************** -->
       
    25 
       
    26     <input id="00001">
       
    27         <name>SIM_READ_FIELD_RESP servicetype:READ_FIELD status:SIM_SERV_OK</name>
       
    28         <direction>sos</direction>
       
    29         <message>00,00,10,09,00,0c,00,01,C4,bb,64,01,00,00,00,02,10,01</message>
       
    30     </input>
       
    31 
       
    32 
       
    33     <input id="00003">
       
    34         <name>SMS_CB_ROUTING_RESP</name>
       
    35         <direction>sos</direction>
       
    36         <message>00,00,10,02,00,06,00,01,00,35,01,00,01,00,00,00</message>
       
    37     </input>    
       
    38 
       
    39 <!-- SMS_PP_ROUTING_NTF -->
       
    40 <!-- ****************** -->
       
    41 
       
    42 
       
    43     
       
    44     <input id="10001">
       
    45         <name>SMS_CB_SIM_ROUTING_IND: SEQ 1, 2</name>
       
    46         <direction>sos</direction>
       
    47         <message>00,00,00,02,00,00,80,3e,00,37,00,02,00,2d,00,08,01,01,00,00,00,0e,00,60,c0,11,10,01,f0,11,ff,C3,32,9B,0D,12,CA,DF,61,F2,38,3C,A7,83,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,00,00,00,00,00</message>
       
    48     </input>
       
    49 
       
    50     <input id="10003">
       
    51         <name>SMS_CB_SIM_ROUTING_IND: SEQ 3</name>
       
    52         <direction>sos</direction>
       
    53         <message>00,00,00,02,00,00,80,3e,00,37,00,02,00,2d,00,08,01,01,00,00,00,0e,00,60,C0,11,03,E7,F0,11,00,C3,32,9B,0D,12,CA,DF,61,F2,38,3C,A7,83,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,00,00,00,00,00</message>
       
    54     </input>
       
    55     
       
    56 
       
    57 <!-- ATK_SW_DATA_NTF -->
       
    58 <!-- *************** -->
       
    59 
       
    60     <input id="30002">
       
    61         <name>ATK_SW_DATA_NTF, Command pending</name>
       
    62         <direction>sos</direction>
       
    63         <message>00,00,00,5A,00,00,78,34,00,13,00,00,91,0B,00,00</message>
       
    64     </input>
       
    65 
       
    66 <!-- PROACTIVE COMMANDS -->
       
    67 <!-- ****************** -->
       
    68 
       
    69     <input id="50002">
       
    70         <name>PROACTIVE COMMAND: MORE TIME 1.1</name>
       
    71         <direction>sos</direction>
       
    72         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,0D,D0,09,81,03,01,02,00,82,02,81,82,90,00</message>
       
    73     </input>  
       
    74     
       
    75 <!-- SIM SESSION END -->
       
    76 <!-- *************** -->
       
    77     <input id="90004">
       
    78         <name>SIM Session End</name>
       
    79         <direction>sos</direction>
       
    80         <message>00,00,00,5A,00,00,78,34,00,13,00,00,90,00,00,00</message>
       
    81     </input>
       
    82 
       
    83 </inputs>
       
    84 
       
    85 
       
    86 <!-- ******* -->
       
    87 <!-- OUTPUTS -->
       
    88 <!-- ******* -->
       
    89 <outputs>
       
    90 
       
    91 <!-- INITIALIZATION_MESSAGES -->
       
    92 <!-- *********************** -->
       
    93 
       
    94     
       
    95     <output id="00002">
       
    96         <name>SMS_CB_ROUTING_REQ</name>
       
    97         <direction>dos</direction>
       
    98         <message>00,00,10,02,00,0a,00,01,00,34,01,00,01,00,00,00</message>
       
    99            <mask>00,00,00,FF,00,FF,00,00,00,FF,FF,FF,FF,FF,FF,FF</mask>
       
   100     </output>
       
   101     
       
   102 
       
   103 
       
   104 <!-- ATK_ENVELOPE_NTF -->
       
   105 <!-- **************** -->
       
   106 
       
   107     <output id="20001">
       
   108         <name>ENVELOPE: SMS-CB DOWNLOAD 1.1</name>
       
   109         <direction>dos</direction>
       
   110         <message>00,00,00,5A,00,66,00,00,CA,12,00,60,D2,5E,82,02,83,81,8C,58,C0,11,10,01,F0,11,C3,32,9B,0D,12,CA,DF,61,F2,38,3C,A7,83,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02,81,40,20,10,08,04,02</message>
       
   111            <mask>00,00,00,FF,00,FF,00,00,00,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF</mask>
       
   112     </output>
       
   113 
       
   114 <!-- TERMINAL RESPONSES -->
       
   115 <!-- ****************** -->
       
   116 
       
   117     <output id="60002">
       
   118         <name>TERMINAL RESPONSE: MORE TIME 1.1</name>
       
   119         <direction>dos</direction>
       
   120         <message>1D,00,10,5A,00,16,00,08,00,11,00,00,00,0C,81,03,01,02,00,82,02,82,81,83,01,00,00,00</message>
       
   121            <mask>00,00,00,FF,00,FF,00,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask>
       
   122     </output>    
       
   123 </outputs>
       
   124 
       
   125 
       
   126 <!-- ********** -->
       
   127 <!-- TEST STEPS -->
       
   128 <!-- ********** -->
       
   129 <steps>
       
   130 
       
   131 <!-- INITIALIZATION_MESSAGES -->
       
   132 <!-- *********************** -->
       
   133     <step id="00001" type="simulate">
       
   134         <name>Send SIM_READ_FIELD_RESP</name>
       
   135         <channel id="0x07"/>
       
   136         <input-ref id="00001"/>
       
   137     </step>
       
   138 
       
   139 
       
   140     <step id="00002" type="intercept">
       
   141         <name>Intercept SMS_CB_ROUTING_REQ</name>
       
   142         <channel id="0x07"/>
       
   143         <output-ref id="00002"/>
       
   144         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   145     </step>
       
   146     
       
   147     
       
   148     
       
   149     <step id="00003" type="simulate">
       
   150         <name>Send SMS_CB_ROUTING_RESP</name>
       
   151         <channel id="0x07"/>
       
   152         <input-ref id="00003"/>
       
   153         <flags>0x40</flags>  <!-- Use stored transaction ID -->
       
   154     </step>    
       
   155     
       
   156     
       
   157 <!-- SMS_GSM_TEMP_CB_ROUTING_NTF -->
       
   158 <!-- *************************** -->
       
   159 
       
   160     
       
   161     <step id="10001" type="simulate">
       
   162         <name>Send NTF</name>
       
   163         <channel id="0x07"/>
       
   164         <input-ref id="10001"/>
       
   165     </step>
       
   166 
       
   167     <step id="10003" type="simulate">
       
   168         <name>Send NTF</name>
       
   169         <channel id="0x07"/>
       
   170         <input-ref id="10003"/>
       
   171     </step>
       
   172     
       
   173 
       
   174 <!-- ATK_ENVELOPE_NTF -->
       
   175 <!-- **************** -->
       
   176     <step id="20001" type="intercept">
       
   177         <name>Intercept Envelope</name>
       
   178         <channel id="0x07"/>
       
   179         <output-ref id="20001"/>
       
   180         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   181     </step>
       
   182     
       
   183 <!-- ATK_SW_DATA_NTF -->
       
   184 <!-- *************** -->
       
   185     <step id="30002" type="simulate">
       
   186         <name>Send ntf</name>
       
   187         <channel id="0x07"/>
       
   188         <input-ref id="30002"/>
       
   189         <flags>0x40</flags>  <!-- Use stored transaction ID -->
       
   190     </step>
       
   191 
       
   192 <!-- PROACTIVE COMMANDS -->
       
   193 <!-- ****************** -->
       
   194     <step id="50002" type="simulate">
       
   195         <name>Send pcmd</name>
       
   196         <channel id="0x07"/>
       
   197         <input-ref id="50002"/>
       
   198     </step>
       
   199     
       
   200 <!-- TERMINAL RESPONSES -->
       
   201 <!-- ****************** -->
       
   202     <step id="60002" type="intercept">
       
   203         <name>Intercept TR</name>
       
   204         <channel id="0x07"/>
       
   205         <output-ref id="60002"/>
       
   206         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   207     </step>
       
   208     
       
   209 <!-- GENERAL STEPS -->
       
   210 <!-- ************* -->
       
   211     <step id="90001" type="sync">
       
   212         <name>Sync with test env</name>
       
   213     </step>
       
   214 
       
   215     <step id="90002" type="open-channel">
       
   216         <name>Attach to channel 7</name>
       
   217         <channel id="0x07"/>
       
   218     </step>
       
   219 
       
   220     <step id="90003" type="close-channel">
       
   221         <name>Detach from channel 7</name>
       
   222         <channel id="0x07"/>
       
   223     </step>
       
   224 
       
   225     <step id="90004" type="simulate">
       
   226         <name>SIM session end</name>
       
   227         <channel id="0x07"/>
       
   228         <input-ref id="90004"/>
       
   229         <flags>0x40</flags>  <!-- Use stored transaction ID in simulated message -->        
       
   230     </step>
       
   231     
       
   232     <step id="90005" type="sleep">
       
   233         <name>Sleep for one second</name>
       
   234         <timeout>1000</timeout>
       
   235         <block>false</block>
       
   236     </step>
       
   237     
       
   238 </steps>
       
   239 
       
   240 
       
   241 <!-- ********** -->
       
   242 <!-- TEST CASES -->
       
   243 <!-- ********** -->
       
   244 <cases>
       
   245 
       
   246 <!-- 27.22.5.2	SMS-CB Data Download -->
       
   247 
       
   248 
       
   249     <case id="101">
       
   250         <name>Sequence 1.1 (SMS-CB (Data Download), ENVELOPE(SMS-CB DOWNLOAD), ME does not display message)</name>
       
   251         <timeout>10</timeout>
       
   252         <test-steps>
       
   253             <step-ref id="90002"/> <!-- Attach to channel 7 -->
       
   254             
       
   255             <step-ref id="00001"/> <!-- Send SIM_READ_FIELD_RESP -->
       
   256             <step-ref id="00002"/> <!-- Receive SMS_CB_ROUTING_REQ -->
       
   257             <step-ref id="00003"/> <!-- Send SMS_CB_ROUTING_RESP -->
       
   258             
       
   259             <step-ref id="10001"/> <!-- Send SMS_CB_SIM_ROUTING_IND -->
       
   260             <step-ref id="20001"/> <!-- Receive ATK_ENVELOPE_NTF -->
       
   261             <step-ref id="90004"/> <!-- Send ATK_SW_DATA_NTF Resp -->
       
   262             
       
   263             <step-ref id="90003"/> <!-- Detach from channel 7 -->
       
   264         </test-steps>
       
   265     </case>
       
   266 
       
   267 
       
   268     <case id="102">
       
   269         <name>Sequence 1.2 (SMS-CB(DATA DOWNLOAD), ENVELOPE(SMS-CB DATA DOWNLOAD), FETCH, MORE TIME, ME does not display message)</name>
       
   270         <timeout>10</timeout>
       
   271         <test-steps>
       
   272             <step-ref id="90002"/> <!-- Attach to channel 7 -->
       
   273             
       
   274             <step-ref id="10001"/> <!-- Send SMS_CB_SIM_ROUTING_IND -->
       
   275             <step-ref id="20001"/> <!-- Receive ATK_ENVELOPE_NTF -->
       
   276             <step-ref id="30002"/> <!-- Send ATK_SW_DATA_NTF Resp -->
       
   277             <step-ref id="50002"/> <!-- Send PCMD -->
       
   278             <step-ref id="60002"/> <!-- Receive TR -->
       
   279             <step-ref id="90004"/> <!-- Send ATK_SW_DATA_NTF -->
       
   280             
       
   281             <step-ref id="90003"/> <!-- Detach from channel 7 -->
       
   282         </test-steps>
       
   283     </case>
       
   284     
       
   285     
       
   286 
       
   287 
       
   288 </cases>
       
   289 
       
   290 </isc-test-control>