2005-04-16 19:15:19 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
--write-out
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2001-06-14 08:05:30 -04:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data nocheck=true>
|
|
|
|
HTTP/1.4 200 OK
|
|
|
|
Fake: yes
|
|
|
|
Fake: yes
|
|
|
|
Fake: yes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 26
|
2001-06-14 08:05:30 -04:00
|
|
|
|
|
|
|
Repeated nonsense-headers
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-04-30 16:25:39 -04:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2001-06-14 08:05:30 -04:00
|
|
|
<name>
|
|
|
|
--write-out test
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 04:08:38 -04:00
|
|
|
http://%HOSTIP:%HTTPPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n'
|
2001-06-14 08:05:30 -04:00
|
|
|
</command>
|
2005-01-25 16:45:03 -05:00
|
|
|
</client>
|
2001-06-14 08:05:30 -04:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<stdout>
|
|
|
|
HTTP/1.4 200 OK
|
|
|
|
Fake: yes
|
|
|
|
Fake: yes
|
|
|
|
Fake: yes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 26
|
2001-06-14 08:05:30 -04:00
|
|
|
|
|
|
|
Repeated nonsense-headers
|
2004-09-08 04:08:38 -04:00
|
|
|
http://127.0.0.1:%HTTPPORT/want/15 200 26
|
2001-06-14 08:05:30 -04:00
|
|
|
</stdout>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET /want/15 HTTP/1.1
|
2004-09-08 04:08:38 -04:00
|
|
|
Host: 127.0.0.1:%HTTPPORT
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2001-06-14 08:05:30 -04:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|