test1662 (984B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP POST 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <data nocheck="yes"> 13 HTTP/1.1 301 OK 14 Date: Tue, 09 Nov 2010 14:49:00 GMT 15 Server: test-server/fake 16 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 17 ETag: "21025-dc7-39462498" 18 Accept-Ranges: bytes 19 Content-Length: 6 20 Location: %TESTNUMBER0002 21 Content-Type: text/html 22 Funny-head: yesyes 23 24 -foo- 25 </data> 26 <data2 nocheck="yes"> 27 HTTP/1.1 200 OK 28 Content-Length: 6 29 Connection: close 30 Funny-head: nono 31 32 -bar- 33 </data2> 34 </reply> 35 36 # 37 # Client-side 38 <client> 39 <features> 40 Mime 41 Debug 42 </features> 43 <server> 44 http 45 </server> 46 <name> 47 HTTP formpost from callback and a redirect and switch to GET 48 </name> 49 <tool> 50 lib%TESTNUMBER 51 </tool> 52 <command> 53 http://%HOSTIP:%HTTPPORT/%TESTNUMBER 54 </command> 55 </client> 56 57 # 58 # Verify data after the test has been "shot" 59 <verify> 60 61 # This does not verify the protocol because the sending of data might be 62 # aborted early making it hard to check properly. 63 <stdout> 64 -bar- 65 </stdout> 66 </verify> 67 </testcase>