2014-06-16 22:03:00 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: Blafasel/5.0
|
|
|
|
Date: Sat, 16 Jan 2021 14:48:30 GMT
|
|
|
|
Content-Length: 12
|
|
|
|
|
|
|
|
Bla bla bla
|
|
|
|
</data>
|
|
|
|
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
proxy
|
|
|
|
</features>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2014-06-16 22:03:00 +08:00
|
|
|
%TESTNUMBER used instead of actual test number
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2014-06-16 22:03:00 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
2021-03-13 00:38:26 +08:00
|
|
|
# Verify that the %TESTNUMBER has been resolved to %TESTNUMBER
|
2014-06-16 22:03:00 +08:00
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2014-06-16 22:03:00 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
User-Agent: curl/%VERSION
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|