1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP POST 6HTTP/1.0 7</keywords> 8</info> 9 10<reply> 11<data> 12HTTP/1.0 200 OK swsclose 13Date: Thu, 09 Nov 2010 14:49:00 GMT 14Server: test-server/fake 15 16blablabla 17 18</data> 19</reply> 20 21# Client-side 22<client> 23<server> 24http 25</server> 26 <name> 27HTTP 1.0 POST 28 </name> 29 <command> 30http://%HOSTIP:%HTTPPORT/we/want/181 --data-binary @log/test181.txt --http1.0 31</command> 32<file name="log/test181.txt"> 33Weird 34 file 35 to 36 upload 37for 38 testing 39the 40 POST 41 feature 42</file> 43</client> 44 45# Verify data after the test has been "shot" 46<verify> 47<strip> 48^User-Agent:.* 49</strip> 50<protocol> 51POST /we/want/181 HTTP/1.0 52Host: %HOSTIP:%HTTPPORT 53Accept: */* 54Content-Length: 79 55Content-Type: application/x-www-form-urlencoded 56 57Weird 58 file 59 to 60 upload 61for 62 testing 63the 64 POST 65 feature 66</protocol> 67</verify> 68</testcase> 69