Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 globbing
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTP/1.1 200 OK
     13 Date: Thu, 09 Nov 2010 14:49:00 GMT
     14 Content-Length: 6
     15 Connection: close
     16 
     17 bytes
     18 </data>
     19 </reply>
     20 
     21 # Client-side
     22 <client>
     23 <server>
     24 http
     25 </server>
     26  <name>
     27 simple [a-d] globbing
     28  </name>
     29  <command>
     30 http://%HOSTIP:%HTTPPORT/[a-d]/1280
     31 </command>
     32 </client>
     33 
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 ^User-Agent:.*
     38 </strip>
     39 <protocol>
     40 GET /a/1280 HTTP/1.1
     41 Host: %HOSTIP:%HTTPPORT
     42 Accept: */*
     43 
     44 GET /b/1280 HTTP/1.1
     45 Host: %HOSTIP:%HTTPPORT
     46 Accept: */*
     47 
     48 GET /c/1280 HTTP/1.1
     49 Host: %HOSTIP:%HTTPPORT
     50 Accept: */*
     51 
     52 GET /d/1280 HTTP/1.1
     53 Host: %HOSTIP:%HTTPPORT
     54 Accept: */*
     55 
     56 </protocol>
     57 </verify>
     58 </testcase>
     59