mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
b8e4d1cb0a
... and use this new keywords in all the test files larger than 50K to reduce their sizes and make them a lot easier to read and understand. Closes #6040
63 lines
994 B
Plaintext
63 lines
994 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP POST
|
|
POST callback
|
|
huge request header
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
|
|
<data>
|
|
HTTP/1.1 200 Fine!
|
|
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
|
Content-Length: 6
|
|
|
|
hello
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
# tool to use
|
|
<tool>
|
|
lib553
|
|
</tool>
|
|
<features>
|
|
</features>
|
|
<name>
|
|
HTTP post with huge request headers and post data from callback
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/path/553
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol nonewline="yes">
|
|
POST /path/553 HTTP/1.1
|
|
Host: %HOSTIP:%HTTPPORT
|
|
Accept: */*
|
|
Header0: %repeat[5000 x A]%
|
|
Header1: %repeat[5000 x A]%
|
|
Header2: %repeat[5000 x A]%
|
|
Header3: %repeat[5000 x A]%
|
|
Header4: %repeat[5000 x A]%
|
|
Header5: %repeat[5000 x A]%
|
|
Header6: %repeat[5000 x A]%
|
|
Header7: %repeat[5000 x A]%
|
|
Content-Length: 40960
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
%repeat[40960 x A]%
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|