2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-04-16 19:15:19 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2014-07-11 19:49:35 -04:00
|
|
|
globbing
|
2005-04-16 19:15:19 -04:00
|
|
|
{} list
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2001-08-07 08:42:23 -04:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
2009-01-07 16:57:26 -05:00
|
|
|
<data nocheck="yes">
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
moo
|
|
|
|
</data>
|
|
|
|
<data2>
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
foo
|
|
|
|
</data2>
|
|
|
|
<data3>
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
hoo
|
|
|
|
</data3>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-04-30 16:25:39 -04:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2001-08-07 08:42:23 -04:00
|
|
|
<name>
|
|
|
|
multiple requests using {} in URL
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
"%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0002,%TESTNUMBER0003}"
|
2001-08-07 08:42:23 -04:00
|
|
|
</command>
|
2005-01-25 16:45:03 -05:00
|
|
|
</client>
|
2001-08-07 08:42:23 -04:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2007-09-14 15:32:31 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2001-08-07 08:42:23 -04:00
|
|
|
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER0002 HTTP/1.1
|
2007-09-14 15:32:31 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2001-08-07 08:42:23 -04:00
|
|
|
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER0003 HTTP/1.1
|
2007-09-14 15:32:31 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2001-08-07 08:42:23 -04:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
<stdout>
|
2021-03-12 11:38:26 -05:00
|
|
|
--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
moo
|
2021-03-12 11:38:26 -05:00
|
|
|
--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0002
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
foo
|
2021-03-12 11:38:26 -05:00
|
|
|
--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0003
|
2012-11-14 13:49:12 -05:00
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Funny-head: yesyes
|
2003-07-19 19:57:08 -04:00
|
|
|
Content-Length: 4
|
2012-11-14 13:49:12 -05:00
|
|
|
|
2001-08-07 08:42:23 -04:00
|
|
|
hoo
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|