2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-04-23 05:59:08 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP/1.0
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2001-10-09 19:34:49 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
2017-02-19 05:18:17 +08:00
|
|
|
<reply>
|
2001-10-09 19:34:49 +08:00
|
|
|
<data>
|
2003-07-20 07:57:08 +08:00
|
|
|
HTTP/1.0 200 OK swsclose
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2001-10-09 19:34:49 +08:00
|
|
|
Server: test-server/fake
|
|
|
|
|
2007-01-23 10:25:56 +08:00
|
|
|
-foo- within foo -!foo-
|
2001-10-09 19:34:49 +08:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2001-10-09 19:34:49 +08:00
|
|
|
<name>
|
|
|
|
simple HTTP 1.0 GET
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -0
|
2001-10-09 19:34:49 +08:00
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2001-10-09 19:34:49 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.0
|
2007-09-15 03:32:31 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2004-02-09 20:46:41 +08:00
|
|
|
Accept: */*
|
2001-10-09 19:34:49 +08:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|