2020-09-14 05:24:13 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
2021-06-08 23:45:45 +08:00
|
|
|
HTTP
|
2020-09-14 05:24:13 +08:00
|
|
|
--config
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Content-Length: 6
|
|
|
|
Content-Type: text/1
|
|
|
|
|
|
|
|
-foo-
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
<client>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/config%TESTNUMBER" nonewline="yes">
|
|
|
|
url = %HOSTIP:%HTTPPORT/%TESTNUMBER
|
2020-09-14 05:24:13 +08:00
|
|
|
</file>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
-K with a single line without newline
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
-K log/config%TESTNUMBER
|
2020-09-14 05:24:13 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2020-09-14 05:24:13 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2020-09-14 05:24:13 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|