Convert (most of) the test data files into genuine XML. A handful still
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
This commit is contained in:
parent
9ab7cda010
commit
33bea767eb
6
CHANGES
6
CHANGES
@ -6,6 +6,12 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Dan F (22 January 2007)
|
||||||
|
- Converted (most of) the test data files into genuine XML. A handful still
|
||||||
|
are not, due mainly to the lack of support for XML character entities
|
||||||
|
(e.g. & => & ). This will make it easier to validate test files using
|
||||||
|
tools like xmllint, as well as to edit and view them using XML tools.
|
||||||
|
|
||||||
Daniel (16 January 2007)
|
Daniel (16 January 2007)
|
||||||
- Armel Asselin improved libcurl to behave a lot better when an easy handle
|
- Armel Asselin improved libcurl to behave a lot better when an easy handle
|
||||||
doing an FTP transfer is removed from a multi handle before completion. The
|
doing an FTP transfer is removed from a multi handle before completion. The
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
The file format of the test suite is a very simple and extendable format. All
|
The test suite's file format is very simple and extendable, closely
|
||||||
data for a single test case resides in a single ASCII file. Labels mark the
|
resembling XML. All data for a single test case resides in a single
|
||||||
beginning and the end of all sections. Each label must be written in its own
|
ASCII file. Labels mark the beginning and the end of all sections, and each
|
||||||
line and is resembling XML/HTML.
|
label must be written in its own line. Comments are either XML-style
|
||||||
|
(enclosed with <!-- and -->) or C-style (beginning with #) and must appear
|
||||||
|
on their own lines and not alongside actual test data. Most test data files
|
||||||
|
are syntactically valid XML, although a few files are not (lack of
|
||||||
|
support for character entities is the biggest omission).
|
||||||
|
|
||||||
|
The file begins with a 'testcase' tag, which encompasses the remainder of
|
||||||
|
the file.
|
||||||
|
|
||||||
|
<testcase>
|
||||||
|
|
||||||
Each file is split up in three main sections: reply, client and verify. The
|
Each file is split up in three main sections: reply, client and verify. The
|
||||||
reply section is used for the server to know what to send as a reply for the
|
reply section is used for the server to know what to send as a reply for the
|
||||||
@ -24,14 +33,14 @@ statistical/informational purposes.
|
|||||||
</info>
|
</info>
|
||||||
|
|
||||||
<reply>
|
<reply>
|
||||||
<data [nocheck=1] [sendzero=yes] [base64=yes]>
|
<data [nocheck="1"] [sendzero="yes"] [base64="yes"]>
|
||||||
§data to sent to the client on its request and later verified that it arrived
|
data to be sent to the client on its request and later verified that it arrived
|
||||||
safely. Set the nocheck=1 to prevent the test script to verify the arrival
|
safely. Set the nocheck=1 to prevent the test script to verify the arrival
|
||||||
of this data.
|
of this data.
|
||||||
|
|
||||||
If the data contains 'swsclose' anywhere within the start and end tag, and
|
If the data contains 'swsclose' anywhere within the start and end tag, and
|
||||||
this is a HTTP test, then the connection will be closed by the server after
|
this is a HTTP test, then the connection will be closed by the server after
|
||||||
this response is sent. If not, the connection will be kept persistant.
|
this response is sent. If not, the connection will be kept persistent.
|
||||||
|
|
||||||
If the data contains 'swsbounce' anywhere within the start and end tag, the
|
If the data contains 'swsbounce' anywhere within the start and end tag, the
|
||||||
HTTP server will detect if this is a second request using the same test and
|
HTTP server will detect if this is a second request using the same test and
|
||||||
@ -55,7 +64,7 @@ B) The request was HTTP and included digest details, which adds 1000 to NUM
|
|||||||
C) If a HTTP request is NTLM type-1, it adds 1001 to num
|
C) If a HTTP request is NTLM type-1, it adds 1001 to num
|
||||||
D) If a HTTP request is NTLM type-3, it adds 1002 to num
|
D) If a HTTP request is NTLM type-3, it adds 1002 to num
|
||||||
</dataNUM>
|
</dataNUM>
|
||||||
<datacheck [nonewline=yes]>
|
<datacheck [nonewline="yes"]>
|
||||||
if the data is sent but this is what should be checked afterwards. If
|
if the data is sent but this is what should be checked afterwards. If
|
||||||
'nonewline' is set, we will cut off the trailing newline of this given data
|
'nonewline' is set, we will cut off the trailing newline of this given data
|
||||||
before comparing with the one actually received by the client
|
before comparing with the one actually received by the client
|
||||||
@ -115,13 +124,15 @@ A list of features that MUST be present in the client/library for this test to
|
|||||||
be able to run (if these features are not present, the test will be
|
be able to run (if these features are not present, the test will be
|
||||||
SKIPPED). Features testable here are:
|
SKIPPED). Features testable here are:
|
||||||
|
|
||||||
SSL
|
|
||||||
netrc_debug
|
|
||||||
large_file
|
|
||||||
idn
|
|
||||||
getrlimit
|
getrlimit
|
||||||
|
GnuTLS
|
||||||
|
idn
|
||||||
ipv6
|
ipv6
|
||||||
|
large_file
|
||||||
libz
|
libz
|
||||||
|
netrc_debug
|
||||||
|
OpenSSL
|
||||||
|
SSL
|
||||||
</features>
|
</features>
|
||||||
|
|
||||||
<killserver>
|
<killserver>
|
||||||
@ -154,7 +165,7 @@ Set the given environment variables to the specified value before the actual
|
|||||||
command is run, they are cleared again after the command has been run.
|
command is run, they are cleared again after the command has been run.
|
||||||
</setenv>
|
</setenv>
|
||||||
|
|
||||||
<command [option=no-output]>
|
<command [option="no-output"]>
|
||||||
command line to run, there's a bunch of %variables that get replaced
|
command line to run, there's a bunch of %variables that get replaced
|
||||||
accordingly.
|
accordingly.
|
||||||
|
|
||||||
@ -172,13 +183,20 @@ argument that directs the output to a file. The --output is also not added if
|
|||||||
the client/stdout section is used.
|
the client/stdout section is used.
|
||||||
|
|
||||||
Available substitute variables include:
|
Available substitute variables include:
|
||||||
%HOSTIP - IP address of the host running this test
|
%HOSTIP - IPv6 address of the host running this test
|
||||||
%HOSTPORT - Port number of the HTTP server
|
%HOSTPORT - Port number of the HTTP server
|
||||||
|
%HOST6IP - IPv6 address of the host running this test
|
||||||
|
%HOST6PORT - IPv6 port number of the HTTP server
|
||||||
%HTTPSPORT - Port number of the HTTPS server
|
%HTTPSPORT - Port number of the HTTPS server
|
||||||
%FTPPORT - Port number of the FTP server
|
%FTPPORT - Port number of the FTP server
|
||||||
|
%FTP6PORT - IPv6 port number of the FTP server
|
||||||
%FTPSPORT - Port number of the FTPS server
|
%FTPSPORT - Port number of the FTPS server
|
||||||
|
%FTP2PORT - Port number of the FTP server 2
|
||||||
|
%TFTPPORT - Port number of the TFTP server
|
||||||
|
%TFTP6PORT - IPv6 port number of the TFTP server
|
||||||
%SRCDIR - Full path to the source dir
|
%SRCDIR - Full path to the source dir
|
||||||
%PWD - Current directory
|
%PWD - Current directory
|
||||||
|
%CURL - Path to the curl executable
|
||||||
</command>
|
</command>
|
||||||
|
|
||||||
<file name="log/filename">
|
<file name="log/filename">
|
||||||
@ -200,28 +218,28 @@ example.
|
|||||||
</errorcode>
|
</errorcode>
|
||||||
<strip>
|
<strip>
|
||||||
One regex per line that is removed from the protocol dumps before the
|
One regex per line that is removed from the protocol dumps before the
|
||||||
comparison is made. This is very useful to remove dependencies on dynamicly
|
comparison is made. This is very useful to remove dependencies on dynamically
|
||||||
changing protocol data such as port numbers or user-agent strings.
|
changing protocol data such as port numbers or user-agent strings.
|
||||||
</strip>
|
</strip>
|
||||||
<strippart>
|
<strippart>
|
||||||
One perl op per line that operates on the protocol dump. This is pretty
|
One perl op per line that operates on the protocol dump. This is pretty
|
||||||
advanced. Example: "s/^EPRT .*/EPRT stripped/"
|
advanced. Example: "s/^EPRT .*/EPRT stripped/"
|
||||||
</strippart>
|
</strippart>
|
||||||
<protocol [nonewline=yes]>
|
<protocol [nonewline="yes"]>
|
||||||
the protocol dump curl should transmit, if 'nonewline' is set, we will cut
|
the protocol dump curl should transmit, if 'nonewline' is set, we will cut
|
||||||
off the trailing newline of this given data before comparing with the one
|
off the trailing newline of this given data before comparing with the one
|
||||||
actually sent by the client
|
actually sent by the client
|
||||||
</protocol>
|
</protocol>
|
||||||
<stdout [mode=text]>
|
<stdout [mode="text"]>
|
||||||
This verfies that this data was passed to stdout.
|
This verifies that this data was passed to stdout.
|
||||||
|
|
||||||
Use the "mode=text" attribute if the output is in text mode on platforms that
|
Use the "mode="text"" attribute if the output is in text mode on platforms that
|
||||||
have a text/binary difference.
|
have a text/binary difference.
|
||||||
</stdout>
|
</stdout>
|
||||||
<file name="log/filename" [mode=text]>
|
<file name="log/filename" [mode="text"]>
|
||||||
The file's contents must be identical to this after the test is complete.
|
The file's contents must be identical to this after the test is complete.
|
||||||
|
|
||||||
Use the "mode=text" attribute if the output is in text mode on platforms that
|
Use the "mode="text" attribute if the output is in text mode on platforms that
|
||||||
have a text/binary difference.
|
have a text/binary difference.
|
||||||
</file>
|
</file>
|
||||||
<stripfile>
|
<stripfile>
|
||||||
@ -235,3 +253,5 @@ the contents of the upload data curl should have sent
|
|||||||
disable - disables the valgrind log check for this test
|
disable - disables the valgrind log check for this test
|
||||||
</valgrind>
|
</valgrind>
|
||||||
</verify>
|
</verify>
|
||||||
|
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -20,7 +21,7 @@ Connection: close
|
|||||||
Content-Type: text/html
|
Content-Type: text/html
|
||||||
Funny-head: yesyes
|
Funny-head: yesyes
|
||||||
|
|
||||||
<foo>
|
-foo-
|
||||||
</data>
|
</data>
|
||||||
</reply>
|
</reply>
|
||||||
|
|
||||||
@ -51,3 +52,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -63,3 +64,4 @@ the
|
|||||||
feature
|
feature
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -55,3 +56,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -55,3 +56,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -48,3 +49,4 @@ RETR 102
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -50,3 +51,4 @@ RETR 103
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -39,3 +40,4 @@ REST 0
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -49,3 +50,4 @@ RETR 103
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -46,3 +47,4 @@ RETR 106
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -47,3 +48,4 @@ STOR 107
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -52,3 +53,4 @@ Moooooooooooo
|
|||||||
upload this
|
upload this
|
||||||
</upload>
|
</upload>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -46,3 +47,4 @@ Moooooooooooo
|
|||||||
upload this
|
upload this
|
||||||
</upload>
|
</upload>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -72,3 +73,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -50,3 +51,4 @@ RETR 110
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -43,3 +44,4 @@ SIZE 111
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -47,3 +48,4 @@ QUIT
|
|||||||
worx?
|
worx?
|
||||||
</upload>
|
</upload>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -33,3 +34,4 @@ REPLY USER 314 bluah you fewl!
|
|||||||
USER anonymous
|
USER anonymous
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -34,3 +35,4 @@ USER anonymous
|
|||||||
PASS curl_by_daniel@haxx.se
|
PASS curl_by_daniel@haxx.se
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -40,3 +41,4 @@ PASV
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -42,3 +43,4 @@ PWD
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -40,3 +41,4 @@ TYPE I
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -44,3 +45,4 @@ RETR 118
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -46,3 +47,4 @@ RETR 119
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -51,3 +52,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -49,3 +50,4 @@ DELE file
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -47,3 +48,4 @@ DELE after_transfer
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -41,3 +42,4 @@ SIZE 122
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -36,3 +37,4 @@ TYPE I
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -43,3 +44,4 @@ RETR 124
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -37,3 +38,4 @@ CWD path
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -44,3 +45,4 @@ RETR 126
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -42,3 +43,4 @@ RETR 127
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -53,3 +54,4 @@ the
|
|||||||
--crlf option
|
--crlf option
|
||||||
</upload>
|
</upload>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -40,3 +41,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -64,3 +65,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -65,3 +66,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -64,3 +65,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -64,3 +65,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -64,3 +65,4 @@ LIST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -14,7 +15,7 @@ Range
|
|||||||
0123456789abcdef
|
0123456789abcdef
|
||||||
0123456789abcdef
|
0123456789abcdef
|
||||||
</data>
|
</data>
|
||||||
<datacheck nonewline=yes>
|
<datacheck nonewline="yes">
|
||||||
0123456789abc
|
0123456789abc
|
||||||
</datacheck>
|
</datacheck>
|
||||||
<size>
|
<size>
|
||||||
@ -49,3 +50,4 @@ RETR 135
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
FTP
|
FTP
|
||||||
@ -38,3 +39,4 @@ RETR 136
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -36,3 +37,4 @@ RETR 137
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -39,3 +40,4 @@ RETR 138
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -36,3 +37,4 @@ RETR 139
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -40,3 +41,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -31,3 +32,4 @@ MDTM 140
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -37,3 +38,4 @@ QUIT
|
|||||||
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
|
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
|
||||||
</stdout>
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -181,3 +182,4 @@ RETR 142
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -33,3 +34,4 @@ RETR 143
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -38,3 +39,4 @@ NLST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -41,3 +42,4 @@ NLST
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -44,3 +45,4 @@ RETR 146
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -46,3 +47,4 @@ RETR 147
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
</reply>
|
</reply>
|
||||||
@ -39,3 +40,4 @@ MKD attempt
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
</reply>
|
</reply>
|
||||||
@ -44,3 +45,4 @@ QUIT
|
|||||||
send away this contents
|
send away this contents
|
||||||
</file>
|
</file>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -7,7 +8,7 @@ HTTP GET
|
|||||||
</info>
|
</info>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data nocheck=true>
|
<data nocheck="true">
|
||||||
HTTP/1.4 200 OK
|
HTTP/1.4 200 OK
|
||||||
Fake: yes
|
Fake: yes
|
||||||
Fake: yes
|
Fake: yes
|
||||||
@ -53,3 +54,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
# Server-side
|
<testcase>
|
||||||
|
|
||||||
|
<!-- Server-side -->
|
||||||
<reply>
|
<reply>
|
||||||
|
|
||||||
# no <data> in this test since we have NTLM from the start
|
<!-- no <data> in this test since we have NTLM from the start
|
||||||
|
|
||||||
|
This is supposed to be returned when the server gets a first
|
||||||
|
Authorization: NTLM line passed-in from the client -->
|
||||||
|
|
||||||
# This is supposed to be returned when the server gets a first
|
|
||||||
# Authorization: NTLM line passed-in from the client
|
|
||||||
<data1001>
|
<data1001>
|
||||||
HTTP/1.1 401 Now gimme that second request of crap
|
HTTP/1.1 401 Now gimme that second request of crap
|
||||||
Server: Microsoft-IIS/5.0
|
Server: Microsoft-IIS/5.0
|
||||||
@ -84,3 +87,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -37,3 +38,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data nocheck=1>
|
<data nocheck="1">
|
||||||
HTTP/1.0 401 BAD BOY
|
HTTP/1.0 401 BAD BOY
|
||||||
Server: swsclose
|
Server: swsclose
|
||||||
Content-Type: text/html
|
Content-Type: text/html
|
||||||
@ -40,3 +41,4 @@ Accept: */*
|
|||||||
22
|
22
|
||||||
</errorcode>
|
</errorcode>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
# reply back and ask for Digest auth
|
# reply back and ask for Digest auth
|
||||||
@ -118,3 +119,4 @@ Content-Length: 30
|
|||||||
This IS the second real page!
|
This IS the second real page!
|
||||||
</stdout>
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<servercmd>
|
<servercmd>
|
||||||
@ -92,3 +93,4 @@ line three
|
|||||||
four is the number of lines
|
four is the number of lines
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<servercmd>
|
<servercmd>
|
||||||
@ -123,3 +124,4 @@ line three
|
|||||||
four is the number of lines
|
four is the number of lines
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -48,3 +49,4 @@ line three
|
|||||||
four is the number of lines
|
four is the number of lines
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -35,3 +36,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -46,3 +47,4 @@ daniel
|
|||||||
52
|
52
|
||||||
</errorcode>
|
</errorcode>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
|
|
||||||
# no <data> in this test since we have NTLM from the start
|
<!-- no <data> in this test since we have NTLM from the start
|
||||||
|
|
||||||
|
This is supposed to be returned when the server gets a first
|
||||||
|
Authorization: NTLM line passed-in from the client -->
|
||||||
|
|
||||||
# This is supposed to be returned when the server gets a first
|
|
||||||
# Authorization: NTLM line passed-in from the client
|
|
||||||
<data1001>
|
<data1001>
|
||||||
HTTP/1.1 401 Now gimme that second request of crap
|
HTTP/1.1 401 Now gimme that second request of crap
|
||||||
Server: Microsoft-IIS/5.0
|
Server: Microsoft-IIS/5.0
|
||||||
@ -84,3 +86,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data nocheck=true>
|
<data nocheck="true">
|
||||||
HTTP/1.1 200 OK swsclose
|
HTTP/1.1 200 OK swsclose
|
||||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||||
Content-Length: 9
|
Content-Length: 9
|
||||||
@ -62,3 +63,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -37,3 +38,4 @@ RETR 161
|
|||||||
18
|
18
|
||||||
</errorcode>
|
</errorcode>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data1001 nocheck=1>
|
<data1001 nocheck="1">
|
||||||
HTTP/1.0 407 BAD BOY
|
HTTP/1.0 407 BAD BOY
|
||||||
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
|
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
|
||||||
Server: swsclose
|
Server: swsclose
|
||||||
@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
22
|
22
|
||||||
</errorcode>
|
</errorcode>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -69,3 +70,4 @@ curl
|
|||||||
------------------------------c2d1767eb6ac--
|
------------------------------c2d1767eb6ac--
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
# This particular response is an exact excerpt from an actual Apache
|
# This particular response is an exact excerpt from an actual Apache
|
||||||
# server when asked for a 0-10,12-15 range.
|
# server when asked for a 0-10,12-15 range.
|
||||||
@ -56,3 +57,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
#
|
#
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -50,3 +51,4 @@ data inside the file
|
|||||||
------------------------------b0b3d6d23991--
|
------------------------------b0b3d6d23991--
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -64,3 +65,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
|
|
||||||
@ -85,3 +86,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
|
|
||||||
@ -112,3 +113,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -50,3 +51,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
</reply>
|
</reply>
|
||||||
@ -39,3 +40,4 @@ Content-Length: 0
|
|||||||
52
|
52
|
||||||
</errorcode>
|
</errorcode>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -38,7 +39,7 @@ Accept: */*
|
|||||||
Proxy-Connection: Keep-Alive
|
Proxy-Connection: Keep-Alive
|
||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
<file name="log/jar171" mode=text>
|
<file name="log/jar171" mode="text">
|
||||||
# Netscape HTTP Cookie File
|
# Netscape HTTP Cookie File
|
||||||
# http://curlm.haxx.se/rfc/cookie_spec.html
|
# http://curlm.haxx.se/rfc/cookie_spec.html
|
||||||
# This file was generated by libcurl! Edit at your own risk.
|
# This file was generated by libcurl! Edit at your own risk.
|
||||||
@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
.z.x.com TRUE / FALSE 0 XToken xt
|
.z.x.com TRUE / FALSE 0 XToken xt
|
||||||
</file>
|
</file>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -44,3 +45,4 @@ Cookie: nodomain=value; partmatch=present; tool=curl; name=fool
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -69,3 +70,4 @@ line8
|
|||||||
------------------------------5dbea401cd8c--
|
------------------------------5dbea401cd8c--
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -30,7 +31,7 @@ http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
|
|||||||
<strip>
|
<strip>
|
||||||
^User-Agent:.*
|
^User-Agent:.*
|
||||||
</strip>
|
</strip>
|
||||||
<protocol nonewline=yes>
|
<protocol nonewline="yes">
|
||||||
POST /174 HTTP/1.1
|
POST /174 HTTP/1.1
|
||||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: 127.0.0.1:%HTTPPORT
|
||||||
@ -41,3 +42,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||||||
junkelijunk
|
junkelijunk
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -53,7 +54,7 @@ http://%HOSTIP:%HTTPPORT/175 -u auser:apasswd --digest -d "junkelijunk"
|
|||||||
<strip>
|
<strip>
|
||||||
^User-Agent:.*
|
^User-Agent:.*
|
||||||
</strip>
|
</strip>
|
||||||
<protocol nonewline=yes>
|
<protocol nonewline="yes">
|
||||||
POST /175 HTTP/1.1
|
POST /175 HTTP/1.1
|
||||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||||
Host: 127.0.0.1:%HTTPPORT
|
Host: 127.0.0.1:%HTTPPORT
|
||||||
@ -71,3 +72,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||||||
junkelijunk
|
junkelijunk
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
# the first request has NTLM type-1 included, and then the 1001 is returned
|
# the first request has NTLM type-1 included, and then the 1001 is returned
|
||||||
@ -56,7 +57,7 @@ http://%HOSTIP:%HTTPPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
|
|||||||
<strip>
|
<strip>
|
||||||
^User-Agent:.*
|
^User-Agent:.*
|
||||||
</strip>
|
</strip>
|
||||||
<protocol nonewline=yes>
|
<protocol nonewline="yes">
|
||||||
POST /176 HTTP/1.1
|
POST /176 HTTP/1.1
|
||||||
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||||
@ -75,3 +76,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||||||
junkelijunk
|
junkelijunk
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -38,3 +39,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
#
|
#
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
@ -39,3 +40,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -45,3 +46,4 @@ Cookie: moo2=indeed
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -7,7 +8,7 @@ HTTP GET
|
|||||||
</info>
|
</info>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data nocheck=1>
|
<data nocheck="1">
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Funny-head: yesyes
|
Funny-head: yesyes
|
||||||
Content-Length: 4
|
Content-Length: 4
|
||||||
@ -86,3 +87,4 @@ Content-Length: 4
|
|||||||
hoo
|
hoo
|
||||||
</stdout>
|
</stdout>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
HTTP/1.0 200 OK swsclose
|
HTTP/1.0 200 OK swsclose
|
||||||
@ -55,3 +56,4 @@ the
|
|||||||
feature
|
feature
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
HTTP/1.0 200 OK swsclose
|
HTTP/1.0 200 OK swsclose
|
||||||
@ -56,3 +57,4 @@ the
|
|||||||
feature
|
feature
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data sendzero=yes>
|
<data sendzero="yes">
|
||||||
</data>
|
</data>
|
||||||
<size>
|
<size>
|
||||||
0
|
0
|
||||||
@ -33,3 +34,4 @@ RETR 182
|
|||||||
QUIT
|
QUIT
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -48,3 +49,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
</protocol>
|
</protocol>
|
||||||
|
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -67,3 +68,4 @@ Proxy-Connection: Keep-Alive
|
|||||||
</protocol>
|
</protocol>
|
||||||
|
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -67,3 +68,4 @@ Host: another.visitor.stay.a.while.stay.foreeeeeever
|
|||||||
</protocol>
|
</protocol>
|
||||||
|
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -52,3 +53,4 @@ Content-Type: text/html
|
|||||||
------------------------------212d9006ceb5--
|
------------------------------212d9006ceb5--
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -65,3 +66,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<testcase>
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -64,3 +65,4 @@ Accept: */*
|
|||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
</verify>
|
</verify>
|
||||||
|
</testcase>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user