1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP POST 6</keywords> 7</info> 8 9# Server-side 10<reply> 11<data> 12HTTP/1.1 200 beng swsclose 13Server: Microsoft-IIS/6.0 14Authentication-Info: Passport1.4 tname=MSPAuth,tname=MSPProf,tname=MSPConsent,tname=MSPSecAuth 15Content-Type: text/html; charset=iso-8859-1 16Content-Length: 26 17 18This is not the real page 19</data> 20</reply> 21 22# Client-side 23<client> 24# 25<server> 26http 27</server> 28 <name> 29HTTP POST --anyauth to server not requiring any auth at all 30 </name> 31 <command> 32http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk" 33</command> 34</client> 35 36# Verify data after the test has been "shot" 37<verify> 38<protocol nonewline="yes"> 39POST /174 HTTP/1.1 40Host: %HOSTIP:%HTTPPORT 41User-Agent: curl/%VERSION 42Accept: */* 43Content-Length: 11 44Content-Type: application/x-www-form-urlencoded 45 46junkelijunk 47</protocol> 48</verify> 49</testcase> 50