Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 pipelining
      7 multi
      8 </keywords>
      9 </info>
     10 
     11 <reply>
     12 <data>
     13 HTTP/1.1 404 Badness
     14 Date: Thu, 09 Nov 2010 14:49:00 GMT
     15 ETag: "21025-dc7-39462498"
     16 Content-Length: 6
     17 Content-Type: text/html
     18 Funny-head: yesyes
     19 
     20 hejsan
     21 </data>
     22 <data1>
     23 HTTP/1.1 200 Fine
     24 Date: Thu, 09 Nov 2010 14:49:00 GMT
     25 Content-Length: 13
     26 Connection: close
     27 Content-Type: text/html
     28 
     29 fine content
     30 </data1>
     31 
     32 <datacheck>
     33 fine content
     34 Finished!
     35 </datacheck>
     36 
     37 <servercmd>
     38 pipe: 1
     39 </servercmd>
     40 </reply>
     41 
     42 # Client-side
     43 <client>
     44 <server>
     45 http
     46 </server>
     47 # tool is what to use instead of 'curl'
     48 <tool>
     49 lib536
     50 </tool>
     51 
     52  <name>
     53 HTTP GET multi two files with FAILONERROR and pipelining
     54  </name>
     55  <command>
     56 http://%HOSTIP:%HTTPPORT/536 http://%HOSTIP:%HTTPPORT/5360001
     57 </command>
     58 </client>
     59 
     60 #
     61 # Verify data after the test has been "shot"
     62 <verify>
     63 <protocol>
     64 GET /536 HTTP/1.1
     65 Host: %HOSTIP:%HTTPPORT
     66 Accept: */*
     67 
     68 GET /5360001 HTTP/1.1
     69 Host: %HOSTIP:%HTTPPORT
     70 Accept: */*
     71 
     72 </protocol>
     73 </verify>
     74 </testcase>
     75