adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_sendsm_custom.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 <!--
       
     4 MOD_1011.001_SIM_ATK_TSY_[SEND SHORT MESSAGE - normal, packing required - with header data]
       
     5 MOD_1011.002_SIM_ATK_TSY_[SEND SHORT MESSAGE - normal, invalid user data length]
       
     6 MOD_1011.003_SIM_ATK_TSY_[SEND SHORT MESSAGE - normal, with validity period]
       
     7 -->
       
     8 
       
     9 
       
    10 <isc-test-control id="1011">
       
    11 
       
    12 
       
    13 <!-- ******** -->
       
    14 <!-- CHANNELS -->
       
    15 <!-- ******** -->
       
    16 <channels>
       
    17         <channel id="0x07"/>
       
    18 </channels>
       
    19 
       
    20 
       
    21 <!-- ****** -->
       
    22 <!-- INPUTS -->
       
    23 <!-- ****** -->
       
    24 <inputs>
       
    25 
       
    26 <!-- PROACTIVE COMMANDS -->
       
    27 <!-- ****************** -->
       
    28 
       
    29 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
    30     <input id="10101">
       
    31         <name>PROACTIVE COMMAND: SEND SHORT MESSAGE</name>
       
    32         <direction>sos</direction>
       
    33         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,39,D0,35,81,03,01,13,01,82,02,81,83,05,0E,45,6E,76,2E,20,6D,73,67,20,30,31,2E,2E,2E,8B,1A,51,00,0B,81,10,91,56,68,07,F7,00,00,A7,0C,05,00,0C,00,10,20,00,54,65,73,74,65,90,00</message>
       
    34     </input>
       
    35     
       
    36 <!-- SEND SHORT MESSAGE - normal, invalid user data length -->
       
    37     <input id="10102">
       
    38         <name>PROACTIVE COMMAND: SEND SHORT MESSAGE -invalid user data length</name>
       
    39         <direction>sos</direction>
       
    40         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,3B,D0,37,81,03,01,13,00,82,02,81,83,85,07,53,65,6E,64,20,53,4D,86,09,91,11,22,33,44,55,66,77,F8,8B,18,01,00,09,91,10,32,54,76,F8,40,F4,0D,54,65,73,74,20,4D,65,73,73,61,67,65,90,00</message>
       
    41     </input>
       
    42     
       
    43 <!-- SEND SHORT MESSAGE - normal, with validity period relative -->
       
    44     <input id="10103">
       
    45         <name>PROACTIVE COMMAND: SEND SHORT MESSAGE -with validity period relative</name>
       
    46         <direction>sos</direction>
       
    47         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,4B,D0,47,81,03,01,13,00,82,02,81,83,85,05,53,53,4D,31,30,86,06,91,54,03,04,05,06,8B,2D,11,00,0A,91,54,04,05,06,07,40,14,AE,20,53,68,6F,72,74,20,6D,65,73,73,61,67,65,20,73,65,6E,74,20,66,72,6F,6D,20,53,49,4D,2D,41,54,4B,2E,90,00</message>
       
    48     </input>
       
    49     
       
    50 <!-- SEND SHORT MESSAGE - normal, with validity period enhanced -->
       
    51     <input id="10104">
       
    52         <name>PROACTIVE COMMAND: SEND SHORT MESSAGE -with validity period enhanced</name>
       
    53         <direction>sos</direction>
       
    54         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,51,D0,4D,81,03,01,13,00,82,02,81,83,85,05,53,53,4D,31,31,86,06,91,54,03,04,05,06,8B,33,09,00,0A,91,54,04,05,06,07,40,14,43,08,07,06,00,00,00,20,53,68,6F,72,74,20,6D,65,73,73,61,67,65,20,73,65,6E,74,20,66,72,6F,6D,20,53,49,4D,2D,41,54,4B,2E,90,00</message>
       
    55     </input>
       
    56     
       
    57 <!-- SEND SHORT MESSAGE - normal, with validity period absolute -->
       
    58     <input id="10105">
       
    59         <name>PROACTIVE COMMAND: SEND SHORT MESSAGE -with validity period absolute</name>
       
    60         <direction>sos</direction>
       
    61         <message>15,28,00,5A,00,00,08,00,00,10,00,55,00,51,D0,4D,81,03,01,13,00,82,02,81,83,85,05,53,53,4D,31,32,86,06,91,54,03,04,05,06,8B,33,19,00,0A,91,54,04,05,06,07,40,14,30,21,13,32,95,95,40,20,53,68,6F,72,74,20,6D,65,73,73,61,67,65,20,73,65,6E,74,20,66,72,6F,6D,20,53,49,4D,2D,41,54,4B,2E,90,00</message>
       
    62     </input>
       
    63 
       
    64 
       
    65 <!-- SMS_MESSAGE_SEND_RESP -->
       
    66 <!-- ********************* -->
       
    67 
       
    68 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
    69     <input id="30101">
       
    70         <name>SMS_MESSAGE_SEND_RESP</name>
       
    71         <direction>sos</direction>
       
    72         <message>00,00,00,02,00,00,00,00,04,03,00,01,0C,08,00,00,00,00,00,00</message>
       
    73     </input>
       
    74 
       
    75 
       
    76 <!-- SIM SESSION END -->
       
    77 <!-- *************** -->
       
    78     <input id="90004">
       
    79         <name>SIM Session End</name>
       
    80         <direction>sos</direction>
       
    81         <message>00,00,00,5A,00,00,78,34,00,13,00,00,90,00,00,00</message>
       
    82         <!-- Transaction Id's (9:th byte) must match with Terminal responses transaction id -->
       
    83     </input>
       
    84 
       
    85 </inputs>
       
    86 
       
    87 
       
    88 <!-- ******* -->
       
    89 <!-- OUTPUTS -->
       
    90 <!-- ******* -->
       
    91 <outputs>
       
    92 
       
    93 <!-- SMS_MESSAGE_SEND_REQ -->
       
    94 <!-- ******************** -->
       
    95 
       
    96 <!--
       
    97 NOTE! Verifying the actual content of SMS_MESSAGE_SEND_REQ is actually beyond the scope
       
    98 of SimAtkTsy TestTool as the message is created in NokiaTsy. Nevertheless message content
       
    99 is verified here at the moment. However, this decision can be changed in the future if it
       
   100 causes problems in test execution, due to SMS-server API-changes for example.
       
   101 -->
       
   102 
       
   103 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   104     <output id="20101">
       
   105         <name>SMS_MESSAGE_SEND_REQ</name>
       
   106         <direction>dos</direction>
       
   107         <message>00,00,00,02,00,3E,00,00,04,02,00,03,00,01,00,01,02,34,51,00,00,00,00,04,82,0C,01,08,0B,81,10,91,56,68,07,F7,82,0C,02,08,07,91,53,58,80,77,01,01,80,10,0B,0C,05,00,03,00,01,01,A8,E5,39,BD,0C,00,08,04,01,A7</message>
       
   108            <mask>00,00,00,FF,00,FF,00,00,00,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>
       
   109     </output>
       
   110 
       
   111 
       
   112 <!-- TERMINAL RESPONSES -->
       
   113 <!-- ****************** -->
       
   114 
       
   115 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   116     <output id="40101">
       
   117         <name>TERMINAL RESPONSE: SEND SHORT MESSAGE</name>
       
   118         <direction>dos</direction>
       
   119         <message>1D,00,10,5A,00,16,00,08,00,11,00,00,00,0C,81,03,01,13,01,82,02,82,81,83,01,00,00,00</message>
       
   120            <mask>00,00,00,FF,00,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask>
       
   121     </output>
       
   122     
       
   123 
       
   124 <!-- SEND SHORT MESSAGE - normal, invalid user data length -->
       
   125     <output id="40102">
       
   126         <name>TERMINAL RESPONSE: SEND SHORT MESSAGE</name>
       
   127         <direction>dos</direction>
       
   128         <message>00,00,00,5A,00,16,00,00,00,11,00,00,00,0C,81,03,01,13,00,02,02,82,81,03,01,32,00,00</message>
       
   129            <mask>00,00,00,FF,00,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask>
       
   130     </output>
       
   131     
       
   132 <!-- SEND SHORT MESSAGE - normal, with validity period -->
       
   133     <output id="40103">
       
   134         <name>TERMINAL RESPONSE: SEND SHORT MESSAGE</name>
       
   135         <direction>dos</direction>
       
   136         <message>00,00,00,5A,00,16,00,00,00,11,00,00,00,0C,81,03,01,13,00,02,02,82,81,03,01,00,00,00</message>
       
   137            <mask>00,00,00,FF,00,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,7F,FF,FF,FF,7F,FF,FF,FF,FF</mask>
       
   138     </output>
       
   139 
       
   140 </outputs>
       
   141 
       
   142 
       
   143 <!-- ********** -->
       
   144 <!-- TEST STEPS -->
       
   145 <!-- ********** -->
       
   146 <steps>
       
   147 
       
   148 <!-- PROACTIVE COMMANDS -->
       
   149 <!-- ****************** -->
       
   150 
       
   151 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   152     <step id="10101" type="simulate">
       
   153         <name>Send PCMD</name>
       
   154         <channel id="0x07"/>
       
   155         <input-ref id="10101"/>
       
   156     </step>
       
   157     
       
   158 <!-- SEND SHORT MESSAGE - invalid user data length -->
       
   159     <step id="10102" type="simulate">
       
   160         <name>Send PCMD</name>
       
   161         <channel id="0x07"/>
       
   162         <input-ref id="10102"/>
       
   163     </step>
       
   164     
       
   165 <!-- SEND SHORT MESSAGE - with validity period relative -->
       
   166     <step id="10103" type="simulate">
       
   167         <name>Send PCMD</name>
       
   168         <channel id="0x07"/>
       
   169         <input-ref id="10103"/>
       
   170     </step>
       
   171     
       
   172 <!-- SEND SHORT MESSAGE - with validity period enhanced -->
       
   173     <step id="10104" type="simulate">
       
   174         <name>Send PCMD</name>
       
   175         <channel id="0x07"/>
       
   176         <input-ref id="10104"/>
       
   177     </step>
       
   178     
       
   179 <!-- SEND SHORT MESSAGE - with validity period absolute -->
       
   180     <step id="10105" type="simulate">
       
   181         <name>Send PCMD</name>
       
   182         <channel id="0x07"/>
       
   183         <input-ref id="10105"/>
       
   184     </step>
       
   185 
       
   186 
       
   187 <!-- SMS_MESSAGE_SEND_REQ -->
       
   188 <!-- ******************** -->
       
   189 
       
   190 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   191     <step id="20101" type="intercept">
       
   192         <name>Intercept SMS_REQ</name>
       
   193         <channel id="0x07"/>
       
   194         <output-ref id="20101"/>
       
   195         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   196     </step>
       
   197 
       
   198 
       
   199 <!-- SMS_MESSAGE_SEND_RESP -->
       
   200 <!-- ********************* -->
       
   201 
       
   202 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   203     <step id="30101" type="simulate">
       
   204         <name>Send PCMD</name>
       
   205         <channel id="0x07"/>
       
   206         <input-ref id="30101"/>
       
   207     </step>
       
   208 
       
   209 
       
   210 <!-- TERMINAL RESPONSES -->
       
   211 <!-- ****************** -->
       
   212 
       
   213 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   214     <step id="40101" type="intercept">
       
   215         <name>Intercept TR</name>
       
   216         <channel id="0x07"/>
       
   217         <output-ref id="40101"/>
       
   218         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   219     </step>
       
   220     
       
   221 <!-- SEND SHORT MESSAGE - normal, invalid user data length -->
       
   222     <step id="40102" type="intercept">
       
   223         <name>Intercept TR</name>
       
   224         <channel id="0x07"/>
       
   225         <output-ref id="40102"/>
       
   226         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   227     </step>
       
   228     
       
   229 <!-- SEND SHORT MESSAGE - normal, with validity period -->
       
   230     <step id="40103" type="intercept">
       
   231         <name>Intercept TR</name>
       
   232         <channel id="0x07"/>
       
   233         <output-ref id="40103"/>
       
   234         <flags>0x40</flags>  <!-- Store transaction ID from intercepted message -->
       
   235     </step>
       
   236 
       
   237 <!-- GENERAL STEPS -->
       
   238 <!-- ************* -->
       
   239 
       
   240     <step id="90001" type="sync">
       
   241         <name>Sync with test env</name>
       
   242     </step>
       
   243 
       
   244     <step id="90002" type="open-channel">
       
   245         <name>Attach to channel 7</name>
       
   246         <channel id="0x07"/>
       
   247     </step>
       
   248 
       
   249     <step id="90003" type="close-channel">
       
   250         <name>Detach from channel 7</name>
       
   251         <channel id="0x07"/>
       
   252     </step>
       
   253 
       
   254     <step id="90004" type="simulate">
       
   255         <name>SIM session end</name>
       
   256         <channel id="0x07"/>
       
   257         <input-ref id="90004"/>
       
   258         <flags>0x40</flags>  <!-- Use stored transaction ID in simulated message -->
       
   259     </step>
       
   260 
       
   261 </steps>
       
   262 
       
   263 
       
   264 <!-- ********** -->
       
   265 <!-- TEST CASES -->
       
   266 <!-- ********** -->
       
   267 <cases>
       
   268 
       
   269 <!-- SEND SHORT MESSAGE - normal, packing required - with header data -->
       
   270     <case id="101">
       
   271         <name>SEND SHORT MESSAGE, packing required, GSM 7 bit default alphabet, successful</name>
       
   272         <timeout>10</timeout>
       
   273         <test-steps>
       
   274             <step-ref id="10101"/> <!-- Send PCMD #1 -->
       
   275             <step-ref id="20101"/> <!-- Receive SMS Req -->
       
   276             <step-ref id="30101"/> <!-- Send SMS Resp -->
       
   277             <step-ref id="40101"/> <!-- Receive TR -->
       
   278             <step-ref id="90004"/> <!-- SimSessionEnd -->
       
   279         </test-steps>
       
   280     </case>
       
   281     
       
   282 <!-- SEND SHORT MESSAGE - invalid user data length -->
       
   283     <case id="102">
       
   284         <name>SEND SHORT MESSAGE, invalid user data length</name>
       
   285         <timeout>10</timeout>
       
   286         <test-steps>
       
   287             <step-ref id="10102"/> <!-- Send PCMD #1 -->
       
   288             <step-ref id="40102"/> <!-- Receive TR -->
       
   289             <step-ref id="90004"/> <!-- SimSessionEnd -->
       
   290         </test-steps>
       
   291     </case>
       
   292     
       
   293 <!-- SEND SHORT MESSAGE (normal, with validity period relative) -->
       
   294     <case id="103">
       
   295         <name>SEND SHORT MESSAGE, normal, with validity period relative</name>
       
   296         <timeout>10</timeout>
       
   297         <test-steps>
       
   298             <step-ref id="10103"/> <!-- Send PCMD #1 -->
       
   299             <step-ref id="40103"/> <!-- Receive TR -->
       
   300             <step-ref id="90004"/> <!-- SimSessionEnd -->
       
   301         </test-steps>
       
   302     </case>
       
   303     
       
   304 <!-- SEND SHORT MESSAGE (normal, with validity period enhanced) -->
       
   305     <case id="104">
       
   306         <name>SEND SHORT MESSAGE, normal, with validity period enhanced</name>
       
   307         <timeout>10</timeout>
       
   308         <test-steps>
       
   309             <step-ref id="10104"/> <!-- Send PCMD #1 -->
       
   310             <step-ref id="40103"/> <!-- Receive TR -->
       
   311             <step-ref id="90004"/> <!-- SimSessionEnd -->
       
   312         </test-steps>
       
   313     </case>
       
   314     
       
   315 <!-- SEND SHORT MESSAGE (normal, with validity period absolute) -->
       
   316     <case id="105">
       
   317         <name>SEND SHORT MESSAGE, normal, with validity period absolute</name>
       
   318         <timeout>10</timeout>
       
   319         <test-steps>
       
   320             <step-ref id="10105"/> <!-- Send PCMD #1 -->
       
   321             <step-ref id="40103"/> <!-- Receive TR -->
       
   322             <step-ref id="90004"/> <!-- SimSessionEnd -->
       
   323         </test-steps>
       
   324     </case>
       
   325 
       
   326 </cases>
       
   327 
       
   328 </isc-test-control>