test1485 (614B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 </keywords> 7 </info> 8 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.1 200 OK 13 Server: Someone 14 Content-Length: 7 15 16 123456 17 </data> 18 <datacheck> 19 HTTP/1.1 200 OK 20 Server: Someone 21 Content-Length: 7 22 23 123456 24 </datacheck> 25 </reply> 26 # Client-side 27 <client> 28 <server> 29 http 30 </server> 31 <tool> 32 lib%TESTNUMBER 33 </tool> 34 <name> 35 get curlinfo on last header in callback 36 </name> 37 <command> 38 http://%HOSTIP:%HTTPPORT/%TESTNUMBER 39 </command> 40 </client> 41 42 # Verify data after the test has been "shot" 43 <verify> 44 <protocol> 45 GET /%TESTNUMBER HTTP/1.1 46 Host: %HOSTIP:%HTTPPORT 47 Accept: */* 48 49 </protocol> 50 </verify> 51 </testcase>