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