2012-02-06 17:46:25 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2014-07-12 07:49:35 +08:00
|
|
|
globbing
|
2014-04-03 17:46:13 +08:00
|
|
|
--fail
|
2012-02-06 17:46:25 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
<reply>
|
|
|
|
<data>
|
2023-08-17 00:03:53 +08:00
|
|
|
HTTP/1.1 404 NOT OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2012-02-06 17:46:25 +08:00
|
|
|
Content-Length: 6
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
-noo-
|
|
|
|
</data>
|
|
|
|
<data1>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2012-02-06 17:46:25 +08:00
|
|
|
Content-Length: 6
|
|
|
|
Connection: close
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
-yes-
|
|
|
|
</data1>
|
|
|
|
<datacheck>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2012-02-06 17:46:25 +08:00
|
|
|
Content-Length: 6
|
|
|
|
Connection: close
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
-yes-
|
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2012-02-06 17:46:25 +08:00
|
|
|
HTTP GET a globbed range with -f
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2023-03-29 09:20:54 +08:00
|
|
|
-f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o %LOGDIR/#1
|
2012-02-06 17:46:25 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER0000 HTTP/1.1
|
2012-02-06 17:46:25 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2012-02-06 17:46:25 +08:00
|
|
|
Accept: */*
|
|
|
|
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER0001 HTTP/1.1
|
2012-02-06 17:46:25 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2012-02-06 17:46:25 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|