2018-02-16 06:33:49 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2018-02-16 06:33:49 +08:00
|
|
|
Server: test-server/fake
|
|
|
|
Content-Length: 6
|
|
|
|
Connection: close
|
2020-10-04 06:03:02 +08:00
|
|
|
Long: %repeat[102400 x A]%
|
2018-02-16 06:33:49 +08:00
|
|
|
|
|
|
|
-foo-
|
|
|
|
</data>
|
|
|
|
<datacheck>
|
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
2020-04-24 14:56:01 +08:00
|
|
|
HTTP GET with 100K (too long) response header
|
2018-02-16 06:33:49 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2018-02-16 06:33:49 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2018-02-16 06:33:49 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2018-02-16 06:33:49 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
# 27 == CURLE_OUT_OF_MEMORY
|
|
|
|
<errorcode>
|
|
|
|
27
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|