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