2020-08-19 18:34:44 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data nocheck="yes">
|
|
|
|
HTTP/1.1 200 funky chunky!
|
|
|
|
Server: fakeit/0.9 fakeitbad/1.0
|
|
|
|
Transfer-Encoding: chunked
|
|
|
|
Trailer: chunky-trailer
|
|
|
|
Connection: mooo
|
|
|
|
ETag:
|
|
|
|
|
2021-06-07 05:27:41 -04:00
|
|
|
40
|
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
|
30
|
|
|
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|
|
|
21;heresatest=moooo
|
2020-08-19 18:34:44 -04:00
|
|
|
cccccccccccccccccccccccccccccccc
|
2021-06-07 05:27:41 -04:00
|
|
|
|
|
|
|
0
|
|
|
|
chunky-trailer: header data
|
|
|
|
|
2020-08-19 18:34:44 -04:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
--etag-save with blank incoming header
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/etag%TESTNUMBER
|
2020-08-19 18:34:44 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2020-08-19 18:34:44 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2020-08-19 18:34:44 -04:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/etag%TESTNUMBER">
|
2020-08-19 18:34:44 -04:00
|
|
|
</file>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|