2017-02-15 15:31:09 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
globbing
|
|
|
|
[] range
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data nocheck="yes">
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2017-02-15 15:31:09 +08:00
|
|
|
Content-Length: 6
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
bytes
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
globbing range with same start and stop
|
|
|
|
</name>
|
|
|
|
<command option="no-output">
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "log/outfile%TESTNUMBER_#1#2#3#4.dump"
|
2017-02-15 15:31:09 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /a1b2/%TESTNUMBER HTTP/1.1
|
2017-02-15 15:31:09 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2017-02-15 15:31:09 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/outfile%TESTNUMBER_a1b2.dump">
|
2017-02-15 15:31:09 +08:00
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2017-02-15 15:31:09 +08:00
|
|
|
Content-Length: 6
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
bytes
|
|
|
|
</file>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|