1<testcase> 2<info> 3<keywords> 4-w 5--write-out 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data crlf="yes" nocheck="yes"> 13HTTP/1.1 301 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 17ETag: "21025-dc7-39462498" 18Accept-Ranges: bytes 19Content-Length: 0 20Connection: close 21Content-Type: text/html 22Funny-head: yesyes 23Location: http://anotherhost.example:2023/%TESTNUMBER0002?moo.html 24 25</data> 26<data2 crlf="yes" nocheck="yes"> 27HTTP/1.1 200 OK 28Date: Tue, 09 Nov 2010 14:49:00 GMT 29Server: test-server/fake 30Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 31ETag: "21025-dc7-39462498" 32Accept-Ranges: bytes 33Content-Length: 0 34Connection: close 35Content-Type: text/html 36Funny-head: yesyes 37 38</data2> 39</reply> 40 41# 42# Client-side 43<client> 44<features> 45proxy 46</features> 47<server> 48http 49</server> 50<name> 51-w with urle.* variables 52</name> 53<command option="no-include"> 54"http://uuuu:pppp@%HOSTIP:%HTTPPORT/%TESTNUMBER?qqqq#ffff" "h55p://hello2000:1/%TESTNUMBER?qqqq#ffff" "local host" "http://u22u:p22p@%HOSTIP:%HTTPPORT/%TESTNUMBER?qqqq#ffff" -w '%{urle.host}+%{urle.path}+%{urle.scheme}+%{urle.user}+%{urle.password}+%{urle.port}+%{urle.query}+%{urle.fragment}\n' -x http://%HOSTIP:%HTTPPORT/ -L 55</command> 56</client> 57 58# 59# Verify data after the test has been "shot" 60<verify> 61<stdout> 62anotherhost.example+/4240002+http+++2023+moo.html+ 63hello2000+/424+h55p+++1+qqqq+ffff 64+++++++ 65anotherhost.example+/4240002+http+++2023+moo.html+ 66</stdout> 67</verify> 68</testcase> 69