HTTP GET
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
simple HTTP PUT from file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/10 -T log/test10.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test10.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /we/want/10 HTTP/1.1\r
+PUT /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP dir list PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/test-100/
+ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-CWD test-100\r
+CWD test-%TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
FTP dir list PASV with -I
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1000/ -I
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ -I
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-CWD 1000\r
+CWD %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP POST --digest with PUT and resumed upload and modified method
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1001 -u auser:apasswd --digest -T log/1001 -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command>
-<file name="log/1001">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1001 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/1001 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1001", response="6af4d89c952f4dd4cc215a6878dc499d"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="6af4d89c952f4dd4cc215a6878dc499d"\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP PUT with Digest auth, resumed upload and modified method, twice
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1002.upload1 -T log/1002 http://%HOSTIP:%HTTPPORT/1002.upload2 -T log/1002 -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T log/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command>
-<file name="log/1002">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1002.upload1 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/1002.upload1 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1002.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54"\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Expect: 100-continue\r
\r
st
-GET http://%HOSTIP:%HTTPPORT/1002.upload2 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/1002.upload2 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1002.upload2", response="d711f0d2042786d930de635ba0d1a1d0"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER.upload2", response="d711f0d2042786d930de635ba0d1a1d0"\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP with excessively large server command response line
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/1003
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 1003\r
-RETR 1003\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with empty proxy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1004 --proxy ""
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy ""
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1004 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP with excessively large number of server command response lines
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/1005
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 1005\r
-RETR 1005\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP with excessively large number of server command response lines (boundary condition)
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/1006
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 1006\r
-RETR 1006\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
TFTP send with invalid permission on server
</name>
<command>
--T log/test1007.txt tftp://%HOSTIP:%TFTPPORT//invalid-file
+-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file
</command>
-<file name="log/test1007.txt">
+<file name="log/test%TESTNUMBER.txt">
This data will not be sent
</file>
</client>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com.1008:%HTTPPORT/path/10080002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.1008:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.1008:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.1008:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/10080002 HTTP/1.1\r
-Host: test.remote.example.com.1008:%HTTPPORT\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
TFTP retrieve with --local-port
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//1009 --local-port 44444-45444
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --local-port 44444-45444
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1009
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
FTP dir list nocwd
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//list/this/path/1010/ ftp://%HOSTIP:%FTPPORT//list/this/path/1010/ --ftp-method nocwd
+ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ --ftp-method nocwd
</command>
</client>
PWD\r
EPSV\r
TYPE A\r
-LIST /list/this/path/1010\r
+LIST /list/this/path/%TESTNUMBER\r
EPSV\r
-LIST /list/this/path/1010\r
+LIST /list/this/path/%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
<reply>
<data>
HTTP/1.1 301 OK\r
-Location: moo.html&testcase=/10110002\r
+Location: moo.html&testcase=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
</data2>
<datacheck>
HTTP/1.1 301 OK\r
-Location: moo.html&testcase=/10110002\r
+Location: moo.html&testcase=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
HTTP POST with 301 redirect
</name>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1011 -L -d "moo"
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /blah/1011 HTTP/1.1\r
+POST /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooGET /blah/moo.html&testcase=/10110002 HTTP/1.1\r
+mooGET /blah/moo.html&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 301 OK swsclose\r
-Location: moo.html&testcase=/10120002\r
+Location: moo.html&testcase=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 301 OK swsclose\r
-Location: moo.html&testcase=/10120002\r
+Location: moo.html&testcase=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
HTTP POST with 301 redirect and --post301
</name>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1012 -L -d "moo" --post301
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post301
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /blah/1012 HTTP/1.1\r
+POST /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooPOST /blah/moo.html&testcase=/10120002 HTTP/1.1\r
+mooPOST /blah/moo.html&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
--version
</command>
<postcheck>
-%SRCDIR/libtest/test1013.pl ../curl-config log/stdout1013 protocols
+%SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config log/stdout%TESTNUMBER protocols
</postcheck>
</client>
--version
</command>
<postcheck>
-%SRCDIR/libtest/test1013.pl ../curl-config log/stdout1014 features
+%SRCDIR/libtest/test1013.pl ../curl-config log/stdout%TESTNUMBER features
</postcheck>
</client>
--data-urlencode
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1015 --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@log/1015.txt" --data-urlencode @log/1015.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@log/%TESTNUMBER.txt" --data-urlencode @log/%TESTNUMBER.txt
</command>
-<file name="log/1015.txt">
+<file name="log/%TESTNUMBER.txt">
content to _?!#$'|<>
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /1015 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
X-Y range on a file:// URL to stdout
</name>
<command option="no-include">
--r 1-4 file://localhost%FILE_PWD/log/test1016.txt
+-r 1-4 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1016.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
</file>
</client>
0-Y range on a file:// URL to stdout
</name>
<command option="no-include">
--r 0-3 file://localhost%FILE_PWD/log/test1017.txt
+-r 0-3 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1017.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
</file>
</client>
X-X range on a file:// URL to stdout
</name>
<command option="no-include">
--r 4-4 file://localhost%FILE_PWD/log/test1018.txt
+-r 4-4 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1018.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
</file>
</client>
X- range on a file:// URL to stdout
</name>
<command option="no-include">
--r 7- file://localhost%FILE_PWD/log/test1019.txt
+-r 7- file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1019.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
1234567890
</file>
FTP RETR PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/102
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 102\r
-RETR 102\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
-Y range on a file:// URL to stdout
</name>
<command option="no-include">
--r -9 file://localhost%FILE_PWD/log/test1020.txt
+-r -9 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1020.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
1234567890
</file>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com.1021:%HTTPPORT/path/10210002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-anyauth --proxytunnel
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-anyauth --proxytunnel
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.1021:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.1021:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.1021:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.1021:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/10210002 HTTP/1.1\r
-Host: test.remote.example.com.1021:%HTTPPORT\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
--version
</command>
<postcheck>
-%SRCDIR/libtest/test1022.pl ../curl-config log/stdout1022 version
+%SRCDIR/libtest/test%TESTNUMBER.pl ../curl-config log/stdout%TESTNUMBER version
</postcheck>
</client>
--version
</command>
<postcheck>
-%SRCDIR/libtest/test1022.pl ../curl-config log/stdout1023 vernum
+%SRCDIR/libtest/test1022.pl ../curl-config log/stdout%TESTNUMBER vernum
</postcheck>
</client>
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../data/10240002.txt\r
+Location: ../data/%TESTNUMBER0002.txt\r
Set-Cookie: firstcookie=want; path=/want/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../want/10240003.txt\r
+Location: ../want/%TESTNUMBER0003.txt\r
Set-Cookie: nextcookie=data; path=/data/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../data/10240002.txt\r
+Location: ../data/%TESTNUMBER0002.txt\r
Set-Cookie: firstcookie=want; path=/want/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../want/10240003.txt\r
+Location: ../want/%TESTNUMBER0003.txt\r
Set-Cookie: nextcookie=data; path=/data/\r
Content-Length: 69\r
\r
HTTP Location: following with cookies
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1024 -L -c log/jar1024
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c log/jar%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1024 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /data/10240002.txt HTTP/1.1\r
+GET /data/%TESTNUMBER0002.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/10240003.txt HTTP/1.1\r
+GET /want/%TESTNUMBER0003.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../data/10250002.txt\r
+Location: ../data/%TESTNUMBER0002.txt\r
Set-Cookie: firstcookie=want; path=/want/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../want/10250003.txt\r
+Location: ../want/%TESTNUMBER0003.txt\r
Set-Cookie: nextcookie=data; path=/data/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../data/10250002.txt\r
+Location: ../data/%TESTNUMBER0002.txt\r
Set-Cookie: firstcookie=want; path=/want/\r
Content-Length: 69\r
\r
HTTP/1.1 301 This is a weirdo text message\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: ../want/10250003.txt\r
+Location: ../want/%TESTNUMBER0003.txt\r
Set-Cookie: nextcookie=data; path=/data/\r
Content-Length: 69\r
\r
HTTP Location: following with command-line and server cookies
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1025 -L -c log/jar1025 -b forcedcookie=yes
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c log/jar%TESTNUMBER -b forcedcookie=yes
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1025 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: forcedcookie=yes\r
\r
-GET /data/10250002.txt HTTP/1.1\r
+GET /data/%TESTNUMBER0002.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: forcedcookie=yes\r
\r
-GET /want/10250003.txt HTTP/1.1\r
+GET /want/%TESTNUMBER0003.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# Search for these two sentinel lines in the manual output; if they are found,
# then chances are good the entire manual is there.
<postcheck>
-perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(CONTRIBUTORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout1026
+perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(CONTRIBUTORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout%TESTNUMBER
</postcheck>
</client>
# Search for these two sentinel lines in the help output; if they are found,
# then chances are good the entire help is there.
<postcheck>
-perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout1027
+perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout%TESTNUMBER
</postcheck>
</client>
Server: test-server/fake swsclose\r
Content-Type: text/html\r
Funny-head: yesyes\r
-Location: ftp://%HOSTIP:%FTPPORT/10280002\r
+Location: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002\r
Content-Length: 0\r
Connection: close\r
\r
HTTP Location: redirect to FTP URL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/10280001 -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /10280001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
PWD\r
EPSV\r
TYPE I\r
-SIZE 10280002\r
-RETR 10280002\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
QUIT\r
</protocol>
<stdout>
Server: test-server/fake swsclose\r
Content-Type: text/html\r
Funny-head: yesyes\r
-Location: ftp://%HOSTIP:%FTPPORT/10280002\r
+Location: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002\r
Content-Length: 0\r
Connection: close\r
\r
<reply>
<data nocheck="yes">
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10290002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
HTTP Location: and 'redirect_url' check
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url} %{url} %{exitcode} %{errormsg}\n'
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url} %{url} %{exitcode} %{errormsg}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1029 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</protocol>
<stdout>
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10290002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
This server reply is for testing a simple Location: following
-http://%HOSTIP:%HTTPPORT/we/want/our/data/10290002.txt?coolsite=yes http://%HOSTIP:%HTTPPORT/we/want/our/1029 0
+http://%HOSTIP:%HTTPPORT/we/want/our/data/%TESTNUMBER0002.txt?coolsite=yes http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER 0
</stdout>
</verify>
</testcase>
FTP RETR PORT with CWD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P -
</command>
</client>
CWD path\r
PORT 127,0,0,1,0,0\r
TYPE I\r
-SIZE 103\r
-RETR 103\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP PUT with --anyauth authorization (picking Digest)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1030 -T log/put1030 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
-<file name="log/put1030">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1030 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
a second line
line three
four is the number of lines
-PUT /1030 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/1030", response="01cb59db1ddaac246b072d5f5f0716d9"\r
+Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%TESTNUMBER", response="01cb59db1ddaac246b072d5f5f0716d9"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: ?coolsite=yes/10310002.txt
+Location: ?coolsite=yes/%TESTNUMBER0002.txt
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: ?coolsite=yes/10310002.txt
+Location: ?coolsite=yes/%TESTNUMBER0002.txt
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP Location: following to a query string
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/this/1031 -L
+http://%HOSTIP:%HTTPPORT/want/this/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/this/1031 HTTP/1.1\r
+GET /want/this/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/this/1031?coolsite=yes/10310002.txt HTTP/1.1\r
+GET /want/this/%TESTNUMBER?coolsite=yes/%TESTNUMBER0002.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP HEAD with --range
</name>
<command>
---range 1-3 --head http://%HOSTIP:%HTTPPORT/1032
+--range 1-3 --head http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-HEAD /1032 HTTP/1.1\r
+HEAD /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=1-3\r
User-Agent: curl/%VERSION\r
HTTP GET with 102 response!
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1033
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1033 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# This host name contains an invalid UTF-8 byte sequence that can't be
# converted into an IDN name
<stdin>
-url = "http://invalid-utf8-â\90.local/page/1034"
+url = "http://invalid-utf8-â\90.local/page/%TESTNUMBER"
</stdin>
<command>
-K - -x %HOSTIP:%NOLISTENPORT
HTTP over proxy with too long IDN host name
</name>
<command>
-http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%NOLISTENPORT
+http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT
</command>
</client>
FTP download resume from end of file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1036 -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
</command>
-<file name="log/curl1036.out">
+<file name="log/curl%TESTNUMBER.out">
This is the start!!
</file>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 1036\r
+SIZE %TESTNUMBER\r
REST 20\r
-RETR 1036\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
-<file name="log/curl1036.out">
+<file name="log/curl%TESTNUMBER.out">
This is the start!!
expected to be a file without the first part
but we emulate that
FTP download resume from end of empty file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1037 -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
</command>
-<file name="log/curl1037.out">
+<file name="log/curl%TESTNUMBER.out">
</file>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 1037\r
-RETR 1037\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP PASV upload resume from end of file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1038 -T log/upload1038 -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C -
</command>
-<file name="log/upload1038">
+<file name="log/upload%TESTNUMBER">
this is the *****cr@p******** that we're gonna upload
worx?
PWD\r
EPSV\r
TYPE I\r
-SIZE 1038\r
-APPE 1038\r
+SIZE %TESTNUMBER\r
+APPE %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
FTP PASV upload resume from end of empty file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1039 -T log/upload1039 -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C -
</command>
-<file name="log/upload1039">
+<file name="log/upload%TESTNUMBER">
this is the *****cr@p******** that we're gonna upload
worx?
PWD\r
EPSV\r
TYPE I\r
-SIZE 1039\r
-STOR 1039\r
+SIZE %TESTNUMBER\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
FTP --head to get file size only
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/104 --head
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER --head
</command>
</client>
PWD\r
CWD a\r
CWD path\r
-MDTM 104\r
+MDTM %TESTNUMBER\r
TYPE I\r
-SIZE 104\r
+SIZE %TESTNUMBER\r
REST 0\r
QUIT\r
</protocol>
HTTP GET with resume from end of entirely-downloaded file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1040 -C -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C -
</command>
-<file name="log/curl1040.out">
+<file name="log/curl%TESTNUMBER.out">
012345678
012345678
012345678
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1040 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=100-\r
User-Agent: curl/%VERSION\r
<name>
HTTP PUT with resume from end of already-uploaded file
</name>
-<file name="log/test1041.txt">
+<file name="log/test%TESTNUMBER.txt">
012345678
012345678
012345678
012345678
</file>
<command>
-http://%HOSTIP:%HTTPPORT/1041 -Tlog/test1041.txt -C -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C -
</command>
</client>
# curl doesn't do a HEAD request on the remote file so it has no idea whether
# it can skip part of the file or not. Instead, it sends the entire file.
<protocol>
-PUT /1041 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 0-99/100\r
User-Agent: curl/%VERSION\r
HTTP GET beyond end of entirely-downloaded file, no server resume
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1042 -C 200
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 200
</command>
-<file name="log/curl1042.out">
+<file name="log/curl%TESTNUMBER.out">
012345678
012345678
012345678
33
</errorcode>
<protocol>
-GET /1042 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=200-\r
User-Agent: curl/%VERSION\r
HTTP GET with resume from end of file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1043 -C -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C -
</command>
-<file name="log/curl1043.out">
+<file name="log/curl%TESTNUMBER.out">
012345678
012345678
012345678
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1043 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=40-\r
User-Agent: curl/%VERSION\r
FTP download large file info with -I
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/1044 -I
+ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -I
</command>
</client>
PASS ftp@example.com\r
PWD\r
CWD blalbla\r
-MDTM 1044\r
+MDTM %TESTNUMBER\r
TYPE I\r
-SIZE 1044\r
+SIZE %TESTNUMBER\r
REST 0\r
QUIT\r
</protocol>
HTTP GET with numeric localhost --interface
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1045 --interface %CLIENTIP
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --interface %CLIENTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1045 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP-IPv6 GET with numeric localhost --interface
</name>
<command>
--g "http://%HOST6IP:%HTTP6PORT/1046" --interface ::1
+-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ::1
</command>
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1046 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TFTP retrieve with localhost --interface
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//1049 --interface %CLIENTIP
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --interface %CLIENTIP
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1049
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
FTP user+password in URL and ASCII transfer
</name>
<command>
-ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
+ftp://userdude:passfellow@%HOSTIP:%FTPPORT/%TESTNUMBER --use-ascii
</command>
</client>
EPSV\r
PASV\r
TYPE A\r
-RETR 105\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP/1.1 301 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10510002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP/1.1 301 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10510002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP PUT with Location: following
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1051 -L -T log/test1051.txt
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test1051.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# server says 301 and 100 _after_ the entire PUT body has been sent.
<protocol>
-PUT /want/1051 HTTP/1.1\r
+PUT /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
the
PUT
feature
-PUT /want/data/10510002.txt?coolsite=yes HTTP/1.1\r
+PUT /want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.0 301 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10520002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP/1.0 301 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10520002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP 1.0 PUT with Location: following
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1052 -0 -L -T log/test1052.txt
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -0 -L -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test1052.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# including the full request-body before it responds. So in this test the
# server says 301 and 200 _after_ the entire PUT body has been sent.
<protocol>
-PUT /want/1052 HTTP/1.0\r
+PUT /want/%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
the
PUT
feature
-PUT /want/data/10520002.txt?coolsite=yes HTTP/1.0\r
+PUT /want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 307 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10530002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP/1.1 307 Redirect swsclose\r
Date: Thu, 29 Jul 2008 14:49:00 GMT\r
Server: test-server/fake\r
-Location: data/10530002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 0\r
Connection: close\r
\r
HTTP RFC1867-type formposting from file with Location: following
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1053 -L -F name=daniel -F tool=curl -F file=@log/test1053.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -L -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt
</command>
# We create this file before the command is invoked!
-<file name="log/test1053.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/1053 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------9ef8d6205763\r
-Content-Disposition: form-data; name="file"; filename="test1053.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
bar
\r
------------------------------9ef8d6205763--\r
-POST /we/want/data/10530002.txt?coolsite=yes HTTP/1.1\r
+POST /we/want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------9ef8d6205763\r
-Content-Disposition: form-data; name="file"; filename="test1053.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
<reply>
<data>
HTTP/1.1 301 OK swsclose\r
-Location: moo/testcase/10540002\r
+Location: moo/testcase/%TESTNUMBER0002\r
Date: Thu, 31 Jul 2008 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 301 OK swsclose\r
-Location: moo/testcase/10540002\r
+Location: moo/testcase/%TESTNUMBER0002\r
Date: Thu, 31 Jul 2008 14:49:00 GMT\r
Connection: close\r
\r
<name>
HTTP POST from file with 301 redirect and --post301
</name>
-<file name="log/test1054.txt">
+<file name="log/test%TESTNUMBER.txt">
field=data
</file>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1054 -L -d @log/test1054.txt --post301
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @log/test%TESTNUMBER.txt --post301
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /blah/1054 HTTP/1.1\r
+POST /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 10\r
Content-Type: application/x-www-form-urlencoded\r
\r
-field=dataPOST /blah/moo/testcase/10540002 HTTP/1.1\r
+field=dataPOST /blah/moo/testcase/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake swsclose\r
Content-Type: text/html\r
-Location: ftp://%HOSTIP:%FTPPORT/1055\r
+Location: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER\r
Content-Length: 0\r
Connection: close\r
\r
HTTP PUT Location: redirect to FTP URL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1055 -L -T log/test1055.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test1055.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1055 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
PWD\r
EPSV\r
TYPE I\r
-STOR 1055\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
<reply>
<data>
HTTP/1.1 302 OK swsclose\r
-Location: http://[::1%259999]:%HTTP6PORT/moo/10560002\r
+Location: http://[::1%259999]:%HTTP6PORT/moo/%TESTNUMBER0002\r
Date: Thu, 31 Jul 2008 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose\r
-Location: http://[::1%259999]:%HTTP6PORT/moo/10560002\r
+Location: http://[::1%259999]:%HTTP6PORT/moo/%TESTNUMBER0002\r
Date: Thu, 31 Jul 2008 14:49:00 GMT\r
Connection: close\r
\r
HTTP follow redirect from IPv4 to IPv6 with scope
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/1056 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/1056 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /moo/10560002 HTTP/1.1\r
+GET /moo/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP retrieve a byte-range relative to end of file
</name>
<command>
--r -12 ftp://%HOSTIP:%FTPPORT/1057
+-r -12 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 1057\r
+SIZE %TESTNUMBER\r
REST 52\r
-RETR 1057\r
+RETR %TESTNUMBER\r
ABOR\r
QUIT\r
</protocol>
HTTP range relative to end of file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1058 -r -101
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -r -101
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1058 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=-101\r
User-Agent: curl/%VERSION\r
HTTP CONNECT with proxytunnel to unsupported FTP URL
</name>
<command>
-ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT
+ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT
</command>
</client>
56
</errorcode>
<protocol>
-CONNECT test-number:1059 HTTP/1.1\r
-Host: test-number:1059\r
+CONNECT test-number:%TESTNUMBER HTTP/1.1\r
+Host: test-number:%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
FTP GET with type=A style ASCII URL using %20 codes
</name>
<command>
-"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/106;type=A"
+"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A"
</command>
</client>
CWD and things2\r
EPSV\r
TYPE A\r
-RETR 106\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP proxy CONNECT auth Digest, large headers and data
</name>
<command>
-http://test.remote.haxx.se.1060:8990/path/10600002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.1060:8990\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.1060:8990\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:8990", response="e1fbed39c26f4efe284adc0e576ff638"\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.%TESTNUMBER:8990", response="e1fbed39c26f4efe284adc0e576ff638"\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/10600002 HTTP/1.1\r
-Host: test.remote.haxx.se.1060:8990\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP proxy CONNECT auth Digest, large headers and chunked data
</name>
<command>
-http://test.remote.haxx.se.1061:8990/path/10610002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.1061:8990\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.1061:8990\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c"\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.%TESTNUMBER:8990", response="4e23449fa93224834299e7282a70472c"\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/10610002 HTTP/1.1\r
-Host: test.remote.haxx.se.1061:8990\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
FTP with excessively long server command response lines, boundary condition
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/1062
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 1062\r
-RETR 1062\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# This range value is 2**32+7, which will be truncated to the valid value 7
# if the large file support is not working correctly
<command>
--r 4294967303- file://localhost%FILE_PWD/log/test1063.txt
+-r 4294967303- file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1063.txt">
+<file name="log/test%TESTNUMBER.txt">
1234567890
1234567890
</file>
HTTP PUT twice
</name>
<command>
--H "Expect:" -T log/1064 http://%HOSTIP:%HTTPPORT/1064.upload1 -T log/1064 http://%HOSTIP:%HTTPPORT/10640002.upload2
+-H "Expect:" -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.upload2
</command>
-<file name="log/1064">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1064.upload1 HTTP/1.1\r
+PUT /%TESTNUMBER.upload1 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 5\r
\r
test
-PUT /10640002.upload2 HTTP/1.1\r
+PUT /%TESTNUMBER0002.upload2 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP PUT with one file but two URLs
</name>
<command>
--H "Expect:" -T log/1065 http://%HOSTIP:%HTTPPORT/1065.upload1 http://%HOSTIP:%HTTPPORT/10650002.url2
+-H "Expect:" -T log/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.url2
</command>
-<file name="log/1065">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1065.upload1 HTTP/1.1\r
+PUT /%TESTNUMBER.upload1 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 5\r
\r
test
-GET /10650002.url2 HTTP/1.1\r
+GET /%TESTNUMBER0002.url2 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP --dump-header - with two URLs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1066 http://%HOSTIP:%HTTPPORT/want/10660001 --dump-header -
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER0001 --dump-header -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1066 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/10660001 HTTP/1.1\r
+GET /want/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/10670002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/10670002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP Location: following with auto-referer
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1067 --silent --location --referer "firstone.html;auto" --write-out "%{stderr}|%{referer}|"
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER --silent --location --referer "firstone.html;auto" --write-out "%{stderr}|%{referer}|"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1067 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Referer: firstone.html\r
\r
-GET /want/data/10670002.txt?coolsite=yes HTTP/1.1\r
+GET /want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Referer: http://%HOSTIP:%HTTPPORT/want/1067\r
+Referer: http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER\r
\r
</protocol>
<stderr nonewline="yes">
-|http://%HOSTIP:%HTTPPORT/want/1067|
+|http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER|
</stderr>
</verify>
</testcase>
HTTP PUT from stdin
</name>
<command>
-http://%HOSTIP:%HTTPPORT/bzz/1068 -T -
+http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T -
</command>
<stdin>
more than one byte
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /bzz/1068 HTTP/1.1\r
+PUT /bzz/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 1.0 PUT from stdin with no content length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/bzz/1069 -T - -0
+http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -0
</command>
<stdin>
this data can't be sent
<name>
FTP PASV upload file
</name>
-<file name="log/test107.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
-ftp://%HOSTIP:%FTPPORT/107 -T log/test107.txt
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-STOR 107\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP POST with server closing connection before (all) data is received
</name>
<command>
- -d @log/input1070 http://%HOSTIP:%HTTPPORT/1070 -H "Expect: 100-continue"
+ -d @log/input%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Expect: 100-continue"
</command>
-<file name="log/input1070">
+<file name="log/input%TESTNUMBER">
This creates the named file with this content before the test case is run,
which is useful if the test case needs a file to act on. We create this file
rather large (larger than your typical TCP packet) so that not all of it can nor
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /1070 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Downgraded HTTP PUT to HTTP 1.0 with authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1071 -T log/put1071 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
-<file name="log/put1071">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1071 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
a second line
line three
four is the number of lines
-PUT /1071 HTTP/1.0\r
+PUT /%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/1071", response="df4cef6b52a30e65d472dd848d2055a1"\r
+Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%TESTNUMBER", response="df4cef6b52a30e65d472dd848d2055a1"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
HTTP chunked PUT to HTTP 1.0 server with authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1072 -T - -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -u testuser:testpass --anyauth
</command>
<stdin>
This is data we upload with PUT
25
</errorcode>
<protocol>
-PUT /1072 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.0 301 Redirect swsclose\r
Server: testcurl\r
Content-Type: text/plain\r
-Location: /newlocation/10730002\r
+Location: /newlocation/%TESTNUMBER0002\r
Content-Length: 0\r
Connection: close\r
\r
HTTP chunked PUT to HTTP 1.0 server with redirect
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1073 -T - -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -L
</command>
<stdin>
This is data we upload with PUT
25
</errorcode>
<protocol>
-PUT /1073 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP downgrade to HTTP/1.0 on second request
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1074 http://%HOSTIP:%HTTPPORT/wantmore/10740001
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001
</command>
</client>
</stdout>
<protocol>
-GET /want/1074 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /wantmore/10740001 HTTP/1.0\r
+GET /wantmore/%TESTNUMBER0001 HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP PUT with --anyauth authorization (picking Basic)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1075 -T log/put1075 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
-<file name="log/put1075">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1075 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
a second line
line three
four is the number of lines
-PUT /1075 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
User-Agent: curl/%VERSION\r
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: moo.html&testcase=/10760002
+Location: moo.html&testcase=/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: moo.html&testcase=/10760002
+Location: moo.html&testcase=/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP POST with 302 redirect and --post302
</name>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1076 -L -d "moo" --post302
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post302
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /blah/1076 HTTP/1.1\r
+POST /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooPOST /blah/moo.html&testcase=/10760002 HTTP/1.1\r
+mooPOST /blah/moo.html&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP over HTTP proxy with downgrade to HTTP 1.0
</name>
<command>
--x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002
+-x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER0002
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1077 HTTP/1.1\r
+GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/10770002 HTTP/1.0\r
+GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER0002 HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
</name>
<command>
---proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078 http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078
+--proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT %HOSTIP.1078:%HTTPPORT HTTP/1.0\r
-Host: %HOSTIP.1078:%HTTPPORT\r
+CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.0\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1078 HTTP/1.1\r
-Host: %HOSTIP.1078:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/that/page/1078 HTTP/1.0\r
-Host: %HOSTIP.1078:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.0\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP retry after closed connection and empty response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1079 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
52
</errorcode>
<protocol>
-GET /1079 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1079 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1079", response="e340c7cdca0950462070f46ee139e9f7"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="e340c7cdca0950462070f46ee139e9f7"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
FTP PORT upload with CWD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
+ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/%TESTNUMBER -T log/upload%TESTNUMBER -P -
</command>
-<file name="log/upload108">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
CWD RETR\r
PORT 127,0,0,1,5,109\r
TYPE I\r
-STOR 108\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
<reply>
<data nocheck="yes">
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10800002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
HTTP Location: on two URLs 'redirect_url' check
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1080 http://%HOSTIP:%HTTPPORT/we/want/our/1080 -w '%{redirect_url}\n'
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1080 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/our/1080 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</protocol>
<stdout>
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10800002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
This server reply is for testing a simple Location: following
-http://%HOSTIP:%HTTPPORT/we/want/our/data/10800002.txt?coolsite=yes
+http://%HOSTIP:%HTTPPORT/we/want/our/data/%TESTNUMBER0002.txt?coolsite=yes
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10800002.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0002.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
This server reply is for testing a simple Location: following
-http://%HOSTIP:%HTTPPORT/we/want/our/data/10800002.txt?coolsite=yes
+http://%HOSTIP:%HTTPPORT/we/want/our/data/%TESTNUMBER0002.txt?coolsite=yes
</stdout>
</verify>
</testcase>
<reply>
<data nocheck="yes">
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10810099.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0099.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
HTTP no Location: on second URL 'redirect_url' check
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1081 http://%HOSTIP:%HTTPPORT/we/want/our/10810002 -w '%{redirect_url}\n'
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER0002 -w '%{redirect_url}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1081 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/our/10810002 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</protocol>
<stdout>
HTTP/1.1 301 This is a weirdo text message swsclose\r
-Location: data/10810099.txt?coolsite=yes\r
+Location: data/%TESTNUMBER0099.txt?coolsite=yes\r
Content-Length: 62\r
Connection: close\r
\r
This server reply is for testing a simple Location: following
-http://%HOSTIP:%HTTPPORT/we/want/our/data/10810099.txt?coolsite=yes
+http://%HOSTIP:%HTTPPORT/we/want/our/data/%TESTNUMBER0099.txt?coolsite=yes
HTTP/1.1 200 Followed here fine swsclose\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
HTTP GET with localhost --interface
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1082 -4 --interface localhost
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -4 --interface localhost
</command>
<precheck>
perl -e "print 'Test requires default test client host address' if ( '%CLIENTIP' ne '127.0.0.1' );"
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1082 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP-IPv6 GET with ip6-localhost --interface
</name>
<command>
--g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost
+-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ip6-localhost
</command>
<precheck>
perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test client host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print 'Cannot run precheck resolve';}"
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1083 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with invalid --interface
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/1084 --interface non-existing-host.haxx.se.
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --interface non-existing-host.haxx.se.
</command>
</client>
HTTP-IPv6 GET with invalid --interface
</name>
<command>
--g "http://%HOST6IP:%NOLISTENPORT/1085" --interface non-existing-host.haxx.se.
+-g "http://%HOST6IP:%NOLISTENPORT/%TESTNUMBER" --interface non-existing-host.haxx.se.
</command>
# Ensure the IPv6 stack is operational before running this test (other tests
# use the startup of the IPv6 test server as a substitute check for this).
FTP download with strict timeout and slow data transfer
</name>
<command timeout="1">
-ftp://%HOSTIP:%FTPPORT/1086 -m 7
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 7
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 1086\r
-RETR 1086\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
</verify>
</testcase>
Server: test-server/fake swsclose\r
Content-Type: text/plain\r
Funny-head: yesyes\r
-Location: http://goto.second.host.now/10871002\r
+Location: http://goto.second.host.now/%TESTNUMBER1002\r
Content-Length: 0\r
Connection: close\r
\r
Server: test-server/fake swsclose\r
Content-Type: text/plain\r
Funny-head: yesyes\r
-Location: http://goto.second.host.now/10871002\r
+Location: http://goto.second.host.now/%TESTNUMBER1002\r
Content-Length: 0\r
Connection: close\r
\r
HTTP, proxy with --anyauth and Location: to new host
</name>
<command>
-http://first.host.it.is/we/want/that/page/10871000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth
+http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 HTTP/1.1\r
Host: first.host.it.is\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 HTTP/1.1\r
Host: first.host.it.is\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://goto.second.host.now/10871002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER1002 HTTP/1.1\r
Host: goto.second.host.now\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Server: test-server/fake swsclose\r
Content-Type: text/plain\r
Funny-head: yesyes\r
-Location: http://goto.second.host.now/10881002\r
+Location: http://goto.second.host.now/%TESTNUMBER1002\r
Content-Length: 0\r
Connection: close\r
\r
Server: test-server/fake swsclose\r
Content-Type: text/plain\r
Funny-head: yesyes\r
-Location: http://goto.second.host.now/10881002\r
+Location: http://goto.second.host.now/%TESTNUMBER1002\r
Content-Length: 0\r
Connection: close\r
\r
HTTP, proxy with --anyauth and Location: to new host using location-trusted
</name>
<command>
-http://first.host.it.is/we/want/that/page/10881000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
+http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 HTTP/1.1\r
Host: first.host.it.is\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 HTTP/1.1\r
Host: first.host.it.is\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://goto.second.host.now/10881002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER1002 HTTP/1.1\r
Host: goto.second.host.now\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./10890001\r
+Location: ./%TESTNUMBER0001\r
\r
monster
</data>
HTTP GET --write-out with redirected fetch
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1089 -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1089 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /10890001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./10890001\r
+Location: ./%TESTNUMBER0001\r
\r
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
2
1
15
-http://%HOSTIP:%HTTPPORT/10890001
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
text/plain; charset=us-ascii
200
</stdout>
FTP PASV upload append
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/109 -T log/upload109 --append
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER --append
</command>
-<file name="log/upload109">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
PWD\r
EPSV\r
TYPE I\r
-APPE 109\r
+APPE %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./10900001\r
+Location: ./%TESTNUMBER0001\r
\r
monster
</data>
HTTP GET --write-out with redirected fetch and chunked reply
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1090 -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1090 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /10900001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./10900001\r
+Location: ./%TESTNUMBER0001\r
\r
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
2
1
15
-http://%HOSTIP:%HTTPPORT/10900001
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
text/plain; charset=us-ascii
200
</stdout>
FTP URL with type=i
</name>
<command>
-"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/1091;type=i" --use-ascii
+"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/%TESTNUMBER;type=i" --use-ascii
</command>
</client>
CWD moo\r
EPSV\r
TYPE I\r
-SIZE 1091\r
-RETR 1091\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP with type=i over HTTP proxy
</name>
<command>
-"ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i" --use-ascii -x %HOSTIP:%HTTPPORT
+"ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i" --use-ascii -x %HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1\r
+GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER;type=i HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TFTP retrieve with mode=i
</name>
<command>
-"tftp://%HOSTIP:%TFTPPORT//1093;mode=i" --use-ascii
+"tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER;mode=i" --use-ascii
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1093
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
TFTP retrieve with mode=netascii
</name>
<command>
-"tftp://%HOSTIP:%TFTPPORT//1094;mode=netascii"
+"tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER;mode=netascii"
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1094
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
HTTP with Digest and realm with quoted quotes
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1095 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1095 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1095 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="test \"this\" realm!!", nonce="1053604145", uri="/1095", response="a1c7931ece9e8617bae2715045e4f49f"\r
+Authorization: Digest username="testuser", realm="test \"this\" realm!!", nonce="1053604145", uri="/%TESTNUMBER", response="a1c7931ece9e8617bae2715045e4f49f"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
Two FTP downloads, with failed RETR but re-used control connection
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/dir/1096 ftp://%HOSTIP:%FTPPORT/dir/1096
+ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER
</command>
</client>
CWD dir\r
EPSV\r
TYPE I\r
-SIZE 1096\r
-RETR 1096\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 1096\r
-RETR 1096\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP POST using CONNECT with --proxy-ntlm but no auth is required
</name>
<command>
-http://test.a.galaxy.far.far.away.1097:%HTTPPORT/1097 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -d "dummy=value" -p
+http://test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -d "dummy=value" -p
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-CONNECT test.a.galaxy.far.far.away.1097:%HTTPPORT HTTP/1.1\r
-Host: test.a.galaxy.far.far.away.1097:%HTTPPORT\r
+CONNECT test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-POST /1097 HTTP/1.1\r
-Host: test.a.galaxy.far.far.away.1097:%HTTPPORT\r
+POST /%TESTNUMBER HTTP/1.1\r
+Host: test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
</name>
<command>
-ftp://ftp-site/moo/1098 ftp://ftp-site/moo/1098 --proxy http://%HOSTIP:%HTTPPORT
+ftp://ftp-site/moo/%TESTNUMBER ftp://ftp-site/moo/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://ftp-site/moo/1098 HTTP/1.1\r
+GET ftp://ftp-site/moo/%TESTNUMBER HTTP/1.1\r
Host: ftp-site:21\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET ftp://ftp-site/moo/1098 HTTP/1.1\r
+GET ftp://ftp-site/moo/%TESTNUMBER HTTP/1.1\r
Host: ftp-site:21\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data nocheck="yes">
-data for 1099
+data for %TESTNUMBER
</data>
</reply>
TFTP get first a non-existing file then an existing
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//1099
+tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1099
+filename: /%TESTNUMBER
</protocol>
<stdout>
-data for 1099
+data for %TESTNUMBER
</stdout>
</verify>
</testcase>
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/110002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/110002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
simple HTTP Location: following
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/11 -L
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/11 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/110002.txt?coolsite=yes HTTP/1.1\r
+GET /want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download resume with set limit
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/110 -C 20
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 20
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 110\r
+SIZE %TESTNUMBER\r
REST 20\r
-RETR 110\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP/1.1 302 Thanks for this, but we want to redir you!\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
-Location: /1100\r
+Location: /%TESTNUMBER\r
Content-Length: 34\r
\r
This is not the real page either!
HTTP/1.1 302 Thanks for this, but we want to redir you!\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
-Location: /1100\r
+Location: /%TESTNUMBER\r
Content-Length: 34\r
\r
HTTP/1.1 200 Thanks for this! swsclose\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/1100 -u testuser:testpass --ntlm -L -d "stuff to send away"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L -d "stuff to send away"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
-POST /1100 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /1100 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Content-Length: 18\r
Content-Type: application/x-www-form-urlencoded\r
\r
-stuff to send awayGET /1100 HTTP/1.1\r
+stuff to send awayGET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
http_proxy=http://non-existing-host.haxx.se:3128/
</setenv>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/gimme/1101
+http://user:secret@%HOSTIP:%HTTPPORT/gimme/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /gimme/1101 HTTP/1.1\r
+GET /gimme/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
FTP OS/400 server name format check
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1102
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 1102\r
-RETR 1102\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP non-OS/400 server
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1103
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
SYST\r
EPSV\r
TYPE I\r
-SIZE 1103\r
-RETR 1103\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
<data>
HTTP/1.1 301 Moved
Date: Tue, 09 Nov 2010 14:49:00 GMT
-Location: /want/data/11040002
+Location: /want/data/%TESTNUMBER0002
Server: test-server/fake
Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 13 11:56:27 GMT 2037;
<datacheck>
HTTP/1.1 301 Moved
Date: Tue, 09 Nov 2010 14:49:00 GMT
-Location: /want/data/11040002
+Location: /want/data/%TESTNUMBER0002
Server: test-server/fake
Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 13 11:56:27 GMT 2037;
HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1104 -L -x %HOSTIP:%HTTPPORT -c log/cookies1104.jar
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x %HOSTIP:%HTTPPORT -c log/cookies%TESTNUMBER.jar
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/want/1104 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://%HOSTIP:%HTTPPORT/want/data/11040002 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/data/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with cookie parser and header recording
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/we/want/1105?parm1=this*that/other/thing&parm2=foobar/1105" -c log/cookie1105.txt -d "userid=myname&password=mypassword"
+"http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?parm1=this*that/other/thing&parm2=foobar/%TESTNUMBER" -c log/cookie%TESTNUMBER.txt -d "userid=myname&password=mypassword"
</command>
<precheck>
perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );"
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /we/want/1105?parm1=this*that/other/thing&parm2=foobar/1105 HTTP/1.1\r
+POST /we/want/%TESTNUMBER?parm1=this*that/other/thing&parm2=foobar/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
userid=myname&password=mypassword
</protocol>
-<file name="log/cookie1105.txt" mode="text">
+<file name="log/cookie%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
ftp_proxy=http://%HOSTIP:%HTTPPORT/
</setenv>
<command>
-ftp://%HOSTIP:23456/1106
+ftp://%HOSTIP:23456/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://%HOSTIP:23456/1106 HTTP/1.1\r
+GET ftp://%HOSTIP:23456/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:23456\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP RETR PASV with PRET
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1107 --ftp-pret
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-pret
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-PRET RETR 1107\r
+PRET RETR %TESTNUMBER\r
EPSV\r
TYPE I\r
-SIZE 1107\r
-RETR 1107\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP RETR PASV with PRET not supported
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-pret
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-PRET RETR 1108\r
+PRET RETR %TESTNUMBER\r
</protocol>
# we expect that the server doesn't understand PRET
<errorcode>
HTTP GET with URL that contains fragment after the path
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1109#test
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER#test
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1109 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download resume beyond file size
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/111 -C 2000
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 2000
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 111\r
+SIZE %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with URL that contains a fragment after the query part
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1110?q=foobar#fragment
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER?q=foobar#fragment
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1110?q=foobar HTTP/1.1\r
+GET /%TESTNUMBER?q=foobar HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with URL whose fragment contains a # (which is illegal)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1111?q=foobar#fragment#fragment2
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER?q=foobar#fragment#fragment2
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1111?q=foobar HTTP/1.1\r
+GET /%TESTNUMBER?q=foobar HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTPS download with strict timeout and slow data transfer
</name>
<command timeout="1">
--k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/1112 -m 16
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -m 16
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 1112\r
-RETR 1112\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
</verify>
</testcase>
HTTP GET with unexpected 1xx response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1115
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1115 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with chunked trailer without Trailer:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1116 -D log/heads1116
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1116 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/heads1116">
+<file name="log/heads%TESTNUMBER">
HTTP/1.1 200 funky chunky!\r
Server: fakeit/0.9 fakeitbad/1.0\r
Transfer-Encoding: chunked\r
HTTP with invalid range then another URL
</name>
<command>
--r 10-22 http://%HOSTIP:%HTTPPORT/want/1117 http://%HOSTIP:%HTTPPORT/wantmore/11170001
+-r 10-22 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001
</command>
</client>
</stdout>
<protocol>
-GET /want/1117 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=10-22\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /wantmore/11170001 HTTP/1.1\r
+GET /wantmore/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=10-22\r
User-Agent: curl/%VERSION\r
URL without slash and @-letter in query
</name>
<command>
-http://%HOSTIP:%HTTPPORT?email=name@example.com/1118
+http://%HOSTIP:%HTTPPORT?email=name@example.com/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /?email=name@example.com/1118 HTTP/1.1\r
+GET /?email=name@example.com/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP PASV upload resume
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/112 -T log/upload112 -C 40
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C 40
</command>
-<file name="log/upload112">
+<file name="log/upload%TESTNUMBER">
this is the *****crap******** that we're gonna upload
worx?
PWD\r
EPSV\r
TYPE I\r
-APPE 112\r
+APPE %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
FTP with 421 timeout response
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/1120
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
</command>
</client>
HTTP multiple provided Host: headers
</name>
<command>
--H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121
+-H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1121 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: host1\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET gzip transfer-encoded content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1122 --tr-encoding
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1122 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET deflate transfer-encoded content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1123 --tr-encoding
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1123 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET gzip+chunked transfer-encoded content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1124 --tr-encoding
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1124 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET transfer-encoding with custom Connection:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1125 --tr-encoding -H "Connection: close"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection: close"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1125 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 200 If-Modified-Since with newer document
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1126 -z "dec 12 12:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 12:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1126 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 200 If-Modified-Since with older document
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1127 -z "dec 12 12:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 12:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1127 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 200 If-Modified-Since with old+new documents
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1128 http://%HOSTIP:%HTTPPORT/11280001 -z "dec 12 12:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -z "dec 12 12:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1128 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT\r
\r
-GET /11280001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# Client-side
<client>
# 1053700 x 'x'
-<file name="log/file1129">
+<file name="log/file%TESTNUMBER">
%repeat[1053700 x x]%
</file>
<server>
HTTP POST expect 100-continue with a 404
</name>
<command option="no-output">
--d @log/file1129 http://%HOSTIP:%HTTPPORT/1129 http://%HOSTIP:%HTTPPORT/11290001
+-d @log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
</client>
-foo-
</stdout>
<protocol>
-POST /1129 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Type: application/x-www-form-urlencoded\r
Expect: 100-continue\r
\r
-POST /11290001 HTTP/1.1\r
+POST /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download, failed login: USER not valid
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/113
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
# Client-side
<client>
# 100 x 'x'
-<file name="log/file1130">
+<file name="log/file%TESTNUMBER">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
</file>
<server>
HTTP POST forced expect 100-continue with a 404
</name>
<command option="no-output">
--d @log/file1130 http://%HOSTIP:%HTTPPORT/1130 http://%HOSTIP:%HTTPPORT/11300001 -H "Expect: 100-continue"
+-d @log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -H "Expect: 100-continue"
</command>
</client>
-foo-
</stdout>
<protocol>
-POST /1130 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 100\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /11300001 HTTP/1.1\r
+POST /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# Client-side
<client>
# 100 x 'x'
-<file name="log/file1131">
+<file name="log/file%TESTNUMBER">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
</file>
<server>
HTTP PUT expect 100-continue with a 400
</name>
<command option="no-output">
--T log/file1131 http://%HOSTIP:%HTTPPORT/1131 -T log/file1131 http://%HOSTIP:%HTTPPORT/11310001
+-T log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
</client>
FAILURE2
</stdout>
<protocol>
-PUT /1131 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 100\r
Expect: 100-continue\r
\r
-PUT /11310001 HTTP/1.1\r
+PUT /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting with filename/data contains ',', ';', '"'
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1133 -F "file=@\"log/test1133,and;.txt\";type=mo/foo;filename=\"faker,and;.txt\"" -F 'file2=@"log/test1133,and;.txt"' -F 'file3=@"log/test1133,and;.txt";type=m/f,"log/test1133,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F 'b=" \\value1;type=\"whatever\" "; type=text/foo; charset=utf-8 ; filename=param_b'
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"log/test%TESTNUMBER,and;.txt\";type=mo/foo;filename=\"faker,and;.txt\"" -F 'file2=@"log/test%TESTNUMBER,and;.txt"' -F 'file3=@"log/test%TESTNUMBER,and;.txt";type=m/f,"log/test%TESTNUMBER,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F 'b=" \\value1;type=\"whatever\" "; type=text/foo; charset=utf-8 ; filename=param_b'
</command>
# We create this file before the command is invoked!
-<file name="log/test1133,and;.txt">
+<file name="log/test%TESTNUMBER,and;.txt">
foo bar
This is a bar foo
bar
^(Content-Type: multipart/form-data;|Content-Type: multipart/mixed; boundary=|-------).*
</strip>
<protocol>
-POST /we/want/1133 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
foo
\r
------------------------------24e78000bd32\r
-Content-Disposition: form-data; name="file2"; filename="test1133,and;.txt"\r
+Content-Disposition: form-data; name="file2"; filename="test%TESTNUMBER,and;.txt"\r
Content-Type: text/plain\r
\r
foo bar
Content-Disposition: form-data; name="file3"\r
Content-Type: multipart/mixed; boundary=----------------------------7f0e85a48b0b\r
\r
-Content-Disposition: attachment; filename="test1133,and;.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER,and;.txt"\r
Content-Type: m/f\r
\r
foo bar
bar
foo
\r
-Content-Disposition: attachment; filename="test1133,and;.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER,and;.txt"\r
Content-Type: text/plain\r
\r
foo bar
HTTP connection re-use with different credentials
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1134 -u user1:password1 --next http://%HOSTIP:%HTTPPORT/11340001 -u 2user:password2
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u user1:password1 --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -u 2user:password2
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1134 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjE6cGFzc3dvcmQx\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /11340001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic MnVzZXI6cGFzc3dvcmQy\r
User-Agent: curl/%VERSION\r
TZ=GMT
</setenv>
<command>
-http://www.example.ck/1136 http://www.ck/1136 http://z-1.compute-1.amazonaws.com/1136 -b none -c log/jar1136.txt -x %HOSTIP:%HTTPPORT
+http://www.example.ck/%TESTNUMBER http://www.ck/%TESTNUMBER http://z-1.compute-1.amazonaws.com/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
-<file name="log/jar1136.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
FTP RETR --ignore-content-length
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1137 --ignore-content-length
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ignore-content-length
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-RETR 1137\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
<reply>
<data>
HTTP/1.1 302 OK swsclose\r
-Location: ../moo.html/?name=آغاز-سم-زدایی-از-بازار-پول&testcase=/11380002 \r
+Location: ../moo.html/?name=آغاز-سم-زدایی-از-بازار-پول&testcase=/%TESTNUMBER0002 \r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose\r
-Location: ../moo.html/?name=آغاز-سم-زدایی-از-بازار-پول&testcase=/11380002 \r
+Location: ../moo.html/?name=آغاز-سم-زدایی-از-بازار-پول&testcase=/%TESTNUMBER0002 \r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
HTTP redirect with UTF-8 characters
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/1138 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/1138 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/all/moo.html/?name=%d8%a2%d8%ba%d8%a7%d8%b2-%d8%b3%d9%85-%d8%b2%d8%af%d8%a7%db%8c%db%8c-%d8%a7%d8%b2-%d8%a8%d8%a7%d8%b2%d8%a7%d8%b1-%d9%be%d9%88%d9%84&testcase=/11380002 HTTP/1.1\r
+GET /we/are/all/moo.html/?name=%d8%a2%d8%ba%d8%a7%d8%b2-%d8%b3%d9%85-%d8%b2%d8%af%d8%a7%db%8c%db%8c-%d8%a7%d8%b2-%d8%a8%d8%a7%d8%b2%d8%a7%d8%b1-%d9%be%d9%88%d9%84&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download, failed login: PASS not valid
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/114
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
<data>
HTTP/1.1 302 This is a weirdo text message
Connection: close
-Location: http:///foo.example.com/want/11410001
+Location: http:///foo.example.com/want/%TESTNUMBER0001
This server reply is for testing
</data>
<datacheck>
HTTP/1.1 302 This is a weirdo text message
Connection: close
-Location: http:///foo.example.com/want/11410001
+Location: http:///foo.example.com/want/%TESTNUMBER0001
HTTP/1.1 200 hello
Connection: close
HTTP redirect to http:/// (three slashes!)
</name>
<command>
-%HOSTIP:%HTTPPORT/want/1141 -L -x http://%HOSTIP:%HTTPPORT
+%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/want/1141 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://foo.example.com/want/11410001 HTTP/1.1\r
+GET http://foo.example.com/want/%TESTNUMBER0001 HTTP/1.1\r
Host: foo.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<data>
HTTP/1.1 302 This is a weirdo text message
Connection: close
-Location: http:////foo.example.com/want/11420001
+Location: http:////foo.example.com/want/%TESTNUMBER0001
This server reply is for testing
</data>
<datacheck>
HTTP/1.1 302 This is a weirdo text message
Connection: close
-Location: http:////foo.example.com/want/11420001
+Location: http:////foo.example.com/want/%TESTNUMBER0001
</datacheck>
</reply>
HTTP redirect to http://// (four slashes!)
</name>
<command>
-%HOSTIP:%HTTPPORT/want/1142 -L -x http://%HOSTIP:%HTTPPORT
+%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/want/1142 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP URL with http:/ (one slash!)
</name>
<command>
-http:/%HOSTIP:%HTTPPORT/want/1143
+http:/%HOSTIP:%HTTPPORT/want/%TESTNUMBER
</command>
<setenv>
# Needed for MSYS2 to not treat the argument as a POSIX path list
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1143 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP HEAD, receive no headers only body
</name>
<command>
--I http://%HOSTIP:%HTTPPORT/1144 --http0.9
+-I http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-HEAD /1144 HTTP/1.1\r
+HEAD /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# This command should not succeed since we only accept
# file:/// file://localhost/ file://127.0.0.1/
<command>
-file://bad-host%PWD/log/test1145.txt
+file://bad-host%PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1145.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
--proto-default file
</name>
<command option="no-include">
---proto-default file %PWD/log/test1146.txt
+--proto-default file %PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test1146.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
<name>
Get -H headers from a file
</name>
-<file name="log/heads1147.txt">
+<file name="log/heads%TESTNUMBER.txt">
One: 1
Two: 2
no-colon
User-Agent:
</file>
<command>
-http://%HOSTIP:%HTTPPORT/1147 -H @log/heads1147.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @log/heads%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1147 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
One: 1\r
progress-bar
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1148 -# --stderr log/stderrlog1148
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -# --stderr log/stderrlog%TESTNUMBER
</command>
<setenv>
LC_ALL=
#
<verify>
<protocol>
-GET /1148 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# Check that the progress finished at 100% and has the right bar width.
# Note the dot in 100.0% is regex to match any character since different
# locales use different separators.
-<file name="log/stderrlog1148" mode="text">
+<file name="log/stderrlog%TESTNUMBER" mode="text">
correct
</file>
<stripfile>
FTP dir list multicwd then again nocwd
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/list/this/path/1149/ --ftp-method multicwd --next ftp://%HOSTIP:%FTPPORT/list/this/path/1149/ --ftp-method nocwd
+ftp://%HOSTIP:%FTPPORT/list/this/path/%TESTNUMBER/ --ftp-method multicwd --next ftp://%HOSTIP:%FTPPORT/list/this/path/%TESTNUMBER/ --ftp-method nocwd
</command>
</client>
CWD list\r
CWD this\r
CWD path\r
-CWD 1149\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
CWD /\r
EPSV\r
-LIST list/this/path/1149\r
+LIST list/this/path/%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP download, failed PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/115
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
HTTP proxy with URLs using different ports
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT http://test.remote.example.com.1150:150/path http://test.remote.example.com.1150:1234/path/
+--proxy http://%HOSTIP:%HTTPPORT http://test.remote.example.com.%TESTNUMBER:150/path http://test.remote.example.com.%TESTNUMBER:1234/path/
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://test.remote.example.com.1150:150/path HTTP/1.1\r
-Host: test.remote.example.com.1150:150\r
+GET http://test.remote.example.com.%TESTNUMBER:150/path HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:150\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com.1150:1234/path/ HTTP/1.1\r
-Host: test.remote.example.com.1150:1234\r
+GET http://test.remote.example.com.%TESTNUMBER:1234/path/ HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:1234\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
HTTP with too long cookies
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1151 -c log/cookies1151.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1151 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/cookies1151.txt" mode="text">
+<file name="log/cookies%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
FTP with uneven quote in PWD response
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/test-1152/
+ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-CWD test-1152\r
+CWD test-%TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
FTP with quoted double quotes
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/test-1153/
+ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-CWD test-1153\r
+CWD test-%TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
HTTP GET with 100K (too long) response header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1154
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1154 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP cookie with parameter word as name
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1155 -c log/cookies1155.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1155 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/cookies1155.txt" mode="text">
+<file name="log/cookies%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
http
</server>
<tool>
-lib1156
+lib%TESTNUMBER
</tool>
<name>
HTTP resume/range fail range-error content-range combinations
<name>
Get -H headers from empty file
</name>
-<file name="log/heads1157.txt">
+<file name="log/heads%TESTNUMBER.txt">
</file>
<command>
-http://%HOSTIP:%HTTPPORT/1157 -H @log/heads1157.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H @log/heads%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1157 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting with filename containing '"'
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1158 -F "file=@\"log/test1158\\\".txt\";type=mo/foo;filename=\"test1158\\\".txt\"" -F 'file2=@"log/test1158\".txt"' -F 'file3=@"log/test1158\".txt";type=m/f,"log/test1158\".txt"'
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"log/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"log/test%TESTNUMBER\".txt"' -F 'file3=@"log/test%TESTNUMBER\".txt";type=m/f,"log/test%TESTNUMBER\".txt"'
</command>
<precheck>
perl -e "print 'Test requires a system supporting double quotes in file names' if ($^O eq 'msys');"
</precheck>
# We create this file before the command is invoked!
-<file name=log/test1158".txt>
+<file name=log/test%TESTNUMBER".txt>
foo bar
This is a bar foo
bar
^(Content-Type: multipart/form-data;|Content-Type: multipart/mixed; boundary=|-------).*
</strip>
<protocol>
-POST /we/want/1158 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Type: multipart/form-data; boundary=----------------------------24e78000bd32\r
\r
------------------------------24e78000bd32\r
-Content-Disposition: form-data; name="file"; filename="test1158\".txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER\".txt"\r
Content-Type: mo/foo\r
\r
foo bar
foo
\r
------------------------------24e78000bd32\r
-Content-Disposition: form-data; name="file2"; filename="test1158\".txt"\r
+Content-Disposition: form-data; name="file2"; filename="test%TESTNUMBER\".txt"\r
Content-Type: text/plain\r
\r
foo bar
Content-Disposition: form-data; name="file3"\r
Content-Type: multipart/mixed; boundary=----------------------------7f0e85a48b0b\r
\r
-Content-Disposition: attachment; filename="test1158\".txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER\".txt"\r
Content-Type: m/f\r
\r
foo bar
bar
foo
\r
-Content-Disposition: attachment; filename="test1158\".txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER\".txt"\r
Content-Type: text/plain\r
\r
foo bar
HTTP Location: and 'redirect_url' with non-supported scheme
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1159 -w '%{redirect_url}\n'
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1159 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download, failed PORT
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/116 -P 1.2.3.4
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P 1.2.3.4
</command>
</client>
HTTP with long funny format cookie
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1160 -c log/cookies1160.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1160 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/cookies1160.txt" mode="text">
+<file name="log/cookies%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP cookie with path set twice
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1161 -c log/cookies1161.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c log/cookies%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1161 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/cookies1161.txt" mode="text">
+<file name="log/cookies%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP/0.9 GET and all zeroes
</name>
<command option="force-output">
-http://%HOSTIP:%HTTPPORT/1164 -w '%{size_download}\n' --http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%{size_download}\n' --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1164 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP response with cookies but not receiving!
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1166 http://%HOSTIP:%HTTPPORT/want/1166
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1166 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/1166 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: /data/11680002.txt
+Location: /data/%TESTNUMBER0002.txt
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: /data/11680002.txt
+Location: /data/%TESTNUMBER0002.txt
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP redirect with credentials using # in user and password
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/1168 -L -u "catmai#d:#DZaRJYrixKE*gFY"
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -u "catmai#d:#DZaRJYrixKE*gFY"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/1168 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic Y2F0bWFpI2Q6I0RaYVJKWXJpeEtFKmdGWQ==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /data/11680002.txt HTTP/1.1\r
+GET /data/%TESTNUMBER0002.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic Y2F0bWFpI2Q6I0RaYVJKWXJpeEtFKmdGWQ==\r
User-Agent: curl/%VERSION\r
FTP download, failed TYPE
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/117
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
HTTP GET transfer-encoding with removed Connection:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1170 --tr-encoding -H "Connection:"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection:"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1170 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET transfer-encoding with blanked Connection:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1171 --tr-encoding -H "Connection;"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding -H "Connection;"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1171 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/0.9 GET response denied
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1172 --no-http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1172 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/0.9 GET response denied by default
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1174
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1174 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET
</name>
<command option="no-output">
-http://%HOSTIP:%HTTPPORT/1176 -o 'log/base-#0'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o 'log/base-#0'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1176 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
# 400 x 'A' : 600 x 'B' ...
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/1178 -x http://%HOSTIP:%HTTPPORT -U AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -U AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/we/want/that/page/1178 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: Basic QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQTpCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkI=\r
User-Agent: curl/%VERSION\r
error when using unknown command line option
</name>
<command>
---never-implemented http://never.use.this.example.com/1179
+--never-implemented http://never.use.this.example.com/%TESTNUMBER
</command>
</client>
FTP download, failed RETR
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/118
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 118\r
-RETR 118\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET request with proxy and -H "Proxy-Connection: keep-alive"
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT -H "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/1180
+--proxy http://%HOSTIP:%HTTPPORT -H "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1180 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET request with proxy and --proxy-header "Proxy-Connection: Keep-Alive"
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT --proxy-header "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/1181
+--proxy http://%HOSTIP:%HTTPPORT --proxy-header "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1181 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command type="perl">
-%SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/log/data -o LOGDIR=%SRCDIR/log/log -E %SRCDIR/log/test1182-exclude-file 1
+%SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/log/data -o LOGDIR=%SRCDIR/log/log -E %SRCDIR/log/test%TESTNUMBER-exclude-file 1
</command>
<precheck>
-mkdir %SRCDIR/log/data ; mkdir %SRCDIR/log/log; cp %SRCDIR/data/test1 %SRCDIR/log/data; echo 'test:1:Test should not run for unit test 1182' > %SRCDIR/log/test1182-exclude-file
+mkdir %SRCDIR/log/data ; mkdir %SRCDIR/log/log; cp %SRCDIR/data/test1 %SRCDIR/log/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %SRCDIR/log/test%TESTNUMBER-exclude-file
</precheck>
<postcheck>
-grep -q "Test should not run for unit test 1182" %SRCDIR/log/stdout1182
+grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/log/stdout%TESTNUMBER
</postcheck>
</client>
</command>
</client>
-# Verify that the %TESTNUMBER has been resolved to 1183
+# Verify that the %TESTNUMBER has been resolved to %TESTNUMBER
<verify>
<protocol>
-GET /1183 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
--write-out with %{onerror} and %{urlnum} to stderr
</name>
<command>
--f -s -w '%{onerror}%{stderr}%{urlnum} says %{exitcode} %{errormsg}\n' http://%HOSTIP:%HTTPPORT/we/want/our/1188 http://%HOSTIP:%HTTPPORT/we/want/our/1188
+-f -s -w '%{onerror}%{stderr}%{urlnum} says %{exitcode} %{errormsg}\n' http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1188 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/our/1188 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download, failed RETR with PORT
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/119 -P -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PASS ftp@example.com\r
PWD\r
TYPE I\r
-SIZE 119\r
-RETR 119\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
MQTT SUBSCRIBE
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1190
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER
</command>
</client>
MQTT PUBLISH
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1191 -d something
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d something
</command>
</client>
MQTT SUBSCRIBE 2k topic
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/1192
+mqtt://%HOSTIP:%MQTTPORT/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/%TESTNUMBER
</command>
</client>
MQTT PUBLISH 2k payload
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1193 -d @log/payload1193
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -d @log/payload%TESTNUMBER
</command>
-<file name="log/payload1193">
+<file name="log/payload%TESTNUMBER">
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
MQTT SUBSCRIBE with PUBLISH befoire SUBACK
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1194
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER
</command>
</client>
MQTT SUBSCRIBE with short PUBLISH
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1195
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER
</command>
</client>
MQTT with error in CONNACK
</name>
<command option="binary-trace">
-mqtt://%HOSTIP:%MQTTPORT/1196
+mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER
</command>
</client>
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./11970001\r
+Location: ./%TESTNUMBER0001\r
\r
monster
</data>
HTTP POST redirected to GET and --write-out method
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1197 -w "%{method}\n" -L -d "twinkle twinkle little star"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{method}\n" -L -d "twinkle twinkle little star"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /1197 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 27\r
Content-Type: application/x-www-form-urlencoded\r
\r
-twinkle twinkle little starGET /11970001 HTTP/1.1\r
+twinkle twinkle little starGET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./11970001\r
+Location: ./%TESTNUMBER0001\r
\r
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
HTTP range support
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/12 -r 100-200
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -r 100-200
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/12 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=100-200\r
User-Agent: curl/%VERSION\r
ftp download with post-quote delete operation
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "-DELE file"
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 120\r
-RETR 120\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
DELE file\r
QUIT\r
</protocol>
Gopher index
</name>
<command>
-gopher://%HOSTIP:%GOPHERPORT/1/1200
+gopher://%HOSTIP:%GOPHERPORT/1/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-/1200\r
+/%TESTNUMBER\r
</protocol>
</verify>
</testcase>
Gopher selector
</name>
<command>
-gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201?
+gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/%TESTNUMBER?
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-/selector/SELECTOR/1201?\r
+/selector/SELECTOR/%TESTNUMBER?\r
</protocol>
</verify>
</testcase>
Gopher query
</name>
<command>
-"gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine%09query%20succeeded/1202"
+"gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine%09query%20succeeded/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-/the/search/engine query succeeded/1202\r
+/the/search/engine query succeeded/%TESTNUMBER\r
</protocol>
</verify>
</testcase>
Gopher IPv6 index
</name>
<command>
--g gopher://%HOST6IP:%GOPHER6PORT/1/moo/1203
+-g gopher://%HOST6IP:%GOPHER6PORT/1/moo/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-/moo/1203\r
+/moo/%TESTNUMBER\r
</protocol>
</verify>
</testcase>
HTTP with WWW-Authenticate and multiple auths in a single line
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1204 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1204 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1204 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
User-Agent: curl/%VERSION\r
HTTP GET with 18K HTTP header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1205
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1205 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP PORT and 425 on download
</name>
<command>
---max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1206 -P -
+--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 1206\r
-RETR 1206\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<errorcode>
FTP PORT and 421 on download
</name>
<command>
---max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1207 -P -
+--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 1207\r
-RETR 1207\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<errorcode>
FTP PORT download, no data conn and no transient negative reply
</name>
<command>
---max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1208 -P -
+--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 1208\r
-RETR 1208\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
<errorcode>
28
FTP PORT download, no data conn and no positive preliminary reply
</name>
<command>
---max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1209 -P -
+--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 1209\r
-RETR 1209\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
<errorcode>
28
ftp download with post- and pre-transfer delete operations
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/121 -Q "-DELE after_transfer" -Q "DELE before_transfer"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "-DELE after_transfer" -Q "DELE before_transfer"
</command>
</client>
DELE before_transfer\r
EPSV\r
TYPE I\r
-SIZE 121\r
-RETR 121\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
DELE after_transfer\r
QUIT\r
</protocol>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1210 -J -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1210 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/1210">
+<file name="log/%TESTNUMBER">
12345
</file>
FTP PORT and 425 on download
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1211 -P -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 1211\r
-RETR 1211\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
<errorcode>
28
</name>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/ulion/1212 --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/ulion/%TESTNUMBER --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /ulion/1212 HTTP/1.1\r
+GET /ulion/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
# for normal server use, and we need to make sure it gets converted to
# RFC style even for proxies
<command>
--x %HOSTIP:%HTTPPORT we.want.that.site.com.1213
+-x %HOSTIP:%HTTPPORT we.want.that.site.com.%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com.1213/ HTTP/1.1\r
-Host: we.want.that.site.com.1213\r
+GET http://we.want.that.site.com.%TESTNUMBER/ HTTP/1.1\r
+Host: we.want.that.site.com.%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
# for normal server use, and we need to make sure it gets converted to
# RFC style even for proxies
<command>
--x %HOSTIP:%HTTPPORT http://we.want.that.site.com.1214?moo=foo
+-x %HOSTIP:%HTTPPORT http://we.want.that.site.com.%TESTNUMBER?moo=foo
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com.1214/?moo=foo HTTP/1.1\r
-Host: we.want.that.site.com.1214\r
+GET http://we.want.that.site.com.%TESTNUMBER/?moo=foo HTTP/1.1\r
+Host: we.want.that.site.com.%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/1215 -u testuser:testpass --ntlm --proxy http://%HOSTIP:%HTTPPORT
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm --proxy http://%HOSTIP:%HTTPPORT
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
HTTP cookie domains tailmatching the host name
</name>
<command>
-http://example.fake/c/1216 http://bexample.fake/c/1216 -b log/injar1216 -x %HOSTIP:%HTTPPORT
+http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b log/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT
</command>
-<file name="log/injar1216">
+<file name="log/injar%TESTNUMBER">
example.fake FALSE /a FALSE 2139150993 mooo indeed
example.fake FALSE /b FALSE 0 moo1 indeed
example.fake FALSE /c FALSE 2139150993 moo2 indeed
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.fake/c/1216 HTTP/1.1\r
+GET http://example.fake/c/%TESTNUMBER HTTP/1.1\r
Host: example.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Cookie: moo3=indeed; moo2=indeed\r
\r
-GET http://bexample.fake/c/1216 HTTP/1.1\r
+GET http://bexample.fake/c/%TESTNUMBER HTTP/1.1\r
Host: bexample.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP with rubbish before name in 257-response
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/get/file/1217 ftp://%HOSTIP:%FTPPORT/get/file/again/1217 --ftp-method singlecwd
+ftp://%HOSTIP:%FTPPORT/get/file/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/get/file/again/%TESTNUMBER --ftp-method singlecwd
</command>
</client>
CWD get/file\r
EPSV\r
TYPE I\r
-SIZE 1217\r
-RETR 1217\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
CWD /this/is/the/path\r
CWD get/file/again\r
EPSV\r
-SIZE 1217\r
-RETR 1217\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP cookies and domains with same prefix
</name>
<command>
-http://example.fake/c/1218 http://example.fake/c/1218 http://bexample.fake/c/1218 -b nonexisting -x %HOSTIP:%HTTPPORT
+http://example.fake/c/%TESTNUMBER http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b nonexisting -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.fake/c/1218 HTTP/1.1\r
+GET http://example.fake/c/%TESTNUMBER HTTP/1.1\r
Host: example.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://example.fake/c/1218 HTTP/1.1\r
+GET http://example.fake/c/%TESTNUMBER HTTP/1.1\r
Host: example.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Cookie: bug=fixed\r
\r
-GET http://bexample.fake/c/1218 HTTP/1.1\r
+GET http://bexample.fake/c/%TESTNUMBER HTTP/1.1\r
Host: bexample.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP with no user+password required (230 response)
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1219
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 1219\r
-RETR 1219\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP download resume with whole file already downloaded
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/122 -C 5
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 5
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 122\r
+SIZE %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
file:// URLs with query string
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/test1220.txt?a_query=foobar#afragment
+file://localhost%FILE_PWD/log/test%TESTNUMBER.txt?a_query=foobar#afragment
</command>
-<file name="log/test1220.txt">
+<file name="log/test%TESTNUMBER.txt">
contents in a single file
</file>
</client>
HTTP GET -w remote_ip and -w remote_port
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1223 -w 'IP %{remote_ip} and PORT %{remote_port}\n'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w 'IP %{remote_ip} and PORT %{remote_port}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1223 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP fetch a file from the root directory
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//1224
+ftp://%HOSTIP:%FTPPORT//%TESTNUMBER
</command>
</client>
CWD /\r
EPSV\r
TYPE I\r
-SIZE 1224\r
-RETR 1224\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch two files using absolute paths
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//foo/1225 ftp://%HOSTIP:%FTPPORT//foo/bar/1225
+ftp://%HOSTIP:%FTPPORT//foo/%TESTNUMBER ftp://%HOSTIP:%FTPPORT//foo/bar/%TESTNUMBER
</command>
</client>
CWD foo\r
EPSV\r
TYPE I\r
-SIZE 1225\r
-RETR 1225\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
CWD /\r
CWD foo\r
CWD bar\r
EPSV\r
-SIZE 1225\r
-RETR 1225\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch a file from the root directory with singlecwd
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//1226 --ftp-method singlecwd
+ftp://%HOSTIP:%FTPPORT//%TESTNUMBER --ftp-method singlecwd
</command>
</client>
CWD /\r
EPSV\r
TYPE I\r
-SIZE 1226\r
-RETR 1226\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch a file from the root directory with nocwd
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//1227 --ftp-method nocwd
+ftp://%HOSTIP:%FTPPORT//%TESTNUMBER --ftp-method nocwd
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE /1227\r
-RETR /1227\r
+SIZE /%TESTNUMBER\r
+RETR /%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP cookie path match
</name>
<command>
-http://example.fake/hoge/1228 http://example.fake/hogege/ -b nonexisting -x %HOSTIP:%HTTPPORT
+http://example.fake/hoge/%TESTNUMBER http://example.fake/hogege/ -b nonexisting -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.fake/hoge/1228 HTTP/1.1\r
+GET http://example.fake/hoge/%TESTNUMBER HTTP/1.1\r
Host: example.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with Digest authorization with user name needing escape
</name>
<command>
-http://%5cuser%22:password@%HOSTIP:%HTTPPORT/1229 --digest
+http://%5cuser%22:password@%HOSTIP:%HTTPPORT/%TESTNUMBER --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1229 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1229 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="\\user\"", realm="testrealm", nonce="1053604145", uri="/1229", response="f2694d426040712584c156d3de72b8d6"\r
+Authorization: Digest username="\\user\"", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="f2694d426040712584c156d3de72b8d6"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
FTP upload resume with whole file already downloaded
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/123 -T log/upload123 -C 51
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C 51
</command>
-<file name="log/upload123">
+<file name="log/upload%TESTNUMBER">
--------------------------------------------------
</file>
</client>
<name>
HTTP CONNECT to IPv6 numerical address
</name>
-# 0x4ce == 1230, the test number
+# 0x4ce == %TESTNUMBER, the test number
<command>
-http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT
+http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/%TESTNUMBER -p -x %HOSTIP:%HTTPPORT
</command>
</client>
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /wanted/page/1230 HTTP/1.1\r
+GET /wanted/page/%TESTNUMBER HTTP/1.1\r
Host: [1234:1234:1234::4ce]:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP URL with dotdot removal from path
</name>
<command>
-http://%HOSTIP:%HTTPPORT/../../hej/but/who/../1231?stupid=me/../1231#soo/../1231 http://%HOSTIP:%HTTPPORT/../../hej/but/who/../12310001#/../12310001
+http://%HOSTIP:%HTTPPORT/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER#soo/../%TESTNUMBER http://%HOSTIP:%HTTPPORT/../../hej/but/who/../%TESTNUMBER0001#/../%TESTNUMBER0001
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /hej/but/1231?stupid=me/../1231 HTTP/1.1\r
+GET /hej/but/%TESTNUMBER?stupid=me/../%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /hej/but/12310001 HTTP/1.1\r
+GET /hej/but/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP URL with dotdot removal from path using an HTTP proxy
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1232:8990/../../hej/but/who/../1232?stupid=me/../1232#soo/../1232 http://test.remote.haxx.se.1232:8990/../../hej/but/who/../12320001#/../12320001
+--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER#soo/../%TESTNUMBER http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER0001#/../%TESTNUMBER0001
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://test.remote.haxx.se.1232:8990/hej/but/1232?stupid=me/../1232 HTTP/1.1\r
-Host: test.remote.haxx.se.1232:8990\r
+GET http://test.remote.haxx.se.%TESTNUMBER:8990/hej/but/%TESTNUMBER?stupid=me/../%TESTNUMBER HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.haxx.se.1232:8990/hej/but/12320001 HTTP/1.1\r
-Host: test.remote.haxx.se.1232:8990\r
+GET http://test.remote.haxx.se.%TESTNUMBER:8990/hej/but/%TESTNUMBER0001 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
FTP failing to connect to EPSV port, switching to PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1233
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 1233\r
-RETR 1233\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
abusing {}-globbing
</name>
<command>
-"%HOSTIP:%NOLISTENPORT/1234[0-1]{" "%HOSTIP:%NOLISTENPORT/{}{}{}{"
+"%HOSTIP:%NOLISTENPORT/%TESTNUMBER[0-1]{" "%HOSTIP:%NOLISTENPORT/{}{}{}{"
</command>
</client>
multiple requests using {}{} in the URL
</name>
<command>
-"%HOSTIP:%HTTPPORT/{1235,1235}{0001,0002}"
+"%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}{0001,0002}"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /12350001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /12350002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /12350001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /12350002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
<stdout>
---_curl_--%HOSTIP:%HTTPPORT/12350001
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0001
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 15\r
\r
the number one
---_curl_--%HOSTIP:%HTTPPORT/12350002
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0002
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 16\r
\r
two is nice too
---_curl_--%HOSTIP:%HTTPPORT/12350001
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0001
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 15\r
\r
the number one
---_curl_--%HOSTIP:%HTTPPORT/12350002
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0002
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 16\r
URL with 1000+ letter user name + password
</name>
<command>
-"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB@%HOSTIP:%HTTPPORT/1237"
+"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB@%HOSTIP:%HTTPPORT/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1237 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQTpCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkI=\r
User-Agent: curl/%VERSION\r
</name>
# if less than 1000 bytes/sec within 2 seconds, abort!
<command>
-tftp://%HOSTIP:%TFTPPORT//1238 -Y1000 -y2
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER -Y1000 -y2
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /1238
+filename: /%TESTNUMBER
</protocol>
# 28 = CURLE_OPERATION_TIMEDOUT
<errorcode>
HTTP with -z + -w response_code and simulated 304
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1239 -z "-dec 12 12:00:00 1999 GMT" -w '%{response_code}'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "-dec 12 12:00:00 1999 GMT" -w '%{response_code}'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1239 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download, failed PWD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/124
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 124\r
-RETR 124\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
glob [0-1] with stuff after range (7.33.0 regression)
</name>
<command>
-"%HOSTIP:%HTTPPORT/0[0-1]/1240"
+"%HOSTIP:%HTTPPORT/0[0-1]/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /00/1240 HTTP/1.1\r
+GET /00/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /01/1240 HTTP/1.1\r
+GET /01/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP _without_ dotdot removal
</name>
<command>
---path-as-is --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1241:8990/../../hej/but/who/../1241?stupid=me/../1241#soo/../1241 http://test.remote.haxx.se.1241:8990/../../hej/but/who/../12410001#/../12410001
+--path-as-is --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER#soo/../%TESTNUMBER http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER0001#/../%TESTNUMBER0001
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../1241?stupid=me/../1241 HTTP/1.1\r
-Host: test.remote.haxx.se.1241:8990\r
+GET http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER?stupid=me/../%TESTNUMBER HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.haxx.se.1241:8990/../../hej/but/who/../12410001 HTTP/1.1\r
-Host: test.remote.haxx.se.1241:8990\r
+GET http://test.remote.haxx.se.%TESTNUMBER:8990/../../hej/but/who/../%TESTNUMBER0001 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
TFTP retrieve without TFTP options requests
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//1242 --tftp-no-options
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --tftp-no-options
</command>
</client>
<protocol>
opcode: 1
mode: octet
-filename: /1242
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
TFTP send without TFTP options requests
</name>
<command>
--T log/test1243.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options
+-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --tftp-no-options
</command>
-<file name="log/test1243.txt">
+<file name="log/test%TESTNUMBER.txt">
a chunk of
data
sent
<protocol>
opcode: 2
mode: octet
-filename: /test1243.txt
+filename: /test%TESTNUMBER.txt
</protocol>
</verify>
</testcase>
HTTP GET same URL - different proxy ports
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1244 -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/124400001 -x %HOSTIP:%HTTPSPORT
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER00001 -x %HOSTIP:%HTTPSPORT
</command>
</client>
56
</errorcode>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/1244 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 0\r
-Location: ftp://%HOSTIP:%FTPPORT/1245\r
+Location: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER\r
Connection: close\r
\r
</data>
--proto deny must override --proto-redir allow
</name>
<command>
---location --proto +all,-ftp --proto-redir -all,+ftp http://%HOSTIP:%HTTPPORT/1245
+--location --proto +all,-ftp --proto-redir -all,+ftp http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1245 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
URL with '#' at end of host name instead of '/'
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1246:%HTTPPORT#@127.0.0.1/tricked.html no-scheme-url.com.1246:%HTTPPORT#@127.127.127.127/again.html
+--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:%HTTPPORT#@127.0.0.1/tricked.html no-scheme-url.com.%TESTNUMBER:%HTTPPORT#@127.127.127.127/again.html
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://test.remote.haxx.se.1246:%HTTPPORT/ HTTP/1.1\r
-Host: test.remote.haxx.se.1246:%HTTPPORT\r
+GET http://test.remote.haxx.se.%TESTNUMBER:%HTTPPORT/ HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://no-scheme-url.com.1246:%HTTPPORT/ HTTP/1.1\r
-Host: no-scheme-url.com.1246:%HTTPPORT\r
+GET http://no-scheme-url.com.%TESTNUMBER:%HTTPPORT/ HTTP/1.1\r
+Host: no-scheme-url.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
--fail-early
</name>
<command>
---fail-early h1234://%HOSTIP:%HTTPPORT/1247 http://%HOSTIP:%HTTPPORT/1247
+--fail-early h1234://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
Access a non-proxied host with using the combination of --proxy option and --noproxy option
</name>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/1248 --proxy http://dummy:%NOLISTENPORT/ --noproxy %HOSTIP --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://dummy:%NOLISTENPORT/ --noproxy %HOSTIP --max-time 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1248 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
NO_PROXY=%HOSTIP
</setenv>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/1249 --proxy http://dummy:%NOLISTENPORT/ --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://dummy:%NOLISTENPORT/ --max-time 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1249 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
FTP download, failed CWD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/to/file/125
+ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER
</command>
</client>
http_proxy=http://dummy:%PROXYPORT/
</setenv>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/1250 --noproxy %HOSTIP --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --noproxy %HOSTIP --max-time 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1250 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
NO_PROXY=%HOSTIP
</setenv>
<command>
-http://user:secret@%HOSTIP:%HTTPPORT/1251 --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --max-time 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1251 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpzZWNyZXQ=\r
User-Agent: curl/%VERSION\r
NO_PROXY=example.com
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/1252 --proxy http://%HOSTIP:%HTTPPORT --noproxy %HOSTIP
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --noproxy %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1252 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
NO_PROXY=example.com
</setenv>
<command>
-http://somewhere.example.com/1253 --proxy http://%HOSTIP:%HTTPPORT --noproxy %HOSTIP
+http://somewhere.example.com/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --noproxy %HOSTIP
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://somewhere.example.com/1253 HTTP/1.1\r
+GET http://somewhere.example.com/%TESTNUMBER HTTP/1.1\r
Host: somewhere.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
NO_PROXY=example.com
</setenv>
<command>
-http://somewhere.example.com/1254 --proxy http://%HOSTIP:%HTTPPORT --noproxy ""
+http://somewhere.example.com/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --noproxy ""
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://somewhere.example.com/1254 HTTP/1.1\r
+GET http://somewhere.example.com/%TESTNUMBER HTTP/1.1\r
Host: somewhere.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
NO_PROXY=example.com
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/1255 --noproxy %HOSTIP
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --noproxy %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1255 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
NO_PROXY=example.com
</setenv>
<command>
-http://somewhere.example.com/1256 --noproxy %HOSTIP
+http://somewhere.example.com/%TESTNUMBER --noproxy %HOSTIP
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://somewhere.example.com/1256 HTTP/1.1\r
+GET http://somewhere.example.com/%TESTNUMBER HTTP/1.1\r
Host: somewhere.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
NO_PROXY=example.com
</setenv>
<command>
-http://somewhere.example.com/1257 --noproxy ""
+http://somewhere.example.com/%TESTNUMBER --noproxy ""
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://somewhere.example.com/1257 HTTP/1.1\r
+GET http://somewhere.example.com/%TESTNUMBER HTTP/1.1\r
Host: somewhere.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP, use cookies with localhost
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1258 http://%HOSTIP:%HTTPPORT/we/want?hoge=fuga -b non-existing -H "Host: localhost"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want?hoge=fuga -b non-existing -H "Host: localhost"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1258 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: localhost\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP URL with semicolon in password
</name>
<command>
-"http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/1259"
+"http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1259 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjpwYXNzO3dvcmQ=\r
User-Agent: curl/%VERSION\r
FTP download with multiple replies at once in RETR
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
+ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
</command>
</client>
CWD lululul\r
EPSV\r
TYPE I\r
-SIZE 126\r
-RETR 126\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP URL with rubbish after port number
</name>
<command>
--g "http://[%HOSTIP]:%NOLISTENPORT:80/we/want/1260" "http://%HOSTIP:%NOLISTENPORT:80/we/want/1260" "http://user@example.com:80@localhost"
+-g "http://[%HOSTIP]:%NOLISTENPORT:80/we/want/%TESTNUMBER" "http://%HOSTIP:%NOLISTENPORT:80/we/want/%TESTNUMBER" "http://user@example.com:80@localhost"
</command>
</client>
'redirect_url' with --location and --max-redir
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1261 -w '%{redirect_url}\n' --location --max-redir 0
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redir 0
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1261 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP request and denied to download an older file with -z
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/1262 -z "-1 jan 2001"
+ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "-1 jan 2001"
</command>
</client>
PASS ftp@example.com\r
PWD\r
CWD blalbla\r
-MDTM 1262\r
+MDTM %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP URL with rubbish after IPv6 bracket
</name>
<command>
--g "http://[%HOSTIP]test:%NOLISTENPORT/we/want/1263" "http://[%HOSTIP][%HOSTIP]:%NOLISTENPORT/we/want/1263" "http://user@[::1]@localhost"
+-g "http://[%HOSTIP]test:%NOLISTENPORT/we/want/%TESTNUMBER" "http://[%HOSTIP][%HOSTIP]:%NOLISTENPORT/we/want/%TESTNUMBER" "http://user@[::1]@localhost"
</command>
</client>
HTTP URL with space in host name
</name>
<command>
--g "http://127.0.0.1 www.example.com/we/want/1264"
+-g "http://127.0.0.1 www.example.com/we/want/%TESTNUMBER"
</command>
</client>
NO_PROXY=::1
</setenv>
<command>
-http://%HOST6IP:%HTTP6PORT/1265
+http://%HOST6IP:%HTTP6PORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1265 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with a single-byte HTTP/0.9 response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1266 --http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1266 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with a invalid HTTP/1 response line start
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1267 --http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1267 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
file name argument looks like a flag
</name>
<command>
---stderr log/moo1268 --unix-socket -k hej://moo
+--stderr log/moo%TESTNUMBER --unix-socket -k hej://moo
</command>
</client>
<verify>
-<file name="log/moo1268" mode="text">
+<file name="log/moo%TESTNUMBER" mode="text">
Warning: The file name argument '-k' looks like a flag.
curl: (1) Protocol "hej" not supported or disabled in libcurl
</file>
too large --retry-delay value
</name>
<command>
---retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/1269
+--retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
</command>
</client>
FTP --disable-epsv
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv
+ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER --disable-epsv
</command>
</client>
CWD file\r
PASV\r
TYPE I\r
-SIZE 127\r
-RETR 127\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
Basic 'redirect_url'
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1270 -w '%{redirect_url}\n' -s
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' -s
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1270 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
--write-out from file with empty file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/our/1271 -w @log/blank1271
+http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w @log/blank%TESTNUMBER
</command>
-<file name="log/blank1271">
+<file name="log/blank%TESTNUMBER">
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/our/1271 HTTP/1.1\r
+GET /we/want/our/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Gophers index
</name>
<command>
--k gophers://%HOSTIP:%GOPHERSPORT/1/1272
+-k gophers://%HOSTIP:%GOPHERSPORT/1/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-/1272\r
+/%TESTNUMBER\r
</protocol>
</verify>
</testcase>
FTP upload with --crlf
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER --crlf
</command>
-<file name="log/upload128">
+<file name="log/upload%TESTNUMBER">
file
with unix newlines
meant to be
PWD\r
EPSV\r
TYPE I\r
-STOR 128\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
simple [a-d] globbing
</name>
<command>
-http://%HOSTIP:%HTTPPORT/[a-d]/1280
+http://%HOSTIP:%HTTPPORT/[a-d]/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /a/1280 HTTP/1.1\r
+GET /a/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /b/1280 HTTP/1.1\r
+GET /b/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /c/1280 HTTP/1.1\r
+GET /c/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /d/1280 HTTP/1.1\r
+GET /d/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
reject non-numerical port number in URL
</name>
<command>
-http://%HOSTIP:alpha/beta/1281
+http://%HOSTIP:alpha/beta/%TESTNUMBER
</command>
</client>
FTP with 633 response before gss initialized
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1282
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
globbing range with same start and stop
</name>
<command option="no-output">
-http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/1283 -o "log/outfile1283_#1#2#3#4.dump"
+http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "log/outfile%TESTNUMBER_#1#2#3#4.dump"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /a1b2/1283 HTTP/1.1\r
+GET /a1b2/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/outfile1283_a1b2.dump">
+<file name="log/outfile%TESTNUMBER_a1b2.dump">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
# even when there is a user-specified Content-Length header.
# https://github.com/curl/curl/pull/1242
<command>
--H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/1284
+-H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /1284 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /1284 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1284", response="5763079608de439072861a59ac733515"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="5763079608de439072861a59ac733515"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
# even when there is a user-specified Content-Length header.
# https://github.com/curl/curl/pull/1242
<command>
--H "Content-Length: 85" -u auser:apasswd --digest -T log/put1285 http://%HOSTIP:%HTTPPORT/1285
+-H "Content-Length: 85" -u auser:apasswd --digest -T log/put%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
-<file name="log/put1285">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1285 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
\r
-PUT /1285 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1285", response="dc185587d5e8391b347eef194c2a3cd6"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="dc185587d5e8391b347eef194c2a3cd6"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
HTTP/1.1 302 Thanks for this, but we want to redir you!\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
-Location: /12860001\r
+Location: /%TESTNUMBER0001\r
Content-Length: 0\r
\r
</data1000>
HTTP/1.1 302 Thanks for this, but we want to redir you!\r
Server: Microsoft-IIS/5.0\r
Content-Type: text/html; charset=iso-8859-1\r
-Location: /12860001\r
+Location: /%TESTNUMBER0001\r
Content-Length: 0\r
\r
HTTP/1.1 404 Not Found\r
# This test is to ensure the nonce-count (nc) increases
# https://github.com/curl/curl/pull/1251
<command>
--u auser:apasswd --location --digest http://%HOSTIP:%HTTPPORT/1286
+-u auser:apasswd --location --digest http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
if(s/^(Authorization: Digest )([^\r\n]+)(\r?\n)$//) { $_ = $1 . join(', ', map { s/^(cnonce=)"[a-zA-Z0-9+\/=]+"$/$1REMOVED/; s/^(response=)"[a-f0-9]{32}"$/$1REMOVED/; s/^qop="auth"$/qop=auth/; $_ } sort split(/, */, $2)) . $3; }
</strippart>
<protocol>
-GET /1286 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1286 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest cnonce=REMOVED, nc=00000001, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/1286", username="auser"\r
+Authorization: Digest cnonce=REMOVED, nc=00000001, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/%TESTNUMBER", username="auser"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /12860001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest cnonce=REMOVED, nc=00000002, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/12860001", username="auser"\r
+Authorization: Digest cnonce=REMOVED, nc=00000002, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/%TESTNUMBER0001", username="auser"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses
</name>
<command>
--v --proxytunnel -x %HOSTIP:%PROXYPORT http://test.1287:%HTTPPORT/we/want/that/page/1287
+-v --proxytunnel -x %HOSTIP:%PROXYPORT http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.1287:%HTTPPORT HTTP/1.1\r
-Host: test.1287:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1287 HTTP/1.1\r
-Host: test.1287:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/stderr1287" mode="text">
+<file name="log/stderr%TESTNUMBER" mode="text">
* Ignoring Content-Length in CONNECT 200 response
* Ignoring Transfer-Encoding in CONNECT 200 response
</file>
Suppress proxy CONNECT response headers
</name>
<command>
---proxytunnel --suppress-connect-headers --dump-header - --include --write-out "\nCONNECT CODE: %{http_connect}\nRECEIVED HEADER BYTE TOTAL: %{size_header}\n" --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.1288:%HTTPPORT/we/want/that/page/1288
+--proxytunnel --suppress-connect-headers --dump-header - --include --write-out "\nCONNECT CODE: %{http_connect}\nRECEIVED HEADER BYTE TOTAL: %{size_header}\n" --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT %HOSTIP.1288:%HTTPPORT HTTP/1.1\r
-Host: %HOSTIP.1288:%HTTPPORT\r
+CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1288 HTTP/1.1\r
-Host: %HOSTIP.1288:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP/1.2 is rejected
</name>
<command>
-http://%HOSTIP:%HTTPPORT/129
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /129 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Verify URL globbing ignores []
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/we/want/[]/page/1290"
+"http://%HOSTIP:%HTTPPORT/we/want/[]/page/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/[]/page/1290 HTTP/1.1\r
+GET /we/want/[]/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Attempt to upload 1000 files but fail immediately
</name>
<command>
--K log/cmd1291 --fail-early
+-K log/cmd%TESTNUMBER --fail-early
</command>
<file name="log/upload-this">
XXXXXXXx
</file>
# generate the config file
<precheck>
-perl -e 'for(1 .. 1000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/1291\n", $_);}' > log/cmd1291;
+perl -e 'for(1 .. 1000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/%TESTNUMBER\n", $_);}' > log/cmd%TESTNUMBER;
</precheck>
</client>
Replaced internal headers with a blank one
</name>
<command>
- -H "Host;" -H "Accept;" http://%HOSTIP:%HTTPPORT/1292
+ -H "Host;" -H "Accept;" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1292 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host:\r
User-Agent: curl/%VERSION\r
Accept:\r
Multipart formpost to two URLs, the first failing
</name>
<command>
-http://0 http://%HOSTIP:%HTTPPORT/1293 -F=
+http://0 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -F=
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /1293 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_SMALLREQSEND=128
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1294 -H "Among other public buildings in a certain town, which for many reasons it will be prudent to refrain from mentioning, and to which I will assign no fictitious name, there is one anciently common to most towns, great or small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not trouble myself to repeat, inasmuch as it can be of no possible consequence to the reader, in this stage of the business at all events; the item of mortality whose name is prefixed to the head of this chapter: 511"
+http://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER -H "Among other public buildings in a certain town, which for many reasons it will be prudent to refrain from mentioning, and to which I will assign no fictitious name, there is one anciently common to most towns, great or small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not trouble myself to repeat, inasmuch as it can be of no possible consequence to the reader, in this stage of the business at all events; the item of mortality whose name is prefixed to the head of this chapter: 511"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1294 HTTP/1.1\r
+GET /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_SMALLREQSEND=100
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1295 -H "012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679: 300" -d "Mr. Sherlock Holmes, who was usually very late in the mornings, save upon those not infrequent occasions when he was up all night, was seated at the breakfast table." -w '%{size_upload}\n'
+http://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER -H "012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679: 300" -d "Mr. Sherlock Holmes, who was usually very late in the mornings, save upon those not infrequent occasions when he was up all night, was seated at the breakfast table." -w '%{size_upload}\n'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1295 HTTP/1.1\r
+POST /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command>
-http://user%0aname:password@%HOSTIP:%HTTPPORT/1296
+http://user%0aname:password@%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1296 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcgpuYW1lOnBhc3N3b3Jk\r
User-Agent: curl/%VERSION\r
CONNECT to peer that returns nothing
</name>
<command>
---proxytunnel --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.1297:%HTTPPORT/we/want/that/page/1297
+--proxytunnel --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT %HOSTIP.1297:%HTTPPORT HTTP/1.1\r
-Host: %HOSTIP.1297:%HTTPPORT\r
+CONNECT %HOSTIP.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1297 HTTP/1.1\r
-Host: %HOSTIP.1297:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: %HOSTIP.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP GET special path with --request-target
</name>
<command>
---request-target "XXX" "http://%HOSTIP:%HTTPPORT/" -H "Testno: 1298"
+--request-target "XXX" "http://%HOSTIP:%HTTPPORT/" -H "Testno: %TESTNUMBER"
</command>
</client>
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 1298\r
+Testno: %TESTNUMBER\r
\r
</protocol>
</verify>
Send "OPTIONS *" with --request-target
</name>
<command>
---request-target '*' -X OPTIONS http://%HOSTIP:%HTTPPORT/ -H "Testno: 1299"
+--request-target '*' -X OPTIONS http://%HOSTIP:%HTTPPORT/ -H "Testno: %TESTNUMBER"
</command>
</client>
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 1299\r
+Testno: %TESTNUMBER\r
\r
</protocol>
</verify>
HTTP custom request 'DELETE'
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/13 -X DELETE
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -X DELETE
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-DELETE /want/13 HTTP/1.1\r
+DELETE /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP (optional .netrc; no user/pass) dir list PASV
</name>
<command>
---netrc-optional --netrc-file log/netrc130 ftp://%HOSTIP:%FTPPORT/
+--netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc130" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
# machine %HOSTIP login user1 password commented
machine %HOSTIP login user1 password passwd1
<name>
netrc parsing unit tests
</name>
-<file name="log/netrc1304">
+<file name="log/netrc%TESTNUMBER">
machine example.com login admin password passwd
machine curl.example.com login none password none
</file>
internal hash create/destroy testing
</name>
<command>
-1305
+%TESTNUMBER
</command>
</client>
</testcase>
unit1305
</tool>
<command>
-1306
+%TESTNUMBER
</command>
</client>
<name>
formpost unit tests
</name>
-<file name="log/test-1308">
+<file name="log/test-%TESTNUMBER">
Piece of the file that is to uploaded as a formpost
</file>
</client>
FTP (optional .netrc; user/no pass) dir list PASV
</name>
<command>
---netrc-optional --netrc-file log/netrc131 ftp://user2@%HOSTIP:%FTPPORT/
+--netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc131" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
# set source directory so fake_ntlm can find the test files
CURL_NTLM_AUTH_SRCDIR=%SRCDIR
# set the test number
-CURL_NTLM_AUTH_TESTNUM=1310
+CURL_NTLM_AUTH_TESTNUM=%TESTNUMBER
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/1310 -u testuser:anypasswd --ntlm-wb
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:anypasswd --ntlm-wb
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1310 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1310 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAE8AAAAYABgAZwAAAAAAAABAAAAACAAIAEAAAAAHAAcASAAAAAAAAAAAAAAAggEAAHRlc3R1c2VyVU5LTk9XTlpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOQ==\r
User-Agent: curl/%VERSION\r
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1311; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1311 -J -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1311 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/name1311">
+<file name="log/name%TESTNUMBER">
12345
</file>
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: inline; filename="name1312;weird"
+Content-Disposition: inline; filename="name%TESTNUMBER;weird"
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-%HOSTIP:%HTTPPORT/1312 -J -O
+%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1312 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/name1312;weird">
+<file name="log/name%TESTNUMBER;weird">
12345
</file>
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: inline; filename='name1313
+Content-Disposition: inline; filename='name%TESTNUMBER
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1313 -J -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1313 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/name1313">
+<file name="log/name%TESTNUMBER">
12345
</file>
<data>
HTTP/1.1 301 This is a weirdo text message swsbounce
Server: test-server/fake
-Location: //somewhere.example.com/reply/1314
+Location: //somewhere.example.com/reply/%TESTNUMBER
Content-Length: 32
Connection: close
<datacheck>
HTTP/1.1 301 This is a weirdo text message swsbounce
Server: test-server/fake
-Location: //somewhere.example.com/reply/1314
+Location: //somewhere.example.com/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP Location: following a // prefixed url
</name>
<command>
-http://firstplace.example.com/want/1314 -L -x http://%HOSTIP:%HTTPPORT
+http://firstplace.example.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://firstplace.example.com/want/1314 HTTP/1.1\r
+GET http://firstplace.example.com/want/%TESTNUMBER HTTP/1.1\r
Host: firstplace.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://somewhere.example.com/reply/1314 HTTP/1.1\r
+GET http://somewhere.example.com/reply/%TESTNUMBER HTTP/1.1\r
Host: somewhere.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting - -F with three files, one with explicit type
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1315 -F name=value -F 'file=@log/test1315.txt,log/test1315.txt;type=magic/content,log/test1315.txt'
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@log/test%TESTNUMBER.txt,log/test%TESTNUMBER.txt;type=magic/content,log/test%TESTNUMBER.txt'
</command>
# We create this file before the command is invoked!
-<file name="log/test1315.txt">
+<file name="log/test%TESTNUMBER.txt">
dummy data
</file>
</client>
-----+\w+
</strip>
<protocol>
-POST /we/want/1315 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Disposition: form-data; name="file"\r
Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa\r
\r
-Content-Disposition: attachment; filename="test1315.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
dummy data
\r
------------------------------9ef8d6205763\r
-Content-Disposition: attachment; filename="test1315.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: magic/content\r
\r
dummy data
\r
------------------------------9ef8d6205763\r
-Content-Disposition: attachment; filename="test1315.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
dummy data
FTP LIST tunneled through HTTP proxy
</name>
<command>
-ftp://ftp.1316:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT
+ftp://ftp.%TESTNUMBER:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT
</command>
</client>
HTTP with --resolve
</name>
<command>
---resolve example.com:%HTTPPORT:%HOSTIP http://example.com:%HTTPPORT/1317
+--resolve example.com:%HTTPPORT:%HOSTIP http://example.com:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1317 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with --resolve and same host name using different cases
</name>
<command>
---resolve MiXeDcAsE.cOm:%HTTPPORT:%HOSTIP http://MiXeDcAsE.cOm:%HTTPPORT/1318 http://mixedcase.com:%HTTPPORT/13180001
+--resolve MiXeDcAsE.cOm:%HTTPPORT:%HOSTIP http://MiXeDcAsE.cOm:%HTTPPORT/%TESTNUMBER http://mixedcase.com:%HTTPPORT/%TESTNUMBER0001
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1318 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: MiXeDcAsE.cOm:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /13180001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: mixedcase.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
POP3 fetch tunneled through HTTP proxy
</name>
<command>
-pop3://pop.1319:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret
+pop3://pop.%TESTNUMBER:%POP3PORT/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-RETR 1319\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<proxy>
-CONNECT pop.1319:%POP3PORT HTTP/1.1\r
-Host: pop.1319:%POP3PORT\r
+CONNECT pop.%TESTNUMBER:%POP3PORT HTTP/1.1\r
+Host: pop.%TESTNUMBER:%POP3PORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
FTP (optional .netrc; user/passwd supplied) dir list PASV
</name>
<command>
---netrc-optional --netrc-file log/netrc132 ftp://mary:mark@%HOSTIP:%FTPPORT/
+--netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc132" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
body\r
</stdin>
<command>
-smtp://smtp.1320:%SMTPPORT/1320 --mail-rcpt recipient@example.com --mail-from sender@example.com -T - -p -x %HOSTIP:%PROXYPORT
+smtp://smtp.%TESTNUMBER:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T - -p -x %HOSTIP:%PROXYPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 1320\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
.\r
</upload>
<proxy>
-CONNECT smtp.1320:%SMTPPORT HTTP/1.1\r
-Host: smtp.1320:%SMTPPORT\r
+CONNECT smtp.%TESTNUMBER:%SMTPPORT HTTP/1.1\r
+Host: smtp.%TESTNUMBER:%SMTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
IMAP FETCH tunneled through HTTP proxy
</name>
<command>
-'imap://imap.1321:%IMAPPORT/1321/;MAILINDEX=1' -u user:secret -p -x %HOSTIP:%PROXYPORT
+'imap://imap.%TESTNUMBER:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret -p -x %HOSTIP:%PROXYPORT
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 1321\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
<proxy>
-CONNECT imap.1321:%IMAPPORT HTTP/1.1\r
-Host: imap.1321:%IMAPPORT\r
+CONNECT imap.%TESTNUMBER:%IMAPPORT HTTP/1.1\r
+Host: imap.%TESTNUMBER:%IMAPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
HTTP with --resolve and hostname with trailing dot
</name>
<command>
---ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
+--ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1322 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with --resolve and [ipv6address]
</name>
<command>
---resolve example.com:%HTTP6PORT:%HOST6IP http://example.com:%HTTP6PORT/1324
+--resolve example.com:%HTTP6PORT:%HOST6IP http://example.com:%HTTP6PORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1324 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: example.com:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 308 OK swsclose\r
-Location: 13250002\r
+Location: %TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 308 OK swsclose\r
-Location: 13250002\r
+Location: %TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
HTTP 308-redirect with POST
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/1325 -L -d "moo"
+http://%HOSTIP:%HTTPPORT/we/%TESTNUMBER -L -d "moo"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /we/1325 HTTP/1.1\r
+POST /we/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooPOST /we/13250002 HTTP/1.1\r
+mooPOST /we/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TELNET to HTTP server
</name>
<stdin>
-GET /we/want/1326 HTTP/1.0\r
+GET /we/want/%TESTNUMBER HTTP/1.0\r
\r
</stdin>
<command>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1326 HTTP/1.0\r
+GET /we/want/%TESTNUMBER HTTP/1.0\r
\r
</protocol>
</verify>
TELNET check of upload with stdout redirected
</name>
<stdin>
-GET /ignore/for/1327 HTTP/1.0\r
+GET /ignore/for/%TESTNUMBER HTTP/1.0\r
\r
</stdin>
-<file name="log/1327.txt">
-GET /we/want/1327 HTTP/1.0\r
+<file name="log/%TESTNUMBER.txt">
+GET /we/want/%TESTNUMBER HTTP/1.0\r
\r
</file>
<command option="no-output">
-telnet://%HOSTIP:%HTTPPORT -T log/1327.txt
+telnet://%HOSTIP:%HTTPPORT -T log/%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1327 HTTP/1.0\r
+GET /we/want/%TESTNUMBER HTTP/1.0\r
\r
</protocol>
</verify>
HTTP GET a globbed range with -f
</name>
<command>
--f 'http://%HOSTIP:%HTTPPORT/[13280000-13280001]' -o log/#1
+-f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o log/#1
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /13280000 HTTP/1.1\r
+GET /%TESTNUMBER0000 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /13280001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
/-prefixed proxy name
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/1329 -x "/server"
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x "/server"
</command>
<features>
proxy
FTP (compulsory .netrc; ignored user/passwd) dir list PASV
</name>
<command>
--n --netrc-file log/netrc133 ftp://mary:mark@%HOSTIP:%FTPPORT/
+-n --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc133" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
# Verify data after the test has been "shot"
<verify>
<file name="log/memdump">
-MEM unit1330.c: malloc()
-MEM unit1330.c: free()
+MEM unit%TESTNUMBER.c: malloc()
+MEM unit%TESTNUMBER.c: free()
</file>
<stripfile>
s/ =.*//
HTTP --proxy-anyauth and 407 with cookies
</name>
<command>
--U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/1331 --proxy-anyauth -c log/dump1331
+-U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER --proxy-anyauth -c log/dump%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://z.x.com/1331 HTTP/1.1\r
+GET http://z.x.com/%TESTNUMBER HTTP/1.1\r
Host: z.x.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://z.x.com/1331 HTTP/1.1\r
+GET http://z.x.com/%TESTNUMBER HTTP/1.1\r
Host: z.x.com\r
Proxy-Authorization: Basic bXluYW1lOm15cGFzc3dvcmQ=\r
User-Agent: curl/%VERSION\r
<reply>
<data>
HTTP/1.1 303 OK swsclose
-Location: moo.html&testcase=/13320002
+Location: moo.html&testcase=/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 303 OK swsclose
-Location: moo.html&testcase=/13320002
+Location: moo.html&testcase=/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP POST with 303 redirect and --post303
</name>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1332 -L -d "moo" --post303
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post303
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /blah/1332 HTTP/1.1\r
+POST /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooPOST /blah/moo.html&testcase=/13320002 HTTP/1.1\r
+mooPOST /blah/moo.html&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST zero length, chunked-encoded
</name>
<command>
--d "" --header "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/1333
+-d "" --header "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /1333 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1334 -O -D log/heads1334
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1334 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1334">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1334">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1334">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1335 -O -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1335 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1335">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1335">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1336; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1336 -O -D log/heads1336
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1336
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1336 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1336">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1336">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1336; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1336">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1337; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1337 -O -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1337
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1337 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1337">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1337">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1337; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1338 -J -O -D log/heads1338
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1338 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1338">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1338">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1338">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1339 -J -O -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1339 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1339">
+<file1 name="log/%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1339">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
# -u overrides netrc which overrides the URL
<command>
---netrc-optional --netrc-file log/netrc134 -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/
+--netrc-optional --netrc-file log/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc134" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
machine %HOSTIP login user1 password passwd1
machine %HOSTIP login user2 password passwd2
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1340; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1340 -J -O -D log/heads1340 -w "curl: Saved to filename %{filename_effective}\n"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D log/heads%TESTNUMBER -w "curl: Saved to filename %{filename_effective}\n"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1340 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/name1340">
+<file1 name="log/name%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1340">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1340; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1340" mode="text">
-curl: Saved to filename %PWD/log/name1340
+<file3 name="log/stdout%TESTNUMBER" mode="text">
+curl: Saved to filename %PWD/log/name%TESTNUMBER
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1341; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1341 -J -O -D - -w "curl: Saved to filename %{filename_effective}\n"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl: Saved to filename %{filename_effective}\n"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1341 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/name1341">
+<file1 name="log/name%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1341">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1341; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
-curl: Saved to filename %PWD/log/name1341
+curl: Saved to filename %PWD/log/name%TESTNUMBER
</file2>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1342 -i -O -D log/heads1342
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1342 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1342">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/heads1342">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1342">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1343 -i -O -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1343 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1343">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/stdout1343">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1344; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1344 -i -O -D log/heads1344
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1344
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1344 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1344">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1344; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/heads1344">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1344; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1344">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1345; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1345 -i -O -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1345
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1345 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1345">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1345; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/stdout1345">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1345; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1346 -i -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1346 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1346">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/stdout1346">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1347; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1347 -i -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1347
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1347 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/1347">
+<file1 name="log/%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1347; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/stdout1347">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1348 -O
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1348\r
-RETR file1348\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1348">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1348">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1349 -O -D log/heads1349
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D log/heads%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1349\r
-RETR file1349\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1349">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/heads1349">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1349 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1349">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP retrieve a byte-range
</name>
<command>
--r 4-16 ftp://%HOSTIP:%FTPPORT/135
+-r 4-16 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 135\r
+SIZE %TESTNUMBER\r
REST 4\r
-RETR 135\r
+RETR %TESTNUMBER\r
ABOR\r
QUIT\r
</protocol>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1350 -O -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D -
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1350\r
-RETR file1350\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1350">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/stdout1350">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1350 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1351 -O -J -D log/heads1351
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D log/heads%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1351\r
-RETR file1351\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1351">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/heads1351">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1351 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1351">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1352 -O -J -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D -
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1352\r
-RETR file1352\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1352">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/stdout1352">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1352 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1353 -O -i -D log/heads1353
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D log/heads%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1353\r
-RETR file1353\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1353">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
# The final "221 bye bye baby" response to QUIT will not be recorded
# since that is not considered part of this particular transfer!
-<file2 name="log/heads1353">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1353 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1353">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1354 -O -i -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D -
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1354\r
-RETR file1354\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1354">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1354">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1354 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1355 -O -i
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1355\r
-RETR file1355\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1355">
+<file1 name="log/file%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1355">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
# Server-side
<reply>
-# file1356 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1356; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1356 -O
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1356
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1356\r
-RETR file1356\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1356">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1356; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1356">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
# Server-side
<reply>
-# file1357 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1357; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1357 -O -D log/heads1357
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1357
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1357\r
-RETR file1357\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1357">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1357; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/heads1357">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1357 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1357">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
# Server-side
<reply>
-# file1358 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1358; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1358 -O -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1358
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1358\r
-RETR file1358\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1358">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1358; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/stdout1358">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1358 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1359 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1359; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1359 -O -J -D log/heads1359
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1359
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1359\r
-RETR file1359\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1359">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1359; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/heads1359">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1359 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1359">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP with user and no password
</name>
<command>
--u user: ftp://%HOSTIP:%FTPPORT/136
+-u user: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 136\r
-RETR 136\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# Server-side
<reply>
-# file1360 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1360; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1360 -O -J -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1360
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1360\r
-RETR file1360\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1360">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1360; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/stdout1360">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1360 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1361 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1361; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1361 -O -i -D log/heads1361
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1361
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1361\r
-RETR file1361\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1361">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1361; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/heads1361">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1361 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1361">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
# Server-side
<reply>
-# file1362 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1362; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1362 -O -i -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1362
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1362\r
-RETR file1362\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1362">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name1362; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
MOOOO
</file1>
-<file2 name="log/stdout1362">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 214\r
-150 Binary data connection for 1362 () (214 bytes).\r
+150 Binary data connection for %TESTNUMBER () (214 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1363 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1363; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1363 -O -i
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name1363
+perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1363\r
-RETR file1363\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/file1363">
+<file1 name="log/file%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1363; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1363">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
HTTP GET -o fname without Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1364 -o log/outfile1364 -D log/heads1364
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1364
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1364 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1364">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1364">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1364">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
HTTP GET -o fname without Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1365 -o log/outfile1365 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1365
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1365 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1365">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1365">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1366; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname and Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1366 -o log/outfile1366 -D log/heads1366
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1366 log/name1366
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1366 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1366">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1366">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1366; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1366">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1367; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname and Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1367 -o log/outfile1367 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1367 log/name1367
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1367 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1367">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1367">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1367; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
HTTP GET -o fname -J without Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1368 -J -o log/outfile1368 -D log/heads1368
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1368
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1368 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1368">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1368">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1368">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
HTTP GET -o fname -J without Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1369 -J -o log/outfile1369 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1369
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1369 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1369">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1369">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
FTP download without size in RETR string
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137
+ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
</command>
</client>
CWD lululul\r
EPSV\r
TYPE I\r
-SIZE 137\r
-RETR 137\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1370; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname -J and Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1370 -J -o log/outfile1370 -D log/heads1370
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1370 log/name1370
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1370 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1370">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads1370">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1370; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1370">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1371; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname -J and Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1371 -J -o log/outfile1371 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1371 log/name1371
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1371 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1371">
+<file1 name="log/outfile%TESTNUMBER">
12345
</file1>
-<file2 name="log/stdout1371">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1371; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
HTTP GET -o fname -i without Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1372 -i -o log/outfile1372 -D log/heads1372
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1372
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1372 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1372">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/heads1372">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
\r
</file2>
-<file3 name="log/stdout1372">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
HTTP GET -o fname -i without Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1373 -i -o log/outfile1373 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1373
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1373 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1373">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/stdout1373">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1374; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname -i and Content-Disposition, -D file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1374 -i -o log/outfile1374 -D log/heads1374
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1374 log/name1374
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1374 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1374">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1374; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/heads1374">
+<file2 name="log/heads%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1374; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
-<file3 name="log/stdout1374">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1375; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname -i and Content-Disposition, -D stdout
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1375 -i -o log/outfile1375 -D -
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1375 log/name1375
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1375 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1375">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1375; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/stdout1375">
+<file2 name="log/stdout%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1375; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
</file2>
HTTP GET -o fname -i without Content-Disposition, without -D
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1376 -i -o log/outfile1376
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1376
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1376 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1376">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
12345
</file1>
-<file2 name="log/stdout1376">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1377; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</data>
HTTP GET -o fname -i and Content-Disposition, without -D
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1377 -i -o log/outfile1377
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -o log/outfile%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1377 log/name1377
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1377 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1377">
+<file1 name="log/outfile%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1377; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
12345
</file1>
-<file2 name="log/stdout1377">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
FTP DL, file without Content-Disposition inside, using -o fname
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1378 -o log/download1378
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1378
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1378\r
-RETR file1378\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1378">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1378">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
FTP DL, file without C-D inside, using -o fname -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1379 -o log/download1379 -D log/heads1379
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1379
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1379\r
-RETR file1379\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1379">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/heads1379">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1379 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1379">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP download without size in RETR string and no SIZE command
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
+ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
</command>
</client>
CWD lululul\r
EPSV\r
TYPE I\r
-SIZE 138\r
-RETR 138\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP DL, file without C-D inside, using -o fname -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1380 -o log/download1380 -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1380
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1380\r
-RETR file1380\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1380">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1380">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1380 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
FTP DL, file without C-D inside, using -o fname -J -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1381 -o log/download1381 -J -D log/heads1381
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1381
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1381\r
-RETR file1381\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1381">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/heads1381">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1381 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1381">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP DL, file without C-D inside, using -o fname -J -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1382 -o log/download1382 -J -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1382
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1382\r
-RETR file1382\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1382">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1382">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1382 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
FTP DL, file without C-D inside, using -o fname -i -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1383 -o log/download1383 -i -D log/heads1383
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1383
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1383\r
-RETR file1383\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1383">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/heads1383">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1383 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1383">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP DL, file without C-D inside, using -o fname -i -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1384 -o log/download1384 -i -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1384
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1384\r
-RETR file1384\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1384">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1384">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 10\r
-150 Binary data connection for 1384 () (10 bytes).\r
+150 Binary data connection for %TESTNUMBER () (10 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
FTP DL, file without C-D inside, using -o fname -i, without -D
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1385 -o log/download1385 -i
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1385
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1385\r
-RETR file1385\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1385">
+<file1 name="log/download%TESTNUMBER">
fooo
mooo
</file1>
-<file2 name="log/stdout1385">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
# Server-side
<reply>
-# file1386 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1386; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with Content-Disposition inside, using -o fname
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1386 -o log/download1386
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1386 log/name1386
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1386\r
-RETR file1386\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1386">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1386; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1386">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
# Server-side
<reply>
-# file1387 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1387; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1387 -o log/download1387 -D log/heads1387
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1387 log/name1387
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1387\r
-RETR file1387\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1387">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1387; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/heads1387">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1387 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1387">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
# Server-side
<reply>
-# file1388 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1388; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1388 -o log/download1388 -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1388 log/name1388
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1388\r
-RETR file1388\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1388">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1388; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1388">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1388 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1389 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1389; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -J -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1389 -o log/download1389 -J -D log/heads1389
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1389 log/name1389
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1389\r
-RETR file1389\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1389">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1389; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/heads1389">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1389 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1389">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
FTP download a newer file with -z
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/139 -z "1 jan 1989"
+ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "1 jan 1989"
</command>
</client>
PASS ftp@example.com\r
PWD\r
CWD blalbla\r
-MDTM 139\r
+MDTM %TESTNUMBER\r
EPSV\r
TYPE I\r
-SIZE 139\r
-RETR 139\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# Server-side
<reply>
-# file1390 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1390; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -J -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1390 -o log/download1390 -J -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -J -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1390 log/name1390
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1390\r
-RETR file1390\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1390">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1390; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1390">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1390 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1391 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1391; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -i -D file
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1391 -o log/download1391 -i -D log/heads1391
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D log/heads%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1391 log/name1391
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1391\r
-RETR file1391\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1391">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1391; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/heads1391">
+<file2 name="log/heads%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1391 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
-<file3 name="log/stdout1391">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
</verify>
# Server-side
<reply>
-# file1392 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1392; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -i -D stdout
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1392 -o log/download1392 -i -D -
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1392 log/name1392
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1392\r
-RETR file1392\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1392">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1392; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1392">
+<file2 name="log/stdout%TESTNUMBER">
220- _ _ ____ _ \r
220- ___| | | | _ \| | \r
220- / __| | | | |_) | | \r
229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted\r
213 222\r
-150 Binary data connection for 1392 () (222 bytes).\r
+150 Binary data connection for %TESTNUMBER () (222 bytes).\r
226 File transfer complete\r
</file2>
<stripfile2>
# Server-side
<reply>
-# file1393 contents...
+# file%TESTNUMBER contents...
<data nocheck="yes">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1393; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</data>
FTP DL, file with C-D inside, using -o fname -i, without -D
</name>
<command option="no-output,no-include">
-ftp://%HOSTIP:%FTPPORT/path/file1393 -o log/download1393 -i
+ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -o log/download%TESTNUMBER -i
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/file1393 log/name1393
+perl %SRCDIR/libtest/notexists.pl log/file%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE file1393\r
-RETR file1393\r
+SIZE file%TESTNUMBER\r
+RETR file%TESTNUMBER\r
QUIT\r
</protocol>
-<file1 name="log/download1393">
+<file1 name="log/download%TESTNUMBER">
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1393; charset=funny; option=strange\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
MOOOO
</file1>
-<file2 name="log/stdout1393">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
</verify>
HTTP HEAD with Connection: close
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/14 -i --head
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -i --head
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-HEAD /want/14 HTTP/1.1\r
+HEAD /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download file with -z, expected to not transfer
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/140 -z "1 jan 2004"
+ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "1 jan 2004"
</command>
</client>
PASS ftp@example.com\r
PWD\r
CWD blalbla\r
-MDTM 140\r
+MDTM %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
SSL_CERT_FILE=
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1400 --libcurl log/test1400.c
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1400 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
$_ = '' if /CURLOPT_HTTP09_ALLOWED/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
-<file name="log/test1400.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1400");
+ curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
SSL_CERT_FILE=
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1401 --libcurl log/test1401.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c --basic -u fake:user -H "X-Files: Mulder" -H "X-Men: cyclops, iceman" -A MyUA -b chocolate=chip --proto "=http,ftp,file"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1401 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic ZmFrZTp1c2Vy\r
User-Agent: MyUA\r
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
-<file name="log/test1401.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1401");
+ curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_USERPWD, "fake:user");
curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, (long)CURLAUTH_BASIC);
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, slist1);
SSL_CERT_FILE=
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1402 --libcurl log/test1402.c -d "foo=bar" -d "baz=quux"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c -d "foo=bar" -d "baz=quux"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /we/want/1402 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
-<file name="log/test1402.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1402");
+ curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "foo=bar&baz=quux");
curl_easy_setopt(hnd, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)16);
curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
SSL_CERT_FILE=
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" -d "baz=quux"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c -G -d "foo=bar" -d "baz=quux"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1403?foo=bar&baz=quux HTTP/1.1\r
+GET /we/want/%TESTNUMBER?foo=bar&baz=quux HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
-<file name="log/test1403.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1403?foo=bar&baz=quux");
+ curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?foo=bar&baz=quux");
curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
SSL_CERT_FILE=
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1404 -F name=value -F 'file=@log/test1404.txt,log/test1404.txt;type=magic/content;encoder=8bit,log/test1404.txt;headers=X-testheader-1: header 1;headers=X-testheader-2: header 2' --libcurl log/test1404.c
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=value -F 'file=@log/test%TESTNUMBER.txt,log/test%TESTNUMBER.txt;type=magic/content;encoder=8bit,log/test%TESTNUMBER.txt;headers=X-testheader-1: header 1;headers=X-testheader-2: header 2' --libcurl log/test%TESTNUMBER.c
</command>
# We create this file before the command is invoked!
-<file name="log/test1404.txt">
+<file name="log/test%TESTNUMBER.txt">
dummy data
</file>
</client>
-----+\w+
</strip>
<protocol>
-POST /we/want/1404 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Disposition: form-data; name="file"\r
Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa\r
\r
-Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
dummy data
\r
------------------------------9ef8d6205763\r
-Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: magic/content\r
Content-Transfer-Encoding: 8bit\r
\r
dummy data
\r
------------------------------9ef8d6205763\r
-Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
X-testheader-1: header 1\r
X-testheader-2: header 2\r
# CURL_DOES_CONVERSION generates an extra comment.
$_ = '' if /\/\* "value" \*\//
</stripfile>
-<file name="log/test1404.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/1404");
+ curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
mime1 = curl_mime_init(hnd);
part1 = curl_mime_addpart(mime1);
curl_mime_data(part1, "value", CURL_ZERO_TERMINATED);
part1 = curl_mime_addpart(mime1);
mime2 = curl_mime_init(hnd);
part2 = curl_mime_addpart(mime2);
- curl_mime_filedata(part2, "log/test1404.txt");
+ curl_mime_filedata(part2, "log/test%TESTNUMBER.txt");
part2 = curl_mime_addpart(mime2);
- curl_mime_filedata(part2, "log/test1404.txt");
+ curl_mime_filedata(part2, "log/test%TESTNUMBER.txt");
curl_mime_encoder(part2, "8bit");
curl_mime_type(part2, "magic/content");
part2 = curl_mime_addpart(mime2);
- curl_mime_filedata(part2, "log/test1404.txt");
+ curl_mime_filedata(part2, "log/test%TESTNUMBER.txt");
curl_mime_headers(part2, slist1, 1);
slist1 = NULL;
curl_mime_subparts(part1, mime2);
SSL_CERT_FILE=
</setenv>
<command>
-ftp://%HOSTIP:%FTPPORT/1405 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test1405.c
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD" --libcurl log/test%TESTNUMBER.c
</command>
</client>
TYPE I\r
NOOP 2\r
FAIL HARD\r
-SIZE 1405\r
-RETR 1405\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
NOOP 3\r
QUIT\r
</protocol>
-<file name="log/test1405.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "ftp://%HOSTIP:%FTPPORT/1405");
+ curl_easy_setopt(hnd, CURLOPT_URL, "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_QUOTE, slist1);
curl_easy_setopt(hnd, CURLOPT_POSTQUOTE, slist2);
curl_easy_setopt(hnd, CURLOPT_PREQUOTE, slist3);
<setenv>
SSL_CERT_FILE=
</setenv>
-<file name="log/test1406.eml">
+<file name="log/test%TESTNUMBER.eml">
From: different\r
To: another\r
\r
body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test1406.eml --libcurl log/test1406.c
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test%TESTNUMBER.eml --libcurl log/test%TESTNUMBER.c
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 1406\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com> SIZE=38\r
RCPT TO:<recipient.one@example.com>\r
RCPT TO:<recipient.two@example.com>\r
body\r
.\r
</upload>
-<file name="log/test1406.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/1406");
+ curl_easy_setopt(hnd, CURLOPT_URL, "smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L);
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
# Server-side
<reply>
<servercmd>
-REPLY LIST +OK 1407 100\r\n.
+REPLY LIST +OK %TESTNUMBER 100\r\n.
</servercmd>
</reply>
SSL_CERT_FILE=
</setenv>
<command>
-pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret --libcurl log/test%TESTNUMBER.c
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-LIST 1407\r
+LIST %TESTNUMBER\r
QUIT\r
</protocol>
-<file name="log/test1407.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "pop3://%HOSTIP:%POP3PORT/1407");
+ curl_easy_setopt(hnd, CURLOPT_URL, "pop3://%HOSTIP:%POP3PORT/%TESTNUMBER");
curl_easy_setopt(hnd, CURLOPT_DIRLISTONLY, 1L);
curl_easy_setopt(hnd, CURLOPT_USERPWD, "user:secret");
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
HTTP receive cookies over IPV6
</name>
<command>
--c log/jar1408 -g http://%HOST6IP:%HTTP6PORT/path/14080001 http://%HOST6IP:%HTTP6PORT/path/14080002
+-c log/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /path/14080001 HTTP/1.1\r
+GET /path/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /path/14080002 HTTP/1.1\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Pass in string to -C
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/1409 -C wrong
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER -C wrong
</command>
</client>
FTP download info with -I
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/blalbla/141 -I
+ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -I
</command>
</client>
PASS ftp@example.com\r
PWD\r
CWD blalbla\r
-MDTM 141\r
+MDTM %TESTNUMBER\r
TYPE I\r
-SIZE 141\r
+SIZE %TESTNUMBER\r
REST 0\r
QUIT\r
</protocol>
Pass in negative number to --max-time
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/1410 --max-time -4
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --max-time -4
</command>
</client>
HTTP with zero size file PUT
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1411 -T log/empty1411
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/empty%TESTNUMBER
</command>
# create an empty file
-<file name="log/empty1411">
+<file name="log/empty%TESTNUMBER">
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /1411 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with --anyauth with two URLs (picking Digest)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1412 -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/14120001
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
-<file name="log/put1412">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1412 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1412 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/1412", response="0390dbe89e31adca0413d11f91f30e7f"\r
+Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%TESTNUMBER", response="0390dbe89e31adca0413d11f91f30e7f"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14120001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14120001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/14120001", response="0085df91870374c8bf4e94415e7fbf8e"\r
+Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%TESTNUMBER0001", response="0085df91870374c8bf4e94415e7fbf8e"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
<reply>
<data>
HTTP/1.1 302 OK swsclose\r
-Location: moo.html/14130002#fragmentpart\r
+Location: moo.html/%TESTNUMBER0002#fragmentpart\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose\r
-Location: moo.html/14130002#fragmentpart\r
+Location: moo.html/%TESTNUMBER0002#fragmentpart\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
HTTP redirect with fragment in new URL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/this/1413 -L
+http://%HOSTIP:%HTTPPORT/this/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/1413 HTTP/1.1\r
+GET /this/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /this/moo.html/14130002 HTTP/1.1\r
+GET /this/moo.html/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP PORT without SIZE or EPRT support
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1414 -P -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
</command>
</client>
EPRT |1|
PORT
TYPE I\r
-SIZE 1414\r
-RETR 1414\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
TZ=GMT
</setenv>
<command>
-http://example.com/we/want/1415 -b none -c log/jar1415.txt -x %HOSTIP:%HTTPPORT
+http://example.com/we/want/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.com/we/want/1415 HTTP/1.1\r
+GET http://example.com/we/want/%TESTNUMBER HTTP/1.1\r
Host: example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/jar1415.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP GET with chunked Transfer-Encoding overflowed chunked size
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1416
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1416 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with chunked encoding and chunked trailer without CRs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1417 -D log/heads1417
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1417 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/heads1417">
+<file name="log/heads%TESTNUMBER">
HTTP/1.1 200 funky chunky!\r
Server: fakeit/0.9 fakeitbad/1.0\r
Transfer-Encoding: chunked\r
HTTP with --anyauth and connection re-use
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1418 -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/14180003
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0003
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1418 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1418 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/1418", response="986238b7e0077754944c966f56d9bc77"\r
+Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/%TESTNUMBER", response="986238b7e0077754944c966f56d9bc77"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14180003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14180003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/14180003", response="1c6390a67bac3283a9b023402f3b3540"\r
+Authorization: Digest username="testuser", realm="loonie", nonce="314156592", uri="/%TESTNUMBER0003", response="1c6390a67bac3283a9b023402f3b3540"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with --anyauth (but no auth!) and connection re-use
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1419 --anyauth http://%HOSTIP:%HTTPPORT/14190003
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0003
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1419 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14190003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP URL with 150 dir levels
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/part1/part2/part3/part4/part5/part6/part7/part8/part9/part10/part11/part12/part13/part14/part15/part16/part17/part18/part19/part20/part21/part22/part23/part24/part25/part26/part27/part28/part29/part30/part31/part32/part33/part34/part35/part36/part37/part38/part39/part40/part41/part42/part43/part44/part45/part46/part47/part48/part49/part50/part51/part52/part53/part54/part55/part56/part57/part58/part59/part60/part61/part62/part63/part64/part65/part66/part67/part68/part69/part70/part71/part72/part73/part74/part75/part76/part77/part78/part79/part80/part81/part82/part83/part84/part85/part86/part87/part88/part89/part90/part91/part92/part93/part94/part95/part96/part97/part98/part99/part100/part101/part102/part103/part104/part105/part106/part107/part108/part109/part110/part111/part112/part113/part114/part115/part116/part117/part118/part119/part120/part121/part122/part123/part124/part125/part126/part127/part128/part129/part130/part131/part132/part133/part134/part135/part136/part137/part138/part139/part140/part141/part142/part143/part144/part145/part146/part147/part148/part149/part150/142
+ftp://%HOSTIP:%FTPPORT/part1/part2/part3/part4/part5/part6/part7/part8/part9/part10/part11/part12/part13/part14/part15/part16/part17/part18/part19/part20/part21/part22/part23/part24/part25/part26/part27/part28/part29/part30/part31/part32/part33/part34/part35/part36/part37/part38/part39/part40/part41/part42/part43/part44/part45/part46/part47/part48/part49/part50/part51/part52/part53/part54/part55/part56/part57/part58/part59/part60/part61/part62/part63/part64/part65/part66/part67/part68/part69/part70/part71/part72/part73/part74/part75/part76/part77/part78/part79/part80/part81/part82/part83/part84/part85/part86/part87/part88/part89/part90/part91/part92/part93/part94/part95/part96/part97/part98/part99/part100/part101/part102/part103/part104/part105/part106/part107/part108/part109/part110/part111/part112/part113/part114/part115/part116/part117/part118/part119/part120/part121/part122/part123/part124/part125/part126/part127/part128/part129/part130/part131/part132/part133/part134/part135/part136/part137/part138/part139/part140/part141/part142/part143/part144/part145/part146/part147/part148/part149/part150/%TESTNUMBER
</command>
</client>
CWD part150\r
EPSV\r
TYPE I\r
-SIZE 142\r
-RETR 142\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
SSL_CERT_FILE=
</setenv>
<command>
-'imap://%HOSTIP:%IMAPPORT/1420/;MAILINDEX=1' -u user:secret --libcurl log/test1420.c
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --libcurl log/test%TESTNUMBER.c
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 1420\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
-<file name="log/test1420.c" mode="text">
+<file name="log/test%TESTNUMBER.c" mode="text">
/********* Sample code generated by the curl command line tool **********
* All curl_easy_setopt() options are documented at:
* https://curl.se/libcurl/c/curl_easy_setopt.html
hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
- curl_easy_setopt(hnd, CURLOPT_URL, "imap://%HOSTIP:%IMAPPORT/1420/;MAILINDEX=1");
+ curl_easy_setopt(hnd, CURLOPT_URL, "imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1");
curl_easy_setopt(hnd, CURLOPT_USERPWD, "user:secret");
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
Re-using HTTP proxy connection for two different host names
</name>
<command>
---proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1421:8990/ http://different.remote.haxx.se.1421:8990
+--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:8990/ http://different.remote.haxx.se.%TESTNUMBER:8990
</command>
<features>
proxy
-foo-
</stdout>
<protocol>
-GET http://test.remote.haxx.se.1421:8990/ HTTP/1.1\r
-Host: test.remote.haxx.se.1421:8990\r
+GET http://test.remote.haxx.se.%TESTNUMBER:8990/ HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://different.remote.haxx.se.1421:8990/ HTTP/1.1\r
-Host: different.remote.haxx.se.1421:8990\r
+GET http://different.remote.haxx.se.%TESTNUMBER:8990/ HTTP/1.1\r
+Host: different.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
Connection: close\r
Content-Type: text/html\r
-Content-Disposition: filename=name1422; charset=funny; option=str//nge\r
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=str//nge\r
\r
</data>
</reply>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1422 -J -O file://%PWD/log/name1422
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O file://%PWD/log/name%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1422 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/name1422">
+<file1 name="log/name%TESTNUMBER">
</file1>
</verify>
HTTP GET -o fname without Content-Disposition (empty file)
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1423 -o log/outfile1423 file://%PWD/log/outfile1423
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER file://%PWD/log/outfile%TESTNUMBER
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1423
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1423 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1423">
+<file1 name="log/outfile%TESTNUMBER">
</file1>
</verify>
<name>
HTTP GET -o fname without Content-Disposition (unmet time condition)
</name>
-<file name="log/outfile1424">
+<file name="log/outfile%TESTNUMBER">
original contents
</file>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1424 -z "dec 12 11:00:00 1999 GMT" -o log/outfile1424
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 11:00:00 1999 GMT" -o log/outfile%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1424 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1424">
+<file1 name="log/outfile%TESTNUMBER">
original contents
</file1>
too large -m timeout value
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/1427 -m 184467440737095510
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER -m 184467440737095510
</command>
</client>
HTTP over proxy-tunnel with --proxy-header and --header
</name>
<command>
-http://test.1428:%HTTPPORT/we/want/that/page/1428 -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self' --header "header-type: server" --proxy-header "header-type: proxy"
+http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self' --header "header-type: server" --proxy-header "header-type: proxy"
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.1428:%HTTPPORT HTTP/1.1\r
-Host: test.1428:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
header-type: proxy\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1428 HTTP/1.1\r
-Host: test.1428:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic aWFtOm15OjtzZWxm\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with 4-digit response code
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1429 --write-out '%{response_code}' --http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{response_code}' --http0.9
</command>
</client>
234
</stdout>
<protocol>
-GET /1429 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP URL with type=a
</name>
<command>
-"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/143;type=a"
+"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/%TESTNUMBER;type=a"
</command>
</client>
CWD moo\r
EPSV\r
TYPE A\r
-RETR 143\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with negative response code
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1430
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1430 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with single-digit response code
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1431
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1431 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with 100-digit response code and survive
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1432
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1432 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with 100-digit subversion number in response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1433
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1433 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET resume at exactly the existing file size is fine
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1434 -C 100
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 100
</command>
-<file name="log/curl1434.out">
+<file name="log/curl%TESTNUMBER.out">
012345678
012345678
012345678
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1434 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=100-\r
User-Agent: curl/%VERSION\r
simple HTTP GET over Unix socket
</name>
<command>
---unix-socket %HTTPUNIXPATH http://server-interpreted.example.com/1435
+--unix-socket %HTTPUNIXPATH http://server-interpreted.example.com/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1435 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: server-interpreted.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP requests with multiple connections over Unix socket
</name>
<command>
---unix-socket %HTTPUNIXPATH http://one.example.com/14360001 http://two.example.com/14360002 http://one.example.com/14360003
+--unix-socket %HTTPUNIXPATH http://one.example.com/%TESTNUMBER0001 http://two.example.com/%TESTNUMBER0002 http://one.example.com/%TESTNUMBER0003
</command>
</client>
<verify>
<protocol>
-GET /14360001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: one.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14360002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: two.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14360003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: one.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with duplicated WWW-Authenticate parameters
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1437 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1437 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1437 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/1437", response="4376eb639bf8e7343a6e7b56e1b89c4f", algorithm=MD5\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/%TESTNUMBER", response="4376eb639bf8e7343a6e7b56e1b89c4f", algorithm=MD5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
Check if %{scheme} returns HTTP
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1438 --write-out '%{scheme}'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{scheme}'
</command>
</client>
HTTP
</stdout>
<protocol>
-GET /1438 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Check if %{http_version} returns 1.1
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1439 --write-out '%{http_version}'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{http_version}'
</command>
</client>
1.1
</stdout>
<protocol>
-GET /1439 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1443 -O --remote-time
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --remote-time
</command>
# Verify the mtime of the file. The mtime is specifically chosen to be an even
# number so that it can be represented exactly on a FAT filesystem.
<postcheck>
-perl -e 'exit((stat("log/1443"))[9] != 960898200)'
+perl -e 'exit((stat("log/%TESTNUMBER"))[9] != 960898200)'
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1443 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/1443">
+<file name="log/%TESTNUMBER">
12345
</file>
</verify>
FTP with --remote-time
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1444 --remote-time
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --remote-time
</command>
# Verify the mtime of the file. The mtime is specifically chosen to be an even
# number so that it can be represented exactly on a FAT filesystem.
<postcheck>
-perl -e 'exit((stat("log/curl1444.out"))[9] != 1234567890)'
+perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 1234567890)'
</postcheck>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-MDTM 1444\r
+MDTM %TESTNUMBER\r
EPSV\r
TYPE I\r
-SIZE 1444\r
-RETR 1444\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
file
</server>
<precheck>
-perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test1445.dir
+perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
file:// with --remote-time
</name>
<command>
-file://localhost%FILE_PWD/log/test1445.dir/plainfile.txt --remote-time
+file://localhost%FILE_PWD/log/test%TESTNUMBER.dir/plainfile.txt --remote-time
</command>
<postcheck>
-perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1445.dir && \
-perl -e 'exit((stat("log/curl1445.out"))[9] != 946728000)'
+perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir && \
+perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 946728000)'
</postcheck>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test1446.dir
+perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP with --remote-time
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test1446.dir/rofile.txt --insecure --remote-time
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/rofile.txt --insecure --remote-time
</command>
<postcheck>
-perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test1446.dir && \
-perl -e 'exit((stat("log/curl1446.out"))[9] != 978264000)'
+perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir && \
+perl -e 'exit((stat("log/curl%TESTNUMBER.out"))[9] != 978264000)'
</postcheck>
</client>
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: http://åäö.se:%HTTPPORT/14480001
+Location: http://åäö.se:%HTTPPORT/%TESTNUMBER0001
redirect
</data>
</name>
<command>
-http://åäö.se:%HTTPPORT/1448 --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -L --connect-to %HOSTIP:%HTTPPORT:%HOSTIP:%HTTPPORT
+http://åäö.se:%HTTPPORT/%TESTNUMBER --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -L --connect-to %HOSTIP:%HTTPPORT:%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1448 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: xn--4cab6c.se:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /14480001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: xn--4cab6c.se:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: http://åäö.se:%HTTPPORT/14480001
+Location: http://åäö.se:%HTTPPORT/%TESTNUMBER0001
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
FTP download range with integer overflow
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1449 -r 36893488147419103232-
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -r 36893488147419103232-
</command>
</client>
Basic SMB request
</name>
<command>
--u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451
+-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER
</command>
<precheck>
python -c "__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test only works if Python package impacket is installed\n'), __import__('sys').exit(1))"
Basic TELNET negotiation
</name>
<stdin>
-test1452
+test%TESTNUMBER
</stdin>
<command>
telnet://%HOSTIP:%TELNETPORT --upload-file -
# Verify data after the test has been "shot"
<verify>
<stdout nonewline="yes">
-test1452
+test%TESTNUMBER
</stdout>
</verify>
</testcase>
#
# Server-side
-<reply name="1455">
+<reply name="%TESTNUMBER">
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
HTTP GET when PROXY Protocol enabled
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol -H "Testno: 1455"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --haproxy-protocol -H "Testno: %TESTNUMBER"
</command>
<features>
proxy
</strippart>
<protocol>
proxy-line\r
-GET /1455 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 1455\r
+Testno: %TESTNUMBER\r
\r
</protocol>
</verify>
HTTP-IPv6 GET with PROXY protocol
</name>
<command>
--g "http://%HOST6IP:%HTTP6PORT/1456" --haproxy-protocol
+-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --haproxy-protocol
</command>
<features>
proxy
</strippart>
<protocol>
PROXY TCP6 ::1 ::1 %HTTP6PORT\r
-GET /1456 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Check if %{stderr} and %{stdout} switch between stdout and stderr.
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1457 --silent --write-out 'line1%{stderr}line2%{stdout}line3'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --silent --write-out 'line1%{stderr}line2%{stdout}line3'
</command>
</client>
line2
</stderr>
<protocol>
-GET /1457 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with wildcard --resolve
</name>
<command>
---resolve *:%HTTPPORT:%HOSTIP http://example.com:%HTTPPORT/1458
+--resolve *:%HTTPPORT:%HOSTIP http://example.com:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1458 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
sftp
</server>
<precheck>
-mkdir -p %PWD/log/test1459.dir/.ssh
+mkdir -p %PWD/log/test%TESTNUMBER.dir/.ssh
</precheck>
<features>
sftp
<command>
-u : sftp://%HOSTIP:%SSHPORT/ -l
</command>
-<file name="log/test1459.dir/.ssh/known_hosts">
+<file name="log/test%TESTNUMBER.dir/.ssh/known_hosts">
|1|qy29Y1x/+/F39AzdG5515YSSw+c=|iB2WX5jrU3ZTWc+ZfGau7HHEvBc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAynDN8cDJ3xNzRjTNNGciSHSxpubxhZ6YnkLdp1TkrGW8n\
R93Ey5VtBeBblYTRlFXBWJgKFcTKBRJ/O4qBZwbUgt10AHj31i6h8NehfT19tR8wG/YCmj3KtYLHmwdzmW1edEL9G2NdX2KiKYv7/zuly3QvmP0QA0NhWkAz0KdWNM=
</file>
<setenv>
-CURL_HOME=%PWD/log/test1459.dir
+CURL_HOME=%PWD/log/test%TESTNUMBER.dir
</setenv>
</client>
persistent FTP with different paths
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146
+ftp://%HOSTIP:%FTPPORT/first/dir/here/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
CWD here\r
EPSV\r
TYPE I\r
-SIZE 146\r
-RETR 146\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
CWD /\r
EPSV\r
-SIZE 146\r
-RETR 146\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
12345
fooo
54 3 2 1
-Content-Disposition: filename=name1460; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
</data>
</reply>
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1460 -Ji -O
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Ji -O
</command>
-<file name="log/name1460">
+<file name="log/name%TESTNUMBER">
initial content
</file>
</client>
<errorcode>
2
</errorcode>
-<file name="log/name1460">
+<file name="log/name%TESTNUMBER">
initial content
</file>
FTP with --ftp-create-dirs (failing CWD)
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
+ftp://%HOSTIP:%FTPPORT/first/dir/here/%TESTNUMBER --ftp-create-dirs
</command>
</client>
CWD here\r
EPSV\r
TYPE I\r
-SIZE 147\r
-RETR 147\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP with --ftp-create-dirs (failing MKD)
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
+ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/%TESTNUMBER --ftp-create-dirs
</command>
</client>
FTP with multiple uploads
</name>
<command>
--T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149
+-T log/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir1/%TESTNUMBER -T log/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir2/%TESTNUMBER
</command>
-<file name="log/upload149">
+<file name="log/upload%TESTNUMBER">
send away this contents
</file>
</client>
CWD dir1\r
EPSV\r
TYPE I\r
-STOR 149\r
+STOR %TESTNUMBER\r
CWD /\r
CWD dir2\r
EPSV\r
-STOR 149\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
-<file name="log/upload149">
+<file name="log/upload%TESTNUMBER">
send away this contents
</file>
</verify>
--write-out test
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/15 --write-out "%{url_effective} %{http_code} %{size_download}\n"
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER --write-out "%{url_effective} %{http_code} %{size_download}\n"
</command>
</client>
Content-Length: 26\r
\r
Repeated nonsense-headers
-http://%HOSTIP:%HTTPPORT/want/15 200 26
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER 200 26
</stdout>
<protocol>
-GET /want/15 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/150 -u testuser:testpass --ntlm --fail
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm --fail
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /150 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /150 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib1500
+lib%TESTNUMBER
</tool>
<name>
curl_multi_wait
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1500
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
</testcase>
ftp
</server>
<tool>
-lib1501
+lib%TESTNUMBER
</tool>
<name>
FTP with multi interface and slow LIST response
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/1501/
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/
</command>
</client>
# Verify data after the test has been "shot"
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-CWD 1501\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
http
</server>
<tool>
-lib1502
+lib%TESTNUMBER
</tool>
<name>
HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA
</name>
<command>
-http://google.com:%HTTPPORT/1502 %HTTPPORT %HOSTIP
+http://google.com:%HTTPPORT/%TESTNUMBER %HTTPPORT %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1502 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: google.com:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1503
+lib%TESTNUMBER
</tool>
<name>
HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA
</name>
<command>
-http://google.com:%HTTPPORT/1503 %HTTPPORT %HOSTIP
+http://google.com:%HTTPPORT/%TESTNUMBER %HTTPPORT %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1503 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: google.com:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1504
+lib%TESTNUMBER
</tool>
<name>
HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB
</name>
<command>
-http://google.com:%HTTPPORT/1504 %HTTPPORT %HOSTIP
+http://google.com:%HTTPPORT/%TESTNUMBER %HTTPPORT %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1504 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: google.com:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1505
+lib%TESTNUMBER
</tool>
<name>
HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB
</name>
<command>
-http://google.com:%HTTPPORT/1505 %HTTPPORT %HOSTIP
+http://google.com:%HTTPPORT/%TESTNUMBER %HTTPPORT %HOSTIP
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1505 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: google.com:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1506
+lib%TESTNUMBER
</tool>
<name>
HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/path/1506 %HOSTIP %HTTPPORT
+http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /path/15060001 HTTP/1.1\r
+GET /path/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15060002 HTTP/1.1\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15060003 HTTP/1.1\r
+GET /path/%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15060004 HTTP/1.1\r
+GET /path/%TESTNUMBER0004 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
<strip>
^Host:.*
</strip>
-<file name="log/stderr1506" mode="text">
+<file name="log/stderr%TESTNUMBER" mode="text">
* Connection #0 to host server1.example.com left intact
* Connection #1 to host server2.example.com left intact
* Connection #2 to host server3.example.com left intact
smtp
</server>
<tool>
-lib1507
+lib%TESTNUMBER
</tool>
# based on bug report #1184
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/1507
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 1507\r
-MAIL FROM:<1507-realuser@example.com>\r
-RCPT TO:<1507-recipient@example.com>\r
+EHLO %TESTNUMBER\r
+MAIL FROM:<%TESTNUMBER-realuser@example.com>\r
+RCPT TO:<%TESTNUMBER-recipient@example.com>\r
DATA\r
</protocol>
<upload>
none
</server>
<tool>
-lib1508
+lib%TESTNUMBER
</tool>
<name>
Close a multi handle without using it
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/path/1508
+http://%HOSTIP:%NOLISTENPORT/path/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
-<file name="log/stdout1508">
+<file name="log/stdout%TESTNUMBER">
We are done
</file>
</verify>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1509
+lib%TESTNUMBER
</tool>
<features>
proxy
simple multi http:// through proxytunnel with authentication info
</name>
<command>
-http://the.old.moo.1509:%HTTPPORT/1509 %HOSTIP:%PROXYPORT
+http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
-<file name="log/test1509.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT the.old.moo.1509:%HTTPPORT HTTP/1.1\r
-Host: the.old.moo.1509:%HTTPPORT\r
+CONNECT the.old.moo.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /1509 HTTP/1.1\r
-Host: the.old.moo.1509:%HTTPPORT\r
+GET /%TESTNUMBER HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Accept: */*\r
\r
[DISCONNECT]
HTTP GET with an error code that might trick authentication
</name>
<command>
-http://%HOSTIP:%HTTPPORT/151
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /151 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
http
</server>
<tool>
-lib1510
+lib%TESTNUMBER
</tool>
<name>
HTTP GET connection cache limit (CURLOPT_MAXCONNECTS)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/path/1510 %HOSTIP %HTTPPORT
+http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /path/15100001 HTTP/1.1\r
+GET /path/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15100002 HTTP/1.1\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15100003 HTTP/1.1\r
+GET /path/%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15100004 HTTP/1.1\r
+GET /path/%TESTNUMBER0004 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
<strip>
^Host:.*
</strip>
-<file name="log/stderr1510" mode="text">
+<file name="log/stderr%TESTNUMBER" mode="text">
* Connection #0 to host server1.example.com left intact
* Connection #1 to host server2.example.com left intact
* Connection #2 to host server3.example.com left intact
http
</features>
<tool>
-lib1511
+lib%TESTNUMBER
</tool>
<name>
HTTP GET time conditions in repeated requests
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1511
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib1512
+lib%TESTNUMBER
</tool>
<name>
GLOBAL CACHE test over two easy performs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/path/1512 %HOSTIP %HTTPPORT
+http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /path/15120001 HTTP/1.1\r
+GET /path/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/15120002 HTTP/1.1\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1513
+lib%TESTNUMBER
</tool>
<name>
return failure immediately from progress callback
# this server/host won't be used for real
<command>
-http://%HOSTIP:%HTTPPORT/1513
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib1514
+lib%TESTNUMBER
</tool>
<name>
HTTP POST with read callback and unknown data size
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1514
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Content-Length header is not present
# Transfer-Encoding header is added automatically
<protocol>
-POST /1514 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
http
</server>
<tool>
-lib1515
+lib%TESTNUMBER
</tool>
<name>
caching of manual libcurl DNS entries after DNS cache timeout
</name>
<command>
-path/1515 %HOSTIP %HTTPPORT
+path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
caching of manual libcurl DNS entries after dead connection
</name>
<command>
-/path/1516 %HOSTIP %HTTPPORT
+/path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1517
+lib%TESTNUMBER
</tool>
<name>
HTTP POST, server responds before completed send
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1517
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/^(this is what we post to the silly web server)(\r)?\n//
</strippart>
<protocol>
-POST /1517 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 45\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1518
+lib%TESTNUMBER
</tool>
<name>
Extract Location: with broken URL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1518
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
res: 0
status: 302
redirects: 0
-effectiveurl: http://%HOSTIP:%HTTPPORT/1518
+effectiveurl: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl: http://1.2 .4.5/test
</stdout>
<errorcode>
Extract Location: with broken absolute URL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1519
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
res: 0
status: 302
redirects: 0
-effectiveurl: http://%HOSTIP:%HTTPPORT/1519
+effectiveurl: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl: http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test
</stdout>
<errorcode>
HTTP GET with an error code that might trick authentication and --fail
</name>
<command>
-http://%HOSTIP:%HTTPPORT/152 --fail
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /152 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
smtp
</server>
<tool>
-lib1520
+lib%TESTNUMBER
</tool>
<name>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/1520
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 1520\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
none
</server>
<tool>
-lib1521
+lib%TESTNUMBER
</tool>
<name>
http
</server>
<tool>
-lib1522
+lib%TESTNUMBER
</tool>
<name>
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1522
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib1523
+lib%TESTNUMBER
</tool>
<name>
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1523
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<killserver>
http
<reply>
<data>
HTTP/1.1 303 OK swsclose
-Location: moo.html&testcase=/15240002
+Location: moo.html&testcase=/%TESTNUMBER0002
Connection: close
</data>
</data2>
<datacheck>
HTTP/1.1 303 OK swsclose
-Location: moo.html&testcase=/15240002
+Location: moo.html&testcase=/%TESTNUMBER0002
Connection: close
HTTP/1.1 200 OK swsclose
HTTP PUT with 303 redirect
</name>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1524 -L -T log/upload1524.txt
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -T log/upload%TESTNUMBER.txt
</command>
-<file name="log/upload1524.txt">
+<file name="log/upload%TESTNUMBER.txt">
moo
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-PUT /blah/1524 HTTP/1.1\r
+PUT /blah/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Expect: 100-continue\r
\r
moo
-GET /blah/moo.html&testcase=/15240002 HTTP/1.1\r
+GET /blah/moo.html&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
http-proxy
</server>
<tool>
-lib1525
+lib%TESTNUMBER
</tool>
<name>
CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED
</name>
<command>
- http://the.old.moo.1525:%HTTPPORT/1525 %HOSTIP:%PROXYPORT
+ http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT the.old.moo.1525:%HTTPPORT HTTP/1.1\r
-Host: the.old.moo.1525:%HTTPPORT\r
+CONNECT the.old.moo.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
User-Agent: Http Agent\r
\r
</proxy>
<protocol>
-PUT /1525 HTTP/1.1\r
-Host: the.old.moo.1525:%HTTPPORT\r
+PUT /%TESTNUMBER HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Accept: */*\r
User-Agent: Http Agent\r
Content-Length: 13\r
http-proxy
</server>
<tool>
-lib1526
+lib%TESTNUMBER
</tool>
<name>
CURLOPT_PROXYHEADER: separate host/proxy headers
</name>
<command>
- http://the.old.moo.1526:%HTTPPORT/1526 %HOSTIP:%PROXYPORT
+ http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT the.old.moo.1526:%HTTPPORT HTTP/1.1\r
-Host: the.old.moo.1526:%HTTPPORT\r
+CONNECT the.old.moo.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
User-Agent: Proxy Agent\r
\r
</proxy>
<protocol>
-PUT /1526 HTTP/1.1\r
-Host: the.old.moo.1526:%HTTPPORT\r
+PUT /%TESTNUMBER HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Accept: */*\r
User-Agent: Http Agent\r
Content-Length: 13\r
http-proxy
</server>
<tool>
-lib1527
+lib%TESTNUMBER
</tool>
<name>
Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
</name>
<command>
- http://the.old.moo.1527:%HTTPPORT/1527 %HOSTIP:%PROXYPORT
+ http://the.old.moo.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT the.old.moo.1527:%HTTPPORT HTTP/1.1\r
-Host: the.old.moo.1527:%HTTPPORT\r
+CONNECT the.old.moo.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
User-Agent: Http Agent\r
Expect: 100-continue\r
\r
</proxy>
<protocol>
-PUT /1527 HTTP/1.1\r
-Host: the.old.moo.1527:%HTTPPORT\r
+PUT /%TESTNUMBER HTTP/1.1\r
+Host: the.old.moo.%TESTNUMBER:%HTTPPORT\r
Accept: */*\r
User-Agent: Http Agent\r
Expect: 100-continue\r
http-proxy
</server>
<tool>
-lib1528
+lib%TESTNUMBER
</tool>
<name>
Separately specified proxy/server headers sent in a proxy GET
</name>
<command>
- http://the.old.moo:%HTTPPORT/1528 %HOSTIP:%PROXYPORT
+ http://the.old.moo:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-GET http://the.old.moo:%HTTPPORT/1528 HTTP/1.1\r
+GET http://the.old.moo:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: the.old.moo:%HTTPPORT\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
http-proxy
</server>
<tool>
-lib1529
+lib%TESTNUMBER
</tool>
<name>
HTTP request-injection in URL sent over proxy
</name>
<command>
- "http://the.old.moo:%HTTPPORT/1529" %HOSTIP:%PROXYPORT
+ "http://the.old.moo:%HTTPPORT/%TESTNUMBER" %HOSTIP:%PROXYPORT
</command>
<features>
proxy
HTTP with Digest authorization with stale=true
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/1530002
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
</command>
</client>
^Authorization.*cnonce
</strip>
<protocol>
-GET /1530001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1530001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530001", response="f4f83139396995bac665f24a1f1055c7"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER0001", response="f4f83139396995bac665f24a1f1055c7"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1530002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1530002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530002", response="f84511b014fdd0ba6494f42871079c32"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER0002", response="f84511b014fdd0ba6494f42871079c32"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1530002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm=MD5\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/%TESTNUMBER0002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm=MD5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
http
</features>
<tool>
-lib1530
+lib%TESTNUMBER
</tool>
<name>
CURLOPT_OPENSOCKETFUNCTION returns bad socket
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1532
+lib%TESTNUMBER
</tool>
<name>
Test CURLINFO_RESPONSE_CODE
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1532
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1532 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib1533
+lib%TESTNUMBER
</tool>
<name>
HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1533
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
120
</errorcode>
<protocol nonewline="yes">
-POST /1533 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /1533 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /1533 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-aaaPOST /1533 HTTP/1.1\r
+aaaPOST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 3\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1534
+lib%TESTNUMBER
</tool>
<name>
CURLINFO_FILETIME init and reset
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1534
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1534 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1535
+lib%TESTNUMBER
</tool>
<name>
Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1535
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1535 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1536
+lib%TESTNUMBER
</tool>
<name>
Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1536
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1536 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
none
</server>
<tool>
-lib1537
+lib%TESTNUMBER
</tool>
<name>
none
</server>
<tool>
-lib1538
+lib%TESTNUMBER
</tool>
<name>
http
</server>
<tool>
-lib1539
+lib%TESTNUMBER
</tool>
<name>
HTTP 1.0 POST with read callback and unknown data size
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1539
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
HTTP PUT with --anyauth authorization (picking Digest)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/154 -T log/put154 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
-<file name="log/put154">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /154 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
Expect: 100-continue\r
\r
-PUT /154 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"\r
+Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/%TESTNUMBER", response="b71551e12d1c456e47d8388ecb2edeca"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
http
</server>
<tool>
-lib1540
+lib%TESTNUMBER
</tool>
<name>
chunked with trailers and pausing the receive
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1540
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1540 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/155 -T log/put155 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
<precheck>
chkhostname curlhost
</precheck>
-<file name="log/put155">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /155 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
Expect: 100-continue\r
\r
-PUT /155 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
\r
-PUT /155 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1550
+lib%TESTNUMBER
</tool>
<name>
verify setting pipeling blocklisting options
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/1550
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
</command>
</client>
</testcase>
HTTP/1.1 302 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
-Location: /15510002
+Location: /%TESTNUMBER0002
-foo-
</data>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1551
+lib%TESTNUMBER
</tool>
<name>
re-run redirected transfer without setting URL again
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1551
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1551 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /15510002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /1551 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /15510002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</name>
# tool is what to use instead of 'curl'
<tool>
-lib1552
+lib%TESTNUMBER
</tool>
<command>
-'imap://%HOSTIP:%IMAPPORT/1552/;MAILINDEX=1'
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
</name>
# tool is what to use instead of 'curl'
<tool>
-lib1553
+lib%TESTNUMBER
</tool>
# this MUST use a host name that doesn't resolve
<command>
-imap://non-existing-host.haxx.se:%IMAPPORT/1553
+imap://non-existing-host.haxx.se:%IMAPPORT/%TESTNUMBER
</command>
</client>
HTTP with shared connection cache
</name>
<tool>
-lib1554
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1554
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib1555
+lib%TESTNUMBER
</tool>
<name>
verify api is protected against calls from callbacks
# this server/host won't be used for real
<command>
-http://%HOSTIP:%HTTPPORT/1555
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib1556
+lib%TESTNUMBER
</tool>
<name>
send long HTTP headers to header callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1556
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1556 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
none
</server>
<tool>
-lib1557
+lib%TESTNUMBER
</tool>
<name>
file
</features>
<tool>
-lib1558
+lib%TESTNUMBER
</tool>
<name>
CURLINFO_PROTOCOL for file:// transfer
</name>
<command>
-file://%FILE_PWD/log/data1558
+file://%FILE_PWD/log/data%TESTNUMBER
</command>
-<file name="log/data1558">
+<file name="log/data%TESTNUMBER">
hello
</file>
</client>
http
</features>
<tool>
-lib1559
+lib%TESTNUMBER
</tool>
<name>
HTTP PUT with --anyauth (when the server requires none)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/156 -T log/put156 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --anyauth
</command>
-<file name="log/put156">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /156 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
URL API
</name>
<tool>
-lib1560
+lib%TESTNUMBER
</tool>
</client>
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
-Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
+Set-Cookie: super=secret; domain=example.com; path=/%TESTNUMBER; secure;
+Set-Cookie: supersuper=secret; domain=example.com; path=/%TESTNUMBER/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
-Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
+Set-Cookie: super=secret; domain=example.com; path=/%TESTNUMBER; httponly;
+Set-Cookie: super=secret; domain=example.com; path=/%TESTNUMBER/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
-Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
-Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
-Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
+Set-Cookie: supersuper=secret; domain=example.com; path=/%TESTNUMBER/login/en;
+Set-Cookie: supersuper=secret; domain=example.com; path=/%TESTNUMBER/login;
+Set-Cookie: secureoverhttp=yes; domain=example.com; path=/%TESTNUMBER; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Cookies set over HTTP can't override secure ones
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/15610001 -L -c log/jar1561.txt -H "Host: www.example.com" http://%HOSTIP:%HTTPPORT/15610002 -L -c log/jar1561.txt -H "Host: www.example.com"
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 -L -c log/jar%TESTNUMBER.txt -H "Host: www.example.com" http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 -L -c log/jar%TESTNUMBER.txt -H "Host: www.example.com"
</command>
</client>
<verify>
<protocol>
-GET /15610001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /15610002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/jar1561.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
www.example.com FALSE / TRUE 0 __Host-SID 12346
.example.com TRUE / TRUE 0 supersupersuper secret
.example.com TRUE / TRUE 0 __Secure-SID 12346
-.example.com TRUE /1561/login/ TRUE 0 supersuper secret
+.example.com TRUE /%TESTNUMBER/login/ TRUE 0 supersuper secret
#HttpOnly_.example.com TRUE /15 FALSE 0 super secret
</file>
Expire secure cookies over HTTPS
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/15620001 -H "Host: www.example.com" https://%HOSTIP:%HTTPSPORT/15620002 -b "non-existing" https://%HOSTIP:%HTTPSPORT/15620001
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 -H "Host: www.example.com" https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002 -b "non-existing" https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001
</command>
</client>
<verify>
<protocol>
-GET /15620001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /15620002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: foo=123\r
\r
-GET /15620001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Make sure redirects to CURLPROTO_GOPHER are forbidden by default
</name>
<command>
-http://%HOSTIP:%HTTPPORT/15630001 -L -H "Host: www.example.com"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L -H "Host: www.example.com"
</command>
</client>
<verify>
1
</errorcode>
<protocol>
-GET /15630001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: www.example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
none
</server>
<tool>
-lib1564
+lib%TESTNUMBER
</tool>
<name>
wakeup before poll with no easy handles
http
</server>
<tool>
-lib1565
+lib%TESTNUMBER
</tool>
<name>
wakeup from another thread
--etag-compare that gets a 304 back shouldn't overwrite the file
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/1566 -o log/output1566 --etag-compare log/etag1566
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/output%TESTNUMBER --etag-compare log/etag%TESTNUMBER
</command>
-<file name="log/etag1566">
+<file name="log/etag%TESTNUMBER">
"123456"
</file>
-<file1 name="log/output1566">
+<file1 name="log/output%TESTNUMBER">
downloaded already
</file1>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1566 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</protocol>
# verify that the target file is untouched
-<file name="log/output1566">
+<file name="log/output%TESTNUMBER">
downloaded already
</file>
</verify>
<data>
HTTP/1.1 302 OK
Content-Length: 6
-Location: /15670002
+Location: /%TESTNUMBER0002
-foo-
</data>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib1567
+lib%TESTNUMBER
</tool>
<name>
re-run redirected transfer without setting CURLU URL again
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1567
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1567 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /15670002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /1567 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /15670002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
HTTP with Digest authorization on custom CURLOPT_PORT
</name>
<tool>
-lib1568
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP/1568 %HTTPPORT
+http://%HOSTIP/%TESTNUMBER %HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1568 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-User-Agent: lib1568\r
+User-Agent: lib%TESTNUMBER\r
Accept: */*\r
\r
-GET /1568 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1568", response="9cbbd857a37e45f2bcad5c7d088191df"\r
-User-Agent: lib1568\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="9cbbd857a37e45f2bcad5c7d088191df"\r
+User-Agent: lib%TESTNUMBER\r
Accept: */*\r
\r
</protocol>
FTP first type=A then regular URL
</name>
<tool>
-lib1569
+lib%TESTNUMBER
</tool>
<command>
-"ftp://%HOSTIP:%FTPPORT/1569;type=A" ftp://%HOSTIP:%FTPPORT/1569
+"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
EPSV\r
PASV\r
TYPE A\r
-RETR 1569\r
+RETR %TESTNUMBER\r
PASV\r
TYPE I\r
-SIZE 1569\r
-RETR 1569\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with --anyauth (when the server requires none)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/157 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /157 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
lib1569
</tool>
<command>
-"ftp://%HOSTIP:%FTPPORT/1570;type=D" ftp://%HOSTIP:%FTPPORT/1570
+"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=D" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
NLST\r
PASV\r
TYPE I\r
-SIZE 1570\r
-RETR 1570\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP multipart formpost with only a 100 reply
</name>
<command>
-http://%HOSTIP:%HTTPPORT/158 -F name=daniel
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -F name=daniel
</command>
</client>
^-----------------------.*
</strip>
<protocol>
-POST /158 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/159 -u testuser:testpass --ntlm -0
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -0
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /159 HTTP/1.0\r
+GET /%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
# it is important this uses a host name that resolves successfully
<command>
-imap://localhost:%IMAPPORT/1590
+imap://localhost:%IMAPPORT/%TESTNUMBER
</command>
</client>
HTTP PUT with trailers at the end
</name>
<tool>
-lib1591
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/bzz/1591
+http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER
</command>
<stdin>
more than one byte
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /bzz/1591 HTTP/1.1\r
+PUT /bzz/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
none
</server>
<tool>
-lib1592
+lib%TESTNUMBER
</tool>
<name>
HTTP request, remove handle while resolving, don't block
</name>
<command>
-http://a-site-never-accessed.example.org/1592
+http://a-site-never-accessed.example.org/%TESTNUMBER
</command>
</client>
HTTP custom header overrides CURLOPT_TIMECONDITION
</name>
<tool>
-lib1593
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1593
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
# Note here the lack of If-Modified-Since
<protocol>
-GET /1593 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
HTTP Retry-After header parsing and extraction
</name>
<tool>
-lib1594
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1594
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1594 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
lib1594
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1595
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1595 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
HTTP Retry-After header parsing using a date
</name>
<tool>
-lib1596
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1596
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /1596 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
HTTP with proxy authorization
</name>
<command>
- -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/16
+ -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com/16 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==\r
User-Agent: curl/%VERSION\r
HTTP with delayed close, conn reuse, connection reset and retry
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/160 http://%HOSTIP:%HTTPPORT/wantmore/1600001
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001
</command>
</client>
</stdout>
<protocol>
-GET /want/160 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /wantmore/1600001 HTTP/1.1\r
+GET /wantmore/%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP RETR PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/161
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 161\r
-RETR 161\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
</protocol>
# CURLE_PARTIAL_FILE = 18
<errorcode>
proxy
</features>
<command>
---request-target '*' -X OPTIONS --proxy http://%HOSTIP:%HTTPPORT/ -H "Testno: 1613" http://www.example.org/
+--request-target '*' -X OPTIONS --proxy http://%HOSTIP:%HTTPPORT/ -H "Testno: %TESTNUMBER" http://www.example.org/
</command>
</client>
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
-Testno: 1613\r
+Testno: %TESTNUMBER\r
\r
</protocol>
</verify>
HTTP GET asking for --proxy-ntlm when some other authentication is required
</name>
<command>
-http://%HOSTIP:%HTTPPORT/162 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --fail
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm --fail
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/162 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
HTTP multipart formpost with contents from a file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/163 -F "name=<log/field163" -F tool=curl
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<log/field%TESTNUMBER" -F tool=curl
</command>
# We create this file before the command is invoked!
-<file name="log/field163">
+<file name="log/field%TESTNUMBER">
contents
from
a
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/163 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS-proxy with Basic auth to HTTP without auth
</name>
<command>
- -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x https://%HOSTIP:%HTTPSPROXYPORT http://we.want.that.site.com/1630 --proxy-insecure
+ -U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x https://%HOSTIP:%HTTPSPROXYPORT http://we.want.that.site.com/%TESTNUMBER --proxy-insecure
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-GET http://we.want.that.site.com/1630 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZUB1c2VyOmxvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==\r
User-Agent: curl/%VERSION\r
FTP through HTTPS-proxy
</name>
<command>
--p -x https://%HOSTIP:%HTTPSPROXYPORT ftp://ftp.site.thru.https.proxy:%FTPPORT/1631 --proxy-insecure
+-p -x https://%HOSTIP:%HTTPSPROXYPORT ftp://ftp.site.thru.https.proxy:%FTPPORT/%TESTNUMBER --proxy-insecure
</command>
<features>
http
PWD\r
EPSV\r
TYPE I\r
-SIZE 1631\r
-RETR 1631\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# This is the FTP server response. The Life and Adventures of Robinson Crusoe
<data>
-I was born in the year 1632, in the city of York, of a good family, though not
+I was born in the year %TESTNUMBER, in the city of York, of a good family, though not
of that country, myfather being a foreigner of Bremen, who settled first at
Hull. He got a good estate by merchandise,and leaving off his trade, lived
afterwards at York, from whence he had married my mother, whoserelations were
FTP through HTTPS-proxy, with connection re-use
</name>
<command>
--p -x https://%HOSTIP:%HTTPSPROXYPORT ftp://ftp.site.thru.https.proxy:%FTPPORT/1632 --proxy-insecure ftp://ftp.site.thru.https.proxy:%FTPPORT/16320002
+-p -x https://%HOSTIP:%HTTPSPROXYPORT ftp://ftp.site.thru.https.proxy:%FTPPORT/%TESTNUMBER --proxy-insecure ftp://ftp.site.thru.https.proxy:%FTPPORT/%TESTNUMBER0002
</command>
<features>
http
PWD\r
EPSV\r
TYPE I\r
-SIZE 1632\r
-RETR 1632\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 16320002\r
-RETR 16320002\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
QUIT\r
</protocol>
</verify>
Accept-Ranges: bytes
Content-Length: 0
Connection: close
-Location: /16330002
+Location: /%TESTNUMBER0002
</data>
<data2>
Accept-Ranges: bytes
Content-Length: 0
Connection: close
-Location: /16330002
+Location: /%TESTNUMBER0002
HTTP/1.1 429 too many requests
Retry-After: 1
Accept-Ranges: bytes
Content-Length: 0
Connection: close
-Location: /16330002
+Location: /%TESTNUMBER0002
HTTP/1.1 429 too many requests
Retry-After: 1
--retry with a 429 response and Retry-After:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1633 -d moo --retry 1 -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -d moo --retry 1 -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /1633 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooGET /16330002 HTTP/1.1\r
+mooGET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-POST /1633 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 3\r
Content-Type: application/x-www-form-urlencoded\r
\r
-mooGET /16330002 HTTP/1.1\r
+mooGET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
--retry with a 429 response and Retry-After: and --fail
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1634 --retry 1 --fail
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1 --fail
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1634 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1634 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP range with multiple ranges
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/164 -r 0-10,12-15
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -r 0-10,12-15
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/164 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=0-10,12-15\r
User-Agent: curl/%VERSION\r
HTTP over proxy with IDN host name
</name>
<command>
-http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT http://www.große.de/page/165
+http://www.åäö.se/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT http://www.große.de/page/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://www.xn--4cab6c.se/page/165 HTTP/1.1\r
+GET http://www.xn--4cab6c.se/page/%TESTNUMBER HTTP/1.1\r
Host: www.xn--4cab6c.se\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://www.xn--groe-xna.de/page/165 HTTP/1.1\r
+GET http://www.xn--groe-xna.de/page/%TESTNUMBER HTTP/1.1\r
Host: www.xn--groe-xna.de\r
User-Agent: curl/%VERSION\r
Accept: */*\r
alt-svc
</name>
<command>
-log/1654
+log/%TESTNUMBER
</command>
-<file name="log/1654" mode="text">
+<file name="log/%TESTNUMBER" mode="text">
h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1
# a comment
h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1
</file>
</client>
<verify>
-<file name="log/1654-out" mode="text">
+<file name="log/%TESTNUMBER-out" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1
HTTP formpost a file with spaces in name
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/166 -F "name=@log/fie ld 166"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=@log/fie ld %TESTNUMBER"
</command>
# We create this file before the command is invoked!
-<file name="log/fie ld 166">
+<file name="log/fie ld %TESTNUMBER">
data inside the file
</file>
</client>
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/166 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Type: multipart/form-data; boundary=----------------------------b0b3d6d23991\r
\r
------------------------------b0b3d6d23991\r
-Content-Disposition: form-data; name="name"; filename="fie ld 166"\r
+Content-Disposition: form-data; name="name"; filename="fie ld %TESTNUMBER"\r
Content-Type: application/octet-stream\r
\r
data inside the file
HSTS
</features>
-<file name="log/input1660">
+<file name="log/input%TESTNUMBER">
# Your HSTS cache. https://curl.se/docs/hsts.html
# This file was generated by libcurl! Edit at your own risk.
.readfrom.example "20211001 04:47:41"
'expire.example' is not HSTS
'expire.example' is not HSTS
</stdout>
-<file name="log/hsts1660">
+<file name="log/hsts%TESTNUMBER">
# Your HSTS cache. https://curl.se/docs/hsts.html
# This file was generated by libcurl! Edit at your own risk.
.example.com "20191001 04:47:41"
HTTP with proxy-requiring-Basic to site-requiring-Digest
</name>
<command>
-http://data.from.server.requiring.digest.hohoho.com/167 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --digest --user digest:alot
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://data.from.server.requiring.digest.hohoho.com/167 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
Proxy-Authorization: Basic Zm9vOmJhcg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/167 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
Proxy-Authorization: Basic Zm9vOmJhcg==\r
-Authorization: Digest username="digest", realm="weirdorealm", nonce="12345", uri="/167", response="13c7c02a252cbe1c46d8669898a3be26"\r
+Authorization: Digest username="digest", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER", response="13c7c02a252cbe1c46d8669898a3be26"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
HTTP with proxy-requiring-Digest to site-requiring-Digest
</name>
<command>
-http://data.from.server.requiring.digest.hohoho.com/168 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-digest --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-digest --digest --user digest:alot
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
-Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976"\r
+Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER", response="fb8608e00ad9239a3dedb14bc8575976"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/168 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
-Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/168", response="fb8608e00ad9239a3dedb14bc8575976"\r
-Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/168", response="ca87f2d768a231e2d637a55698d5c416"\r
+Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER", response="fb8608e00ad9239a3dedb14bc8575976"\r
+Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/%TESTNUMBER", response="ca87f2d768a231e2d637a55698d5c416"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --digest --user digest:alot
+http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --digest --user digest:alot
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
-Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6"\r
+Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/%TESTNUMBER", response="95d48591985a03c4b49cb962aa7bd3e6"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
--max-time 180
</stdin>
<command>
--K - %HOSTIP:%HTTPPORT/that.site.com/17
+-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-MOOO /that.site.com/17 HTTP/1.1\r
+MOOO /that.site.com/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: agent007 license to drill \r
Accept: */*\r
HTTP POST with --proxy-ntlm and no SSL with no response
</name>
<command>
-http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
+http://a.galaxy.far.far.away/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST http://a.galaxy.far.far.away/170 HTTP/1.1\r
+POST http://a.galaxy.far.far.away/%TESTNUMBER HTTP/1.1\r
Host: a.galaxy.far.far.away\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
HTTP/2 GET with Upgrade:
</name>
<command>
-http://%HOSTIP:%HTTP2PORT/1700 --http2 http://%HOSTIP:%HTTP2PORT/17000001
+http://%HOSTIP:%HTTP2PORT/%TESTNUMBER --http2 http://%HOSTIP:%HTTP2PORT/%TESTNUMBER0001
</command>
</client>
^Via:.*
</strip>
<protocol>
-GET /1700 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTP2PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /17000001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTP2PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/2 POST with Upgrade:
</name>
<command>
-http://%HOSTIP:%HTTP2PORT/1701 --http2 -d "datatosend"
+http://%HOSTIP:%HTTP2PORT/%TESTNUMBER --http2 -d "datatosend"
</command>
</client>
^Via:.*
</strip>
<protocol nonewline="yes">
-POST /1701 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTP2PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/2 HEAD with Upgrade:
</name>
<command>
-http://%HOSTIP:%HTTP2PORT/1702 --http2 --head
+http://%HOSTIP:%HTTP2PORT/%TESTNUMBER --http2 --head
</command>
</client>
^Via:.*
</strip>
<protocol>
-HEAD /1702 HTTP/1.1\r
+HEAD /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTP2PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
basic file:// file with UTF-8 characters
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/%E3%83%86%E3%82%B9%E3%83%881703.txt
+file://localhost%FILE_PWD/log/%E3%83%86%E3%82%B9%E3%83%88%TESTNUMBER.txt
</command>
-<file name="log/テスト1703.txt">
+<file name="log/テスト%TESTNUMBER.txt">
foo
bar
bar
HTTP, get cookie with dot prefixed full domain
</name>
<command>
--c log/jar171 -x %HOSTIP:%HTTPPORT http://z.x.com/171
+-c log/jar%TESTNUMBER -x %HOSTIP:%HTTPPORT http://z.x.com/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://z.x.com/171 HTTP/1.1\r
+GET http://z.x.com/%TESTNUMBER HTTP/1.1\r
Host: z.x.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
</protocol>
-<file name="log/jar171" mode="text">
+<file name="log/jar%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP with cookies file and custom added cookie
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/jar%TESTNUMBER.txt -b "tool=curl; name=fool"
</command>
-<file name="log/jar172.txt">
+<file name="log/jar%TESTNUMBER.txt">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/172 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-formpost a file from stdin with "faked" filename
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null;type=text/x-null;format=x-curl"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F field1=contents1 -F "fileupload=@-;filename=/dev/null;type=text/x-null;format=x-curl"
</command>
<stdin>
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/173 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST --anyauth to server not requiring any auth at all
</name>
<command>
-http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /174 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST --digest to server not requiring any auth at all
</name>
<command>
-http://%HOSTIP:%HTTPPORT/175 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /175 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /175 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST --ntlm to server not requiring any auth at all
</name>
<command>
-http://%HOSTIP:%HTTPPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --ntlm -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /176 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /176 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<data>
HTTP/1.1 302 *MOVED* swsclose swsbounce\r
Server: Microsoft-IIS/6.0\r
-Location: /mooooo/177\r
+Location: /mooooo/%TESTNUMBER\r
Content-Type: text/html; charset=iso-8859-1\r
\r
</data>
HTTP POST --digest to server doing a 302-location response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/177 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /177 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP response with negative Content-Length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/178
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /178 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP using proxy and cookies with path checks
</name>
<command>
-http://supertrooper.fake/c/179 -b log/injar179 -x %HOSTIP:%HTTPPORT
+http://supertrooper.fake/c/%TESTNUMBER -b log/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT
</command>
-<file name="log/injar179">
+<file name="log/injar%TESTNUMBER">
supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed
supertrooper.fake FALSE /b FALSE 0 moo1 indeed
supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://supertrooper.fake/c/179 HTTP/1.1\r
+GET http://supertrooper.fake/c/%TESTNUMBER HTTP/1.1\r
Host: supertrooper.fake\r
User-Agent: curl/%VERSION\r
Accept: */*\r
multiple requests using {} in URL
</name>
<command>
-"%HOSTIP:%HTTPPORT/{18,180002,180003}"
+"%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0002,%TESTNUMBER0003}"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /18 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /180002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /180003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
<stdout>
---_curl_--%HOSTIP:%HTTPPORT/18
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 4\r
\r
moo
---_curl_--%HOSTIP:%HTTPPORT/180002
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0002
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 4\r
\r
foo
---_curl_--%HOSTIP:%HTTPPORT/180003
+--_curl_--%HOSTIP:%HTTPPORT/%TESTNUMBER0003
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 4\r
HTTP 1.0 PUT
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/180 -T log/test180.txt --http1.0
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt --http1.0
</command>
-<file name="log/test180.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /we/want/180 HTTP/1.0\r
+PUT /we/want/%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/2 upgrade refused
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1800 --http2
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http2
</command>
</client>
<verify>
<protocol>
-GET /1800 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/2 upgrade with lying server
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1801 --http2
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http2
</command>
</client>
<verify>
<protocol>
-GET /1801 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 1.0 POST
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/181 --data-binary @log/test181.txt --http1.0
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --data-binary @log/test%TESTNUMBER.txt --http1.0
</command>
-<file name="log/test181.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /we/want/181 HTTP/1.0\r
+POST /we/want/%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download an empty file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/182
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 182\r
-RETR 182\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET two URLs over a single proxy with persistent connection
</name>
<command>
-http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HTTPPORT
+http://deathstar.another.galaxy/%TESTNUMBER http://a.galaxy.far.far.away/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://deathstar.another.galaxy/183 HTTP/1.1\r
+GET http://deathstar.another.galaxy/%TESTNUMBER HTTP/1.1\r
Host: deathstar.another.galaxy\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://a.galaxy.far.far.away/183 HTTP/1.1\r
+GET http://a.galaxy.far.far.away/%TESTNUMBER HTTP/1.1\r
Host: a.galaxy.far.far.away\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 OK swsbounce\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 4\r
-Location: http://yet.another.host/184
+Location: http://yet.another.host/%TESTNUMBER
\r
moo
</data>
HTTP/1.1 301 OK swsbounce\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 4\r
-Location: http://yet.another.host/184
+Location: http://yet.another.host/%TESTNUMBER
\r
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
HTTP replace Host: when following Location: to new host
</name>
<command>
-http://deathstar.another.galaxy/184 -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
+http://deathstar.another.galaxy/%TESTNUMBER -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://deathstar.another.galaxy/184 HTTP/1.1\r
+GET http://deathstar.another.galaxy/%TESTNUMBER HTTP/1.1\r
Host: another.visitor.stay.a.while.stay.foreeeeeever\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://yet.another.host/184 HTTP/1.1\r
+GET http://yet.another.host/%TESTNUMBER HTTP/1.1\r
Host: yet.another.host\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 OK swsbounce\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 4\r
-Location: go/west/185\r
+Location: go/west/%TESTNUMBER\r
\r
moo
</data>
HTTP/1.1 301 OK swsbounce\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 4\r
-Location: go/west/185\r
+Location: go/west/%TESTNUMBER\r
\r
HTTP/1.1 200 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
HTTP replace Host: when following Location: on the same host
</name>
<command>
-http://deathstar.another.galaxy/185 -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
+http://deathstar.another.galaxy/%TESTNUMBER -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://deathstar.another.galaxy/185 HTTP/1.1\r
+GET http://deathstar.another.galaxy/%TESTNUMBER HTTP/1.1\r
Host: another.visitor.stay.a.while.stay.foreeeeeever\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://deathstar.another.galaxy/go/west/185 HTTP/1.1\r
+GET http://deathstar.another.galaxy/go/west/%TESTNUMBER HTTP/1.1\r
Host: another.visitor.stay.a.while.stay.foreeeeeever\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting with types on text fields
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/186 -F "name=daniel;type=moo/foo" -F "html= <body>hello</body>;type=text/html;charset=verymoo"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=daniel;type=moo/foo" -F "html= <body>hello</body>;type=text/html;charset=verymoo"
</command>
# We create this file before the command is invoked!
</client>
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/186 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: /root/1870002.txt?coolsite=yes
+Location: /root/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: /root/1870002.txt?coolsite=yes
+Location: /root/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP redirect with bad host name separation and slash in parameters
</name>
<command>
-http://%HOSTIP:%HTTPPORT?oh=what-weird=test/187 -L
+http://%HOSTIP:%HTTPPORT?oh=what-weird=test/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /?oh=what-weird=test/187 HTTP/1.1\r
+GET /?oh=what-weird=test/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /root/1870002.txt?coolsite=yes HTTP/1.1\r
+GET /root/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 301 OK swsbounce
-Location: /188
+Location: /%TESTNUMBER
Content-Length: 3
OK
<datacheck>
HTTP/1.1 301 OK swsbounce
-Location: /188
+Location: /%TESTNUMBER
Content-Length: 3
HTTP/1.1 200 OK
HTTP GET with resume and redirect
</name>
<command>
-http://%HOSTIP:%HTTPPORT/188 -C 50 -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 50 -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /188 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=50-\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /188 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=50-\r
User-Agent: curl/%VERSION\r
<reply>
<data>
HTTP/1.1 301 OK swsbounce
-Location: /189
+Location: /%TESTNUMBER
Content-Length: 3
OK
<datacheck>
HTTP/1.1 301 OK swsbounce
-Location: /189
+Location: /%TESTNUMBER
Content-Length: 3
HTTP/1.1 200 OK
HTTP GET with resume and redirect (to a page that doesn't resume)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/189 -C 50 -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 50 -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /189 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=50-\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /189 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=50-\r
User-Agent: curl/%VERSION\r
FTP download with strict timeout and slow CWD
</name>
<command timeout="1">
-ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
+ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER -m %FTPTIME2
</command>
</client>
HTTP CONNECT with 204 response
</name>
<command>
-http://test.1904:%HTTPPORT/we/want/that/page/1904 -p --proxy %HOSTIP:%PROXYPORT
+http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p --proxy %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.1904:%HTTPPORT HTTP/1.1\r
-Host: test.1904:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/1904 HTTP/1.1\r
-Host: test.1904:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object
</name>
<tool>
-lib1905
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/1905
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/1905 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</protocol>
-<file name="log/cookies1905" mode="text">
+<file name="log/cookies%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
CURLOPT_CURLU and CURLOPT_PORT
</name>
<tool>
-lib1906
+lib%TESTNUMBER
</tool>
# The tool does two requesets, the first sets CURLOPT_PORT to 1
# the second resets the port again and expects that request to work.
<command>
-http://%HOSTIP:%HTTPPORT/1906
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1906 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
CURLINFO_EFFECTIVE_URL with non-scheme URL
</name>
<tool>
-lib1907
+lib%TESTNUMBER
</tool>
<command>
-%HOSTIP:%HTTPPORT/hello/../1907
+%HOSTIP:%HTTPPORT/hello/../%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1907 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</protocol>
<stdout>
-Effective URL: http://%HOSTIP:%HTTPPORT/1907
+Effective URL: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</stdout>
</verify>
</testcase>
CURL_ALTSVC_HTTP="yeah"
</setenv>
<tool>
-lib1908
+lib%TESTNUMBER
</tool>
<command>
-%HOSTIP:%HTTPPORT/1908
+%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1908 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /1908 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
# matches
s/\"([^\"]*)\"/TIMESTAMP/
</stripfile>
-<file name="log/altsvc-1908" mode="text">
+<file name="log/altsvc-%TESTNUMBER" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h1 127.0.0.1 %HTTPPORT h2 3dbbdetxoyw4nsp6c3cc456oj2ays6s43ezxzsfxxri3h5xqd.example 443 TIMESTAMP 1 0
HTTP GET --retry-all-errors to overcome partial transfer
</name>
<command option="no-output,no-include">
---retry 1 --retry-all-errors -o log/outfile1909 http://%HOSTIP:%HTTPPORT/1909
+--retry 1 --retry-all-errors -o log/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1909 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /1909 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/outfile1909">
+<file1 name="log/outfile%TESTNUMBER">
data
</file1>
FTP URL with ?-letters in username and password
</name>
<command>
-"ftp://use%3fr:pass%3fword@%HOSTIP:%FTPPORT/191"
+"ftp://use%3fr:pass%3fword@%HOSTIP:%FTPPORT/%TESTNUMBER"
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 191\r
-RETR 191\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
-Location: /19100002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP credentials with newline and redirect
</name>
<tool>
-lib1910
+lib%TESTNUMBER
</tool>
<command>
-%HOSTIP:%HTTPPORT/1910
+%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /1910 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcgpuYW1lOnBhc3MKd29yZA==\r
Accept: */*\r
\r
-GET /19100002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcgpuYW1lOnBhc3MKd29yZA==\r
Accept: */*\r
verify that curl_easy_setopt() rejects too long string inputs
</name>
<tool>
-lib1911
+lib%TESTNUMBER
</tool>
</client>
Cross validate that gcc-typecheck macros match the option types.
</name>
<tool>
-lib1912
+lib%TESTNUMBER
</tool>
</client>
FTP with NOBODY set, getting a missing file
</name>
<tool>
-lib1913
+lib%TESTNUMBER
</tool>
<command>
-ftp://%HOSTIP:%FTPPORT/not-there/1913
+ftp://%HOSTIP:%FTPPORT/not-there/%TESTNUMBER
</command>
</client>
HSTS read/write callbacks
</name>
<tool>
-lib1915
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%NOLISTENPORT/not-there/1915
+http://%HOSTIP:%NOLISTENPORT/not-there/%TESTNUMBER
</command>
</client>
MQTT PUBLISH with no POSTFIELDSIZE set
</name>
<tool>
-lib1916
+lib%TESTNUMBER
</tool>
<command option="binary-trace">
"mqtt://%HOSTIP:%MQTTPORT/ "
MQTT PUBLISH with CURLOPT_POST set (no payload)
</name>
<tool>
-lib1917
+lib%TESTNUMBER
</tool>
<command option="binary-trace">
"mqtt://%HOSTIP:%MQTTPORT/ "
curl_easy_option_by_name() and curl_easy_option_by_id()
</name>
<tool>
-lib1918
+lib%TESTNUMBER
</tool>
</client>
HTTP GET -w num_connects with one simple connect
</name>
<command>
-http://%HOSTIP:%HTTPPORT/192 -w "%{num_connects}\n"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /192 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
Connection: close
-Location: ./193
+Location: ./%TESTNUMBER
monster
</data>
HTTP GET -w num_connects with redirected fetch (2 connects)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /193 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /193 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
Connection: close
-Location: ./193
+Location: ./%TESTNUMBER
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
-Location: /19330002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP AWS_SIGV4 with one provider and auth cred via URL
</name>
<tool>
-lib1933
+lib%TESTNUMBER
</tool>
<command>
-http://xxx:yyy@%HOSTIP:%HTTPPORT/1933/testapi/test
+http://xxx:yyy@%HOSTIP:%HTTPPORT/%TESTNUMBER/testapi/test
</command>
</client>
^Accept:.*
</strip>
<protocol>
-GET /1933/testapi/test HTTP/1.1\r
+GET /%TESTNUMBER/testapi/test HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: XXX4-HMAC-SHA256 Credential=xxx/19700101/0/127/xxx4_request, SignedHeaders=content-type;host;x-xxx-date, Signature=d2c2dff48c59ec49dc31ef94f18c5dc1ac3eae2a70d51633a4342dadc0683664\r
X-Xxx-Date: 19700101T000000Z\r
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
-Location: /19340002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP AWS_SIGV4 with two providers
</name>
<tool>
-lib1934
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1934/testapi/test
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER/testapi/test
</command>
</client>
^Accept:.*
</strip>
<protocol>
-GET /1934/testapi/test HTTP/1.1\r
+GET /%TESTNUMBER/testapi/test HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: XXX4-HMAC-SHA256 Credential=xxx/19700101/0/127/xxx4_request, SignedHeaders=content-type;host;x-yyy-date, Signature=938937ca7da6bb3dbf15e30928265ec6f061532d035d2afda92fa7cb10feb196\r
X-Yyy-Date: 19700101T000000Z\r
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
-Location: /19350002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP AWS_SIGV4 with two providers and region
</name>
<tool>
-lib1935
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1935/testapi/test
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER/testapi/test
</command>
</client>
^Accept:.*
</strip>
<protocol>
-GET /1935/testapi/test HTTP/1.1\r
+GET /%TESTNUMBER/testapi/test HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: XXX4-HMAC-SHA256 Credential=xxx/19700101/rrr/127/xxx4_request, SignedHeaders=content-type;host;x-yyy-date, Signature=240750deb9263d4c8ece71c016f3919b56e518249390ef075740f94ef8df846f\r
X-Yyy-Date: 19700101T000000Z\r
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
-Location: /19360002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP AWS_SIGV4 with two providers, region and service
</name>
<tool>
-lib1936
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/1936/testapi/test
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER/testapi/test
</command>
</client>
^Accept:.*
</strip>
<protocol>
-GET /1936/testapi/test HTTP/1.1\r
+GET /%TESTNUMBER/testapi/test HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: XXX4-HMAC-SHA256 Credential=xxx/19700101/rrr/sss/xxx4_request, SignedHeaders=content-type;host;x-yyy-date, Signature=f32cf87977cea5d3274b524b53e5d28f4aac54c372f710ae0cc3a9ececaf169f\r
X-Yyy-Date: 19700101T000000Z\r
HTTP resume transfer with the whole file already downloaded and --fail
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/194 -C 87 --fail
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C 87 --fail
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/194 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=87-\r
User-Agent: curl/%VERSION\r
FTP response 530 after PASS, temporarily not allowed access
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/195
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
FTP transient error, retry request once
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/196 --retry 1
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1
</command>
</client>
HTTP GET --retry on 503 error with output to stdout
</name>
<command>
-http://%HOSTIP:%HTTPPORT/197 --retry 1000
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1000
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /197 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /197 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET --retry on 503 error with output to file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/198 --retry 1000
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1000
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /198 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /198 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with -d, -G and {}
</name>
<command>
--d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G
+-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}" -G
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /199?foo=moo&moo=poo HTTP/1.1\r
+GET /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /199?foo=moo&moo=poo HTTP/1.1\r
+GET /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with user and password
</name>
<command>
- -u fake:user http://%HOSTIP:%HTTPPORT/2
+ -u fake:user http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic ZmFrZTp1c2Vy\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<data>
-[insert full protocol verifiction dump here]
-</data>
</verify>
</testcase>
basic file:// file
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/test200.txt
+file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test200.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
FTP RETR followed by FILE
</name>
<command option="no-include">
-ftp://%HOSTIP:%FTPPORT/2000 file://localhost%FILE_PWD/log/test2000.txt
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test2000.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
PWD\r
EPSV\r
TYPE I\r
-SIZE 2000\r
-RETR 2000\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<stdout>
HTTP GET followed by FTP RETR followed by FILE
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/20010001 ftp://%HOSTIP:%FTPPORT/20010002 file://localhost%FILE_PWD/log/test2001.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test2001.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20010001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
PWD\r
EPSV\r
TYPE I\r
-SIZE 20010002\r
-RETR 20010002\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
QUIT\r
</protocol>
<stdout>
HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/20020001 ftp://%HOSTIP:%FTPPORT/20020002 file://localhost%FILE_PWD/log/test2002.txt tftp://%HOSTIP:%TFTPPORT//20020003
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003
</command>
-<file name="log/test2002.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20020001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
PWD\r
EPSV\r
TYPE I\r
-SIZE 20020002\r
-RETR 20020002\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
-filename: /20020003
+filename: /%TESTNUMBER0003
QUIT\r
</protocol>
<stdout>
HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/20030001 ftp://%HOSTIP:%FTPPORT/20030002 file://localhost%FILE_PWD/log/test2003.txt tftp://%HOSTIP:%TFTPPORT//20030003 tftp://%HOSTIP:%TFTPPORT//20030003 file://localhost%FILE_PWD/log/test2003.txt ftp://%HOSTIP:%FTPPORT/20030002 http://%HOSTIP:%HTTPPORT/20030001
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER0003 file://localhost%FILE_PWD/log/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
-<file name="log/test2003.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20030001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
PWD\r
EPSV\r
TYPE I\r
-SIZE 20030002\r
-RETR 20030002\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
-filename: /20030003
+filename: /%TESTNUMBER0003
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
-filename: /20030003
+filename: /%TESTNUMBER0003
EPSV\r
-SIZE 20030002\r
-RETR 20030002\r
-GET /20030001 HTTP/1.1\r
+SIZE %TESTNUMBER0002\r
+RETR %TESTNUMBER0002\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order
</name>
<command option="no-include">
---key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//2004 sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test2004.txt file://localhost%FILE_PWD/log/test2004.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/test2004.txt file://localhost%FILE_PWD/log/test2004.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test2004.txt tftp://%HOSTIP:%TFTPPORT//2004 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt file://localhost%FILE_PWD/log/test%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt file://localhost%FILE_PWD/log/test%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --insecure
</command>
-<file name="log/test2004.txt">
+<file name="log/test%TESTNUMBER.txt">
This is test data
for several protocols
</file>
tsize: 0
blksize: 512
timeout: 6
-filename: /2004
+filename: /%TESTNUMBER
opcode: 1
mode: octet
tsize: 0
blksize: 512
timeout: 6
-filename: /2004
+filename: /%TESTNUMBER
</protocol>
<stdout>
Test data file
Content-Length: 37
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2005; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data delivered from an HTTP resource
Metalink local XML file, HTTP resource
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2005.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2005.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2005">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="sha256">a430d26389c69b7a245a9ad692cf20b4dc026fb7c2ff8a2c164c49a77130d6d9</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2005</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2005 log/name2005
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2005 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2005">
+<file1 name="log/download%TESTNUMBER">
Data delivered from an HTTP resource
</file1>
-<file2 name="log/stdout2005">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
-<file3 name="log/stderr2005" mode="text">
-Metalink: parsing (file://%PWD/log/test2005.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2005.metalink) OK
-Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005)...
-Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005) OK
-Metalink: validating (log/download2005)...
-Metalink: validating (log/download2005) [sha-256] OK
+<file3 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file3>
<stripfile3>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 42
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2006; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Some data delivered from an HTTP resource
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2006.metalink -O -D log/heads2006
+--metalink file://%PWD/log/test%TESTNUMBER.metalink -O -D log/heads%TESTNUMBER
</command>
# local metalink file written before test command runs
-<file name="log/test2006.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2006">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="md5">we-only-check-the-strongest-hash-provided</hash>
<hash type="sha256">319cb6be756734b7ff689628ca3265580cdae6a0e38f42d4ac612ff4fba143b0</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2006</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2006 log/name2006
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2006 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2006">
+<file1 name="log/download%TESTNUMBER">
Some data delivered from an HTTP resource
</file1>
s/Last-Modified:.*//
s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
-<file2 name="log/heads2006">
+<file2 name="log/heads%TESTNUMBER">
Content-Length: yeps\r
Accept-ranges: bytes\r
Content-Length: 42
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2006; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
</file2>
-<file3 name="log/stdout2006">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
-<file4 name="log/stderr2006" mode="text">
-Metalink: parsing (file://%PWD/log/test2006.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2006.metalink) OK
-Metalink: fetching (log/download2006) from (http://%HOSTIP:%HTTPPORT/2006)...
-Metalink: fetching (log/download2006) from (http://%HOSTIP:%HTTPPORT/2006) OK
-Metalink: validating (log/download2006)...
-Metalink: validating (log/download2006) [sha-256] OK
+<file4 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 42
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2007; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Something delivered from an HTTP resource
CURL_TESTDIR=%PWD/log
</setenv>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2007.metalink -J -O -D log/heads2007
+--metalink file://%PWD/log/test%TESTNUMBER.metalink -J -O -D log/heads%TESTNUMBER
</command>
# local metalink file written before test command runs
-<file name="log/test2007.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2007">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="md5">we-only-check-the-strongest-hash-provided</hash>
<hash type="sha256">52899e30f80e3490632d505653204e1fb5b02bda141048704ce9a0ed00b8a3f5</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2007</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2007 log/name2007
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2007 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2007">
+<file1 name="log/download%TESTNUMBER">
Something delivered from an HTTP resource
</file1>
# The Content-Length replace here is to handle with 4/5 digit port number in
s/Last-Modified:.*//
s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
-<file2 name="log/heads2007">
+<file2 name="log/heads%TESTNUMBER">
Content-Length: yeps\r
Accept-ranges: bytes\r
Content-Length: 42
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2007; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
</file2>
-<file3 name="log/stdout2007">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
-<file4 name="log/stderr2007" mode="text">
-Metalink: parsing (file://%PWD/log/test2007.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2007.metalink) OK
-Metalink: fetching (log/download2007) from (http://%HOSTIP:%HTTPPORT/2007)...
-Metalink: fetching (log/download2007) from (http://%HOSTIP:%HTTPPORT/2007) OK
-Metalink: validating (log/download2007)...
-Metalink: validating (log/download2007) [sha-256] OK
+<file4 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 43
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2008; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Some stuff delivered from an HTTP resource
Metalink local XML file, HTTP resource, using -o fname -D file
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2008.metalink -o log/outfile2008 -D log/heads2008
+--metalink file://%PWD/log/test%TESTNUMBER.metalink -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
# local metalink file written before test command runs
-<file name="log/test2008.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2008">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="md5">we-only-check-the-strongest-hash-provided</hash>
<hash type="sha256">711b1b566b536c5baae9b36f2f5c1830a7c8ff126d1afa2febc5b59f8d0aab54</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2008</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2008 log/name2008 log/outfile2008
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/outfile%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2008 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2008">
+<file1 name="log/download%TESTNUMBER">
Some stuff delivered from an HTTP resource
</file1>
# The Content-Length replace here is to handle with 4/5 digit port number in
s/Last-Modified:.*//
s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
-<file2 name="log/heads2008">
+<file2 name="log/heads%TESTNUMBER">
Content-Length: yeps\r
Accept-ranges: bytes\r
Content-Length: 43
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2008; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
</file2>
-<file3 name="log/stdout2008">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
-<file4 name="log/stderr2008" mode="text">
-Metalink: parsing (file://%PWD/log/test2008.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2008.metalink) OK
-Metalink: fetching (log/download2008) from (http://%HOSTIP:%HTTPPORT/2008)...
-Metalink: fetching (log/download2008) from (http://%HOSTIP:%HTTPPORT/2008) OK
-Metalink: validating (log/download2008)...
-Metalink: validating (log/download2008) [sha-256] OK
+<file4 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 46
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2009; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Some contents delivered from an HTTP resource
Metalink local XML file, HTTP resource, using -o fname -J -D file
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2009.metalink -J -o log/outfile2009 -D log/heads2009
+--metalink file://%PWD/log/test%TESTNUMBER.metalink -J -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
# local metalink file written before test command runs
-<file name="log/test2009.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2009">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="md5">we-only-check-the-strongest-hash-provided</hash>
<hash type="sha256">e4c5b83384ba7d5f8e201d61747a14f29baacd7dfadce0fbd56661db4bba72b2</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2009</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2009 log/name2009 log/outfile2009
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/outfile%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2009 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2009">
+<file1 name="log/download%TESTNUMBER">
Some contents delivered from an HTTP resource
</file1>
# The Content-Length replace here is to handle with 4/5 digit port number in
s/Last-Modified:.*//
s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
-<file2 name="log/heads2009">
+<file2 name="log/heads%TESTNUMBER">
Content-Length: yeps\r
Accept-ranges: bytes\r
Content-Length: 46
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2009; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
</file2>
-<file3 name="log/stdout2009">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
-<file4 name="log/stderr2009" mode="text">
-Metalink: parsing (file://%PWD/log/test2009.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2009.metalink) OK
-Metalink: fetching (log/download2009) from (http://%HOSTIP:%HTTPPORT/2009)...
-Metalink: fetching (log/download2009) from (http://%HOSTIP:%HTTPPORT/2009) OK
-Metalink: validating (log/download2009)...
-Metalink: validating (log/download2009) [sha-256] OK
+<file4 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 41
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2010; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Contents delivered from an HTTP resource
Metalink local XML file, HTTP resource, using -o fname -D file
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2010.metalink -o log/outfile2010 -D log/heads2010
+--metalink file://%PWD/log/test%TESTNUMBER.metalink -o log/outfile%TESTNUMBER -D log/heads%TESTNUMBER
</command>
# local metalink file written before test command runs
-<file name="log/test2010.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2010">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="md5">we-only-check-the-strongest-hash-provided</hash>
<hash type="sha256">19dcb4e2a99b9cd02c30b1ed6c55869b7ef8cda9f985648909c48a6dbb54356c</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2010</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2010 log/name2010 log/outfile2010
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/outfile%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2010 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2010">
+<file1 name="log/download%TESTNUMBER">
Contents delivered from an HTTP resource
</file1>
# The Content-Length replace here is to handle with 4/5 digit port number in
s/Last-Modified:.*//
s/Content-Length: 49[67]/Content-Length: yeps/
</stripfile2>
-<file2 name="log/heads2010">
+<file2 name="log/heads%TESTNUMBER">
Content-Length: yeps\r
Accept-ranges: bytes\r
Content-Length: 41
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2010; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
</file2>
-<file3 name="log/stdout2010">
+<file3 name="log/stdout%TESTNUMBER">
</file3>
-<file4 name="log/stderr2010" mode="text">
-Metalink: parsing (file://%PWD/log/test2010.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2010.metalink) OK
-Metalink: fetching (log/download2010) from (http://%HOSTIP:%HTTPPORT/2010)...
-Metalink: fetching (log/download2010) from (http://%HOSTIP:%HTTPPORT/2010) OK
-Metalink: validating (log/download2010)...
-Metalink: validating (log/download2010) [sha-256] OK
+<file4 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 37
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2011; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data delivered from an HTTP resource
Metalink local XML file, HTTP resource, hash mismatch
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2011.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2011.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2011">
+ <file name="log/download%TESTNUMBER">
<verification>
<hash type="sha256">badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2011</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2011 log/name2011
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2011 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2011">
+<file1 name="log/download%TESTNUMBER">
Data delivered from an HTTP resource
</file1>
-<file2 name="log/stdout2011">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
-<file3 name="log/stderr2011" mode="text">
-Metalink: parsing (file://%PWD/log/test2011.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2011.metalink) OK
-Metalink: fetching (log/download2011) from (http://%HOSTIP:%HTTPPORT/2011)...
-Metalink: fetching (log/download2011) from (http://%HOSTIP:%HTTPPORT/2011) OK
-Metalink: validating (log/download2011)...
-Metalink: validating (log/download2011) [sha-256] FAILED (digest mismatch)
+<file3 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) OK
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) [sha-256] FAILED (digest mismatch)
</file3>
<stripfile3>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
-Date: Wed, 20 Jun 2012 14:49:00 GMT
+Date: Wed, 20 Jun %TESTNUMBER 14:49:00 GMT
Server: test-server/fake
Content-Length: 46
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2012; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Some contents delivered from an HTTP resource
Metalink local XML file, HTTP resource, without hash
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2012.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2012.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2012">
+ <file name="log/download%TESTNUMBER">
<verification>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2012</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2012 log/name2012
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2012 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file1 name="log/download2012">
+<file1 name="log/download%TESTNUMBER">
Some contents delivered from an HTTP resource
</file1>
-<file2 name="log/stdout2012">
+<file2 name="log/stdout%TESTNUMBER">
</file2>
-<file3 name="log/stderr2012" mode="text">
-Metalink: parsing (file://%PWD/log/test2012.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2012.metalink) WARNING (digest missing)
-Metalink: fetching (log/download2012) from (http://%HOSTIP:%HTTPPORT/2012)...
-Metalink: fetching (log/download2012) from (http://%HOSTIP:%HTTPPORT/2012) OK
-Metalink: validating (log/download2012)...
-Metalink: validating (log/download2012) FAILED (digest missing)
+<file3 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (digest missing)
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER)...
+Metalink: fetching (log/download%TESTNUMBER) from (http://%HOSTIP:%HTTPPORT/%TESTNUMBER) OK
+Metalink: validating (log/download%TESTNUMBER)...
+Metalink: validating (log/download%TESTNUMBER) FAILED (digest missing)
</file3>
<stripfile3>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2013; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix absolute path
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2013.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2013.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="/tmp/download2013">
+ <file name="/tmp/download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2013</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2013 log/name2013 /tmp/download2013
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER /tmp/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2013">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2013" mode="text">
-Metalink: parsing (file://%PWD/log/test2013.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2013.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2013.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2014; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix path relative to current
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2014.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2014.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="./log/download2014">
+ <file name="./log/download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2014</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2014 log/name2014 log/download2014
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2014">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2014" mode="text">
-Metalink: parsing (file://%PWD/log/test2014.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2014.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2014.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2015; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix path relative to upper
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2015.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2015.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="../tests/log/download2015">
+ <file name="../tests/log/download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2015</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2015 log/name2015 log/download2015
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2015">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2015" mode="text">
-Metalink: parsing (file://%PWD/log/test2015.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2015.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2015.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2016; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix path traversal
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2016.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2016.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/../log/download2016">
+ <file name="log/../log/download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2016</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2016 log/name2016 log/download2016
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2016">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2016" mode="text">
-Metalink: parsing (file://%PWD/log/test2016.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2016.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2016.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2017; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix home path traversal
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2017.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2017.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="~/download2017">
+ <file name="~/download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2017</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2017 log/name2017
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2017">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2017" mode="text">
-Metalink: parsing (file://%PWD/log/test2017.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2017.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2017.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2018; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix questionable file name I
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2018.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2018.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/.download2018">
+ <file name="log/.download%TESTNUMBER">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2018</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2018 log/name2018 log/.download2018
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/.download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2018">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2018" mode="text">
-Metalink: parsing (file://%PWD/log/test2018.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2018.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2018.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2019; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix questionable file name II
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2019.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2019.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2019</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2019 log/name2019
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2019">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2019" mode="text">
-Metalink: parsing (file://%PWD/log/test2019.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2019.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2019.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
two file:// URLs to stdout
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/test202.txt FILE://localhost%FILE_PWD/log/test202.txt
+file://localhost%FILE_PWD/log/test%TESTNUMBER.txt FILE://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test202.txt">
+<file name="log/test%TESTNUMBER.txt">
contents in a single file
</file>
</client>
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2020; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix questionable file name III
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2020.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2020.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2020</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2020 log/name2020
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2020">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2020" mode="text">
-Metalink: parsing (file://%PWD/log/test2020.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2020.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2020.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2021; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix questionable file name IV
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2021.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2021.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2021 >/dev/null">
+ <file name="log/download%TESTNUMBER >/dev/null">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2021</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2021 log/name2021 log/download2021
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2021">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2021" mode="text">
-Metalink: parsing (file://%PWD/log/test2021.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2021.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2021.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
Content-Length: 56
Connection: close
Content-Type: text/html
-Content-Disposition: filename=name2022; charset=funny; option=strange
+Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
Funny-head: yesyes
Data that should not be delivered from an HTTP resource
Metalink local XML file, attempt Unix questionable file name V
</name>
<command option="no-output,no-include">
---metalink file://%PWD/log/test2022.metalink
+--metalink file://%PWD/log/test%TESTNUMBER.metalink
</command>
# local metalink file written before test command runs
-<file name="log/test2022.metalink">
+<file name="log/test%TESTNUMBER.metalink">
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/">
<files>
- <file name="log/download2022 |/dev/null">
+ <file name="log/download%TESTNUMBER |/dev/null">
<verification>
<hash type="sha256">c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82</hash>
</verification>
<resources maxconnections="1">
- <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2022</url>
+ <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/%TESTNUMBER</url>
</resources>
</file>
</files>
</metalink>
</file>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/2022 log/name2022 log/download2022
+perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER log/name%TESTNUMBER log/download%TESTNUMBER
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file1 name="log/stdout2022">
+<file1 name="log/stdout%TESTNUMBER">
</file1>
-<file2 name="log/stderr2022" mode="text">
-Metalink: parsing (file://%PWD/log/test2022.metalink) metalink/XML...
-Metalink: parsing (file://%PWD/log/test2022.metalink) WARNING (missing or invalid file name)
-Metalink: parsing (file://%PWD/log/test2022.metalink) FAILED
+<file2 name="log/stderr%TESTNUMBER" mode="text">
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) metalink/XML...
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) WARNING (missing or invalid file name)
+Metalink: parsing (file://%PWD/log/test%TESTNUMBER.metalink) FAILED
</file2>
<stripfile2>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2023 basic basic
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER basic basic
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20230100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20230200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
\r
-GET /20230300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20230400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20230500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2024 basic digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER basic digest
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20240100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20240200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/20240200", response="ed646c565f79e2dd9fa37cb5a621213c"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0200", response="ed646c565f79e2dd9fa37cb5a621213c"\r
Accept: */*\r
\r
-GET /20240300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20240400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/20240400", response="9741ced8caacc6124770187b36f007c5"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/%TESTNUMBER0400", response="9741ced8caacc6124770187b36f007c5"\r
Accept: */*\r
\r
-GET /20240500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/20240500", response="5bc77ec8c2d443b27a1b55f1fd8fbb13"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/%TESTNUMBER0500", response="5bc77ec8c2d443b27a1b55f1fd8fbb13"\r
Accept: */*\r
\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2025 basic ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER basic ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20250100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20250200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20250200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20250300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20250400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20250400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20250500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20250500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2026 digest basic
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER digest basic
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20260100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20260100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/20260100", response="5f992a2e761ab926256419f7c685f85b"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0100", response="5f992a2e761ab926256419f7c685f85b"\r
Accept: */*\r
\r
-GET /20260200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
\r
-GET /20260300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20260300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/20260300", response="132242e602882251929be93228c830ae"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="3", uri="/%TESTNUMBER0300", response="132242e602882251929be93228c830ae"\r
Accept: */*\r
\r
-GET /20260400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20260500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2027 digest digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER digest digest
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20270100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20270100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/20270100", response="f7fd60eefaff5225971bf9b3d80d6ba6"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0100", response="f7fd60eefaff5225971bf9b3d80d6ba6"\r
Accept: */*\r
\r
-GET /20270200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/20270200", response="785ca3ef511999f7e9c178195f5b388c"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/%TESTNUMBER0200", response="785ca3ef511999f7e9c178195f5b388c"\r
Accept: */*\r
\r
-GET /20270300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20270300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="4", uri="/20270300", response="4c735d2360fd6848e7cb32a11ae3612b"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="4", uri="/%TESTNUMBER0300", response="4c735d2360fd6848e7cb32a11ae3612b"\r
Accept: */*\r
\r
-GET /20270400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/20270400", response="f5906785511fb60a2af8b1cd53008ead"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/%TESTNUMBER0400", response="f5906785511fb60a2af8b1cd53008ead"\r
Accept: */*\r
\r
-GET /20270400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/20270400", response="f5906785511fb60a2af8b1cd53008ead"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/%TESTNUMBER0400", response="f5906785511fb60a2af8b1cd53008ead"\r
Accept: */*\r
\r
-GET /20270500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="7", uri="/20270500", response="8ef4d935fd964a46c3965c0863b52cf1"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="7", uri="/%TESTNUMBER0500", response="8ef4d935fd964a46c3965c0863b52cf1"\r
Accept: */*\r
\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2028 digest ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER digest ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20280100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20280100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/20280100", response="53c80666f5e3a4a55f92a66aaf0078bb"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER0100", response="53c80666f5e3a4a55f92a66aaf0078bb"\r
Accept: */*\r
\r
-GET /20280200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20280200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20280300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /20280300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="4", uri="/20280300", response="1aa5d90da9803ca12d04b24e0f19476e"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="4", uri="/%TESTNUMBER0300", response="1aa5d90da9803ca12d04b24e0f19476e"\r
Accept: */*\r
\r
-GET /20280400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20280400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20280500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20280500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2029 ntlm basic
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER ntlm basic
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20290100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20290100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20290200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
\r
-GET /20290300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20290300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20290400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6d3JvbmdwYXNz\r
Accept: */*\r
\r
-GET /20290500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
MSYS2_ARG_CONV_EXCL=file:
</setenv>
<command option="no-include">
-file:%FILE_PWD/log/test203.txt
+file:%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test203.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2030 ntlm digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER ntlm digest
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20300100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20300100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20300200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/20300200", response="2f2d784ba53a0a307758a90e98d25c27"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/%TESTNUMBER0200", response="2f2d784ba53a0a307758a90e98d25c27"\r
Accept: */*\r
\r
-GET /20300300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20300300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20300400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/20300400", response="d6262e9147db08c62ff2f53b515861e8"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/%TESTNUMBER0400", response="d6262e9147db08c62ff2f53b515861e8"\r
Accept: */*\r
\r
-GET /20300400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/20300400", response="d6262e9147db08c62ff2f53b515861e8"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="5", uri="/%TESTNUMBER0400", response="d6262e9147db08c62ff2f53b515861e8"\r
Accept: */*\r
\r
-GET /20300500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="7", uri="/20300500", response="198757e61163a779cf24ed4c49c1ad7d"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="7", uri="/%TESTNUMBER0500", response="198757e61163a779cf24ed4c49c1ad7d"\r
Accept: */*\r
\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2031 ntlm ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER ntlm ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20310100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20310100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20310200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20310200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20310300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20310300 HTTP/1.1\r
+GET /%TESTNUMBER0300 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20310400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20310400 HTTP/1.1\r
+GET /%TESTNUMBER0400 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABANgKEcT5xUUBHw5+0m4FjWTGNzg6PeHJHbaPwNwCt/tXcnIeTQCTMAg12SPDyNXMf3Rlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
\r
-GET /20310500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20310500 HTTP/1.1\r
+GET /%TESTNUMBER0500 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/2032
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20320100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
\r
-GET /20320100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
Accept: */*\r
\r
-GET /20320200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
\r
-GET /20320200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
simple HTTPS GET with DER public key pinning
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pub.der https://localhost:%HTTPSPORT/2034
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pub.der https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2034 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS wrong DER pinnedpubkey but right CN
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.der https://localhost:%HTTPSPORT/2035
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.der https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
simple HTTPS GET with PEM public key pinning
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pub.pem https://localhost:%HTTPSPORT/2037
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pub.pem https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
<verify>
</strip>
<protocol>
-GET /2037 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS wrong PEM pinnedpubkey but right CN
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pem https://localhost:%HTTPSPORT/2038
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost-sv.pem https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
FTP (optional .netrc with 'default' override; no user/pass) dir list PASV
</name>
<command>
---netrc-optional --netrc-file log/netrc2039 ftp://%HOSTIP:%FTPPORT/
+--netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/
</command>
-<file name="log/netrc2039" >
+<file name="log/netrc%TESTNUMBER" >
# the following two lines were created while testing curl
default login userdef password passwddef
machine %HOSTIP login user1 password passwd1
"upload" with file://
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/result204.txt -T log/upload204.txt
+file://localhost%FILE_PWD/log/result%TESTNUMBER.txt -T log/upload%TESTNUMBER.txt
</command>
-<file name="log/upload204.txt">
+<file name="log/upload%TESTNUMBER.txt">
data
in
file
# Verify data after the test has been "shot"
<verify>
-<file name="log/result204.txt">
+<file name="log/result%TESTNUMBER.txt">
data
in
file
HTTP Basic authorization, then without authorization
</name>
<command option="no-output,no-include">
--u testuser:testpass http://%HOSTIP:%HTTPPORT/20400100 --next --no-basic http://%HOSTIP:%HTTPPORT/20400200
+-u testuser:testpass http://%HOSTIP:%HTTPPORT/%TESTNUMBER0100 --next --no-basic http://%HOSTIP:%HTTPPORT/%TESTNUMBER0200
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /20400100 HTTP/1.1\r
+GET /%TESTNUMBER0100 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /20400200 HTTP/1.1\r
+GET /%TESTNUMBER0200 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
simple HTTPS GET with base64-sha256 public key pinning
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//+JYNkp2GTGRgrvZMUkOxbFJQQqYpwNE6toGmBjz00D8= https://localhost:%HTTPSPORT/2041
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//+JYNkp2GTGRgrvZMUkOxbFJQQqYpwNE6toGmBjz00D8= https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2041 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS wrong base64-sha256 pinnedpubkey but right CN
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//bSIggTf+ikMG0CtmDlpMVBd7yi7H1md4URogRPqerso= https://localhost:%HTTPSPORT/2042
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//bSIggTf+ikMG0CtmDlpMVBd7yi7H1md4URogRPqerso= https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: ./20460001
+Location: ./%TESTNUMBER0001
redirect
</data>
</name>
<command>
-http://åäö.se:%HTTPPORT/2046 --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
+http://åäö.se:%HTTPPORT/%TESTNUMBER --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2046 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: xn--4cab6c.se:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /20460001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: xn--4cab6c.se:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: ./20460001
+Location: ./%TESTNUMBER0001
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
1
1
3
-http://åäö.se:%HTTPPORT/20460001
+http://åäö.se:%HTTPPORT/%TESTNUMBER0001
text/plain; charset=us-ascii
200
</stdout>
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: ./20470001
+Location: ./%TESTNUMBER0001
redirect
</data>
</name>
<command>
-http://åäö.se/2047 -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
+http://åäö.se/%TESTNUMBER -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://xn--4cab6c.se/2047 HTTP/1.1\r
+GET http://xn--4cab6c.se/%TESTNUMBER HTTP/1.1\r
Host: xn--4cab6c.se\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://xn--4cab6c.se/20470001 HTTP/1.1\r
+GET http://xn--4cab6c.se/%TESTNUMBER0001 HTTP/1.1\r
Host: xn--4cab6c.se\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
Content-Type: text/plain
-Location: ./20470001
+Location: ./%TESTNUMBER0001
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
1
1
3
-http://åäö.se/20470001
+http://åäö.se/%TESTNUMBER0001
text/plain; charset=us-ascii
200
</stdout>
pinnedpubkey no-match must fail even when insecure
</name>
<command>
---insecure --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost.nn-sv.pub.der https://localhost:%HTTPSPORT/2048
+--insecure --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost.nn-sv.pub.der https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
</client>
</name>
<command>
-http://www1.example.com:8081/2049 --connect-to ::%HOSTIP:%HTTPPORT --next http://www2.example.com:8082/2049 --connect-to :8082:%HOSTIP:%HTTPPORT --next http://www3.example.com:8083/2049 --connect-to www3.example.com::%HOSTIP:%HTTPPORT --next http://www4.example.com:8084/2049 --connect-to www4.example.com:8084:%HOSTIP:%HTTPPORT
+http://www1.example.com:8081/%TESTNUMBER --connect-to ::%HOSTIP:%HTTPPORT --next http://www2.example.com:8082/%TESTNUMBER --connect-to :8082:%HOSTIP:%HTTPPORT --next http://www3.example.com:8083/%TESTNUMBER --connect-to www3.example.com::%HOSTIP:%HTTPPORT --next http://www4.example.com:8084/%TESTNUMBER --connect-to www4.example.com:8084:%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2049 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www1.example.com:8081\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2049 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www2.example.com:8082\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2049 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www3.example.com:8083\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2049 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www4.example.com:8084\r
User-Agent: curl/%VERSION\r
Accept: */*\r
"upload" with file://
</name>
<command option="no-include">
-file://localhost/%PWD/log/nonexisting/result205.txt -T log/upload205.txt
+file://localhost/%PWD/log/nonexisting/result%TESTNUMBER.txt -T log/upload%TESTNUMBER.txt
</command>
-<file name="log/upload205.txt">
+<file name="log/upload%TESTNUMBER.txt">
data
in
file
</name>
<command>
-http://www.example.com.2050/2050 --connect-to ::connect.example.com.2050:%HTTPPORT -x %HOSTIP:%PROXYPORT
+http://www.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%HTTPPORT -x %HOSTIP:%PROXYPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT connect.example.com.2050:%HTTPPORT HTTP/1.1\r
-Host: connect.example.com.2050:%HTTPPORT\r
+CONNECT connect.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: connect.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /2050 HTTP/1.1\r
-Host: www.example.com.2050\r
+GET /%TESTNUMBER HTTP/1.1\r
+Host: www.example.com.%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2051 -w "%{num_connects}\n" --next --connect-to ::%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/2051 -w "%{num_connects}\n" --next http://%HOSTIP:%HTTPPORT/2051 -w "%{num_connects}\n"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n" --next --connect-to ::%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n" --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2051 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2051 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2051 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command>
-http://www.example.com:%HTTPPORT/2052 --resolve www.example.com:%HTTPPORT:%HOSTIP -w "%{num_connects}\n" --next --resolve -www.example.com:%HTTPPORT --connect-to ::%HOSTIP:%HTTPPORT http://www.example.com:%HTTPPORT/2052 -w "%{num_connects}\n"
+http://www.example.com:%HTTPPORT/%TESTNUMBER --resolve www.example.com:%HTTPPORT:%HOSTIP -w "%{num_connects}\n" --next --resolve -www.example.com:%HTTPPORT --connect-to ::%HOSTIP:%HTTPPORT http://www.example.com:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2052 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www.example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2052 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www.example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command>
-http://10.0.0.1:8081/2053 --connect-to 10.0.0.1:8081:%HOSTIP:%HTTPPORT --next http://[fc00::1]:8082/2053 --connect-to [fc00::1]:8082:%HOSTIP:%HTTPPORT
+http://10.0.0.1:8081/%TESTNUMBER --connect-to 10.0.0.1:8081:%HOSTIP:%HTTPPORT --next http://[fc00::1]:8082/%TESTNUMBER --connect-to [fc00::1]:8082:%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2053 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: 10.0.0.1:8081\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2053 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: [fc00::1]:8082\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2054 --connect-to foo::bar: --connect-to :123::456 --next http://www.example.com:%HTTPPORT/2054 --connect-to www.example.com::%HOSTIP: --connect-to www.example.com::foo: --next http://%HOSTIP:8083/2054 --connect-to :8083::%HTTPPORT --connect-to :8083::123 --next http://www.example.com:8084/2054 --connect-to www.example.com:8084:%HOSTIP:%HTTPPORT --connect-to www.example.com:8084:foo:123
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --connect-to foo::bar: --connect-to :123::456 --next http://www.example.com:%HTTPPORT/%TESTNUMBER --connect-to www.example.com::%HOSTIP: --connect-to www.example.com::foo: --next http://%HOSTIP:8083/%TESTNUMBER --connect-to :8083::%HTTPPORT --connect-to :8083::123 --next http://www.example.com:8084/%TESTNUMBER --connect-to www.example.com:8084:%HOSTIP:%HTTPPORT --connect-to www.example.com:8084:foo:123
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2054 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2054 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www.example.com:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2054 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:8083\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2054 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: www.example.com:8084\r
User-Agent: curl/%VERSION\r
Accept: */*\r
proxy
</features>
<command>
-http://www.example.com.2055/2055 --connect-to ::connect.example.com.2055:%HTTPPORT -x %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
+http://www.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%HTTPPORT -x %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT connect.example.com.2055:%HTTPPORT HTTP/1.1\r
-Host: connect.example.com.2055:%HTTPPORT\r
+CONNECT connect.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: connect.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /2055 HTTP/1.1\r
-Host: www.example.com.2055\r
+GET /%TESTNUMBER HTTP/1.1\r
+Host: www.example.com.%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
CURL_STUB_GSS_CREDS="KRB5_Alice"
</setenv>
<command>
--u: --negotiate http://%HOSTIP:%HTTPPORT/2056
+-u: --negotiate http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2056 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Negotiate IktSQjVfQWxpY2UiOkhUVFBAMTI3LjAuMC4xOjE6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQQ==\r
User-Agent: curl/%VERSION\r
CURL_STUB_GSS_CREDS="NTLM_Alice"
</setenv>
<command>
--u: --negotiate http://%HOSTIP:%HTTPPORT/2057
+-u: --negotiate http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2057 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Negotiate Ik5UTE1fQWxpY2UiOkhUVFBAMTI3LjAuMC4xOjI6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQQ==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2057 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Negotiate Ik5UTE1fQWxpY2UiOkhUVFBAMTI3LjAuMC4xOjM6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQQ==\r
User-Agent: curl/%VERSION\r
HTTP POST --digest with PUT, resumed upload, modified method and SHA-256
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2058 -u auser:apasswd --digest -T log/2058 -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command>
-<file name="log/2058">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/2058 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/2058 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2058", response="fbed69f9f3fd304c8f1acb1a43eb32688b933c0e28055c16b926cbcec070aeed", algorithm=SHA-256\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="fbed69f9f3fd304c8f1acb1a43eb32688b933c0e28055c16b926cbcec070aeed", algorithm=SHA-256\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=true
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2059 -u auser:apasswd --digest -T log/2059 -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command>
-<file name="log/2059">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/2059 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/2059 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2059", response="fc09be8192851e284e73e8b719b32a2f6f91cca0594e68713da8c49dc2c1656e", algorithm=SHA-512-256, userhash=true\r
+Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="fc09be8192851e284e73e8b719b32a2f6f91cca0594e68713da8c49dc2c1656e", algorithm=SHA-512-256, userhash=true\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP proxy CONNECT auth Digest
</name>
<command>
-http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.206:8990\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.haxx.se.206:8990 HTTP/1.1\r
-Host: test.remote.haxx.se.206:8990\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"\r
+CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.%TESTNUMBER:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/2060002 HTTP/1.1\r
-Host: test.remote.haxx.se.206:8990\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.haxx.se.%TESTNUMBER:8990\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=false
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2060 -u auser:apasswd --digest -T log/2060 -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T log/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command>
-<file name="log/2060">
+<file name="log/%TESTNUMBER">
test
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/2060 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Content-Length: 0\r
\r
-GET http://%HOSTIP:%HTTPPORT/2060 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2060", response="3ce1e25ffa611bdbe90e2ab367b9602fa223db9f6de76ac667f0d6157e2178a6", algorithm=SHA-512-256\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="3ce1e25ffa611bdbe90e2ab367b9602fa223db9f6de76ac667f0d6157e2178a6", algorithm=SHA-512-256\r
Content-Range: bytes 2-4/5\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with RFC7616 SHA256 Digest authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2061 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2061 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2061 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/2061", response="9dc55255f1a2537b838311674b621d45346b862a81631bb20e4ce356ef25062d", algorithm=SHA-256\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="9dc55255f1a2537b838311674b621d45346b862a81631bb20e4ce356ef25062d", algorithm=SHA-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with RFC7616 SHA-512-256 Digest authorization and userhash=false
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2062 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2062 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2062 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/2062", response="2af735ec3508f4dff99248ffbbe9de9002bfd7cc770cfa2b026cb334042a54e3", algorithm=SHA-512-256\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="2af735ec3508f4dff99248ffbbe9de9002bfd7cc770cfa2b026cb334042a54e3", algorithm=SHA-512-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with RFC7616 SHA-512-256 Digest authorization and userhash=true
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2063 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2063 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2063 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="75af8a3500f771e58a52093a25e7905d6e428a511285c12ea1420c73078dfd61", realm="testrealm", nonce="1053604145", uri="/2063", response="43f7ab531dff687b5dc75617daa59d1fd67d648341d6d2655ca65ef5064cfb51", algorithm=SHA-512-256, userhash=true\r
+Authorization: Digest username="75af8a3500f771e58a52093a25e7905d6e428a511285c12ea1420c73078dfd61", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="43f7ab531dff687b5dc75617daa59d1fd67d648341d6d2655ca65ef5064cfb51", algorithm=SHA-512-256, userhash=true\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with RFC7616 Digest authorization with bad password and SHA256
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2064 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:test2pass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2064 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2064 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/2064", response="a9c3ec1036068b336cbabefe9dfcad52ee8b89bc7c91ddbb5bb415c6acdf38a5", algorithm=SHA-256\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/%TESTNUMBER", response="a9c3ec1036068b336cbabefe9dfcad52ee8b89bc7c91ddbb5bb415c6acdf38a5", algorithm=SHA-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with RFC7616 Digest authorization with bad password, SHA-512-256 and userhash=false
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2065 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:test2pass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2065 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2065 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/2065", response="5a5f20b0e601aeddc6f96422c2332d49ff431c49ab143b5f836ef76e9ac78f5e", algorithm=SHA-512-256\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/%TESTNUMBER", response="5a5f20b0e601aeddc6f96422c2332d49ff431c49ab143b5f836ef76e9ac78f5e", algorithm=SHA-512-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP with RFC7616 Digest authorization with bad password, SHA-512-256 and userhash=true
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2066 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:test2pass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2066 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2066 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="75af8a3500f771e58a52093a25e7905d6e428a511285c12ea1420c73078dfd61", realm="testrealm", nonce="2053604145", uri="/2066", response="a2e2ae589f575fb132991d6f550ef14bf7ef697d2fef1242d2498f07eafc77dc", algorithm=SHA-512-256, userhash=true\r
+Authorization: Digest username="75af8a3500f771e58a52093a25e7905d6e428a511285c12ea1420c73078dfd61", realm="testrealm", nonce="2053604145", uri="/%TESTNUMBER", response="a2e2ae589f575fb132991d6f550ef14bf7ef697d2fef1242d2498f07eafc77dc", algorithm=SHA-512-256, userhash=true\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
# even when there is a user-specified Content-Length header.
# https://github.com/curl/curl/pull/1242
<command>
--H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/2067
+-H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /2067 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /2067 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2067", response="67b97af219c92fa7e8685e5bebb8e74892f6c6792e911c52bd2dfbf0b49272eb", algorithm=SHA-256\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="67b97af219c92fa7e8685e5bebb8e74892f6c6792e911c52bd2dfbf0b49272eb", algorithm=SHA-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
# even when there is a user-specified Content-Length header.
# https://github.com/curl/curl/pull/1242
<command>
--H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/2068
+-H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /2068 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /2068 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2068", response="4bc9c97a72f1856bcec9b0e1518c6b7ee28773f91357d56840bdc30bd89ca68f", algorithm=SHA-512-256\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="4bc9c97a72f1856bcec9b0e1518c6b7ee28773f91357d56840bdc30bd89ca68f", algorithm=SHA-512-256\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
# even when there is a user-specified Content-Length header.
# https://github.com/curl/curl/pull/1242
<command>
--H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/2069
+-H "Content-Length: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /2069 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /2069 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2069", response="ff13d977110a471f30de75e747976e4de78d7a3d2425cd23ff46e67f4bc9ead7", algorithm=SHA-512-256, userhash=true\r
+Authorization: Digest username="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="ff13d977110a471f30de75e747976e4de78d7a3d2425cd23ff46e67f4bc9ead7", algorithm=SHA-512-256, userhash=true\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
HTTP GET with chunked Transfer-Encoding closed prematurely
</name>
<command>
-http://%HOSTIP:%HTTPPORT/207
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /207 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_SSL_BACKEND=schannel
</setenv>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --ssl-revoke-best-effort https://localhost:%HTTPSPORT/2070
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2070 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
file:// with unix path resolution behavior for the case of extra slashes
</name>
<command option="no-include">
-file:////%PWD/log/test2072.txt
+file:////%PWD/log/test%TESTNUMBER.txt
</command>
<precheck>
perl -e "print 'Test requires a unix system' if ( $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'dos' || $^O eq 'msys');"
</precheck>
-<file name="log/test2072.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
HTTP form posts with handle reset
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2073 -F 'name=a;filename=a.pdf' --next http://%HOSTIP:%HTTPPORT/2073 -F 'name=b;filename=b.jpg'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -F 'name=a;filename=a.pdf' --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER -F 'name=b;filename=b.jpg'
</command>
</client>
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /2073 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Type: application/pdf\r
\r
a\r
-POST /2073 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2074 --oauth2-bearer mF_9.B5f-4.1JqM
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2074 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Bearer mF_9.B5f-4.1JqM\r
User-Agent: curl/%VERSION\r
HTTP with digest auth and URI contains query
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/2076?query" -u testuser:testpass --digest
+"http://%HOSTIP:%HTTPPORT/%TESTNUMBER?query" -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /2076?query HTTP/1.1\r
+GET /%TESTNUMBER?query HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /2076?query HTTP/1.1\r
+GET /%TESTNUMBER?query HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/2076?query", response="5758bd3bbde7f33236e6ccd278eb59af"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER?query", response="5758bd3bbde7f33236e6ccd278eb59af"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl --fail --negotiate to unauthenticated service fails
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2077 -u : --fail --negotiate
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u : --fail --negotiate
</command>
</client>
curl --negotiate should not send empty POST request only
</name>
<command>
-http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u : --negotiate --data name=value
</command>
</client>
0
</errorcode>
<protocol nonewline="yes">
-POST /2078 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP PUT to a FTP URL with username+password - over HTTP proxy
</name>
<command>
--x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/208 -T log/test208.txt
+-x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test208.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT ftp://daniel:mysecret@host.com/we/want/208 HTTP/1.1\r
+PUT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER HTTP/1.1\r
Host: host.com:21\r
Authorization: Basic ZGFuaWVsOm15c2VjcmV0\r
User-Agent: curl/%VERSION\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com.209:%HTTPPORT/path/2090002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.209:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.209:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.209:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-GET /path/2090002 HTTP/1.1\r
-Host: test.remote.example.com.209:%HTTPPORT\r
+GET /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
Get two FTP files from the same remote dir: no second CWD
</name>
<command option="no-include">
-ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
</command>
<stdout>
data blobb
CWD path\r
EPSV\r
TYPE I\r
-SIZE 210\r
-RETR 210\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 210\r
-RETR 210\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
Get two FTP files with no remote EPSV support
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
</command>
<stdout>
data blobb
EPSV\r
PASV\r
TYPE I\r
-SIZE 211\r
-RETR 211\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
PASV\r
-SIZE 211\r
-RETR 211\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
Get two FTP files with no remote EPRT support
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P -
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P -
</command>
<stdout>
data blobb
EPRT |1|\r
PORT \r
TYPE I\r
-SIZE 212\r
-RETR 212\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
PORT \r
-SIZE 212\r
-RETR 212\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com.213:%HTTPPORT/path/2130002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel -d "postit"
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel -d "postit"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0\r
-Host: test.remote.example.com.213:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.0\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0\r
-Host: test.remote.example.com.213:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.0\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-POST /path/2130002 HTTP/1.1\r
-Host: test.remote.example.com.213:%HTTPPORT\r
+POST /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 6\r
HTTP URL with escaped { and }
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/\{\}\/214"
+"http://%HOSTIP:%HTTPPORT/\{\}\/%TESTNUMBER"
</command>
<setenv>
# Needed for MSYS2 to not convert all backslashes to forward slashes
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /{}\/214 HTTP/1.1\r
+GET /{}\/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Get two FTP dir listings from the same remote dir: no second CWD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/a/path/215/ ftp://%HOSTIP:%FTPPORT/a/path/215/
+ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/
</command>
</client>
PWD\r
CWD a\r
CWD path\r
-CWD 215\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
FTP upload two files to the same dir
</name>
<command>
--T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/ -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/%2e%2eanotherup.216
+-T log/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/ -T log/upload.%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER/%2e%2eanotherup.%TESTNUMBER
</command>
-<file name="log/upload.216">
+<file name="log/upload.%TESTNUMBER">
upload this file twice
</file>
</client>
PWD\r
CWD a\r
CWD path\r
-CWD 216\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE I\r
-STOR upload.216\r
+STOR upload.%TESTNUMBER\r
EPSV\r
-STOR ..anotherup.216\r
+STOR ..anotherup.%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP proxy CONNECT to proxy returning 405
</name>
<command>
-http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.example.com.217:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.217:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
HTTP PUT from a file but enforce chunked transfer-encoding
</name>
<command>
- -T log/file218 -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/218
+ -T log/file%TESTNUMBER -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
-<file name="log/file218">
+<file name="log/file%TESTNUMBER">
just some tiny teeny contents
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /218 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
try using proxy with unsupported scheme
</name>
<command>
--x foo://%HOSTIP:%NOLISTENPORT/219 http://%HOSTIP:%NOLISTENPORT/219
+-x foo://%HOSTIP:%NOLISTENPORT/%TESTNUMBER http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
</command>
</client>
get HTTP with URL > 10000 bytes
</name>
<command>
-%HOSTIP:%HTTPPORT/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/22
+%HOSTIP:%HTTPPORT/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/22 HTTP/1.1\r
+GET /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET gzip compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/220 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
%endif
</strippart>
<protocol>
-GET /220 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET gzip compressed content with broken gzip header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/221 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /221 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET deflate compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/222 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /222 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET deflate compressed content with broken deflate header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/223 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /223 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET gzip compressed content with huge comment and extra field
</name>
<command>
-http://%HOSTIP:%HTTPPORT/224 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /224 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP %0a-code in URL's name part
</name>
<command>
-ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/225%0a
+ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/%TESTNUMBER%0a
</command>
</client>
FTP %0d-code in URL's CWD part
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/226%0d
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER%0d
</command>
</client>
FTP with quote ops
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
</command>
</client>
TYPE I\r
NOOP 2\r
FAIL HARD\r
-SIZE 227\r
-RETR 227\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
NOOP 3\r
QUIT\r
</protocol>
FTP RETR with ACCT
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count"
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 228\r
-RETR 228\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP RETR with bad ACCT
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count"
</command>
</client>
HTTP GET multiply compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/230 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /230 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
file:// with resume
</name>
<command option="no-include">
-file://localhost%FILE_PWD/log/test231.txt -C 10
+file://localhost%FILE_PWD/log/test%TESTNUMBER.txt -C 10
</command>
-<file name="log/test231.txt">
+<file name="log/test%TESTNUMBER.txt">
A01234567
B01234567
C01234567
HTTP GET deflate raw-compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/232 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /232 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/2330002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/2330002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
HTTP, proxy, site+proxy auth and Location: to new host
</name>
<command>
-http://first.host.it.is/we/want/that/page/233 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location
+http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/233 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: first.host.it.is\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
Authorization: Basic aWFtOm15c2VsZg==\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://goto.second.host.now/2330002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1\r
Host: goto.second.host.now\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
User-Agent: curl/%VERSION\r
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/2340002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/2340002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
HTTP, proxy, site+proxy auth and Location: to new host using location-trusted
</name>
<command>
-http://first.host.it.is/we/want/that/page/234 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location-trusted
+http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location-trusted
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/234 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: first.host.it.is\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
Authorization: Basic aWFtOm15c2VsZg==\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://goto.second.host.now/2340002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1\r
Host: goto.second.host.now\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
Authorization: Basic aWFtOm15c2VsZg==\r
FTP resumed upload but no file present remotely
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/235 -T log/upload235 -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C -
</command>
-<file name="log/upload235">
+<file name="log/upload%TESTNUMBER">
this is the *****crap******** that we're gonna upload
worx?
PWD\r
EPSV\r
TYPE I\r
-SIZE 235\r
-STOR 235\r
+SIZE %TESTNUMBER\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
FTP resume upload but denied access to remote file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/file%TESTNUMBER.txt -C -
</command>
-<file name="log/file236.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
</file>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 236\r
-STOR 236\r
+SIZE %TESTNUMBER\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
FTP getting bad host in 227-response to PASV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/237 --disable-epsv
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --disable-epsv
</command>
</client>
FTP getting bad port in response to EPSV
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/238
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/239 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm -d "postit"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm -d "postit"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
HTTP GET fail silently on HTTP error return
</name>
<command>
-http://%HOSTIP:%HTTPPORT/24 --fail --silent --show-error
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail --silent --show-error
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /24 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<errorcode>
22
</errorcode>
-<file2 name="log/stderr24" mode="text">
+<file2 name="log/stderr%TESTNUMBER" mode="text">
curl: (22) The requested URL returned error: 404
</file2>
</verify>
HTTP-IPv6 GET
</name>
<command>
--g "http://%HOST6IP:%HTTP6PORT/240"
+-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /240 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP-IPv6 GET (using ip6-localhost)
</name>
<command>
--g "http://ip6-localhost:%HTTP6PORT/241"
+-g "http://ip6-localhost:%HTTP6PORT/%TESTNUMBER"
</command>
<precheck>
./server/resolve --ipv6 ip6-localhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /241 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: ip6-localhost:%HTTP6PORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP-IPv6 GET with username+password in URL
</name>
<command>
--g "http://foobar:barfoo@%HOST6IP:%HTTP6PORT/242"
+-g "http://foobar:barfoo@%HOST6IP:%HTTP6PORT/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /242 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOST6IP:%HTTP6PORT\r
Authorization: Basic Zm9vYmFyOmJhcmZvbw==\r
User-Agent: curl/%VERSION\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/243 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-anyauth -d "postit"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-anyauth -d "postit"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 6\r
Content-Type: application/x-www-form-urlencoded\r
\r
-postitPOST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1\r
+postitPOST http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
FTP dir listing with nocwd and URL encoded path
</name>
<command>
---ftp-method nocwd ftp://%HOSTIP:%FTPPORT/fir%23t/th%69rd/244/
+--ftp-method nocwd ftp://%HOSTIP:%FTPPORT/fir%23t/th%69rd/%TESTNUMBER/
</command>
</client>
PWD\r
EPSV\r
TYPE A\r
-LIST fir#t/third/244\r
+LIST fir#t/third/%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP POST --digest
</name>
<command>
-http://%HOSTIP:%HTTPPORT/245 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /245 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /245 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/245", response="379a439b1737ba257c1d2f103914b18b"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="379a439b1737ba257c1d2f103914b18b"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
HTTP POST --digest with server doing a 100 before 401 response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/246 -u auser:apasswd --digest -d "junkelijunk"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -d "junkelijunk"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /246 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /246 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/246", response="761e6fc9a760c39d587092e8d840e740"\r
+Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="761e6fc9a760c39d587092e8d840e740"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 11\r
<name>
FTP upload time condition evaluates TRUE => skip upload
</name>
-<file name="log/test247.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
-ftp://%HOSTIP:%FTPPORT/247 -T log/test247.txt -z "apr 1 2005 08:00:00"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00"
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-MDTM 247\r
+MDTM %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
<name>
FTP upload time condition evaluates FALSE => upload anyway
</name>
-<file name="log/test248.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
-ftp://%HOSTIP:%FTPPORT/248 -T log/test248.txt -z "apr 1 2005 08:00:00"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00"
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-MDTM 248\r
+MDTM %TESTNUMBER\r
EPSV\r
TYPE I\r
-STOR 248\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP 304 response with "illegal" Content-Length: header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/249 -z "dec 12 12:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 12:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /249 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<data>
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
<datacheck>
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
-Location: data/reply/25
+Location: data/reply/%TESTNUMBER
Content-Length: 32
Connection: close
looping HTTP Location: following with --max-redirs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/25 -L --max-redirs 5
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L --max-redirs 5
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/25 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/reply/25 HTTP/1.1\r
+GET /want/data/reply/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/reply/data/reply/25 HTTP/1.1\r
+GET /want/data/reply/data/reply/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/reply/data/reply/data/reply/25 HTTP/1.1\r
+GET /want/data/reply/data/reply/data/reply/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1\r
+GET /want/data/reply/data/reply/data/reply/data/reply/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data/reply/data/reply/data/reply/data/reply/data/reply/25 HTTP/1.1\r
+GET /want/data/reply/data/reply/data/reply/data/reply/data/reply/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP resume request over proxy with auth without server supporting it
</name>
<command option="no-output">
--x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/256 -C - --no-include -o log/fewl256.txt -U daniel:stenberg
+-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o log/fewl%TESTNUMBER.txt -U daniel:stenberg
</command>
-<file name="log/fewl256.txt">
+<file name="log/fewl%TESTNUMBER.txt">
This text is here to simulate a partly downloaded file to resume
download on.
</file>
33
</errorcode>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/want/256 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn\r
Range: bytes=78-\r
</protocol>
# the download target file must remain untouched
-<file name="log/fewl256.txt">
+<file name="log/fewl%TESTNUMBER.txt">
This text is here to simulate a partly downloaded file to resume
download on.
</file>
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: http://anotherone.com/2570002
+Location: http://anotherone.com/%TESTNUMBER0002
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 302 Followed here fine swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: http://athird.com/2570003
+Location: http://athird.com/%TESTNUMBER0003
If this is received, the location following worked
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: http://anotherone.com/2570002
+Location: http://anotherone.com/%TESTNUMBER0002
Connection: close
HTTP/1.1 302 Followed here fine swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: http://athird.com/2570003
+Location: http://athird.com/%TESTNUMBER0003
HTTP/1.1 200 Followed here fine swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
HTTP Location: following with --netrc-optional
</name>
<command>
-http://supersite.com/want/257 -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc257
+http://supersite.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc%TESTNUMBER
</command>
<features>
proxy
</features>
# netrc auth for two out of three sites:
-<file name="log/netrc257">
+<file name="log/netrc%TESTNUMBER">
machine supersite.com login user1 password passwd1
machine anotherone.com login user2 password passwd2
</file>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://supersite.com/want/257 HTTP/1.1\r
+GET http://supersite.com/want/%TESTNUMBER HTTP/1.1\r
Host: supersite.com\r
Authorization: Basic dXNlcjE6cGFzc3dkMQ==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://anotherone.com/2570002 HTTP/1.1\r
+GET http://anotherone.com/%TESTNUMBER0002 HTTP/1.1\r
Host: anotherone.com\r
Authorization: Basic dXNlcjI6cGFzc3dkMg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://athird.com/2570003 HTTP/1.1\r
+GET http://athird.com/%TESTNUMBER0003 HTTP/1.1\r
Host: athird.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP POST multipart without Expect: header using proxy anyauth (Digest)
</name>
<command>
--x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/258 -F name=daniel -F tool=curl -F file=@log/test258.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth
+-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth
</command>
# We create this file before the command is invoked!
-<file name="log/test258.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------).*
</strip>
<protocol>
-POST http://remotehost:54321/we/want/258 HTTP/1.1\r
+POST http://remotehost:54321/we/want/%TESTNUMBER HTTP/1.1\r
Host: remotehost:54321\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------7c633d5c27ce\r
-Content-Disposition: form-data; name="file"; filename="test258.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
bar
\r
------------------------------7c633d5c27ce--\r
-POST http://remotehost:54321/we/want/258 HTTP/1.1\r
+POST http://remotehost:54321/we/want/%TESTNUMBER HTTP/1.1\r
Host: remotehost:54321\r
-Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/258", response="2501654ca391f0b5c8c12a1da77e34cd"\r
+Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/%TESTNUMBER", response="2501654ca391f0b5c8c12a1da77e34cd"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
curl\r
------------------------------7c633d5c27ce\r
-Content-Disposition: form-data; name="file"; filename="test258.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
HTTP POST multipart with Expect: header using proxy anyauth (Digest)
</name>
<command>
--x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/259 -F name=daniel -F tool=curl -F file=@log/test259.txt -U uuuser:pppassword --proxy-anyauth -H "Expect: 100-continue"
+-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -U uuuser:pppassword --proxy-anyauth -H "Expect: 100-continue"
</command>
# We create this file before the command is invoked!
-<file name="log/test259.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------).*
</strip>
<protocol>
-POST http://remotehost:54321/we/want/259 HTTP/1.1\r
+POST http://remotehost:54321/we/want/%TESTNUMBER HTTP/1.1\r
Host: remotehost:54321\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------7c633d5c27ce\r
-Content-Disposition: form-data; name="file"; filename="test259.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
bar
\r
------------------------------7c633d5c27ce--\r
-POST http://remotehost:54321/we/want/259 HTTP/1.1\r
+POST http://remotehost:54321/we/want/%TESTNUMBER HTTP/1.1\r
Host: remotehost:54321\r
-Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/259", response="b479994d13e60f3aa192a67c5892ddc5"\r
+Proxy-Authorization: Digest username="uuuser", realm="many secrets", nonce="911", uri="/we/want/%TESTNUMBER", response="b479994d13e60f3aa192a67c5892ddc5"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
curl\r
------------------------------7c633d5c27ce\r
-Content-Disposition: form-data; name="file"; filename="test259.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
specify more -o than URLs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/26 -o - -o -
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -o - -o -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/26 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET URL without slash but with questionmark
</name>
<command>
-"http://%HOSTIP:%HTTPPORT?260"
+"http://%HOSTIP:%HTTPPORT?%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /?260 HTTP/1.1\r
+GET /?%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP RETR with 226 response code to TYPE
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/261
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 261\r
-RETR 261\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP-IPv6 GET with proxy specified using IPv6-numerical address
</name>
<command>
--g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/263
+-g -x "http://%HOST6IP:%HTTP6PORT" http://veryveryremotesite.com/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://veryveryremotesite.com/263 HTTP/1.1\r
+GET http://veryveryremotesite.com/%TESTNUMBER HTTP/1.1\r
Host: veryveryremotesite.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with proxy string including http:// and user+password
</name>
<command>
-http://we.want.that.site.com/264 -x http://f%61ke:user@%HOSTIP:%HTTPPORT
+http://we.want.that.site.com/%TESTNUMBER -x http://f%61ke:user@%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com/264 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZTp1c2Vy\r
User-Agent: curl/%VERSION\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com.265:%HTTPPORT/path/2650002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel -d "postit"
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel -d "postit"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.265:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-CONNECT test.remote.example.com.265:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.265:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
-POST /path/2650002 HTTP/1.1\r
-Host: test.remote.example.com.265:%HTTPPORT\r
+POST /path/%TESTNUMBER0002 HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 6\r
HTTP GET with chunked Transfer-Encoding and chunked trailer
</name>
<command>
-http://%HOSTIP:%HTTPPORT/266 -D log/heads266
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /266 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/heads266">
+<file name="log/heads%TESTNUMBER">
HTTP/1.1 200 funky chunky!\r
Server: fakeit/0.9 fakeitbad/1.0\r
Transfer-Encoding: chunked\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/267 -u testuser:testpass --ntlm -d "data" -H "Header1: yes" -H "Header2: no"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -d "data" -H "Header1: yes" -H "Header2: no"
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /267 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST /267 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
HTTP POST a non-existing file
</name>
<command>
- -d @nonesuchfile http://%HOSTIP:%HTTPPORT/268
+ -d @nonesuchfile http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /268 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP --ignore-content-length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/269 --ignore-content-length
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ignore-content-length
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /269 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Get same cookie page several times
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/want/{27,27,27}" -b none
+"http://%HOSTIP:%HTTPPORT/want/{%TESTNUMBER,%TESTNUMBER,%TESTNUMBER}" -b none
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/27 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/27 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: thewinneris=nowayyouwin\r
\r
-GET /want/27 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP RETR PASV --ftp-skip-pasv-ip
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-skip-pasv-ip --disable-epsv
</command>
</client>
PWD\r
PASV\r
TYPE I\r
-SIZE 270\r
-RETR 270\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
TFTP retrieve
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//271
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /271
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
FTP timed conditioned get file with identical time stamp
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/272 -z "2004 jan 1 12:12:12 UTC"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -z "2004 jan 1 12:12:12 UTC"
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-MDTM 272\r
+MDTM %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP with two Digest authorization headers
</name>
<command>
-http://%HOSTIP:%HTTPPORT/273 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /273 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /273 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/273", response="576ae57b1db0039f8c0de43ef58e49e3"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="576ae57b1db0039f8c0de43ef58e49e3"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP Location: following with --max-redirs 0
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/274 -L --max-redirs 0
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L --max-redirs 0
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/274 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP CONNECT with proxytunnel getting two URLs from the same host
</name>
<command>
-http://remotesite.com.275:%HTTPPORT/we/want/that/page/275 -p -x %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself http://remotesite.com.275:%HTTPPORT/we/want/that/page/275
+http://remotesite.com.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself http://remotesite.com.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT remotesite.com.275:%HTTPPORT HTTP/1.1\r
-Host: remotesite.com.275:%HTTPPORT\r
+CONNECT remotesite.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: remotesite.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/275 HTTP/1.1\r
-Host: remotesite.com.275:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: remotesite.com.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/that/page/275 HTTP/1.1\r
-Host: remotesite.com.275:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: remotesite.com.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002
+Location: data/%TESTNUMBER0002.txt?coolsite=http://anotherurl/?a_second/%TESTNUMBER0002
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002
+Location: data/%TESTNUMBER0002.txt?coolsite=http://anotherurl/?a_second/%TESTNUMBER0002
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP Location: following with multiple question marks in URLs
</name>
<command>
-"http://%HOSTIP:%HTTPPORT/want?uri=http://anything/276?secondq/276" -L
+"http://%HOSTIP:%HTTPPORT/want?uri=http://anything/%TESTNUMBER?secondq/%TESTNUMBER" -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want?uri=http://anything/276?secondq/276 HTTP/1.1\r
+GET /want?uri=http://anything/%TESTNUMBER?secondq/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002 HTTP/1.1\r
+GET /data/%TESTNUMBER0002.txt?coolsite=http://anotherurl/?a_second/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting with custom Content-Type
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/277 -F name=daniel -H "Content-Type: text/info"
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -F name=daniel -H "Content-Type: text/info"
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=------------------------/
</strippart>
<protocol>
-POST /want/277 HTTP/1.1\r
+POST /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with proxy string including http:// and user+empty password
</name>
<command>
-http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
+http://we.want.that.site.com/%TESTNUMBER -x http://f%61ke:@%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com/278 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZTo=\r
User-Agent: curl/%VERSION\r
HTTP with proxy string including http:// and user only
</name>
<command>
-http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
+http://we.want.that.site.com/%TESTNUMBER -x http://f%61ke@%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com/279 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZTo=\r
User-Agent: curl/%VERSION\r
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
+Location: /online/1,1795,Welcome,00.html/%TESTNUMBER0002.txt?logout=TRUE
Connection: close
This server reply is for testing a simple Location: following
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
%if hyper
-Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
+Location: /online/1,1795,Welcome,00.html/%TESTNUMBER0002.txt?logout=TRUE
%else
-Location: /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE
+Location: /online/1,1795,Welcome,00.html/%TESTNUMBER0002.txt?logout=TRUE
%endif
Connection: close
HTTP Location: following with extra spaces in header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/28 -L
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/28 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /online/1,1795,Welcome,00.html/280002.txt?logout=TRUE HTTP/1.1\r
+GET /online/1,1795,Welcome,00.html/%TESTNUMBER0002.txt?logout=TRUE HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP --ftp-alternative-to-user on USER failure
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/280/ --ftp-alternative-to-user "USER replacement"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ --ftp-alternative-to-user "USER replacement"
</command>
</client>
USER replacement\r
PASS ftp@example.com\r
PWD\r
-CWD 280\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
HTTP PUT from file with 100 + 401 responses and -f without auth given
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/281 -f -T log/test281.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -f -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test281.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
22
</errorcode>
<protocol>
-PUT /we/want/281 HTTP/1.1\r
+PUT /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with no response body or headers
</name>
<command>
-http://%HOSTIP:%HTTPPORT/282
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /282 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TFTP retrieve of boundary case 512 byte file
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//284
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
</command>
</client>
tsize: 0
blksize: 512
timeout: 6
-filename: /284
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
TFTP send
</name>
<command>
--T log/test285.txt tftp://%HOSTIP:%TFTPPORT//
+-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//
</command>
-<file name="log/test285.txt">
+<file name="log/test%TESTNUMBER.txt">
a chunk of
data
sent
tsize: 32
blksize: 512
timeout: 6
-filename: /test285.txt
+filename: /test%TESTNUMBER.txt
</protocol>
</verify>
</testcase>
TFTP send of boundary case 512 byte file
</name>
<command>
--T log/test286.txt tftp://%HOSTIP:%TFTPPORT//
+-T log/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//
</command>
-<file name="log/test286.txt">
+<file name="log/test%TESTNUMBER.txt">
A chunk of data which exactly fits into
a 512 byte TFTP block, testing a boundary
condition in the TFTP transmit code.
tsize: 512
blksize: 512
timeout: 6
-filename: /test286.txt
+filename: /test%TESTNUMBER.txt
</protocol>
</verify>
</testcase>
HTTP proxy CONNECT with custom User-Agent header
</name>
<command>
-http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/2015" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel --proxy-header "User-Agent: looser/2007"
+http://test.remote.example.com.%TESTNUMBER:%HTTPPORT/path/%TESTNUMBER -H "User-Agent: looser/2015" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel --proxy-header "User-Agent: looser/2007"
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-CONNECT test.remote.example.com.287:%HTTPPORT HTTP/1.1\r
-Host: test.remote.example.com.287:%HTTPPORT\r
+CONNECT test.remote.example.com.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.remote.example.com.%TESTNUMBER:%HTTPPORT\r
Proxy-Connection: Keep-Alive\r
User-Agent: looser/2007\r
\r
all_proxy=http://fake:user@%HOSTIP:%NOLISTENPORT/
</setenv>
<command option="no-include">
-file://localhost%FILE_PWD/log/test288.txt
+file://localhost%FILE_PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test288.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
FTP resume upload but denied access to local file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/289 -T log/illegal-nonexistent-file -C -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/illegal-nonexistent-file -C -
</command>
</client>
HTTP with 2 secs timeout
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/29 -m 2
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -m 2
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/29 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP download maximum filesize exceeded
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 30
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 290\r
+SIZE %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP download maximum filesize not exceeded
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 100
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 291\r
-RETR 291\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with maximum filesize not exceeded
</name>
<command>
-http://%HOSTIP:%HTTPPORT/292 --max-filesize 1000
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 1000
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /292 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with maximum filesize exceeded
</name>
<command>
-http://%HOSTIP:%HTTPPORT/293 --max-filesize 2
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2
</command>
</client>
63
</errorcode>
<protocol>
-GET /293 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP --ftp-account on ACCT request
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/294/ --ftp-account "data for acct"
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ --ftp-account "data for acct"
</command>
</client>
PASS ftp@example.com\r
ACCT data for acct\r
PWD\r
-CWD 294\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
FTP ACCT request without --ftp-account
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/295/
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/
</command>
</client>
FTP CWD with --ftp-method multicwd
</name>
<command>
---ftp-method multicwd ftp://%HOSTIP:%FTPPORT/first/second/third/296
+--ftp-method multicwd ftp://%HOSTIP:%FTPPORT/first/second/third/%TESTNUMBER
</command>
</client>
CWD third\r
EPSV\r
TYPE I\r
-SIZE 296\r
-RETR 296\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP CWD with --ftp-method singlecwd
</name>
<command>
---ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/297
+--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/%TESTNUMBER
</command>
</client>
CWD first/second/third\r
EPSV\r
TYPE I\r
-SIZE 297\r
-RETR 297\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP CWD with --ftp-method nocwd
</name>
<command>
---ftp-method nocwd ftp://%HOSTIP:%FTPPORT/first/second/th%69rd/298
+--ftp-method nocwd ftp://%HOSTIP:%FTPPORT/first/second/th%69rd/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE first/second/third/298\r
-RETR first/second/third/298\r
+SIZE first/second/third/%TESTNUMBER\r
+RETR first/second/third/%TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP over HTTP proxy with user:pass not in url
</name>
<command>
--x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/299
+-x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1\r
+GET ftp://michal:aybabtu@host.com/we/want/%TESTNUMBER HTTP/1.1\r
Host: host.com:21\r
Authorization: Basic bWljaGFsOmF5YmFidHU=\r
User-Agent: curl/%VERSION\r
HTTP POST with auth and contents but with content-length set to 0
</name>
<command>
- -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HTTPPORT/3
+ -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /3 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic ZmFrZTotdXNlcg==\r
User-Agent: curl/%VERSION\r
HTTP with no data in server reply
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/30
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/30 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
simple HTTPS GET
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/300
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /300 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS GET to localhost, first subject alt name matches, CN does not match
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/3000
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /3000 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS GET to localhost, last subject alt name matches, CN does not match
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/3001
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /3001 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3002 --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 3002\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<invalid.one>\r
RCPT TO:<recipient.two@example.com>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3003 --mail-rcpt-allowfails --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt invalid.five --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt invalid.five --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 3003\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient.one@example.com>\r
RCPT TO:<recipient.two@example.com>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3004 --mail-rcpt-allowfails --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt invalid.three --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt invalid.three --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 3004\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient.one@example.com>\r
RCPT TO:<recipient.two@example.com>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3005 --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt recipient.two@example.com --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt recipient.two@example.com --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 3005\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<invalid.one>\r
RCPT TO:<recipient.two@example.com>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3006 --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt invalid.two --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt invalid.two --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 3006\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<invalid.one>\r
RCPT TO:<invalid.two>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/3007 --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 3007\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<invalid.one>\r
QUIT\r
--output-dir
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/this/is/the/3008 -O --output-dir %PWD/log
+http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/is/the/3008 HTTP/1.1\r
+GET /this/is/the/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/3008">
+<file name="log/%TESTNUMBER">
-foo-
</file>
</verify>
--output-dir a non-existing directory
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/this/is/the/3009 -O --output-dir %PWD/not-there
+http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/not-there
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/is/the/3009 HTTP/1.1\r
+GET /this/is/the/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS GET with user and password
</name>
<command>
--k -u fake:user https://%HOSTIP:%HTTPSPORT/301
+-k -u fake:user https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /301 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
Authorization: Basic ZmFrZTp1c2Vy\r
User-Agent: curl/%VERSION\r
Content-Type: text/html
Content-Length: 0
Retry-After: 2
-Location: /30100002
+Location: /%TESTNUMBER0002
</data>
<data2>
HTTP retry-after reset
</name>
<tool>
-lib3010
+lib%TESTNUMBER
</tool>
<command>
-%HOSTIP:%HTTPPORT/3010
+%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
--output-dir with --create-dirs
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/this/is/the/3011 -O --output-dir %PWD/log/tmp --create-dirs
+http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log/tmp --create-dirs
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/is/the/3011 HTTP/1.1\r
+GET /this/is/the/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/tmp/3011">
+<file name="log/tmp/%TESTNUMBER">
-foo-
</file>
</verify>
Accept-Ranges: bytes
Content-Length: 6
Connection: close
-Content-Disposition: inline; filename="MMM3012MMM"
+Content-Disposition: inline; filename="MMM%TESTNUMBERMMM"
Content-Type: text/html
Funny-head: yesyes
--output-dir with -J
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/this/is/the/3012 -OJ --output-dir %PWD/log
+http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -OJ --output-dir %PWD/log
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/is/the/3012 HTTP/1.1\r
+GET /this/is/the/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/MMM3012MMM">
+<file name="log/MMM%TESTNUMBERMMM">
-foo-
</file>
</verify>
Accept-Ranges: bytes
Content-Length: 6
Connection: close
-Content-Disposition: inline; filename="MMM3013MMM"
+Content-Disposition: inline; filename="MMM%TESTNUMBERMMM"
Content-Type: text/html
Funny-head: yesyes
Two --output-dir with --next in between
</name>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/this/is/the/3013 -O --output-dir %PWD/log http://%HOSTIP:%HTTPPORT/another/3013 -o second3013 --output-dir %PWD/log
+http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/log http://%HOSTIP:%HTTPPORT/another/%TESTNUMBER -o second%TESTNUMBER --output-dir %PWD/log
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /this/is/the/3013 HTTP/1.1\r
+GET /this/is/the/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /another/3013 HTTP/1.1\r
+GET /another/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/3013">
+<file name="log/%TESTNUMBER">
-foo-
</file>
-<file2 name="log/second3013">
+<file2 name="log/second%TESTNUMBER">
-foo-
</file2>
</verify>
Content-Length: 8\r
Connection: close\r
Content-Type: text/plain\r
-Location: ./30150001\r
+Location: ./%TESTNUMBER0001\r
\r
monster
</data>
HTTP GET -w num_headers with redirected fetch (2 connects)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/3015 -w "%{num_headers}\n" -L -o/dev/null
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_headers}\n" -L -o/dev/null
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /3015 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /30150001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS GET over HTTP proxy fails
</name>
<command>
--k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
+-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:%TESTNUMBER/slash/%TESTNUMBER
</command>
</client>
HTTPS with 8 secs timeout
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/want/303 -m 8
+-k https://%HOSTIP:%HTTPSPORT/want/%TESTNUMBER -m 8
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/303 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS multipart formpost
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
+-k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt
</command>
# We create this file before the command is invoked!
-<file name="log/test304.txt">
+<file name="log/test%TESTNUMBER.txt">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
</file>
</client>
^(Content-Type: multipart/form-data;|------).*
</strip>
<protocol>
-POST /we/want/304 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------c3b2ef7f0bb8\r
-Content-Disposition: form-data; name="file"; filename="test304.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
insecure HTTPS without permission
</name>
<command>
-https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo
+https://%HOSTIP:%HTTPSPORT/want/%TESTNUMBER --cacert moooo
</command>
</client>
HTTPS GET, receive no headers only data!
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/306 --http0.9
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /306 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
https
</server>
<precheck>
-perl %SRCDIR/libtest/test307.pl %CURL
+perl %SRCDIR/libtest/test%TESTNUMBER.pl %CURL
</precheck>
<name>
simple HTTPS GET with openssl engine
</name>
<command>
---engine openssl -k https://%HOSTIP:%HTTPSPORT/307
+--engine openssl -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /307 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
simple HTTPS GET with invalid crypto engine
</name>
<command>
---engine invalid-crypto-engine-xyzzy -k https://%HOSTIP:%HTTPSPORT/308
+--engine invalid-crypto-engine-xyzzy -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
</command>
</client>
HTTP/1.1 301 This is a weirdo text message swsclose\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: https://%HOSTIP:%HTTPSPORT/data/3090002.txt?coolsite=yes\r
+Location: https://%HOSTIP:%HTTPSPORT/data/%TESTNUMBER0002.txt?coolsite=yes\r
Connection: close\r
\r
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 301 This is a weirdo text message swsclose\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: https://%HOSTIP:%HTTPSPORT/data/3090002.txt?coolsite=yes\r
+Location: https://%HOSTIP:%HTTPSPORT/data/%TESTNUMBER0002.txt?coolsite=yes\r
Connection: close\r
\r
HTTP/1.1 200 Followed here fine swsclose\r
HTTP Location: redirect to HTTPS URL
</name>
<command>
--k http://%HOSTIP:%HTTPPORT/want/309 -L
+-k http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/309 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /data/3090002.txt?coolsite=yes HTTP/1.1\r
+GET /data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TZ=GMT
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/31 -b none -c log/jar31.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -c log/jar%TESTNUMBER.txt
</command>
<precheck>
perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );"
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/31 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/jar31.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
simple HTTPS GET
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/310
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /310 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: localhost:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTPS wrong subjectAltName but right CN
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
HTTPS GET to localhost and null-prefixed CN cert
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
CRL test
</name>
<command>
---cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --crlfile %SRCDIR/certs/Server-localhost-sv.crl https://localhost:%HTTPSPORT/313
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --crlfile %SRCDIR/certs/Server-localhost-sv.crl https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost because we're checking the host name
<precheck>
HTTP GET brotli compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/314 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
%endif
</strippart>
<protocol>
-GET /314 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET brotli compressed content with broken header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/315 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /315 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE
</name>
<command>
-http://%HOSTIP:%HTTPPORT/316 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /316 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3170002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3170002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
HTTP with custom Authorization: and redirect to new host
</name>
<command>
-http://first.host.it.is/we/want/that/page/317 -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location
+http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/317 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: first.host.it.is\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Authorization: s3cr3t\r
\r
-GET http://goto.second.host.now/3170002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1\r
Host: goto.second.host.now\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
User-Agent: curl/%VERSION\r
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3180002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3180002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
HTTP with custom Authorization: and redirect to new host
</name>
<command>
-http://first.host.it.is/we/want/that/page/318 -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location-trusted
+http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location-trusted
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/318 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: first.host.it.is\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
Authorization: s3cr3t\r
\r
-GET http://goto.second.host.now/3180002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1\r
Host: goto.second.host.now\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
User-Agent: curl/%VERSION\r
HTTP GET gzip transfer-encoded data in raw mode
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/319 --raw
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /319 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with -d and -G
</name>
<command>
--d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/32 -G
+-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -G
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /32?foo=moo&moo=poo HTTP/1.1\r
+GET /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<verify>
<protocol>
</protocol>
-<file name="log/curl320.out">
+<file name="log/curl%TESTNUMBER.out">
HTTP/1.0 200 OK\r
Content-type: text/html\r
\r
TLS-SRP to non-TLS-SRP server
</name>
<command>
---insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword badpass https://%HOSTIP:%HTTPSPORT/want/323
+--insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword badpass https://%HOSTIP:%HTTPSPORT/want/%TESTNUMBER
</command>
</client>
TLS-SRP with server cert checking
</name>
<command> # no --insecure
---tlsauthtype SRP --tlsuser jsmith --tlspassword abc https://%HOSTIP:%HTTPTLSPORT/want/323
+--tlsauthtype SRP --tlsuser jsmith --tlspassword abc https://%HOSTIP:%HTTPTLSPORT/want/fails
</command>
</client>
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
-Location: http://somewhere/325
+Location: http://somewhere/%TESTNUMBER
MooMoo
</data>
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
-Location: http://somewhere/325
+Location: http://somewhere/%TESTNUMBER
</datacheck>
</reply>
HTTPS with attempted redirect to denied HTTP
</name>
<command>
--k https://%HOSTIP:%HTTPSPORT/325 --proto-redir -http --location
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER --proto-redir -http --location
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /325 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET chunked data in raw mode
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/326 --raw
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /326 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with cookiejar without cookies left
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/327 -b none -c log/cookies327 http://%HOSTIP:%HTTPPORT/we/want/3270002
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -c log/cookies%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/327 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/want/3270002 HTTP/1.1\r
+GET /we/want/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: foobar=name\r
\r
</protocol>
-<file name="log/cookies327" mode="text">
+<file name="log/cookies%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP with "Content-Encoding: none
</name>
<command>
-http://%HOSTIP:%HTTPPORT/hello/328 --compressed
+http://%HOSTIP:%HTTPPORT/hello/%TESTNUMBER --compressed
</command>
</client>
^Accept-Encoding:.*
</strip>
<protocol>
-GET /hello/328 HTTP/1.1\r
+GET /hello/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# Client-side
<client>
-<file name="log/jar329.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
.host.foo.com TRUE /we/want/ FALSE 2147483647 test no
</file>
-<file name="log/jar329-2.txt" mode="text">
+<file name="log/jar%TESTNUMBER-2.txt" mode="text">
.host.foo.com TRUE /we/want/ FALSE 2147483647 tester yes
</file>
<server>
TZ=GMT
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/329 -b log/jar329.txt -b log/jar329-2.txt -H "Host: host.foo.com" http://%HOSTIP:%HTTPPORT/we/want/3290002
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/jar%TESTNUMBER.txt -b log/jar%TESTNUMBER-2.txt -H "Host: host.foo.com" http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER0002
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/329 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: host.foo.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: tester=yes; test=no\r
\r
-GET /we/want/3290002 HTTP/1.1\r
+GET /we/want/%TESTNUMBER0002 HTTP/1.1\r
Host: host.foo.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<name>
HTTP PUT with resume
</name>
-<file name="log/test33.txt">
+<file name="log/test%TESTNUMBER.txt">
012345678
012345678
012345678
012345678
</file>
<command>
-http://%HOSTIP:%HTTPPORT/33 -Tlog/test33.txt -C 50
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C 50
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /33 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Content-Range: bytes 50-99/100\r
User-Agent: curl/%VERSION\r
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3170002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
-Location: http://goto.second.host.now/3170002
+Location: http://goto.second.host.now/%TESTNUMBER0002
Content-Length: 8
Connection: close
HTTP with custom Cookie: and redirect to new host
</name>
<command>
-http://first.host.it.is/we/want/that/page/317 -x %HOSTIP:%HTTPPORT -H "Cookie: test=yes" --location
+http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT -H "Cookie: test=yes" --location
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://first.host.it.is/we/want/that/page/317 HTTP/1.1\r
+GET http://first.host.it.is/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: first.host.it.is\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Cookie: test=yes\r
\r
-GET http://goto.second.host.now/3170002 HTTP/1.1\r
+GET http://goto.second.host.now/%TESTNUMBER0002 HTTP/1.1\r
Host: goto.second.host.now\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with cookie using host name 'moo'
</name>
<command>
--x http://%HOSTIP:%HTTPPORT http://moo/we/want/331 -b none http://moo/we/want/3310002
+-x http://%HOSTIP:%HTTPPORT http://moo/we/want/%TESTNUMBER -b none http://moo/we/want/%TESTNUMBER0002
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://moo/we/want/331 HTTP/1.1\r
+GET http://moo/we/want/%TESTNUMBER HTTP/1.1\r
Host: moo\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://moo/we/want/3310002 HTTP/1.1\r
+GET http://moo/we/want/%TESTNUMBER0002 HTTP/1.1\r
Host: moo\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TFTP retrieve with blksize 400
</name>
<command>
-tftp://%HOSTIP:%TFTPPORT//332 --tftp-blksize 400
+tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --tftp-blksize 400
</command>
</client>
tsize: 0
blksize: 400
timeout: 6
-filename: /332
+filename: /%TESTNUMBER
</protocol>
</verify>
</testcase>
Try a non-boolean command line option with --no-
</name>
<command>
---no-proxy "hey" http://%HOSTIP:%NOLISTENPORT/333
+--no-proxy "hey" http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
</command>
</client>
HTTP 204 No content with chunked header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/334
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/334 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with proxy Digest and site Digest with creds in URLs
</name>
<command>
-http://digest:alot@data.from.server.requiring.digest.hohoho.com/335 --proxy http://foo:bar@%HOSTIP:%HTTPPORT --proxy-digest --digest
+http://digest:alot@data.from.server.requiring.digest.hohoho.com/%TESTNUMBER --proxy http://foo:bar@%HOSTIP:%HTTPPORT --proxy-digest --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://data.from.server.requiring.digest.hohoho.com/335 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/335 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
-Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/335", response="f61609cd8f5bb205ef4e169b2c5626cb"\r
+Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER", response="f61609cd8f5bb205ef4e169b2c5626cb"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://data.from.server.requiring.digest.hohoho.com/335 HTTP/1.1\r
+GET http://data.from.server.requiring.digest.hohoho.com/%TESTNUMBER HTTP/1.1\r
Host: data.from.server.requiring.digest.hohoho.com\r
-Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/335", response="f61609cd8f5bb205ef4e169b2c5626cb"\r
-Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/335", response="08a2e2e684047f4219a38ddc189ac00c"\r
+Proxy-Authorization: Digest username="foo", realm="weirdorealm", nonce="12345", uri="/%TESTNUMBER", response="f61609cd8f5bb205ef4e169b2c5626cb"\r
+Authorization: Digest username="digest", realm="realmweirdo", nonce="123456", uri="/%TESTNUMBER", response="08a2e2e684047f4219a38ddc189ac00c"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
FTP range download when SIZE doesn't work
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/336 --range 3-6
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 336\r
+SIZE %TESTNUMBER\r
REST 3\r
-RETR 336\r
+RETR %TESTNUMBER\r
ABOR\r
QUIT\r
</protocol>
FTP range download with SIZE returning extra crap
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/337 --range 3-6
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6
</command>
</client>
EPSV\r
PASV\r
TYPE I\r
-SIZE 337\r
+SIZE %TESTNUMBER\r
REST 3\r
-RETR 337\r
+RETR %TESTNUMBER\r
ABOR\r
QUIT\r
</protocol>
ANYAUTH connection reuse of non-authed connection
</name>
<command>
-http://%HOSTIP:%HTTPPORT/338 --next http://%HOSTIP:%HTTPPORT/338 --anyauth -u foo:moo
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --anyauth -u foo:moo
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /338 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /338 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Check if --etag-save saved correct etag to a file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/339 --etag-save log/etag339
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/etag%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /339 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/etag339">
+<file name="log/etag%TESTNUMBER">
W/"asdf"
</file>
</verify>
HTTP GET with chunked Transfer-Encoding
</name>
<command>
-http://%HOSTIP:%HTTPPORT/34
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /34 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP using %00 in path with singlecwd
</name>
<command>
---ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/340
+--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/%TESTNUMBER
</command>
</client>
Try to open a non existing file with --etag-compare should return an error
</name>
<command>
-http://%HOSTIP:%HTTPPORT/341 --etag-compare log/etag341
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER
</command>
</client>
<name>
Check if --etag-compare set correct etag in header
</name>
-<file name="log/etag342">
+<file name="log/etag%TESTNUMBER">
"21025-dc7-39462498"
</file>
<command>
-http://%HOSTIP:%HTTPPORT/342 --etag-compare log/etag342
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /342 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<name>
Both --etag-compare and --etag-save to save new Etag
</name>
-<file name="log/etag343">
+<file name="log/etag%TESTNUMBER">
"21025-dc7-39462498"
</file>
<command>
-http://%HOSTIP:%HTTPPORT/343 --etag-compare log/etag343 --etag-save log/out343
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/out%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /343 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
If-None-Match: "21025-dc7-39462498"\r
\r
</protocol>
-<file name="log/out343">
+<file name="log/out%TESTNUMBER">
"21025-dc7-11111"
</file>
</verify>
Both --etag-compare and -save store new Etag using non-existing file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/344 --etag-compare log/etag344 --etag-save log/etag344
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/etag%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /344 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
If-None-Match: ""\r
\r
</protocol>
-<file name="log/etag344">
+<file name="log/etag%TESTNUMBER">
"21025-dc7-11111"
</file>
</verify>
<name>
Both --etag-compare and -save store new Etag using one pre-existing file
</name>
-<file name="log/etag345">
+<file name="log/etag%TESTNUMBER">
"21025-dc7-39462498"
</file>
<command>
-http://%HOSTIP:%HTTPPORT/345 --etag-compare log/etag345 --etag-save log/etag345
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare log/etag%TESTNUMBER --etag-save log/etag%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /345 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
If-None-Match: "21025-dc7-39462498"\r
\r
</protocol>
-<file name="log/etag345">
+<file name="log/etag%TESTNUMBER">
"21025-dc7-11111"
</file>
</verify>
HTTP GET over proxy with credentials using blank passwords
</name>
<command>
--x http://%HOSTIP:%HTTPPORT/346 -U puser: -u suser: http://remote.example/346
+-x http://%HOSTIP:%HTTPPORT/%TESTNUMBER -U puser: -u suser: http://remote.example/%TESTNUMBER
</command>
</client>
#
<verify>
<protocol>
-GET http://remote.example/346 HTTP/1.1\r
+GET http://remote.example/%TESTNUMBER HTTP/1.1\r
Host: remote.example\r
Proxy-Authorization: Basic cHVzZXI6\r
Authorization: Basic c3VzZXI6\r
--etag-save with blank incoming header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/347 --etag-save log/etag347
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save log/etag%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /347 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/etag347">
+<file name="log/etag%TESTNUMBER">
</file>
</verify>
<name>
FTP upload file with 552 disk full response
</name>
-<file name="log/test348.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
-ftp://%HOSTIP:%FTPPORT/348 -T log/test348.txt
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-STOR 348\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
# 70 - CURLE_REMOTE_DISK_FULL
HTTP GET --fail-with-body on HTTP error return
</name>
<command>
-http://%HOSTIP:%HTTPPORT/349 --fail-with-body
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /349 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP without password
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/354
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 354\r
-RETR 354\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
load Alt-Svc from file and use
</name>
<command>
-http://%HOSTIP:%HTTPPORT/355 --alt-svc ""
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc ""
</command>
-<file name="log/altsvc-355">
+<file name="log/altsvc-%TESTNUMBER">
h1 example.com 80 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /355 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_ALTSVC_HTTP="yeah"
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/356 --alt-svc "log/altsvc-356"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "log/altsvc-%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /356 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
# matches
s/\"([^\"]*)\"/TIMESTAMP/
</stripfile>
-<file name="log/altsvc-356" mode="text">
+<file name="log/altsvc-%TESTNUMBER" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h1 %HOSTIP %HTTPPORT h1 nowhere.foo 81 TIMESTAMP 0 0
HTTP PUT with Expect: 100-continue and 417 response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/357 -T log/test357.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
-<file name="log/test357.txt">
+<file name="log/test%TESTNUMBER.txt">
Weird
file
to
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /we/want/357 HTTP/1.1\r
+PUT /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 78\r
Expect: 100-continue\r
\r
-PUT /we/want/357 HTTP/1.1\r
+PUT /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
CURL_ALTSVC_HTTP="yeah"
</setenv>
<command>
---http2 --alt-svc "log/altsvc-358" "http://%HOSTIP:%HTTPPORT/358" "http://%HOSTIP:%HTTPPORT/358"
+--http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER"
</command>
-<file name="log/altsvc-358">
+<file name="log/altsvc-%TESTNUMBER">
h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT "20290222 22:19:28" 0 0
</file>
# matches
s/\"2([^\"]*)\"/TIMESTAMP/
</stripfile>
-<file name="log/altsvc-358" mode="text">
+<file name="log/altsvc-%TESTNUMBER" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT TIMESTAMP 0 0
CURL_ALTSVC_HTTP="yeah"
</setenv>
<command>
---http2 --alt-svc "log/altsvc-359" "http://%HOSTIP:%HTTPSPORT/359" "http://%HOSTIP:%HTTPSPORT/359"
+--http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER"
</command>
-<file name="log/altsvc-359">
+<file name="log/altsvc-%TESTNUMBER">
h2 %HOSTIP %HTTPSPORT h2 %HOSTIP %HTTP2PORT "20290222 22:19:28" 0 0
</file>
# matches
s/\"2([^\"]*)\"/TIMESTAMP/
</stripfile>
-<file name="log/altsvc-359" mode="text">
+<file name="log/altsvc-%TESTNUMBER" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h2 %HOSTIP %HTTPSPORT h2 %HOSTIP %HTTP2PORT TIMESTAMP 0 0
HTTP GET with bad chunked Transfer-Encoding
</name>
<command>
-http://%HOSTIP:%HTTPPORT/36
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
56
</errorcode>
<protocol>
-GET /36 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Error on both --fail-with-body and --fail
</name>
<command>
-http://%HOSTIP:%HTTPPORT/360 --fail-with-body --fail
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body --fail
</command>
</client>
HTTP GET --fail-with-body on HTTP error return - twice
</name>
<command>
-http://%HOSTIP:%HTTPPORT/361 http://%HOSTIP:%HTTPPORT/361 --fail-with-body
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /361 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /361 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<name>
FTP resume upload file with nothing to start from
</name>
-<file name="log/test362.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
-ftp://%HOSTIP:%FTPPORT/362 -T log/test362.txt --continue-at -
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt --continue-at -
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 362\r
-STOR 362\r
+SIZE %TESTNUMBER\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET with nothing returned from server
</name>
<command>
-http://%HOSTIP:%HTTPPORT/37
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
52
</errorcode>
<protocol>
-GET /37 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP resume request without server supporting it
</name>
<command option="no-output">
-http://%HOSTIP:%HTTPPORT/want/38 -C - --no-include -o log/fewl38.txt
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o log/fewl%TESTNUMBER.txt
</command>
-<file name="log/fewl38.txt">
+<file name="log/fewl%TESTNUMBER.txt">
This text is here to simulate a partly downloaded file to resume
download on.
</file>
33
</errorcode>
<protocol>
-GET /want/38 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=78-\r
User-Agent: curl/%VERSION\r
</protocol>
# the download target file must remain untouched
-<file name="log/fewl38.txt">
+<file name="log/fewl%TESTNUMBER.txt">
This text is here to simulate a partly downloaded file to resume
download on.
</file>
HTTP RFC1867-type formposting with filename= and type=
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/39 -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@log/test39.txt;type=moo/foobar;filename=fakerfile" -F file2=@log/test39.txt -F "file3=@\"log/test39.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"log/test39.txt"; filename="A\\AA\"\"\\\"ZZZ"'
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl --form-string "str1=@literal" --form-string "str2=<verbatim;type=xxx/yyy" -F "file=@log/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile" -F file2=@log/test%TESTNUMBER.txt -F "file3=@\"log/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\"" -F 'file4=@"log/test%TESTNUMBER.txt"; filename="A\\AA\"\"\\\"ZZZ"'
</command>
# We create this file before the command is invoked!
-<file name="log/test39.txt">
+<file name="log/test%TESTNUMBER.txt">
foo bar
This is a bar foo
bar
^(Content-Type: multipart/form-data;|-------).*
</strip>
<protocol>
-POST /we/want/39 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
foo
\r
------------------------------24e78000bd32\r
-Content-Disposition: form-data; name="file2"; filename="test39.txt"\r
+Content-Disposition: form-data; name="file2"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo bar
HTTP max-filesize and out-of-range Content-Length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/393 --max-filesize 2000000
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2000000
</command>
</client>
63
</errorcode>
<protocol>
-GET /393 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with rubbish in Content-Length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/394
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
8
</errorcode>
<protocol>
-GET /394 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP and out-of-range Content-Length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/395
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /395 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET zstd compressed content
</name>
<command>
-http://%HOSTIP:%HTTPPORT/396 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /396 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET zstd compressed content of size more than CURL_MAX_WRITE_SIZE
</name>
<command>
-http://%HOSTIP:%HTTPPORT/397 --compressed
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
</command>
</client>
s/^Accept-Encoding: .*/Accept-Encoding: xxx/
</strippart>
<protocol>
-GET /397 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Replaced internal and added custom HTTP headers
</name>
<command>
- -H "extra-header: here" -H "Accept: replaced" -H "X-Custom-Header;" -H "X-Test: foo; " -H "X-Test:" -H "X-Test2: foo;" -H "X-Test3: " -H "X-Test4; " -H "X-Test5;ignored" http://%HOSTIP:%HTTPPORT/4 http://%HOSTIP:%HTTPPORT/4
+ -H "extra-header: here" -H "Accept: replaced" -H "X-Custom-Header;" -H "X-Test: foo; " -H "X-Test:" -H "X-Test2: foo;" -H "X-Test3: " -H "X-Test4; " -H "X-Test5;ignored" http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /4 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
extra-header: here\r
X-Test: foo; \r
X-Test2: foo;\r
\r
-GET /4 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
extra-header: here\r
<reply>
<data>
HTTP/1.1 302 OK swsclose\r
-Location: ../moo.html/?name=d a niel&testcase=/400002 \r
+Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002 \r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
<datacheck>
HTTP/1.1 302 OK swsclose\r
%if !hyper
-Location: ../moo.html/?name=d a niel&testcase=/400002 \r
+Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002 \r
%else
-Location: ../moo.html/?name=d a niel&testcase=/400002\r
+Location: ../moo.html/?name=d a niel&testcase=/%TESTNUMBER0002\r
%endif
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
HTTP redirect with whitespace after ? (and conversion)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/40 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/40 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/all/moo.html/?name=d+a+niel&testcase=/400002 HTTP/1.1\r
+GET /we/are/all/moo.html/?name=d+a+niel&testcase=/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<name>
FTPS PASV upload file
</name>
-<file name="log/test401.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
--k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/401 -T log/test401.txt
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-STOR 401\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP SSL required on non-SSL server
</name>
<command>
--k --ftp-ssl-reqd ftp://%HOSTIP:%FTPPORT/402
+-k --ftp-ssl-reqd ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
FTPS operation to FTP port
</name>
<command>
--m 5 -k ftps://%HOSTIP:%FTPPORT/path/to/file/405
+-m 5 -k ftps://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER
</command>
</client>
Get two FTPS files from the same remote dir: no second CWD
</name>
<command>
--k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/a/path/407 ftps://%HOSTIP:%FTPSPORT/a/path/407
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER
</command>
<stdout>
data blobb
CWD path\r
EPSV\r
TYPE I\r
-SIZE 407\r
-RETR 407\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 407\r
-RETR 407\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTPS PORT upload with CWD
</name>
<command>
--k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/408 -T log/upload408 -P -
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/%TESTNUMBER -T log/upload%TESTNUMBER -P -
</command>
-<file name="log/upload408">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
CWD RETR\r
PORT 127,0,0,1,5,109\r
TYPE I\r
-STOR 408\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
<name>
FTPS PASV upload file
</name>
-<file name="log/test409.txt">
+<file name="log/test%TESTNUMBER.txt">
data
to
see
so does it?
</file>
<command>
--k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/409 -T log/test409.txt
+-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-STOR 409\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP formpost with missing file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/41 -F moo=@boo
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -F moo=@boo
</command>
</client>
HTTPS GET with very long request header
</name>
# 14 characters repeated 3500 times makes 49000 bytes
-<file name="log/file410">
+<file name="log/file%TESTNUMBER">
Long: %repeat[3500 x header content]%
</file>
<command>
--k https://%HOSTIP:%HTTPSPORT/410 -H @log/file410
+-k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -H @log/file%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /410 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 302 OK swsclose\r
-Location: ../m o o.html/420002 \r
+Location: ../m o o.html/%TESTNUMBER0002 \r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
\r
<datacheck>
HTTP/1.1 302 OK swsclose\r
%if !hyper
-Location: ../m o o.html/420002 \r
+Location: ../m o o.html/%TESTNUMBER0002 \r
%else
-Location: ../m o o.html/420002\r
+Location: ../m o o.html/%TESTNUMBER0002\r
%endif
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Connection: close\r
HTTP redirect with whitespace in path (and conversion)
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/42 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/42 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/all/m%20o%20o.html/420002 HTTP/1.1\r
+GET /we/are/all/m%20o%20o.html/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 This is a weirdo text message
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/430002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data/430002.txt?coolsite=yes
+Location: data/%TESTNUMBER0002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
HTTP Location: following over HTTP proxy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/43 -L -x %HOSTIP:%HTTPPORT
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/want/43 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://%HOSTIP:%HTTPPORT/want/data/430002.txt?coolsite=yes HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/want/data/%TESTNUMBER0002.txt?coolsite=yes HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
#
# Client-side
<client>
-<file1 name="log/config430-a">
+<file1 name="log/config%TESTNUMBER-a">
--next
-url = %HOSTIP:%HTTPPORT/4300001
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001
header = "a: a"
data = "a"
</file1>
-<file2 name="log/config430-b">
+<file2 name="log/config%TESTNUMBER-b">
--next
-url = %HOSTIP:%HTTPPORT/4300002
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002
header = "b: b"
data = "b"
</file2>
-<file3 name="log/config430-c">
+<file3 name="log/config%TESTNUMBER-c">
--next
-url = %HOSTIP:%HTTPPORT/4300003
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0003
header = "c: c"
data = "c"
</file3>
Three -K uses with --next and --data in each
</name>
<command>
--K log/config430-a -K log/config430-b -K log/config430-c
+-K log/config%TESTNUMBER-a -K log/config%TESTNUMBER-b -K log/config%TESTNUMBER-c
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /4300001 HTTP/1.1\r
+POST /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-aPOST /4300002 HTTP/1.1\r
+aPOST /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-bPOST /4300003 HTTP/1.1\r
+bPOST /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
#
# Client-side
<client>
-<file1 name="log/config431-a">
+<file1 name="log/config%TESTNUMBER-a">
--next
-url = %HOSTIP:%HTTPPORT/4310001
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001
header = "a: a"
data = "a"
</file1>
-<file2 name="log/config431-b">
+<file2 name="log/config%TESTNUMBER-b">
--next
-url = %HOSTIP:%HTTPPORT/4310002
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002
header = "b: b"
data = "b"
</file2>
Two -K uses with --next and then one on cmdline
</name>
<command>
--K log/config431-a -K log/config431-b --next -d c %HOSTIP:%HTTPPORT/4310003 -H "c: c"
+-K log/config%TESTNUMBER-a -K log/config%TESTNUMBER-b --next -d c %HOSTIP:%HTTPPORT/%TESTNUMBER0003 -H "c: c"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /4310001 HTTP/1.1\r
+POST /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-aPOST /4310002 HTTP/1.1\r
+aPOST /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-bPOST /4310003 HTTP/1.1\r
+bPOST /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
#
# Client-side
<client>
-<file1 name="log/config432">
+<file1 name="log/config%TESTNUMBER">
--next
-url = %HOSTIP:%HTTPPORT/4320001
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0001
header = "a: a"
data = "a"
--next
-url = %HOSTIP:%HTTPPORT/4320002
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0002
header = "b: b"
data = "b"
-config = "log/config432-c"
+config = "log/config%TESTNUMBER-c"
</file1>
-<file2 name="log/config432-c">
+<file2 name="log/config%TESTNUMBER-c">
--next
-url = %HOSTIP:%HTTPPORT/4320003
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER0003
header = "c: c"
data = "c"
</file2>
Use -K with --next and --config from within
</name>
<command>
--K log/config432
+-K log/config%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /4320001 HTTP/1.1\r
+POST /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-aPOST /4320002 HTTP/1.1\r
+aPOST /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 1\r
Content-Type: application/x-www-form-urlencoded\r
\r
-bPOST /4320003 HTTP/1.1\r
+bPOST /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Verify XDG_CONFIG_HOME use to find .curlrc
</name>
<command>
-%HOSTIP:%HTTPPORT/433
+%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /433 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
#
<client>
-<file name="log/config434" nonewline="yes">
-url = %HOSTIP:%HTTPPORT/434
+<file name="log/config%TESTNUMBER" nonewline="yes">
+url = %HOSTIP:%HTTPPORT/%TESTNUMBER
</file>
<server>
http
-K with a single line without newline
</name>
<command>
--K log/config434
+-K log/config%TESTNUMBER
</command>
</client>
#
<verify>
<protocol>
-GET /434 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP RFC1867-type formposting without Expect: header
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/44 -F name=daniel -F tool=curl -F file=@log/test44.txt -H "Expect:"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -H "Expect:"
</command>
# We create this file before the command is invoked!
-<file name="log/test44.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------).*
</strip>
<protocol>
-POST /we/want/44 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
curl\r
------------------------------7c633d5c27ce\r
-Content-Disposition: form-data; name="file"; filename="test44.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data.cgi?moo=http://&/450002
+Location: data.cgi?moo=http://&/%TESTNUMBER0002
Connection: close
This server reply is for testing a simple Location: following
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
-Location: data.cgi?moo=http://&/450002
+Location: data.cgi?moo=http://&/%TESTNUMBER0002
Connection: close
HTTP/1.1 200 Followed here fine swsclose
simple HTTP Location: without protocol in initial URL
</name>
<command>
-%HOSTIP:%HTTPPORT/want/45 -L
+%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/45 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /want/data.cgi?moo=http://&/450002 HTTP/1.1\r
+GET /want/data.cgi?moo=http://&/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
TZ=GMT
</setenv>
<command>
-domain..tld:%HTTPPORT/want/46 --resolve domain..tld:%HTTPPORT:%HOSTIP -c log/jar46 -b log/injar46
+domain..tld:%HTTPPORT/want/%TESTNUMBER --resolve domain..tld:%HTTPPORT:%HOSTIP -c log/jar%TESTNUMBER -b log/injar%TESTNUMBER
</command>
-<file name="log/injar46">
+<file name="log/injar%TESTNUMBER">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This is generated by libcurl! Do not edit.
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/46 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: domain..tld:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: empty=; mooo2=indeed2; mooo=indeed\r
\r
</protocol>
-<file name="log/jar46" mode="text">
+<file name="log/jar%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
simple HTTP 1.0 GET
</name>
<command>
-http://%HOSTIP:%HTTPPORT/47 -0
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -0
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /47 HTTP/1.0\r
+GET /%TESTNUMBER HTTP/1.0\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with -d and -G and -I
</name>
<command>
--d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/48 -G -I http://%HOSTIP:%HTTPPORT/48
+-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -G -I http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-HEAD /48?foo=moo&moo=poo HTTP/1.1\r
+HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-HEAD /48?foo=moo&moo=poo HTTP/1.1\r
+HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: ../moo.html/490002
+Location: ../moo.html/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: ../moo.html/490002
+Location: ../moo.html/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP follow redirect with ../
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/49 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/49 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/all/moo.html/490002 HTTP/1.1\r
+GET /we/are/all/moo.html/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Two globbed HTTP PUTs
</name>
<command>
-http://%HOSTIP:%HTTPPORT/490 -T '{log/in490,log/in490}'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{log/in%TESTNUMBER,log/in%TESTNUMBER}'
</command>
-<file name="log/in490">
+<file name="log/in%TESTNUMBER">
surprise!
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /490 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Expect: 100-continue\r
\r
surprise!
-PUT /490 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Two globbed HTTP PUTs, the second upload file is missing
</name>
<command>
-http://%HOSTIP:%HTTPPORT/491 -T '{log/in491,log/bad491}'
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T '{log/in%TESTNUMBER,log/bad%TESTNUMBER}'
</command>
-<file name="log/in491">
+<file name="log/in%TESTNUMBER">
surprise!
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /491 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Two globbed HTTP PUTs to two globbed URLs
</name>
<command>
-'http://%HOSTIP:%HTTPPORT/{one,two}/' -T '{log/first492,log/second492}' -H "Testno: 492"
+'http://%HOSTIP:%HTTPPORT/{one,two}/' -T '{log/first%TESTNUMBER,log/second%TESTNUMBER}' -H "Testno: %TESTNUMBER"
</command>
-<file name="log/first492">
-first 492 contents
+<file name="log/first%TESTNUMBER">
+first %TESTNUMBER contents
</file>
-<file1 name="log/second492">
-second 492 contents
+<file1 name="log/second%TESTNUMBER">
+second %TESTNUMBER contents
</file1>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /one/first492 HTTP/1.1\r
+PUT /one/first%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 492\r
+Testno: %TESTNUMBER\r
Content-Length: 19\r
Expect: 100-continue\r
\r
-first 492 contents
-PUT /two/first492 HTTP/1.1\r
+first %TESTNUMBER contents
+PUT /two/first%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 492\r
+Testno: %TESTNUMBER\r
Content-Length: 19\r
Expect: 100-continue\r
\r
-first 492 contents
-PUT /one/second492 HTTP/1.1\r
+first %TESTNUMBER contents
+PUT /one/second%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 492\r
+Testno: %TESTNUMBER\r
Content-Length: 20\r
Expect: 100-continue\r
\r
-second 492 contents
-PUT /two/second492 HTTP/1.1\r
+second %TESTNUMBER contents
+PUT /two/second%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
-Testno: 492\r
+Testno: %TESTNUMBER\r
Content-Length: 20\r
Expect: 100-continue\r
\r
-second 492 contents
+second %TESTNUMBER contents
</protocol>
</verify>
</testcase>
HSTS
</features>
-<file name="log/input493">
+<file name="log/input%TESTNUMBER">
.hsts.example "20311001 04:47:41"
</file>
HSTS and %{url_effective} after upgrade
</name>
<command>
--x http://%HOSTIP:%HTTPPORT http://this.hsts.example/493 --hsts log/input493 -w '%{url_effective}\n'
+-x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts log/input%TESTNUMBER -w '%{url_effective}\n'
</command>
</client>
\r
</protocol>
<stdout>
-https://this.hsts.example/493
+https://this.hsts.example/%TESTNUMBER
</stdout>
# Proxy CONNECT aborted
<errorcode>
HTTP over proxy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/5#5 -x %HOSTIP:%HTTPPORT
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER#5 -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/we/want/that/page/5 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: ../../moo.html/500002
+Location: ../../moo.html/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: ../../moo.html/500002
+Location: ../../moo.html/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
HTTP follow redirect with ../../
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/50 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/50 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/moo.html/500002 HTTP/1.1\r
+GET /we/are/moo.html/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
simple libcurl HTTP GET tool
</name>
<command>
-http://%HOSTIP:%HTTPPORT/500 log/ip500
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip500">
+<file name="log/ip%TESTNUMBER">
IP: %HOSTIP
</file>
<protocol>
-GET /500 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib501
+lib%TESTNUMBER
</tool>
<name>
simple libcurl attempt operation without URL set
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/501
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
</command>
</client>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib502
+lib%TESTNUMBER
</tool>
<name>
simple multi file:// get
</name>
<command>
-file://%PWD/log/test502.txt
+file://%PWD/log/test%TESTNUMBER.txt
</command>
-<file name="log/test502.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar swsclose
bar
</server>
# tool is what to use instead of 'curl'
<tool>
-lib503
+lib%TESTNUMBER
</tool>
<features>
proxy
simple multi http:// through proxytunnel with authentication info
</name>
<command>
-http://machine.503:%HTTPPORT/503 %HOSTIP:%PROXYPORT
+http://machine.%TESTNUMBER:%HTTPPORT/%TESTNUMBER %HOSTIP:%PROXYPORT
</command>
-<file name="log/test503.txt">
+<file name="log/test%TESTNUMBER.txt">
foo
bar
bar
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT machine.503:%HTTPPORT HTTP/1.1\r
-Host: machine.503:%HTTPPORT\r
+CONNECT machine.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: machine.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: Basic dGVzdDppbmc=\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /503 HTTP/1.1\r
-Host: machine.503:%HTTPPORT\r
+GET /%TESTNUMBER HTTP/1.1\r
+Host: machine.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic dGVzdDppbmc=\r
Accept: */*\r
\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib504
+lib%TESTNUMBER
</tool>
<name>
simple multi through local proxy without listener
</name>
<command>
-http://%HOSTIP:%NOLISTENPORT/504 %HOSTIP:%NOLISTENPORT
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER %HOSTIP:%NOLISTENPORT
</command>
</client>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib505
+lib%TESTNUMBER
</tool>
<name>
FTP upload with rename after transfer
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/505 log/upload505
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload505">
+<file name="log/upload%TESTNUMBER">
Contents
of
a file
PWD\r
EPSV\r
TYPE I\r
-STOR 505\r
-RNFR 505\r
-RNTO 505-forreal\r
+STOR %TESTNUMBER\r
+RNFR %TESTNUMBER\r
+RNTO %TESTNUMBER-forreal\r
QUIT\r
</protocol>
</verify>
TZ=GMT
</setenv>
<tool>
-lib506
+lib%TESTNUMBER
</tool>
<command>
-http://%HOSTIP:%HTTPPORT/506
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
unlock: share [Pigs in space]: 99
GLOBAL_CLEANUP
</stdout>
-<file name="log/jar506" mode="text">
+<file name="log/jar%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
multi interface get with non-existing host name
</name>
<tool>
-lib507
+lib%TESTNUMBER
</tool>
<command>
http://non-existing-host.haxx.se/
</server>
# tool is what to use instead of 'curl'
<tool>
-lib508
+lib%TESTNUMBER
</tool>
<name>
send HTTP POST using read callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/508
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/^(this is what we post to the silly web server)\r\n/$1\n/ if($has_charconv)
</strippart>
<protocol>
-POST /508 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 45\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib509
+lib%TESTNUMBER
</tool>
<name>
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: ../../../../../../../510002
+Location: ../../../../../../../%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: ../../../../../../../510002
+Location: ../../../../../../../%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
HTTP follow redirect with excessive ../
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/51 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/51 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /510002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib510
+lib%TESTNUMBER
</tool>
<name>
send HTTP POST using read callback, using chunked transfer-encoding
</name>
<command>
-http://%HOSTIP:%HTTPPORT/510
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /510 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib511
+lib%TESTNUMBER
</tool>
<name>
FTP with FILETIME and NOBODY but missing file
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/511
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
USER anonymous\r
PASS ftp@example.com\r
PWD\r
-MDTM 511\r
+MDTM %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib512
+lib%TESTNUMBER
</tool>
<name>
simple curl_easy_duplicate() test
</name>
<command>
-http://%HOSTIP:%HTTPPORT/512
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /512 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib513
+lib%TESTNUMBER
</tool>
<name>
</name>
# the 1s post-command delay helps to prevent a spurious failure on s390
<command delay="1">
-http://%HOSTIP:%HTTPPORT/513
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /513 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 1\r
http
</server>
<tool>
-lib514
+lib%TESTNUMBER
</tool>
<name>
First set options to POST and then to make HEAD
</name>
# the 1s post-command delay helps to prevent a spurious failure on s390
<command delay="1">
-http://%HOSTIP:%HTTPPORT/514
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-HEAD /514 HTTP/1.1\r
+HEAD /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib515
+lib%TESTNUMBER
</tool>
<name>
make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero
</name>
<command>
-http://%HOSTIP:%HTTPPORT/515
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /515 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 0\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib516
+lib%TESTNUMBER
</tool>
<name>
make a HTTPPOST set to NULL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/516
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /516 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 0\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib517
+lib%TESTNUMBER
</tool>
<name>
</features>
# tool is what to use instead of 'curl'
<tool>
-lib518
+lib%TESTNUMBER
</tool>
# precheck is a command line to run before the test, to see if we can execute
# the test or not
<precheck>
-./libtest/lib518 check
+./libtest/lib%TESTNUMBER check
</precheck>
<name>
HTTP GET with more than FD_SETSIZE descriptors open
</name>
<command>
-http://%HOSTIP:%HTTPPORT/518
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /518 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib519
+lib%TESTNUMBER
</tool>
<name>
GET same URL twice with different users
</name>
<command>
-http://%HOSTIP:%HTTPPORT/519
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /519 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic bW9uc3Rlcjp1bmRlcmJlZA==\r
Accept: */*\r
\r
-GET /519 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic YW5vdGhlcm1vbnN0ZXI6aW53YXJkcm9iZQ==\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: ./520002
+Location: ./%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: ./520002
+Location: ./%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP follow redirect with ./-prefix
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/are/all/twits/52 -L
+http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/are/all/twits/52 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /we/are/all/twits/520002 HTTP/1.1\r
+GET /we/are/all/twits/%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
ftp
</server>
<tool>
-lib521
+lib%TESTNUMBER
</tool>
<name>
FTP dir list PASV with CURLOPT_PORT
</name>
<command>
-ftp://%HOSTIP/521/ %FTPPORT
+ftp://%HOSTIP/%TESTNUMBER/ %FTPPORT
</command>
</client>
USER xxx\r
PASS yyy\r
PWD\r
-CWD 521\r
+CWD %TESTNUMBER\r
EPSV\r
TYPE A\r
LIST\r
HTTP GET with CURLOPT_PORT
</name>
<command>
-http://%HOSTIP/522 %HTTPPORT
+http://%HOSTIP/%TESTNUMBER %HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /522 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic eHh4Onl5eQ==\r
Accept: */*\r
http
</server>
<tool>
-lib523
+lib%TESTNUMBER
</tool>
<name>
HTTP GET with proxy and CURLOPT_PORT
</name>
# first URL then proxy
<command>
-http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT
+http://www.example.com:999/%TESTNUMBER http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://www.example.com:19999/523 HTTP/1.1\r
+GET http://www.example.com:19999/%TESTNUMBER HTTP/1.1\r
Host: www.example.com:19999\r
Authorization: Basic eHh4Onl5eQ==\r
Accept: */*\r
ftp
</server>
<tool>
-lib524
+lib%TESTNUMBER
</tool>
<name>
FTP upload with target URL ending with slash
ftp
</server>
<tool>
-lib525
+lib%TESTNUMBER
</tool>
<name>
FTP PORT upload using multi interface
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/525 log/upload525
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload525">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
CWD path\r
PORT 127,0,0,1,5,109\r
TYPE I\r
-STOR 525\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
ftp
</server>
<tool>
-lib526
+lib%TESTNUMBER
</tool>
<name>
FTP RETR same file using different handles but same connection
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/526
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 526\r
-RETR 526\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 526\r
-RETR 526\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 526\r
-RETR 526\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 526\r
-RETR 526\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
ftp
</server>
<tool>
-lib527
+lib%TESTNUMBER
</tool>
<name>
FTP RETR same file using different handles but same connection
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/527
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 527\r
-RETR 527\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 527\r
-RETR 527\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 527\r
-RETR 527\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 527\r
-RETR 527\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET same file using different handles but same connection
</name>
<command>
-http://%HOSTIP:%HTTPPORT/path/528
+http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /path/528 HTTP/1.1\r
+GET /path/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/528 HTTP/1.1\r
+GET /path/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/528 HTTP/1.1\r
+GET /path/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /path/528 HTTP/1.1\r
+GET /path/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
ftp
</server>
<tool>
-lib529
+lib%TESTNUMBER
</tool>
<name>
FTP PORT upload using multi interface (weird cleanup function sequence)
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/529 log/upload529
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload529">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
CWD path\r
PORT 127,0,0,1,5,109\r
TYPE I\r
-STOR 529\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
HTTP, junk session cookies
</name>
<command>
-%HOSTIP:%HTTPPORT/want/53 -b log/injar53 -j
+%HOSTIP:%HTTPPORT/want/%TESTNUMBER -b log/injar%TESTNUMBER -j
</command>
-<file name="log/injar53">
+<file name="log/injar%TESTNUMBER">
%HOSTIP FALSE / FALSE 2139150993 mooo indeed
%HOSTIP FALSE / FALSE 0 moo1 indeed
%HOSTIP FALSE / FALSE 1 moo2 indeed
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/53 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP PORT upload using multi interface and get 425 response
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/531 log/upload531
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload531">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
don't upload this
</file>
CWD path\r
PORT 127,0,0,1,5,109\r
TYPE I\r
-STOR 531\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
ftp
</server>
<tool>
-lib532
+lib%TESTNUMBER
</tool>
<name>
FTP RETR same file using reset handles between each transfer
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/532
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 532\r
-RETR 532\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 532\r
-RETR 532\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 532\r
-RETR 532\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 532\r
-RETR 532\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
ftp
</server>
<tool>
-lib533
+lib%TESTNUMBER
</tool>
<name>
FTP RETR a non-existing file twice using the multi interface
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 533\r
-RETR 533\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 533\r
-RETR 533\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP RETR twice using multi: non-existing host and non-existing file
</name>
<command>
-ftp://non-existing-host.haxx.se/path/534 ftp://%HOSTIP:%FTPPORT/path/534
+ftp://non-existing-host.haxx.se/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 534\r
-RETR 534\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP GET multi two files with FAILONERROR
</name>
<command>
-http://%HOSTIP:%HTTPPORT/535 http://%HOSTIP:%HTTPPORT/5350001
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /535 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /5350001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib537
+lib%TESTNUMBER
</tool>
# precheck is a command line to run before the test, to see if we can execute
# the test or not
<precheck>
-./libtest/lib537 check
+./libtest/lib%TESTNUMBER check
</precheck>
<name>
HTTP GET with a HUGE number of file descriptors open
</name>
<command>
-http://%HOSTIP:%HTTPPORT/537
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /537 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
FTP multi-interface download, failed login: PASS not valid
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/538
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib539
+lib%TESTNUMBER
</tool>
<name>
Two FTP fetches using different CURLOPT_FTP_FILEMETHOD
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/to/the/file/539
+ftp://%HOSTIP:%FTPPORT/path/to/the/file/%TESTNUMBER
</command>
</client>
CWD path/to/the/file\r
EPSV\r
TYPE I\r
-SIZE 539\r
-RETR 539\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
SYST\r
CWD /\r
EPSV\r
TYPE A\r
-LIST path/to/the/file/539.\r
+LIST path/to/the/file/%TESTNUMBER.\r
QUIT\r
</protocol>
</verify>
HTTP with blank Location:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/54 -L
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/54 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib540
+lib%TESTNUMBER
</tool>
<features>
!SSPI
HTTP proxy auth Digest multi API re-using connection
</name>
<command>
-http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://test.remote.example.com/path/540 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: custom.set.host.name\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com/path/540 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: custom.set.host.name\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTNUMBER", response="ca507dcf189196b6a5374d3233042261"\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com/path/540 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: custom.set.host.name\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com/path/540 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: custom.set.host.name\r
-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"\r
+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/%TESTNUMBER", response="ca507dcf189196b6a5374d3233042261"\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib541
+lib%TESTNUMBER
</tool>
<name>
FTP upload and upload same file again without rewind
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/541 log/upload541
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload541">
+<file name="log/upload%TESTNUMBER">
Contents
of
a file
PWD\r
EPSV\r
TYPE I\r
-STOR 541\r
+STOR %TESTNUMBER\r
EPSV\r
-STOR 541\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
ftp
</server>
<tool>
-lib542
+lib%TESTNUMBER
</tool>
<name>
FTP a file with NOBODY yes and HEADER no
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/542
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PASS ftp@example.com\r
PWD\r
TYPE I\r
-SIZE 542\r
+SIZE %TESTNUMBER\r
REST 0\r
QUIT\r
</protocol>
none
</server>
<tool>
-lib543
+lib%TESTNUMBER
</tool>
<name>
curl_easy_escape
</server>
# tool is what to use instead of 'curl'
<tool>
-lib544
+lib%TESTNUMBER
</tool>
<name>
HTTP POST text data using CURLOPT_COPYPOSTFIELDS
</name>
<command>
-http://%HOSTIP:%HTTPPORT/544
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /544 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 4\r
FTP RETR a non-existing file then a found one using the multi interface
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/546 ftp://%HOSTIP:%FTPPORT/path/546
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command>
</client>
CWD path\r
EPSV\r
TYPE I\r
-SIZE 546\r
-RETR 546\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
EPSV\r
-SIZE 546\r
-RETR 546\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<stdout>
</server>
# tool to use
<tool>
-lib547
+lib%TESTNUMBER
</tool>
<features>
NTLM
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com/path/547 http://%HOSTIP:%HTTPPORT testuser:testpass
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT testuser:testpass
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST http://test.remote.example.com/path/547 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Type: application/x-www-form-urlencoded\r
\r
this is the blurb we want to upload
-POST http://test.remote.example.com/path/547 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST http://test.remote.example.com/path/547 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
</server>
# tool to use
<tool>
-lib548
+lib%TESTNUMBER
</tool>
<features>
NTLM
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com/path/548 http://%HOSTIP:%HTTPPORT testuser:testpass
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT testuser:testpass
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST http://test.remote.example.com/path/548 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Type: application/x-www-form-urlencoded\r
\r
this is the blurb we want to upload
-POST http://test.remote.example.com/path/548 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST http://test.remote.example.com/path/548 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
proxy
</features>
<tool>
-lib549
+lib%TESTNUMBER
</tool>
<name>
FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE
</name>
# first URL then proxy
<command>
-ftp://www.example.com/moo/549 http://%HOSTIP:%HTTPPORT
+ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://www.example.com/moo/549;type=i HTTP/1.1\r
+GET ftp://www.example.com/moo/%TESTNUMBER;type=i HTTP/1.1\r
Host: www.example.com:21\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
<reply>
<data>
HTTP/1.1 302 OK swsclose
-Location: 550002
+Location: %TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
</data2>
<datacheck>
HTTP/1.1 302 OK swsclose
-Location: 550002
+Location: %TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:50:00 GMT
Connection: close
HTTP follow redirect with single slash in path
</name>
<command>
-http://%HOSTIP:%HTTPPORT/55 -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L
</command>
</client>
<verify>
<protocol>
-GET /55 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /550002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
# first URL then proxy
<command>
-ftp://www.example.com/moo/550 http://%HOSTIP:%HTTPPORT ascii
+ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT ascii
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://www.example.com/moo/550;type=a HTTP/1.1\r
+GET ftp://www.example.com/moo/%TESTNUMBER;type=a HTTP/1.1\r
Host: www.example.com:21\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
HTTP proxy auth Digest with POST data from read callback
</name>
<command>
-http://test.remote.example.com/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT s1lly:pers0n
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST http://test.remote.example.com/path/551 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Type: application/x-www-form-urlencoded\r
\r
this is the blurb we want to upload
-POST http://test.remote.example.com/path/551 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
-Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c"\r
+Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/%TESTNUMBER", response="3325240726fbdaf1e61f3a0dd40b930c"\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Length: 36\r
</server>
# tool to use
<tool>
-lib552
+lib%TESTNUMBER
</tool>
<features>
!SSPI
HTTP proxy auth Digest with 70K POST data from read callback
</name>
<command>
-http://test.remote.example.com/path/552 http://s1lly:pers0n@%HOSTIP:%HTTPPORT/
+http://test.remote.example.com/path/%TESTNUMBER http://s1lly:pers0n@%HOSTIP:%HTTPPORT/
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST http://test.remote.example.com/path/552 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Length: 70000\r
Content-Type: application/x-www-form-urlencoded\r
\r
-%repeat[7000 x test data%00]%POST http://test.remote.example.com/path/552 HTTP/1.1\r
+%repeat[7000 x test data%00]%POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
-Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/552", response="be7aedc47d821b6d847c445ded782c43"\r
+Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/%TESTNUMBER", response="be7aedc47d821b6d847c445ded782c43"\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Length: 70000\r
</server>
# tool to use
<tool>
-lib553
+lib%TESTNUMBER
</tool>
<features>
</features>
HTTP post with huge request headers and post data from callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/path/553
+http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /path/553 HTTP/1.1\r
+POST /path/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Header0: %repeat[5000 x A]%\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib554
+lib%TESTNUMBER
</tool>
<name>
HTTP multi-part formpost using read callback for the file part
</name>
<command>
-http://%HOSTIP:%HTTPPORT/554
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /554 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 744\r
\r
blah blah\r
--------------------------------\r
-POST /554 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 758\r
</server>
# tool to use
<tool>
-lib555
+lib%TESTNUMBER
</tool>
<features>
NTLM
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com/path/555 http://%HOSTIP:%HTTPPORT testuser:testpass
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT testuser:testpass
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST http://test.remote.example.com/path/555 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
Content-Type: application/x-www-form-urlencoded\r
\r
this is the blurb we want to upload
-POST http://test.remote.example.com/path/555 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
Content-Length: 0\r
Content-Type: application/x-www-form-urlencoded\r
\r
-POST http://test.remote.example.com/path/555 HTTP/1.1\r
+POST http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
Accept: */*\r
http
</server>
<tool>
-lib556
+lib%TESTNUMBER
</tool>
<name>
send and recv HTTP
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /556 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: ninja\r
\r
</protocol>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib557
+lib%TESTNUMBER
</tool>
<name>
</features>
# tool is what to use instead of 'curl'
<tool>
-lib558
+lib%TESTNUMBER
</tool>
<name>
<verify>
<file name="log/memdump">
MEM easy.c: malloc()
-MEM lib558.c: malloc()
-MEM lib558.c: free()
+MEM lib%TESTNUMBER.c: malloc()
+MEM lib%TESTNUMBER.c: free()
MEM dynbuf.c: realloc()
MEM dynbuf.c: realloc()
MEM escape.c: free()
</server>
# tool is what to use instead of 'curl'
<tool>
-lib559
+lib%TESTNUMBER
</tool>
<name>
use tiny CURLOPT_BUFFERSIZE
</name>
<command>
-http://%HOSTIP:%HTTPPORT/559
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
#
</stdin>
<command>
--K - %HOSTIP:%HTTPPORT/that.site.com/56
+-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /that.site.com/56 HTTP/1.1\r
+POST /that.site.com/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: %repeat[99999 x a]%\r
Accept: */*\r
https
</server>
<tool>
-lib560
+lib%TESTNUMBER
</tool>
<name>
simple HTTPS GET with multi interface
</name>
<command>
-https://%HOSTIP:%HTTPSPORT/560
+https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /560 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPSPORT\r
Accept: */*\r
\r
</name>
# first URL then proxy
<command>
-"ftp://www.example.com/moo/561;type=i" http://%HOSTIP:%HTTPPORT ascii
+"ftp://www.example.com/moo/%TESTNUMBER;type=i" http://%HOSTIP:%HTTPPORT ascii
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://www.example.com/moo/561;type=i HTTP/1.1\r
+GET ftp://www.example.com/moo/%TESTNUMBER;type=i HTTP/1.1\r
Host: www.example.com:21\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
ftp
</server>
<tool>
-lib562
+lib%TESTNUMBER
</tool>
<name>
FTP a type=A URL and CURLOPT_PORT set
# note that we need quotes around the URL below to make sure the shell doesn't
# treat the semicolon as a separator!
<command>
-'ftp://%HOSTIP:23456/562;type=A' %FTPPORT
+'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT
</command>
</client>
PWD\r
EPSV\r
TYPE A\r
-RETR 562\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# note that we need quotes around the URL below to make sure the shell doesn't
# treat the semicolon as a separator!
<command>
-"ftp://%HOSTIP:23456/563;type=A" %FTPPORT
+"ftp://%HOSTIP:23456/%TESTNUMBER;type=A" %FTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1\r
+GET ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A HTTP/1.1\r
Host: %HOSTIP:%FTPPORT\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
socks4
</server>
<tool>
-lib564
+lib%TESTNUMBER
</tool>
<name>
FTP RETR a file over a SOCKS proxy using the multi interface
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %HOSTIP:%SOCKSPORT
</command>
<features>
proxy
CWD path\r
EPSV\r
TYPE I\r
-SIZE 564\r
-RETR 564\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
<stdout>
</features>
# tool is what to use instead of 'curl'
<tool>
-lib565
+lib%TESTNUMBER
</tool>
<name>
send HTTP POST using read callback, chunked transfer-encoding and Digest
</name>
<command>
-http://%HOSTIP:%HTTPPORT/565
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /565 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
\r
0\r
\r
-POST /565 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="foo", realm="testrealm", nonce="1053604144", uri="/565", response="877424f750af047634dbd94f9933217b"\r
+Authorization: Digest username="foo", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER", response="877424f750af047634dbd94f9933217b"\r
Accept: */*\r
Transfer-Encoding: chunked\r
Content-Type: application/x-www-form-urlencoded\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib566
+lib%TESTNUMBER
</tool>
<name>
HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer
</name>
<command>
-http://%HOSTIP:%HTTPPORT/566 log/ip566
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip566">
+<file name="log/ip%TESTNUMBER">
CL: 0
</file>
<protocol>
-GET /566 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
rtsp
</server>
<tool>
-lib567
+lib%TESTNUMBER
</tool>
<name>
simple RTSP OPTIONS command
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/567
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-OPTIONS rtsp://%HOSTIP:%RTSPPORT/567 RTSP/1.0\r
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER RTSP/1.0\r
CSeq: 1\r
-User-Agent: test567\r
-Test-Number: 567\r
+User-Agent: test%TESTNUMBER\r
+Test-Number: %TESTNUMBER\r
\r
</protocol>
</verify>
rtsp
</server>
<tool>
-lib568
+lib%TESTNUMBER
</tool>
<name>
RTSP Announce (PUT and POST style) test
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/568
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
</command>
# file written before test command runs
-<file name="log/file568.txt">
+<file name="log/file%TESTNUMBER.txt">
v=0
o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4
s=SDP Seminar
^If-Modified-Since:.*
</strip>
<protocol>
-ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680001 RTSP/1.0\r
+ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0\r
CSeq: 1\r
Content-Length: 306\r
Content-Type: application/sdp\r
a=recvonly
m=audio 3456 RTP/AVP 0
m=video 2232 RTP/AVP 31
-DESCRIBE rtsp://%HOSTIP:%RTSPPORT/5680002 RTSP/1.0\r
+DESCRIBE rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0\r
CSeq: 2\r
Accept: application/sdp\r
\r
-ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680003 RTSP/1.0\r
+ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0\r
CSeq: 3\r
Content-Type: posty goodness\r
Content-Length: 35\r
\r
postyfield=postystuff&project=curl
-OPTIONS rtsp://%HOSTIP:%RTSPPORT/5680004 RTSP/1.0\r
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0004 RTSP/1.0\r
CSeq: 4\r
\r
</protocol>
rtsp
</server>
<tool>
-lib569
+lib%TESTNUMBER
</tool>
<name>
RTSP Session ID parsing
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/569 log/idfile569.txt
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER log/idfile%TESTNUMBER.txt
</command>
</client>
^If-Modified-Since:.*
</strip>
<protocol>
-SETUP rtsp://%HOSTIP:%RTSPPORT/5690001 RTSP/1.0\r
+SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0\r
CSeq: 1\r
Transport: Fake/NotReal/JustATest;foo=baz\r
\r
-TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690002 RTSP/1.0\r
+TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0\r
CSeq: 2\r
Session: 00.+1-am-aSe55ion_id\$yes-i-am\$\r
\r
-SETUP rtsp://%HOSTIP:%RTSPPORT/5690003 RTSP/1.0\r
+SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0\r
CSeq: 3\r
Transport: Fake/NotReal/JustATest;foo=baz\r
\r
-TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690004 RTSP/1.0\r
+TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0004 RTSP/1.0\r
CSeq: 4\r
Session: \$extraspaces\r
\r
-SETUP rtsp://%HOSTIP:%RTSPPORT/5690005 RTSP/1.0\r
+SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0005 RTSP/1.0\r
CSeq: 5\r
Transport: Fake/NotReal/JustATest;foo=baz\r
\r
-TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690006 RTSP/1.0\r
+TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0006 RTSP/1.0\r
CSeq: 6\r
Session: A\r
\r
</protocol>
-<file name="log/idfile569.txt">
+<file name="log/idfile%TESTNUMBER.txt">
Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$]
Got Session ID: [\$extraspaces]
Got Session ID: [A]
HTTP content-type with spaces in
</name>
<command>
--w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/57 -o log/out57
+-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/out%TESTNUMBER
</command>
</client>
text/html; charset=ISO-8859-4
</stdout>
<protocol>
-GET /57 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
rtsp
</server>
<tool>
-lib570
+lib%TESTNUMBER
</tool>
<name>
RTSP CSeq and Session Mismatch checks
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/570
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
</command>
</client>
^If-Modified-Since:.*
</strip>
<protocol>
-OPTIONS rtsp://%HOSTIP:%RTSPPORT/5700001 RTSP/1.0\r
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0\r
CSeq: 1\r
\r
-SETUP rtsp://%HOSTIP:%RTSPPORT/5700002 RTSP/1.0\r
+SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0\r
CSeq: 999\r
Transport: RAW/RAW/UDP;unicast;client_port=3056-3057\r
\r
-PLAY rtsp://%HOSTIP:%RTSPPORT/5700003 RTSP/1.0\r
+PLAY rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0\r
CSeq: 1000\r
Session: asdf\r
\r
rtsp
</server>
<tool>
-lib571
+lib%TESTNUMBER
</tool>
<name>
RTSP RTP Interleaving Test
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/571 log/protofile571.txt
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER log/protofile%TESTNUMBER.txt
</command>
</client>
RTP: message size 24, channel 1
</stdout>
-<file name="log/protofile571.txt">
+<file name="log/protofile%TESTNUMBER.txt">
$99
</file>
</verify>
rtsp
</server>
<tool>
-lib572
+lib%TESTNUMBER
</tool>
<name>
RTSP GET_PARAMETER (Put/Heartbeat/Post)
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/572
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
</command>
# file written before test command runs
-<file name="log/file572.txt">
+<file name="log/file%TESTNUMBER.txt">
scale
speed
</file>
^If-Modified-Since:.*
</strip>
<protocol>
-SETUP rtsp://%HOSTIP:%RTSPPORT/5720001 RTSP/1.0\r
+SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0\r
CSeq: 1\r
Transport: Planes/Trains/Automobiles\r
\r
-GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720002 RTSP/1.0\r
+GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0\r
CSeq: 2\r
Session: getparams-test\r
Content-Length: 12\r
\r
scale
speed
-GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720003 RTSP/1.0\r
+GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0\r
CSeq: 3\r
Session: getparams-test\r
\r
-GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720004 RTSP/1.0\r
+GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0004 RTSP/1.0\r
CSeq: 4\r
Session: getparams-test\r
Content-Length: 24\r
\r
packets_received
jitter
-OPTIONS rtsp://%HOSTIP:%RTSPPORT/5720005 RTSP/1.0\r
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0005 RTSP/1.0\r
CSeq: 5\r
Session: getparams-test\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib573
+lib%TESTNUMBER
</tool>
<name>
verify connect time with multi interface
</name>
<command>
-http://%HOSTIP:%HTTPPORT/573
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /573 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
ftp
</server>
<tool>
-lib574
+lib%TESTNUMBER
</tool>
<name>
FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)
ftp
</server>
<tool>
-lib575
+lib%TESTNUMBER
</tool>
<name>
FTP wildcard download - dup_handle and multi interface
ftp
</server>
<tool>
-lib576
+lib%TESTNUMBER
</tool>
<name>
FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)
Funny RTSP version in response
</name>
<command>
-rtsp://%HOSTIP:%RTSPPORT/577
+rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-OPTIONS rtsp://%HOSTIP:%RTSPPORT/577 RTSP/1.0\r
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER RTSP/1.0\r
CSeq: 1\r
User-Agent: test567\r
Test-Number: 567\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib578
+lib%TESTNUMBER
</tool>
<name>
HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/578 log/ip578
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip578">
+<file name="log/ip%TESTNUMBER">
PASSED, UL data matched data size
</file>
</verify>
</features>
# tool is what to use instead of 'curl'
<tool>
-lib579
+lib%TESTNUMBER
</tool>
<name>
small chunked HTTP POSTs with digest auth. and progress callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/579 log/ip579
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip579">
+<file name="log/ip%TESTNUMBER">
Progress callback called with UL 0 out of 0
Progress callback called with UL 8 out of 0
Progress callback called with UL 16 out of 0
HTTP PUT from file with weird letters
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/ -T log/58te[]st.txt -g
+http://%HOSTIP:%HTTPPORT/we/want/ -T log/%TESTNUMBERte[]st.txt -g
</command>
-<file name="log/58te[]st.txt">
+<file name="log/%TESTNUMBERte[]st.txt">
a few bytes
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /we/want/58te%5B%5Dst.txt HTTP/1.1\r
+PUT /we/want/%TESTNUMBERte%5B%5Dst.txt HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
multi interface, multiple Location: headers
</name>
<command>
-http://%HOSTIP:%HTTPPORT/580
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /580 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
multi interface, multiple Content-Type: headers
</name>
<command>
-http://%HOSTIP:%HTTPPORT/581
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /581 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
sftp
</server>
<tool>
-lib582
+lib%TESTNUMBER
</tool>
<name>
SFTP upload using multi interface
</name>
<command>
-Sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload582.txt %PWD/log/file582.txt %USER:
+Sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload%TESTNUMBER.txt %PWD/log/file%TESTNUMBER.txt %USER:
</command>
-<file name="log/file582.txt">
+<file name="log/file%TESTNUMBER.txt">
Moooooooooooo
upload this
</file>
</strip>
<protocol>
</protocol>
-<file name="log/file582.txt">
+<file name="log/file%TESTNUMBER.txt">
Moooooooooooo
upload this
</file>
sftp
</server>
<tool>
-lib583
+lib%TESTNUMBER
</tool>
<name>
SFTP with multi interface, remove handle early
# name resolve will cause it to return rather quickly and thus we could trigger
# the problem we're looking to verify.
<command>
-sftp://localhost:%SSHPORT%SSH_PWD/log/upload583.txt %USER:
+sftp://localhost:%SSHPORT%SSH_PWD/log/upload%TESTNUMBER.txt %USER:
</command>
</client>
</server>
# tool to invoke
<tool>
-lib584
+lib%TESTNUMBER
</tool>
<name>
CURLOPT_MIMEPOST first set then set to NULL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/584
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=------------------------/
</strippart>
<protocol>
-POST /584 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 144\r
\r
party\r
----------------------------\r
-POST /584 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 0\r
</features>
# tool is what to use instead of 'curl'
<tool>
-lib585
+lib%TESTNUMBER
</tool>
<name>
socket open/close callbacks
</name>
<command>
-http://%HOSTIP:%HTTPPORT/585
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /585 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
FTP and open/close socket callbacks
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/586
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 586\r
-RETR 586\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib587
+lib%TESTNUMBER
</tool>
<name>
HTTP multi-part formpost with aborted read callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/587
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /587 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 744\r
FTP PORT upload using multi interface, EPRT doesn't work
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/588 log/upload588
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER log/upload%TESTNUMBER
</command>
-<file name="log/upload588">
+<file name="log/upload%TESTNUMBER">
Moooooooooooo
upload this
</file>
EPRT |1|
PORT
TYPE I\r
-STOR 588\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<upload>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib589
+lib%TESTNUMBER
</tool>
<name>
make a HTTP MIME POST set to NULL
</name>
<command>
-http://%HOSTIP:%HTTPPORT/589
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-POST /589 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 0\r
HTTP URL with slash but with "parameter"
</name>
<command>
-"http://%HOSTIP:%HTTPPORT?mooo/59"
+"http://%HOSTIP:%HTTPPORT?mooo/%TESTNUMBER"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /?mooo/59 HTTP/1.1\r
+GET /?mooo/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</server>
# tool to use
<tool>
-lib590
+lib%TESTNUMBER
</tool>
<features>
NTLM
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://test.remote.example.com/path/590 http://%HOSTIP:%HTTPPORT
+http://test.remote.example.com/path/%TESTNUMBER http://%HOSTIP:%HTTPPORT
</command>
<precheck>
chkhostname curlhost
<verify>
<protocol>
-GET http://test.remote.example.com/path/590 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com/path/590 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://test.remote.example.com/path/590 HTTP/1.1\r
+GET http://test.remote.example.com/path/%TESTNUMBER HTTP/1.1\r
Host: test.remote.example.com\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAAAgACAHAAAAAIAAgAcgAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAAIWYOdZV0iKA8ytf+dU+Bz9TpMJ4mBKu221lY3VybGhvc3Q=\r
Accept: */*\r
<testcase>
#
# For this test the server rejects the EPRT command,
-# code in lib591 makes use of curl_multi_timeout()
+# code in lib%TESTNUMBER makes use of curl_multi_timeout()
# and server does not establish data connection.
#
<info>
ftp
</server>
<tool>
-lib591
+lib%TESTNUMBER
</tool>
<name>
FTP multi PORT and 425 on upload
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/591 %FTPTIME2 log/upload591
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER
</command>
-<file name="log/upload591">
-Moooooooooooo for 591
+<file name="log/upload%TESTNUMBER">
+Moooooooooooo for %TESTNUMBER
upload this
</file>
</client>
EPRT |1|
PORT
TYPE I\r
-STOR 591\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
# CURLE_FTP_ACCEPT_FAILED = 10
FTP multi PORT and 421 on upload
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/592 %FTPTIME2 log/upload592
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER
</command>
-<file name="log/upload592">
-Moooooooooooo for 592
+<file name="log/upload%TESTNUMBER">
+Moooooooooooo for %TESTNUMBER
upload this
</file>
</client>
EPRT |1|
PORT
TYPE I\r
-STOR 592\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
# CURLE_FTP_ACCEPT_FAILED = 10
FTP multi PORT upload, no data conn and no transient neg. reply
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/593 %FTPTIME2 log/upload593
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER
</command>
-<file name="log/upload593">
-Moooooooooooo for 593
+<file name="log/upload%TESTNUMBER">
+Moooooooooooo for %TESTNUMBER
upload this
</file>
</client>
EPRT |1|
PORT
TYPE I\r
-STOR 593\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<errorcode>
FTP multi PORT upload, no data conn and no positive prelim. reply
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/path/594 %FTPTIME2 log/upload594
+ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %FTPTIME2 log/upload%TESTNUMBER
</command>
-<file name="log/upload594">
-Moooooooooooo for 594
+<file name="log/upload%TESTNUMBER">
+Moooooooooooo for %TESTNUMBER
upload this
</file>
</client>
EPRT |1|
PORT
TYPE I\r
-STOR 594\r
+STOR %TESTNUMBER\r
QUIT\r
</protocol>
<errorcode>
verify close callbacks with passive FTP
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/595 log/ip595
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 595\r
-RETR 595\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
verify close callbacks with active FTP
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/596 log/ip596 activeftp
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/ip%TESTNUMBER activeftp
</command>
</client>
PWD\r
EPRT |1|
TYPE I\r
-SIZE 596\r
-RETR 596\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
ftp
</server>
<tool>
-lib597
+lib%TESTNUMBER
</tool>
<name>
FTP connect only option
</server>
# tool is what to use instead of 'curl'
<tool>
-lib598
+lib%TESTNUMBER
</tool>
<name>
curl_easy_reset with referer and other strings set
</name>
<command>
-http://%HOSTIP:%HTTPPORT/598
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /598 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: the-moo agent next generation\r
Accept: */*\r
Referer: http://example.com/the-moo\r
Cookie: name=moo\r
\r
-GET /598 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
HTTP/1.1 302 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: 5990001\r
+Location: %TESTNUMBER0001\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
HTTP/1.1 302 OK\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Server: test-server/fake\r
-Location: 5990001\r
+Location: %TESTNUMBER0001\r
Content-Length: 6\r
Connection: close\r
Content-Type: text/html\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib599
+lib%TESTNUMBER
</tool>
# Bug 3510057 pointed out that when following a location to a larger chunked
HTTP GET with progress callback and redirects changing content sizes
</name>
<command>
-http://%HOSTIP:%HTTPPORT/599 log/ip599
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip599">
+<file name="log/ip%TESTNUMBER">
CL: -1
</file>
</verify>
HTTP with simple cookie send
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/6 -b "name=contents;name2=content2" -b name3=content3
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -b "name=contents;name2=content2" -b name3=content3
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/that/page/6 HTTP/1.1\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP PUT from stdin with wrong content-length
</name>
<command>
-http://%HOSTIP:%HTTPPORT/bzz/60 -T - -H "Content-Length: 1"
+http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -H "Content-Length: 1"
</command>
<stdin>
more than one byte
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /bzz/60 HTTP/1.1\r
+PUT /bzz/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
SFTP retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file600.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file600.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SCP retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file601.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file601.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP put
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file602.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.602 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure
</command>
-<file name="log/file602.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SCP upload
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file603.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.603 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure
</command>
-<file name="log/file603.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SFTP post-quote rename
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file608.txt %PWD/log/file608-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file608.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file%TESTNUMBER.txt %PWD/log/file%TESTNUMBER-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
# Verify that the file was renamed properly, then rename the file back to what
# it was so the verify section works and the file can be cleaned up.
<postcheck>
-perl %SRCDIR/libtest/test610.pl gone %PWD/log/file608.txt move %PWD/log/file608-renamed.txt %PWD/log/file608.txt
+perl %SRCDIR/libtest/test610.pl gone %PWD/log/file%TESTNUMBER.txt move %PWD/log/file%TESTNUMBER-renamed.txt %PWD/log/file%TESTNUMBER.txt
</postcheck>
-<file name="log/file608.txt">
+<file name="log/file%TESTNUMBER.txt">
Test file for rename test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/file608.txt">
+<file name="log/file%TESTNUMBER.txt">
Test file for rename test
</file>
<valgrind>
SFTP post-quote mkdir failure
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-mkdir %PWD/log/file609.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file609.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-mkdir %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file609.txt">
+<file name="log/file%TESTNUMBER.txt">
Test file for mkdir test
</file>
</client>
TZ=GMT
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/61 -c log/jar61.txt -H "Host: www.host.foo.com"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c log/jar%TESTNUMBER.txt -H "Host: www.host.foo.com"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/61 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: www.host.foo.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/jar61.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test610.dir
+perl %SRCDIR/libtest/test%TESTNUMBER.pl mkdir %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP post-quote rmdir
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rmdir %PWD/log/test610.dir" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file610.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rmdir %PWD/log/test%TESTNUMBER.dir" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl gone %PWD/log/test610.dir
+perl %SRCDIR/libtest/test%TESTNUMBER.pl gone %PWD/log/test%TESTNUMBER.dir
</postcheck>
-<file name="log/file610.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for rmdir test
</file>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test611.dir
+perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP post-quote rename
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test611.dir %PWD/log/test611.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file611.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test%TESTNUMBER.dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test611.new
+perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.new
</postcheck>
-<file name="log/file611.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for rename test
</file>
</client>
SFTP post-quote remove file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file612.txt -Q "-rm %PWD/log/file612.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.612 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt -Q "-rm %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/upload.%TESTNUMBER --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl gone %PWD/log/test612.txt
+perl %SRCDIR/libtest/test610.pl gone %PWD/log/test%TESTNUMBER.txt
</postcheck>
-<file name="log/file612.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for remove test
</file>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test613.dir
+perl %SRCDIR/libtest/test%TESTNUMBER.pl prepare %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP directory retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test613.dir/ --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/ --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test613.dir %PWD/log/curl613.out
+perl %SRCDIR/libtest/test%TESTNUMBER.pl postprocess %PWD/log/test%TESTNUMBER.dir %PWD/log/curl%TESTNUMBER.out
</postcheck>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test614.dir
+perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP pre-quote chmod
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/log/test614.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test614.dir/ --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/log/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/ --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test614.dir %PWD/log/curl614.out
+perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir %PWD/log/curl%TESTNUMBER.out
</postcheck>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test615.dir
+perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP put remote failure
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file615.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test615.dir/rofile.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/rofile.txt --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test615.dir
+perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir
</postcheck>
-<file name="log/file615.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SFTP retrieval of empty file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file616.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file616.txt">
+<file name="log/file%TESTNUMBER.txt">
</file>
</client>
SCP retrieval of empty file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file617.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file617.txt">
+<file name="log/file%TESTNUMBER.txt">
</file>
</client>
SFTP retrieval of two files
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file618.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file618.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file618.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SCP retrieval of two files
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file619.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file619.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file619.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
HTTP, send cookies when using custom Host:
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/62 http://%HOSTIP:%HTTPPORT/we/want/62?hoge=fuga -b log/jar62.txt -H "Host: www.host.foo.com"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER?hoge=fuga -b log/jar%TESTNUMBER.txt -H "Host: www.host.foo.com"
</command>
-<file name="log/jar62.txt">
+<file name="log/jar%TESTNUMBER.txt">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/62 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: www.host.foo.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Cookie: test2=yes; test=yes\r
\r
-GET /we/want/62?hoge=fuga HTTP/1.1\r
+GET /we/want/%TESTNUMBER?hoge=fuga HTTP/1.1\r
Host: www.host.foo.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
SFTP retrieval of missing file followed by good file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file620.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file620.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SCP retrieval of missing file followed by good file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file621.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/not-a-valid-file-moooo scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file621.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP put failure
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file622.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure
</command>
-<file name="log/file622.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SCP upload failure
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file623.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure
</command>
-<file name="log/file623.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SFTP put with --ftp-create-dirs
</name>
<command>
---ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file624.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test624.dir/upload.624 --insecure
+--ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/upload.%TESTNUMBER --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl move %PWD/log/test624.dir/upload.624 %PWD/log/upload.624 rmdir %PWD/log/test624.dir
+perl %SRCDIR/libtest/test610.pl move %PWD/log/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/log/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.dir
</postcheck>
-<file name="log/file624.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SFTP put with --ftp-create-dirs twice
</name>
<command>
---ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file625.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test625.a/upload.625 -T log/file625.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test625.b/upload.625 --insecure
+--ftp-create-dirs --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.a/upload.%TESTNUMBER -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.b/upload.%TESTNUMBER --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl move %PWD/log/test625.a/upload.625 %PWD/log/upload.625 rmdir %PWD/log/test625.a rm %PWD/log/test625.b/upload.625 rmdir %PWD/log/test625.b
+perl %SRCDIR/libtest/test610.pl move %PWD/log/test%TESTNUMBER.a/upload.%TESTNUMBER %PWD/log/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.a rm %PWD/log/test%TESTNUMBER.b/upload.%TESTNUMBER rmdir %PWD/log/test%TESTNUMBER.b
</postcheck>
-<file name="log/file625.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
SFTP invalid quote command
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file626.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "invalid-command foo bar" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file626.txt">
+<file name="log/file%TESTNUMBER.txt">
Test file for rename test
</file>
</client>
SFTP quote remove file with NOBODY
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file627.txt" sftp://%HOSTIP:%SSHPORT --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl gone %PWD/log/test627.txt
+perl %SRCDIR/libtest/test610.pl gone %PWD/log/test%TESTNUMBER.txt
</postcheck>
-<file name="log/file627.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for remove test
</file>
</client>
http_proxy=http://fake:user@%HOSTIP:%HTTPPORT/
</setenv>
<command>
-http://we.want.that.site.com/63
+http://we.want.that.site.com/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://we.want.that.site.com/63 HTTP/1.1\r
+GET http://we.want.that.site.com/%TESTNUMBER HTTP/1.1\r
Host: we.want.that.site.com\r
Proxy-Authorization: Basic ZmFrZTp1c2Vy\r
User-Agent: curl/%VERSION\r
SFTP retrieval with byte range
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file633.txt -r 5-9 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5-9 --insecure
</command>
-<file name="log/file633.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP retrieval with byte range past end of file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file634.txt -r 5-99 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5-99 --insecure
</command>
-<file name="log/file634.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP retrieval with byte range relative to end of file
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file635.txt -r -9 --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r -9 --insecure
</command>
-<file name="log/file635.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP retrieval with X- byte range
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file636.txt -r 5- --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 5- --insecure
</command>
-<file name="log/file636.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP retrieval with invalid X- range
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file637.txt -r 99- --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt -r 99- --insecure
</command>
-<file name="log/file637.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test638.dir
+perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP post-quote rename * asterisk accept-fail
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test638.dir %PWD/log/test638.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file638.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test%TESTNUMBER.dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test638.new
+perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.new
</postcheck>
-<file name="log/file638.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for rename test
</file>
</client>
sftp
</server>
<precheck>
-perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test639.dir
+perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir
</precheck>
<name>
SFTP post-quote rename * asterisk accept-fail
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test639-not-exists-dir %PWD/log/test639.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file639.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test%TESTNUMBER-not-exists-dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
<postcheck>
-perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test639.dir
+perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.dir
</postcheck>
-<file name="log/file639.txt">
+<file name="log/file%TESTNUMBER.txt">
Dummy test file for rename test
</file>
</client>
HTTP with Digest authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/64 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /64 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /64 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/64", response="c55f7f30d83d774a3d2dcacf725abaca"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="c55f7f30d83d774a3d2dcacf725abaca"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
SFTP --head retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file640.txt --insecure --head
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure --head
</command>
-<file name="log/file640.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SCP --head retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file641.txt --insecure --head
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure --head
</command>
-<file name="log/file641.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
SFTP retrieval
</name>
<command>
---key curl_client_key --pubkey curl_client_key.pub -u %USER: --compressed-ssh sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file642.txt --insecure
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: --compressed-ssh sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
</command>
-<file name="log/file642.txt">
+<file name="log/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib643
+lib%TESTNUMBER
</tool>
<name>
HTTP multi-part mimepost using read callback for the file part
</name>
<command>
-http://%HOSTIP:%HTTPPORT/643
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /643 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 640\r
\r
blah blah\r
--------------------------------\r
-POST /643 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 654\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib644
+lib%TESTNUMBER
</tool>
<name>
HTTP multi-part formpost with aborted read callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/644
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /644 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 640\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib645
+lib%TESTNUMBER
</tool>
<name>
HTTP multi-part chunked mimepost using read callback for the file part
</name>
<command>
-http://%HOSTIP:%HTTPPORT/645
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /645 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
\r
0\r
\r
-POST /645 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/646 --mail-rcpt recipient@example.com --mail-from sender@example.com -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@log/headers646" -F "=)" -F "=@log/test646.txt;headers=<log/headers646" -H "From: different" -H "To: another" -H "Reply-To: <followup@example.com>"
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@log/headers%TESTNUMBER" -F "=)" -F "=@log/test%TESTNUMBER.txt;headers=<log/headers%TESTNUMBER" -H "From: different" -H "To: another" -H "Reply-To: <followup@example.com>"
</command>
-<file1 name="log/test646.txt">
+<file1 name="log/test%TESTNUMBER.txt">
This is an attached file.
It may contain any type of data.
</file1>
-<file2 name="log/headers646">
+<file2 name="log/headers%TESTNUMBER">
# This line is a comment
X-fileheader1: This is a header from a file \r
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-EHLO 646\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
--------------------------------\r
\r
------------------------------\r
-Content-Disposition: attachment; filename="test646.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
X-fileheader1: This is a header from a file\r
X-fileheader2: This is #a folded header\r
\r
IMAP APPEND multipart using mime API
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/647 -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;type=text/html" -F "=This is the plain text version" -F "=)" -F "=@log/test647.txt" -H "Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)" -H "From: Fred Foobar <foobar@example.com>" -H "To: joe@example.com" -H "Message-Id: <B27397-0100000@example.com>" -H "Subject: afternoon meeting" -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;type=text/html" -F "=This is the plain text version" -F "=)" -F "=@log/test%TESTNUMBER.txt" -H "Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)" -H "From: Fred Foobar <foobar@example.com>" -H "To: joe@example.com" -H "Message-Id: <B27397-0100000@example.com>" -H "Subject: afternoon meeting" -u user:secret
</command>
-<file name="log/test647.txt">
+<file name="log/test%TESTNUMBER.txt">
This is an attached file.
It may contain any type of data.
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 APPEND 647 (\Seen) {892}\r
+A003 APPEND %TESTNUMBER (\Seen) {892}\r
A004 LOGOUT\r
</protocol>
<upload>
--------------------------------\r
\r
------------------------------\r
-Content-Disposition: attachment; filename="test647.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
\r
This is an attached file.
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/648 --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is the e-mail inline text with a very long line containing the special character = and that should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@log/test648.txt;encoder=base64" -H "From: different" -H "To: another"
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is the e-mail inline text with a very long line containing the special character = and that should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@log/test%TESTNUMBER.txt;encoder=base64" -H "From: different" -H "To: another"
</command>
-<file name="log/test648.txt">
+<file name="log/test%TESTNUMBER.txt">
This is an attached file.
It may contain any type of data and will be encoded in base64 for transfer.
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-EHLO 648\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
This is the e-mail inline text with a very long line containing the special=\r
character =3D and that should be split by encoder.\r
------------------------------\r
-Content-Disposition: attachment; filename="test648.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Transfer-Encoding: base64\r
\r
VGhpcyBpcyBhbiBhdHRhY2hlZCBmaWxlLgoKSXQgbWF5IGNvbnRhaW4gYW55IHR5cGUgb2YgZGF0\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/649 --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is valid;encoder=7bit' -F "=@log/test649.txt;encoder=7bit" -H "From: different" -H "To: another"
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is valid;encoder=7bit' -F "=@log/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another"
</command>
-<file name="log/test649.txt">
+<file name="log/test%TESTNUMBER.txt">
This is an attached file (in french: pièce jointe).
It contains at least an 8-bit byte value.
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-EHLO 649\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
\r
This is valid\r
------------------------------\r
-Content-Disposition: attachment; filename="test649.txt"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.txt"\r
Content-Transfer-Encoding: 7bit\r
\r
This is an attached file (in french: pi
HTTP with Digest authorization with bad password
</name>
<command>
-http://%HOSTIP:%HTTPPORT/65 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:test2pass --digest
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /65 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /65 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/65", response="66d68d3251f1839576ba7c766cf9205b"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/%TESTNUMBER", response="66d68d3251f1839576ba7c766cf9205b"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib650
+lib%TESTNUMBER
</tool>
<name>
Some data from stdin
</stdin>
<command>
-http://%HOSTIP:%HTTPPORT/650 log/test650.filedata
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/test%TESTNUMBER.filedata
</command>
-<file name="log/test650.filedata">
+<file name="log/test%TESTNUMBER.filedata">
This is data from a file.
</file>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /650 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
Content-Type: multipart/mixed; boundary=----------------------------\r
\r
------------------------------\r
-Content-Disposition: attachment; filename="test650.filedata"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"\r
Content-Type: application/octet-stream\r
\r
This is data from a file.
\r
------------------------------\r
-Content-Disposition: attachment; filename="test650.filedata"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"\r
Content-Type: text/whatever\r
\r
\r
This is data from a file.
\r
------------------------------\r
-Content-Disposition: attachment; filename="test650.filedata"\r
+Content-Disposition: attachment; filename="test%TESTNUMBER.filedata"\r
Content-Type: text/whatever\r
\r
\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib651
+lib%TESTNUMBER
</tool>
<name>
Some data from stdin
</stdin>
<command>
-http://%HOSTIP:%HTTPPORT/651 log/test651.filedata
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/test%TESTNUMBER.filedata
</command>
-<file name="log/test651.filedata">
+<file name="log/test%TESTNUMBER.filedata">
This is data from a file.
</file>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /651 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 17139\r
smtp
</server>
<tool>
-lib652
+lib%TESTNUMBER
</tool>
<name>
SMTP with encoded huge mime data contents
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/652
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-EHLO 652\r
+EHLO %TESTNUMBER\r
MAIL FROM:<somebody@example.com>\r
RCPT TO:<someone@example.com>\r
DATA\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib653
+lib%TESTNUMBER
</tool>
<name>
Reuse of handle after altering mime data
</name>
<command>
-http://%HOSTIP:%HTTPPORT/653
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /653 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 150\r
\r
short value\r
--------------------------------\r
-POST /653 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 167\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib654
+lib%TESTNUMBER
</tool>
<name>
HTTP duplicate easy handle with mime data
</name>
<command>
-http://%HOSTIP:%HTTPPORT/654
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
-<file name="log/file654.txt">
+<file name="log/file%TESTNUMBER.txt">
This is data from a file
</file>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /654 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 0\r
\r
-POST /654 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
Content-Disposition: form-data; name="greeting"\r
Content-Type: application/X-Greeting\r
Content-Transfer-Encoding: base64\r
-X-Test-Number: 654\r
+X-Test-Number: %TESTNUMBER\r
\r
aGVsbG8=\r
------------------------------\r
-Content-Disposition: form-data; filename="file654.txt"\r
+Content-Disposition: form-data; filename="file%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
This is data from a file
</server>
# tool is what to use instead of 'curl'
<tool>
-lib655
+lib%TESTNUMBER
</tool>
<name>
resolver start callback
</name>
<command>
-http://%HOSTIP:%HTTPPORT/655
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
</server>
<tool>
-lib658
+lib%TESTNUMBER
</tool>
<name>
Pass URL to libcurl with CURLOPT_CURLU
</name>
<command>
-http://%HOSTIP:%HTTPPORT/658
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /658 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
http
</server>
<tool>
-lib659
+lib%TESTNUMBER
</tool>
<name>
CURLOPT_CURLU without the path set - over proxy
HTTP GET without headers in the response
</name>
<command>
-http://%HOSTIP:%HTTPPORT/66 --http0.9
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /66 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/660
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER
</command>
</client>
</server>
# tool is what to use instead of 'curl'
<tool>
-lib661
+lib%TESTNUMBER
</tool>
<name>
CWD /folderA\r
EPSV\r
TYPE I\r
-RETR 661\r
+RETR %TESTNUMBER\r
CWD /folderB\r
EPSV\r
-RETR 661\r
+RETR %TESTNUMBER\r
QUIT\r
USER anonymous\r
PASS ftp@example.com\r
PWD\r
EPSV\r
TYPE I\r
-RETR /folderA/661\r
+RETR /folderA/%TESTNUMBER\r
CWD /folderB\r
EPSV\r
-RETR 661\r
+RETR %TESTNUMBER\r
EPSV\r
-RETR /folderA/661\r
+RETR /folderA/%TESTNUMBER\r
QUIT\r
USER anonymous\r
PASS ftp@example.com\r
<reply>
<data>
HTTP/1.1 302 OK\r
-Location: http://example.net/tes t case=/6620002\r
+Location: http://example.net/tes t case=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
</data2>
<datacheck>
HTTP/1.1 302 OK\r
-Location: http://example.net/tes t case=/6620002\r
+Location: http://example.net/tes t case=/%TESTNUMBER0002\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
HTTP redirect with whitespace in absolute Location: URL
</name>
<command>
-http://example.com/please/gimme/662 -L -x http://%HOSTIP:%HTTPPORT
+http://example.com/please/gimme/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.com/please/gimme/662 HTTP/1.1\r
+GET http://example.com/please/gimme/%TESTNUMBER HTTP/1.1\r
Host: example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://example.net/tes%20t%20case=/6620002 HTTP/1.1\r
+GET http://example.net/tes%20t%20case=/%TESTNUMBER0002 HTTP/1.1\r
Host: example.net\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<reply>
<data>
HTTP/1.1 302 OK\r
-Location: http://example.net/there/it/is/../../tes t case=/6630002? yes no\r
+Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
</data2>
<datacheck>
HTTP/1.1 302 OK\r
-Location: http://example.net/there/it/is/../../tes t case=/6630002? yes no\r
+Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no\r
Date: Tue, 09 Nov 2010 14:49:00 GMT\r
Content-Length: 0\r
\r
HTTP redirect with dotdots and whitespaces in absolute Location: URL
</name>
<command>
-http://example.com/please/../gimme/663?foobar#hello -L -x http://%HOSTIP:%HTTPPORT
+http://example.com/please/../gimme/%TESTNUMBER?foobar#hello -L -x http://%HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://example.com/gimme/663?foobar HTTP/1.1\r
+GET http://example.com/gimme/%TESTNUMBER?foobar HTTP/1.1\r
Host: example.com\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://example.net/there/tes%20t%20case=/6630002?+yes+no HTTP/1.1\r
+GET http://example.net/there/tes%20t%20case=/%TESTNUMBER0002?+yes+no HTTP/1.1\r
Host: example.net\r
User-Agent: curl/%VERSION\r
Accept: */*\r
SFTP correct host key
</name>
<command>
---hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file664.txt
+--hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt
</command>
-<file name="log/file664.txt">
+<file name="log/file%TESTNUMBER.txt">
test
</file>
</client>
SCP correct host key
</name>
<command>
---hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file665.txt
+--hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt
</command>
-<file name="log/file665.txt">
+<file name="log/file%TESTNUMBER.txt">
test
</file>
</client>
http
</server>
<tool>
-lib666
+lib%TESTNUMBER
</tool>
<name>
HTTP mime post with binary-encoded huge data contents
</name>
<command>
-http://%HOSTIP:%HTTPPORT/666
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /666 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 17225\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib667
+lib%TESTNUMBER
</tool>
<name>
HTTP chunked mimepost using single-byte read callback with encoder
</name>
<command>
-http://%HOSTIP:%HTTPPORT/667
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /667 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib668
+lib%TESTNUMBER
</tool>
<name>
HTTP mimepost early end of data detection
</name>
<command>
-http://%HOSTIP:%HTTPPORT/668
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
-<file name="log/file668.txt">
+<file name="log/file%TESTNUMBER.txt">
This is data from a file
</file>
</client>
# boundary string and since 5 of them are in the body contents, we see
# (5*12) == 60 bytes less
<protocol>
-POST /668 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Transfer-Encoding: chunked\r
91\r
\r
------------------------------\r
-Content-Disposition: form-data; name="field3"; filename="file668.txt"\r
+Content-Disposition: form-data; name="field3"; filename="file%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
\r
HTTP custom Content-Type with parameter
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/669 -H 'Content-type: multipart/form-data; charset=utf-8' -F name=daniel -F tool=curl
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -H 'Content-type: multipart/form-data; charset=utf-8' -F name=daniel -F tool=curl
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /we/want/669 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/67 -u testuser:testpass --ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /67 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /67 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib670
+lib%TESTNUMBER
</tool>
<name>
Request pause from mime read callback: multi
</name>
<command>
-http://%HOSTIP:%HTTPPORT/670
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /670 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 142\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib671
+lib%TESTNUMBER
</tool>
<name>
Request pause from mime read callback: easy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/671
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /671 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 142\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib672
+lib%TESTNUMBER
</tool>
<name>
Request pause from form read callback: multi
</name>
<command>
-http://%HOSTIP:%HTTPPORT/672
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /672 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 142\r
</server>
# tool is what to use instead of 'curl'
<tool>
-lib673
+lib%TESTNUMBER
</tool>
<name>
Request pause from form read callback: easy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/673
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
</strippart>
<protocol>
-POST /673 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 142\r
http
</server>
<tool>
-lib674
+lib%TESTNUMBER
</tool>
<name>
Set CURLOPT_CURLU and dupe the handle
</name>
<command>
-http://%HOSTIP:%HTTPPORT/674
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<verify>
<protocol>
-GET /674 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
-GET /674 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
\r
</name>
<command>
-http://user1:foo1@%HOSTIP:%HTTPPORT/user1/675 http://user2:foo2@%HOSTIP:%HTTPPORT/user2/675
+http://user1:foo1@%HOSTIP:%HTTPPORT/user1/%TESTNUMBER http://user2:foo2@%HOSTIP:%HTTPPORT/user2/%TESTNUMBER
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /user1/675 HTTP/1.1\r
+GET /user1/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjE6Zm9vMQ==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /user2/675 HTTP/1.1\r
+GET /user2/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic dXNlcjI6Zm9vMg==\r
User-Agent: curl/%VERSION\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/68 -u testuser:testpass --ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /68 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /68 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /69 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /69 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /69 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
HTTP with cookie parser and header recording
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/7 -b none -D log/heads7.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -D log/heads%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/7 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/heads7.txt">
+<file name="log/heads%TESTNUMBER.txt">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
HTTP with Digest *OR* NTLM authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/70 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /70 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /70 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/70", response="2c9a6f00af0d86497b177b90e90c688a"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/%TESTNUMBER", response="2c9a6f00af0d86497b177b90e90c688a"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP GET via SOCKS4 proxy
</name>
<command>
---socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/700
+--socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /700 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET via SOCKS5 proxy
</name>
<command>
---socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/701
+--socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /701 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Attempt connect to non-listening SOCKS4 proxy
</name>
<command>
---socks4 %HOSTIP:%NOLISTENPORT http://%HOSTIP:%HTTPPORT/704
+--socks4 %HOSTIP:%NOLISTENPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<features>
proxy
Attempt connect to non-listening SOCKS5 proxy
</name>
<command>
---socks5 %HOSTIP:%NOLISTENPORT http://%HOSTIP:%HTTPPORT/705
+--socks5 %HOSTIP:%NOLISTENPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<features>
proxy
HTTP GET via SOCKS4 proxy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/708
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /708 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET via SOCKS5 set in http_proxy environment variable
</name>
<command>
-http://%HOSTIP:%HTTPPORT/709
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /709 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
<stdin>
-F name=daniel
-F tool=curl
--F file=@log/test71.txt
+-F file=@log/test%TESTNUMBER.txt
user-agent = ""
</stdin>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/71 -K -
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -K -
</command>
# We create this file before the command is invoked!
-<file name="log/test71.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/71 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
Content-Length: 408\r
\r
curl\r
------------------------------9ef8d6205763\r
-Content-Disposition: form-data; name="file"; filename="test71.txt"\r
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER.txt"\r
Content-Type: text/plain\r
\r
foo-
HTTP GET via SOCKS5 set with --proxy
</name>
<command>
-http://%HOSTIP:%HTTPPORT/710 --proxy socks5://%HOSTIP:%SOCKSPORT
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /710 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP fetch with all_proxy set to socks5
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/711
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 711\r
-RETR 711\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch with --proxy set to socks5://
</name>
<command>
-ftp://%HOSTIP:%FTPPORT/712 --proxy socks5://%HOSTIP:%SOCKSPORT
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 712\r
-RETR 712\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch with --proxy set to socks5:// and with --connect-to
</name>
<command>
-ftp://ftp.example.com/713 --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
+ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 713\r
-RETR 713\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch with --proxy set to http:// and with --connect-to
</name>
<command>
-ftp://ftp.example.com.714/714 --connect-to ::connect.example.com.714:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
+ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 714\r
-RETR 714\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
FTP fetch with --preproxy, --proxy and --connect-to
</name>
<command>
-ftp://ftp.example.com.715/715 --connect-to ::connect.example.com.715:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
+ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
</command>
</client>
PWD\r
EPSV\r
TYPE I\r
-SIZE 715\r
-RETR 715\r
+SIZE %TESTNUMBER\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
# it should never connect to the target server
<command>
-http://hohoho.example.com:99/716 -x socks5://AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:b@%HOSTIP:%SOCKSPORT
+http://hohoho.example.com:99/%TESTNUMBER -x socks5://AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:b@%HOSTIP:%SOCKSPORT
</command>
</client>
# target a port that won't work without the SOCKS magic
<command>
-http://%HOSTIP:1/717 -x socks5://uz3r:p4ssworm@%HOSTIP:%SOCKSPORT
+http://%HOSTIP:1/%TESTNUMBER -x socks5://uz3r:p4ssworm@%HOSTIP:%SOCKSPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /717 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:1\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with Digest *OR* Basic authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/72 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /72 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /72 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/72", response="9fcd1330377365a09bbcb33b2cbb25bd"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/%TESTNUMBER", response="9fcd1330377365a09bbcb33b2cbb25bd"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
HTTP, receive cookies when using custom Host:, domain using only two dots
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se"
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -c log/jar%TESTNUMBER.txt -H "Host: host.NOT_DISCLOSED.se"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/73 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: host.NOT_DISCLOSED.se\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/jar73.txt" mode="text">
+<file name="log/jar%TESTNUMBER.txt" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
HTTP, urlglob {}-retrieval and -o #[num] usage
</name>
<command option="no-output">
-"http://%HOSTIP:%HTTPPORT/{74,740001}" -o "log/dumpit#1.dump"
+"http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "log/dumpit#1.dump"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /74 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /740001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
-<file name="log/dumpit740001.dump">
+<file name="log/dumpit%TESTNUMBER0001.dump">
HTTP/1.0 200 OK
Content-Type: text/html
Funny-head: swsclose
HTTP, -O with no file name part in the URL
</name>
<command option="no-output">
-http://%HOSTIP:%NOLISTENPORT/76/ -O
+http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER/ -O
</command>
</client>
HTTP with -z "older date"
</name>
<command>
-http://%HOSTIP:%HTTPPORT/77 -z "dec 12 12:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 12:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /77 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with -z "newer date"
</name>
<command>
-http://%HOSTIP:%HTTPPORT/78 -z "dec 12 11:00:00 1999 GMT"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 12 11:00:00 1999 GMT"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /78 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
FTP over HTTP proxy
</name>
<command>
-ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
+ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1\r
+GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP with cookie parsing from header file
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/8 -b log/heads8.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b log/heads%TESTNUMBER.txt
</command>
# We create this file before the command is invoked!
-<file name="log/heads8.txt">
+<file name="log/heads%TESTNUMBER.txt">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /we/want/8 HTTP/1.1\r
+GET /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication
</name>
<command>
-http://test.80:%HTTPPORT/we/want/that/page/80 -p --proxy1.0 %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself
+http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p --proxy1.0 %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.80:%HTTPPORT HTTP/1.0\r
-Host: test.80:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.0\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/80 HTTP/1.1\r
-Host: test.80:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
Accept: */*\r
IMAP FETCH message
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/800/;MAILINDEX=1' -u '"user:sec"ret{'
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u '"user:sec"ret{'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN "\"user" "sec\"ret{"\r
-A003 SELECT 800\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP FETCH message by MAILINDEX and SECTION
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/801/;MAILINDEX=123/;SECTION=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 801\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 123 BODY[1]\r
A005 LOGOUT\r
</protocol>
IMAP SELECT UIDVALIDITY Success
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/802;UIDVALIDITY=3857529045/;MAILINDEX=123/;SECTION=TEXT' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER;UIDVALIDITY=3857529045/;MAILINDEX=123/;SECTION=TEXT' -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 802\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 123 BODY[TEXT]\r
A005 LOGOUT\r
</protocol>
IMAP SELECT UIDVALIDITY Failure
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/803;UIDVALIDITY=12345/;MAILINDEX=123' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER;UIDVALIDITY=12345/;MAILINDEX=123' -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 803\r
+A003 SELECT %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP doesn't perform SELECT if re-using the same mailbox
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/804/;MAILINDEX=456/;SECTION=2.3' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=456/;SECTION=2.3' -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 804\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 123 BODY[1]\r
A005 FETCH 456 BODY[2.3]\r
A006 LOGOUT\r
IMAP APPEND message
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/805 -T log/upload805 -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -u user:secret
</command>
-<file name="log/upload805">
+<file name="log/upload%TESTNUMBER">
Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\r
From: Fred Foobar <foobar@example.COM>\r
Subject: afternoon meeting\r
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 APPEND 805 (\Seen) {295}\r
+A003 APPEND %TESTNUMBER (\Seen) {295}\r
A004 LOGOUT\r
</protocol>
<upload>
# Server-side
<reply>
<data>
-* LIST () "/" /806/blurdybloop\r
-* LIST (\Noselect) "/" /806/foo\r
-* LIST () "/" /806/foo/bar\r
+* LIST () "/" /%TESTNUMBER/blurdybloop\r
+* LIST (\Noselect) "/" /%TESTNUMBER/foo\r
+* LIST () "/" /%TESTNUMBER/foo/bar\r
</data>
</reply>
IMAP LIST mailbox
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/806 -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 LIST "806" *\r
+A003 LIST "%TESTNUMBER" *\r
A004 LOGOUT\r
</protocol>
</verify>
# Server-side
<reply>
<data>
-* LSUB () "/" /807/blurdybloop\r
-* LSUB (\Noselect) "/" /807/foo\r
-* LSUB () "/" /807/foo/bar\r
+* LSUB () "/" /%TESTNUMBER/blurdybloop\r
+* LSUB (\Noselect) "/" /%TESTNUMBER/foo\r
+* LSUB () "/" /%TESTNUMBER/foo/bar\r
</data>
</reply>
IMAP LSUB mailbox
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "807" *'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "%TESTNUMBER" *'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 LSUB "807" *\r
+A003 LSUB "%TESTNUMBER" *\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP EXAMINE mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'EXAMINE 808'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'EXAMINE %TESTNUMBER'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 EXAMINE 808\r
+A003 EXAMINE %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
# Server-side
<reply>
<data>
-* STATUS 809 (MESSAGES 231 UIDNEXT 44292)\r
+* STATUS %TESTNUMBER (MESSAGES 231 UIDNEXT 44292)\r
</data>
</reply>
IMAP mailbox STATUS (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS %TESTNUMBER (UIDNEXT MESSAGES)'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 STATUS 809 (UIDNEXT MESSAGES)\r
+A003 STATUS %TESTNUMBER (UIDNEXT MESSAGES)\r
A004 LOGOUT\r
</protocol>
</verify>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT --proxy-ntlm
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT --proxy-ntlm
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Proxy-Connection: Keep-Alive\r
\r
-GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
# Server-side
<reply>
<data>
-* SEARCH 1 123 456 810\r
+* SEARCH 1 123 456 %TESTNUMBER\r
</data>
</reply>
IMAP SEARCH for NEW messages
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/810?NEW -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER?NEW -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 810\r
+A003 SELECT %TESTNUMBER\r
A004 SEARCH NEW\r
A005 LOGOUT\r
</protocol>
IMAP CREATE mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'CREATE 811'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'CREATE %TESTNUMBER'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 CREATE 811\r
+A003 CREATE %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP DELETE mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'DELETE 812'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'DELETE %TESTNUMBER'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 DELETE 812\r
+A003 DELETE %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP RENAME mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'RENAME 666 813'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'RENAME 666 %TESTNUMBER'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 RENAME 666 813\r
+A003 RENAME 666 %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP CHECK mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/814 -u user:secret -X 'CHECK'
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -u user:secret -X 'CHECK'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 814\r
+A003 SELECT %TESTNUMBER\r
A004 CHECK\r
A005 LOGOUT\r
</protocol>
IMAP STORE - delete message (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X CLOSE -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 815\r
+A003 SELECT %TESTNUMBER\r
A004 STORE 123 +Flags \Deleted\r
A005 CLOSE\r
A006 LOGOUT\r
IMAP STORE - delete message with confirmation (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE -u user:secret
+imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -X EXPUNGE -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 816\r
+A003 SELECT %TESTNUMBER\r
A004 STORE 123 +Flags \Deleted\r
A005 EXPUNGE\r
A006 LOGOUT\r
IMAP COPY message to mailbox (CUSTOMREQUEST)
</name>
<command>
-imap://%HOSTIP:%IMAPPORT -u user:secret -X 'COPY 123 817'
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'COPY 123 %TESTNUMBER'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 COPY 123 817\r
+A003 COPY 123 %TESTNUMBER\r
A004 LOGOUT\r
</protocol>
</verify>
IMAP plain authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/819/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE PLAIN\r
AHVzZXIAc2VjcmV0\r
-A003 SELECT 819\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
HTTP with proxy requiring NTLM, but we send Basic
</name>
<command>
-http://%HOSTIP:%HTTPPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/82 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=\r
User-Agent: curl/%VERSION\r
IMAP login authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/820/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
A002 AUTHENTICATE LOGIN\r
dXNlcg==\r
c2VjcmV0\r
-A003 SELECT 820\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP CRAM-MD5 authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/821/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE CRAM-MD5\r
dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==\r
-A003 SELECT 821\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-'imap://%HOSTIP:%IMAPPORT/822/;MAILINDEX=1' -u testuser:testpass
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass
</command>
<precheck>
chkhostname curlhost
A002 AUTHENTICATE NTLM\r
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
-A003 SELECT 822\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP DIGEST-MD5 authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/823/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
A002 AUTHENTICATE DIGEST-MD5\r
dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJpbWFwL2N1cmwiLHJlc3BvbnNlPTVlNzk5N2ZhZDZjMzNiZWJmZjk3OWJkY2I4ZmU3MTZiLHFvcD1hdXRo\r
\r
-A003 SELECT 823\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP OAuth 2.0 (XOAUTH2) authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/824/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE XOAUTH2\r
dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
-A003 SELECT 824\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP plain authentication with initial response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/825/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 AUTHENTICATE PLAIN AHVzZXIAc2VjcmV0\r
-A003 SELECT 825\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP login authentication with initial response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/826/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE LOGIN dXNlcg==\r
c2VjcmV0\r
-A003 SELECT 826\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-'imap://%HOSTIP:%IMAPPORT/827/;MAILINDEX=1' -u testuser:testpass
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass
</command>
<precheck>
chkhostname curlhost
A001 CAPABILITY\r
A002 AUTHENTICATE NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
-A003 SELECT 827\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP OAuth 2.0 (XOAUTH2) authentication with initial response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/828/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 AUTHENTICATE XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
-A003 SELECT 828\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP with URL-encoded CR LF in the URL
</name>
<command>
-imap://%HOSTIP:%IMAPPORT/%0d%0a/829
+imap://%HOSTIP:%IMAPPORT/%0d%0a/%TESTNUMBER
</command>
</client>
HTTP over proxy-tunnel with site authentication
</name>
<command>
-http://test.83:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self'
+http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self'
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.83:%HTTPPORT HTTP/1.1\r
-Host: test.83:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>
-GET /we/want/that/page/83 HTTP/1.1\r
-Host: test.83:%HTTPPORT\r
+GET /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
Authorization: Basic aWFtOm15OjtzZWxm\r
User-Agent: curl/%VERSION\r
Accept: */*\r
IMAP CRAM-MD5 graceful cancellation
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/830/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-'imap://%HOSTIP:%IMAPPORT/831/;MAILINDEX=1' -u testuser:testpass
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u testuser:testpass
</command>
<precheck>
chkhostname curlhost
IMAP DIGEST-MD5 graceful cancellation
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/832/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
IMAP CRAM-MD5 authentication with SASL downgrade
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/833/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
*\r
A003 AUTHENTICATE PLAIN\r
AHVzZXIAc2VjcmV0\r
-A004 SELECT 833\r
+A004 SELECT %TESTNUMBER\r
A005 FETCH 1 BODY[]\r
A006 LOGOUT\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-'imap://%HOSTIP:%IMAPPORT/834/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
<precheck>
chkhostname curlhost
*\r
A003 AUTHENTICATE PLAIN\r
AHVzZXIAc2VjcmV0\r
-A004 SELECT 834\r
+A004 SELECT %TESTNUMBER\r
A005 FETCH 1 BODY[]\r
A006 LOGOUT\r
</protocol>
IMAP DIGEST-MD5 authentication with SASL downgrade
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/835/;MAILINDEX=1' -u user:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
</command>
</client>
*\r
A003 AUTHENTICATE PLAIN\r
AHVzZXIAc2VjcmV0\r
-A004 SELECT 835\r
+A004 SELECT %TESTNUMBER\r
A005 FETCH 1 BODY[]\r
A006 LOGOUT\r
</protocol>
IMAP multiple connection authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/836/;MAILINDEX=1' -u user.one:secret -: 'imap://%HOSTIP:%IMAPPORT/836/;UID=2' -u user.two:secret
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user.one:secret -: 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;UID=2' -u user.two:secret
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user.one secret\r
-A003 SELECT 836\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
B001 CAPABILITY\r
B002 LOGIN user.two secret\r
-B003 SELECT 836\r
+B003 SELECT %TESTNUMBER\r
B004 FETCH 2 BODY[]\r
B005 LOGOUT\r
</protocol>
IMAP external authentication
</name>
<command>
-'imap://user;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/837/;MAILINDEX=1'
+'imap://user;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE EXTERNAL\r
dXNlcg==\r
-A003 SELECT 837\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP external authentication without credentials
</name>
<command>
-'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/838/;MAILINDEX=1'
+'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE EXTERNAL\r
=\r
-A003 SELECT 838\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP external authentication with initial response
</name>
<command>
-'imap://user;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/839/;MAILINDEX=1'
+'imap://user;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 AUTHENTICATE EXTERNAL dXNlcg==\r
-A003 SELECT 839\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
HTTP over proxy with site authentication
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/84 -x %HOSTIP:%HTTPPORT --user iam:myself
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/we/want/that/page/84 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: Basic aWFtOm15c2VsZg==\r
User-Agent: curl/%VERSION\r
IMAP external authentication with initial response without credentials
</name>
<command>
-'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/840/;MAILINDEX=1'
+'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 AUTHENTICATE EXTERNAL =\r
-A003 SELECT 840\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP custom request doesn't check continuation data
</name>
<command>
- imap://%HOSTIP:%IMAPPORT/841/ -u user:secret -X 'FETCH 123 BODY[1]'
+ imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 123 BODY[1]'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN user secret\r
-A003 SELECT 841\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 123 BODY[1]\r
A005 LOGOUT\r
</protocol>
IMAP OAuth 2.0 (OAUTHBEARER) authentication
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/842/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
# The protocol section doesn't support ways of specifying the raw data in the
# base64 encoded message so we must assert this
A001 CAPABILITY\r
A002 AUTHENTICATE OAUTHBEARER\r
%b64[n,a=user,%01host=127.0.0.1%01port=%IMAPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
-A003 SELECT 842\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/843/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 AUTHENTICATE OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%IMAPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
-A003 SELECT 843\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/844/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/845/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
IMAP PREAUTH response
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/846/;MAILINDEX=1' -u notused:still-provided
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u notused:still-provided
</command>
</client>
<verify>
<protocol>
A001 CAPABILITY\r
-A002 SELECT 846\r
+A002 SELECT %TESTNUMBER\r
A003 FETCH 1 BODY[]\r
A004 LOGOUT\r
</protocol>
IMAP FETCH message
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/847/;UID=1' -u '"user:sec"ret{'
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;UID=1' -u '"user:sec"ret{'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN "\"user" "sec\"ret{"\r
-A003 SELECT 847\r
+A003 SELECT %TESTNUMBER\r
A004 UID FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP plain authentication with alternative authorization identity
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/848/;MAILINDEX=1' -u user:secret --sasl-authzid shared-mailbox
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --sasl-authzid shared-mailbox
</command>
</client>
A001 CAPABILITY\r
A002 AUTHENTICATE PLAIN\r
c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=\r
-A003 SELECT 848\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
IMAP plain authentication with alternative authorization identity (Not authorized)
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/849/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel
</command>
</client>
HTTP over proxy with site and proxy authentication
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/85 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this
+http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/we/want/that/page/85 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Proxy-Authorization: Basic dGVzdGluZzp0aGlz\r
Authorization: Basic aWFtOm15c2VsZg==\r
POP3 RETR message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/850 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-RETR 850\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
<reply>
<servercmd>
# include the '.\r\n' 3-byte trailer to end the transfer properly!
-REPLY LIST +OK 851 100\r\n.
+REPLY LIST +OK %TESTNUMBER 100\r\n.
</servercmd>
</reply>
POP3 LIST one message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-LIST 851\r
+LIST %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 LIST invalid message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/852 -l -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-LIST 852\r
+LIST %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 RETR invalid message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/855 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-RETR 855\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 invalid login
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/856 -u user:wrong
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:wrong
</command>
</client>
POP3 RETR message with dot-prefixed line
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/857 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-RETR 857\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 DELE message (CUSTOMREQUEST)
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/858 -u user:secret -X DELE -I
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret -X DELE -I
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-DELE 858\r
+DELE %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP, urlglob []-retrieval and -o #[num] usage
</name>
<command option="no-output">
-"http://%HOSTIP:%HTTPPORT/[860001-860003]" -o "log/dumpit#1.dump"
+"http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0003]" -o "log/dumpit#1.dump"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /860001 HTTP/1.1\r
+GET /%TESTNUMBER0001 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /860002 HTTP/1.1\r
+GET /%TESTNUMBER0002 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /860003 HTTP/1.1\r
+GET /%TESTNUMBER0003 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
</protocol>
# we check the second file
-<file name="log/dumpit860002.dump">
+<file name="log/dumpit%TESTNUMBER0002.dump">
HTTP/1.0 200 OK
Content-Type: text/html
Funny-head: swsclose
POP3 retrieve message header (CUSTOMREQUEST)
</name>
<command>
-pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP 862 0'
+pop3://%HOSTIP:%POP3PORT -u user:secret -X 'TOP %TESTNUMBER 0'
</command>
</client>
CAPA\r
USER user\r
PASS secret\r
-TOP 862 0\r
+TOP %TESTNUMBER 0\r
QUIT\r
</protocol>
</verify>
POP3 APOP authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/864 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
<protocol>
CAPA\r
APOP user 7501b4cdc224d469940e65e7b5e4d6eb\r
-RETR 864\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 plain authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/865 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
CAPA\r
AUTH PLAIN\r
AHVzZXIAc2VjcmV0\r
-RETR 865\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 login authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/866 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
AUTH LOGIN\r
dXNlcg==\r
c2VjcmV0\r
-RETR 866\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 CRAM-MD5 authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/867 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
CAPA\r
AUTH CRAM-MD5\r
dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==\r
-RETR 867\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-pop3://%HOSTIP:%POP3PORT/868 -u testuser:testpass
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass
</command>
<precheck>
chkhostname curlhost
AUTH NTLM\r
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
-RETR 868\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 DIGEST-MD5 authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/869 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
AUTH DIGEST-MD5\r
dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJwb3AvY3VybCIscmVzcG9uc2U9YzNhMGFiZTc5NDYyNTIyNGY5Njg3YTYzMTc3ZmRhNWIscW9wPWF1dGg=\r
\r
-RETR 869\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
urlglob with out of range -o #[num] usage
</name>
<command option="no-output">
-"http://%HOSTIP:%HTTPPORT/[870001-870002]" -o "log/dumpit87-#2.dump"
+"http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "log/dumpit%TESTNUMBER-#2.dump"
</command>
</client>
# survives
#
<verify>
-<file name="log/dumpit87-#2.dump">
+<file name="log/dumpit%TESTNUMBER-#2.dump">
HTTP/1.1 200 OK\r
Funny-head: yesyes\r
Content-Length: 16\r
POP3 OAuth 2.0 (XOAUTH2) authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/870 -u user --oauth2-bearer mF_9.B5f-4.1JqM
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
CAPA\r
AUTH XOAUTH2\r
dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
-RETR 870\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 plain authentication with initial response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/871 -u user:secret --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-ir
</command>
</client>
<protocol>
CAPA\r
AUTH PLAIN AHVzZXIAc2VjcmV0\r
-RETR 871\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 login authentication with initial response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/872 -u user:secret --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-ir
</command>
</client>
CAPA\r
AUTH LOGIN dXNlcg==\r
c2VjcmV0\r
-RETR 872\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-pop3://%HOSTIP:%POP3PORT/873 -u testuser:testpass --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass --sasl-ir
</command>
<precheck>
chkhostname curlhost
CAPA\r
AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
-RETR 873\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 OAuth 2.0 (XOAUTH2) authentication with initial response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/874 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
</command>
</client>
<protocol>
CAPA\r
AUTH XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
-RETR 874\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 with URL-encoded CR LF in the URL
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/%0d%0a/875
+pop3://%HOSTIP:%POP3PORT/%0d%0a/%TESTNUMBER
</command>
</client>
POP3 CRAM-MD5 graceful cancellation
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/876 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-pop3://%HOSTIP:%POP3PORT/877 -u testuser:testpass
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass
</command>
<precheck>
chkhostname curlhost
POP3 DIGEST-MD5 graceful cancellation
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/878 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
POP3 CRAM-MD5 authentication with SASL downgrade
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/879 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
*\r
AUTH PLAIN\r
AHVzZXIAc2VjcmV0\r
-RETR 879\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
HTTP PUT with Digest authorization
</name>
<command>
-http://%HOSTIP:%HTTPPORT/88 -T log/put88 -u testuser:testpass --digest
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T log/put%TESTNUMBER -u testuser:testpass --digest
</command>
-<file name="log/put88">
+<file name="log/put%TESTNUMBER">
This is data we upload with PUT
a second line
line three
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /88 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 0\r
\r
-PUT /88 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"\r
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER", response="78a49fa53d0c228778297687d4168e71"\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 85\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-pop3://%HOSTIP:%POP3PORT/880 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
<precheck>
chkhostname curlhost
*\r
AUTH PLAIN\r
AHVzZXIAc2VjcmV0\r
-RETR 880\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 DIGEST-MD5 authentication with SASL downgrade
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/881 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
*\r
AUTH PLAIN\r
AHVzZXIAc2VjcmV0\r
-RETR 881\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 multiple connection authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/882001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/882002 -u user.two:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/%TESTNUMBER002 -u user.two:secret
</command>
</client>
CAPA\r
USER user.one\r
PASS secret\r
-RETR 882001\r
+RETR %TESTNUMBER001\r
QUIT\r
CAPA\r
USER user.two\r
PASS secret\r
-RETR 882002\r
+RETR %TESTNUMBER002\r
QUIT\r
</protocol>
</verify>
POP3 external authentication
</name>
<command>
-'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/883'
+'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER'
</command>
</client>
CAPA\r
AUTH EXTERNAL\r
dXNlcg==\r
-RETR 883\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 external authentication without credentials
</name>
<command>
-'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/884'
+'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER'
</command>
</client>
CAPA\r
AUTH EXTERNAL\r
=\r
-RETR 884\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 external authentication with initial response
</name>
<command>
-'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/885' --sasl-ir
+'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' --sasl-ir
</command>
</client>
<protocol>
CAPA\r
AUTH EXTERNAL dXNlcg==\r
-RETR 885\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 external authentication with initial response without credentials
</name>
<command>
-'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/886' --sasl-ir
+'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' --sasl-ir
</command>
</client>
<protocol>
CAPA\r
AUTH EXTERNAL =\r
-RETR 886\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 OAuth 2.0 (OAUTHBEARER) authentication
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/887 -u user --oauth2-bearer mF_9.B5f-4.1JqM
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
CAPA\r
AUTH OAUTHBEARER\r
%b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
-RETR 887\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/888 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
</command>
</client>
<protocol>
CAPA\r
AUTH OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%POP3PORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
-RETR 888\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/889 -u user --oauth2-bearer mF_9.B5f-4.1JqM
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM
</command>
</client>
HTTP/1.1 301 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Connection: close\r
-Location: /you/890010\r
+Location: /you/%TESTNUMBER0010\r
\r
</data1002>
HTTP/1.1 301 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Connection: close\r
-Location: /you/890010\r
+Location: /you/%TESTNUMBER0010\r
\r
HTTP/1.1 401 Now gimme that second round of crap\r
Server: Microsoft-IIS/5.0\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/89 -u testuser:testpass --ntlm -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /89 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /89 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /you/890010 HTTP/1.1\r
+GET /you/%TESTNUMBER0010 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /you/890010 HTTP/1.1\r
+GET /you/%TESTNUMBER0010 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADYzMjE3MzIxAAAAAAAAAAAAAAAAAAAAAEcJ4YHOeb5ga2TCPwDhkyUIuHjBUHcLaHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/890 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
</command>
</client>
POP3 with short authentication response
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/891 -u user:secret
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
</command>
</client>
POP3 plain authentication with alternative authorization identity
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/892 -u user:secret --sasl-authzid shared-mailbox
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --sasl-authzid shared-mailbox
</command>
</client>
CAPA\r
AUTH PLAIN\r
c2hhcmVkLW1haWxib3gAdXNlcgBzZWNyZXQ=\r
-RETR 892\r
+RETR %TESTNUMBER\r
QUIT\r
</protocol>
</verify>
POP3 plain authentication with alternative authorization identity (Not authorized)
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/893 -u kurt:xipj3plmq --sasl-authzid ursel
+pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u kurt:xipj3plmq --sasl-authzid ursel
</command>
</client>
POP3 with CR in username
</name>
<command>
-pop3://user%0dFRIGGING_cmd:secret@%HOSTIP:%POP3PORT/894
+pop3://user%0dFRIGGING_cmd:secret@%HOSTIP:%POP3PORT/%TESTNUMBER
</command>
</client>
IMAP with --login-options 'AUTH=*'
</name>
<command>
-'imap://%HOSTIP:%IMAPPORT/895/;MAILINDEX=1' -u '"user:sec"ret{' --login-options 'AUTH=*'
+'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u '"user:sec"ret{' --login-options 'AUTH=*'
</command>
</client>
<protocol>
A001 CAPABILITY\r
A002 LOGIN "\"user" "sec\"ret{"\r
-A003 SELECT 895\r
+A003 SELECT %TESTNUMBER\r
A004 FETCH 1 BODY[]\r
A005 LOGOUT\r
</protocol>
HTTP RFC1867-type formposting
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/9 -F name=daniel -F tool=curl -F file=@log/test9.txt
+http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt
</command>
# We create this file before the command is invoked!
-<file name="log/test9.txt">
+<file name="log/test%TESTNUMBER.txt">
foo-
This is a moo-
bar
^(Content-Type: multipart/form-data;|------------).*
</strip>
<protocol>
-POST /we/want/9 HTTP/1.1\r
+POST /we/want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP/1.1 301 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Connection: close\r
-Location: /you/900010\r
+Location: /you/%TESTNUMBER0010\r
\r
</data1002>
HTTP/1.1 301 Things are fine in server land swsclose\r
Server: Microsoft-IIS/5.0\r
Connection: close\r
-Location: /you/900010\r
+Location: /you/%TESTNUMBER0010\r
\r
HTTP/1.1 401 Authorization Required swsclose\r
Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/90 -u testuser:testpass --anyauth -L
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth -L
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /90 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /90 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /90 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /you/900010 HTTP/1.1\r
+GET /you/%TESTNUMBER0010 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /you/900010 HTTP/1.1\r
+GET /you/%TESTNUMBER0010 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /you/900010 HTTP/1.1\r
+GET /you/%TESTNUMBER0010 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADYzMjE3MzIxAAAAAAAAAAAAAAAAAAAAAEcJ4YHOeb5ga2TCPwDhkyUIuHjBUHcLaHRlc3R1c2VyY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/900 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 900\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/901 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 901\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/902 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 902\r
-HELO 902\r
+EHLO %TESTNUMBER\r
+HELO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 903\r
+EHLO %TESTNUMBER\r
AUTH PLAIN\r
AHVzZXIAc2VjcmV0\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 904\r
+EHLO %TESTNUMBER\r
AUTH LOGIN\r
dXNlcg==\r
c2VjcmV0\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 905\r
+EHLO %TESTNUMBER\r
AUTH CRAM-MD5\r
dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 906\r
+EHLO %TESTNUMBER\r
AUTH NTLM\r
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/907 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 907\r
+EHLO %TESTNUMBER\r
AUTH DIGEST-MD5\r
dXNlcm5hbWU9InVzZXIiLHJlYWxtPSJjdXJsIixub25jZT0iNTMwMGQxN2ExZDY5NWJkNDExZTRjZGY5NmY5NTQ4YzIzY2VkNjE3NSIsY25vbmNlPSIzNDMzMzIzMTM1MzMzMjMxMzYzMzMyMzEzNzMzMzIzMSIsbmM9IjAwMDAwMDAxIixkaWdlc3QtdXJpPSJzbXRwL2N1cmwiLHJlc3BvbnNlPTk0M2YxNjk1OWYxY2M2ZjA3ZTZmMDk0ZjVkYmQ0NzNlLHFvcD1hdXRo\r
\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/908 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 908\r
+EHLO %TESTNUMBER\r
AUTH XOAUTH2\r
dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
MAIL FROM:<sender@example.com>\r
<name>
SMTP without SIZE support
</name>
-<file name="log/test909.eml">
+<file name="log/test%TESTNUMBER.eml">
From: different\r
To: another\r
\r
body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/909 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test909.eml
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test%TESTNUMBER.eml
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 909\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-http://%HOSTIP:%HTTPPORT/91 --anyauth -u mydomain\\myself:secret
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --anyauth -u mydomain\\myself:secret
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /91 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /91 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
-GET /91 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAgACABwAAAABgAGAHgAAAAIAAgAfgAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAAKBS3rdGYZEGsqW8otYHWXWBxC5mCuFmYm15ZG9tYWlubXlzZWxmY3VybGhvc3Q=\r
User-Agent: curl/%VERSION\r
body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/910 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 910\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 911\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
<name>
SMTP with SIZE support
</name>
-<file name="log/test912.eml">
+<file name="log/test%TESTNUMBER.eml">
From: different\r
To: another\r
\r
body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/912 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test912.eml
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test%TESTNUMBER.eml
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 912\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com> SIZE=38\r
RCPT TO:<recipient@example.com>\r
DATA\r
<name>
SMTP with large message SIZE
</name>
-<file name="log/test913.eml">
+<file name="log/test%TESTNUMBER.eml">
From: different\r
To: another\r
\r
body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/913 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test913.eml
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/test%TESTNUMBER.eml
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 913\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com> SIZE=38\r
QUIT\r
</protocol>
<name>
SMTP invalid --mail-from
</name>
-<file name="log/test914.eml">
+<file name="log/test%TESTNUMBER.eml">
From: different\r
To: another\r
\r
body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/914 --mail-rcpt recipient@example.com --mail-from invalid -T log/test914.eml
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from invalid -T log/test%TESTNUMBER.eml
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 914\r
+EHLO %TESTNUMBER\r
MAIL FROM:<invalid>\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/915 --mail-rcpt recipient@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 915\r
+EHLO %TESTNUMBER\r
MAIL FROM:<>\r
RCPT TO:<recipient@example.com>\r
DATA\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/916 --mail-rcpt invalid --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt invalid --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 916\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<invalid>\r
QUIT\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/917 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-rcpt recipient.three@example.com --mail-rcpt recipient.four@example.com --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 917\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient.one@example.com>\r
RCPT TO:<recipient.two@example.com>\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/918 --mail-rcpt recipient.one@example.com --mail-rcpt invalid --mail-rcpt recipient.three@example.com --mail-rcpt sTrAnGe --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient.one@example.com --mail-rcpt invalid --mail-rcpt recipient.three@example.com --mail-rcpt sTrAnGe --mail-rcpt recipient.five@example.com --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 918\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient.one@example.com>\r
RCPT TO:<invalid>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 919\r
+EHLO %TESTNUMBER\r
AUTH PLAIN AHVzZXIAc2VjcmV0\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
HTTP resume transfer with the whole file already downloaded
</name>
<command>
-http://%HOSTIP:%HTTPPORT/want/92 -C 87
+http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C 87
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /want/92 HTTP/1.1\r
+GET /want/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=87-\r
User-Agent: curl/%VERSION\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 920\r
+EHLO %TESTNUMBER\r
AUTH LOGIN dXNlcg==\r
c2VjcmV0\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/921 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T -
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>\r
-EHLO 921\r
+EHLO %TESTNUMBER\r
AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/922 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 922\r
+EHLO %TESTNUMBER\r
AUTH XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
SMTP VRFY
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/923 --mail-rcpt recipient
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 923\r
+EHLO %TESTNUMBER\r
VRFY recipient\r
QUIT\r
</protocol>
SMTP ambiguous VRFY
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/924 --mail-rcpt smith
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt smith
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 924\r
+EHLO %TESTNUMBER\r
VRFY smith\r
QUIT\r
</protocol>
SMTP external VRFY
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/925 --mail-rcpt user@example.net
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt user@example.net
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 925\r
+EHLO %TESTNUMBER\r
VRFY user@example.net\r
QUIT\r
</protocol>
SMTP unknown user VRFY
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/926 --mail-rcpt recipient
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient
</command>
</client>
56
</errorcode>
<protocol>
-EHLO 926\r
+EHLO %TESTNUMBER\r
VRFY recipient\r
QUIT\r
</protocol>
SMTP mailing list EXPN (CUSTOMREQUEST)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/927 --mail-rcpt Friends -X EXPN
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Friends -X EXPN
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 927\r
+EHLO %TESTNUMBER\r
EXPN Friends\r
QUIT\r
</protocol>
SMTP HELP
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/928
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 928\r
+EHLO %TESTNUMBER\r
HELP\r
QUIT\r
</protocol>
SMTP NOOP (CUSTOMREQUEST)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/929 -X NOOP -I
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER -X NOOP -I
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 929\r
+EHLO %TESTNUMBER\r
NOOP\r
QUIT\r
</protocol>
HTTP GET with failed proxy auth
</name>
<command>
-http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -x %HOSTIP:%HTTPPORT
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1\r
+GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
SMTP RSET (CUSTOMREQUEST)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/930 -X RSET -I
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER -X RSET -I
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 930\r
+EHLO %TESTNUMBER\r
RSET\r
QUIT\r
</protocol>
SMTP with URL-encoded CR LF in the URL
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/%0d%0a/931
+smtp://%HOSTIP:%SMTPPORT/%0d%0a/%TESTNUMBER
</command>
</client>
SMTP CRAM-MD5 graceful cancellation
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/932 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 932\r
+EHLO %TESTNUMBER\r
AUTH CRAM-MD5\r
*\r
</protocol>
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-smtp://%HOSTIP:%SMTPPORT/933 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
</command>
<precheck>
chkhostname curlhost
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 933\r
+EHLO %TESTNUMBER\r
AUTH NTLM\r
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
*\r
SMTP DIGEST-MD5 graceful cancellation
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 934\r
+EHLO %TESTNUMBER\r
AUTH DIGEST-MD5\r
*\r
</protocol>
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/935 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 935\r
+EHLO %TESTNUMBER\r
AUTH CRAM-MD5\r
*\r
AUTH PLAIN\r
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
</setenv>
<command>
-smtp://%HOSTIP:%SMTPPORT/936 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
<precheck>
chkhostname curlhost
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 936\r
+EHLO %TESTNUMBER\r
AUTH NTLM\r
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
*\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/937 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 937\r
+EHLO %TESTNUMBER\r
AUTH DIGEST-MD5\r
*\r
AUTH PLAIN\r
<name>
SMTP multiple connection authentication
</name>
-<file name="log/upload938">
+<file name="log/upload%TESTNUMBER">
mail body\r
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/938001 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.one:secret -T log/upload938 -: smtp://%HOSTIP:%SMTPPORT/938002 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.two:secret -T log/upload938
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER001 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.one:secret -T log/upload%TESTNUMBER -: smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER002 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.two:secret -T log/upload%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 938001\r
+EHLO %TESTNUMBER001\r
AUTH PLAIN\r
dXNlci5vbmUAdXNlci5vbmUAc2VjcmV0\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
QUIT\r
-EHLO 938002\r
+EHLO %TESTNUMBER002\r
AUTH PLAIN\r
dXNlci50d28AdXNlci50d28Ac2VjcmV0\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/939 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 939\r
-HELO 939\r
+EHLO %TESTNUMBER\r
+HELO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
HTTPS GET with failed proxy auth (CONNECT 1.0)
</name>
<command>
-https://test.anything.really.com:94 --proxy1.0 %HOSTIP:%HTTPPORT
+https://test.anything.really.com:%TESTNUMBER --proxy1.0 %HOSTIP:%HTTPPORT
</command>
</client>
56
</errorcode>
<protocol>
-CONNECT test.anything.really.com:94 HTTP/1.0\r
-Host: test.anything.really.com:94\r
+CONNECT test.anything.really.com:%TESTNUMBER HTTP/1.0\r
+Host: test.anything.really.com:%TESTNUMBER\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/940 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 940\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
<name>
SMTP with --crlf
</name>
-<file name="log/upload941">
+<file name="log/upload%TESTNUMBER">
From: different
To: another
--crlf option
</file>
<command>
-smtp://%HOSTIP:%SMTPPORT/941 --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/upload941 --crlf
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T log/upload%TESTNUMBER --crlf
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 941\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
mail body\r
</stdin>
<command>
-'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/942' --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 942\r
+EHLO %TESTNUMBER\r
AUTH EXTERNAL\r
dXNlcg==\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/943' --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 943\r
+EHLO %TESTNUMBER\r
AUTH EXTERNAL\r
=\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/944' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
+'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 944\r
+EHLO %TESTNUMBER\r
AUTH EXTERNAL dXNlcg==\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
mail body\r
</stdin>
<command>
-'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/945' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
+'smtp://;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/%TESTNUMBER' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 945\r
+EHLO %TESTNUMBER\r
AUTH EXTERNAL =\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/946 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 946\r
+EHLO %TESTNUMBER\r
AUTH OAUTHBEARER\r
%b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
MAIL FROM:<sender@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/947 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 947\r
+EHLO %TESTNUMBER\r
AUTH OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/948 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM -T -
</command>
</client>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 948\r
+EHLO %TESTNUMBER\r
AUTH OAUTHBEARER\r
%b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
AQ==\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/949 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
</command>
</client>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 949\r
+EHLO %TESTNUMBER\r
AUTH OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64%\r
AQ==\r
</protocol>
HTTP over proxytunnel using POST
</name>
<command>
-http://test.95:%HTTPPORT/we/want/that/page/95 -p -x %HOSTIP:%PROXYPORT -d "datatopost=ohthatsfunyesyes"
+http://test.%TESTNUMBER:%HTTPPORT/we/want/that/page/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT -d "datatopost=ohthatsfunyesyes"
</command>
<features>
proxy
# Verify data after the test has been "shot"
<verify>
<proxy>
-CONNECT test.95:%HTTPPORT HTTP/1.1\r
-Host: test.95:%HTTPPORT\r
+CONNECT test.%TESTNUMBER:%HTTPPORT HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol nonewline="yes">
-POST /we/want/that/page/95 HTTP/1.1\r
-Host: test.95:%HTTPPORT\r
+POST /we/want/that/page/%TESTNUMBER HTTP/1.1\r
+Host: test.%TESTNUMBER:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
Content-Length: 27\r
# the custom request just does it lowercase to remain the same command
<command>
-smtp://%HOSTIP:%SMTPPORT/950 --mail-rcpt recipient --request "vrfy"
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient --request "vrfy"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 950\r
+EHLO %TESTNUMBER\r
vrfy recipient\r
QUIT\r
</protocol>
.This first line starts with a dot\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/951 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 951\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
.\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/952 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 952\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@example.com>\r
DATA\r
mail body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/953 --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 953\r
+EHLO %TESTNUMBER\r
AUTH PLAIN\r
dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
MAIL FROM:<sender@example.com>\r
SASL
SASL AUTH PLAIN
RFC4616
-RFC4954
+RFC4%TESTNUMBER
</keywords>
</info>
mail body
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/954 --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T -
</command>
</client>
# The multi interface considers a broken "CONNECT" as a prematurely broken
# transfer and such a connection will not get a "QUIT"
<protocol>
-EHLO 954\r
+EHLO %TESTNUMBER\r
AUTH PLAIN\r
dXJzZWwAa3VydAB4aXBqM3BsbXE=\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/955 --mail-rcpt recipient@example.com --mail-from Avsändaren@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avsändaren@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 955\r
+EHLO %TESTNUMBER\r
MAIL FROM:<Avsändaren@example.com>\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/956 --mail-rcpt Stödmottagaren@example.com --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Stödmottagaren@example.com --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 956\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<Stödmottagaren@example.com>\r
QUIT\r
SMTP VRFY without SMTPUTF8 support - UTF-8 based recipient (local part only)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/957 --mail-rcpt Användaren
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Användaren
</command>
</client>
56
</errorcode>
<protocol>
-EHLO 957\r
+EHLO %TESTNUMBER\r
VRFY Användaren\r
QUIT\r
</protocol>
SMTP external VRFY without SMTPUTF8 support - UTF-8 based recipient (local part only)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/958 --mail-rcpt Användaren@example.com
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Användaren@example.com
</command>
</client>
56
</errorcode>
<protocol>
-EHLO 958\r
+EHLO %TESTNUMBER\r
VRFY Användaren@example.com\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/959 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 959\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@åäö.se>\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/960 --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
</command>
</client>
55
</errorcode>
<protocol>
-EHLO 960\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@åäö.se>\r
QUIT\r
SMTP external VRFY without SMTPUTF8 support - UTF-8 based recipient (host part only)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/961 --mail-rcpt user@åäö.se
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt user@åäö.se
</command>
</client>
56
</errorcode>
<protocol>
-EHLO 961\r
+EHLO %TESTNUMBER\r
VRFY user@åäö.se\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/962 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 962\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@xn--4cab6c.se>\r
RCPT TO:<recipient@example.com>\r
DATA\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/963 --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 963\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com>\r
RCPT TO:<recipient@xn--4cab6c.se>\r
DATA\r
SMTP external VRFY without SMTPUTF8 support (IDN Enabled) - UTF-8 based recipient (host part only)
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/964 --mail-rcpt user@åäö.se
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt user@åäö.se
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 964\r
+EHLO %TESTNUMBER\r
VRFY user@xn--4cab6c.se\r
QUIT\r
</protocol>
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/965 --mail-rcpt recipient@example.com --mail-from Avsändaren@åäö.se -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avsändaren@åäö.se -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 965\r
+EHLO %TESTNUMBER\r
MAIL FROM:<Avsändaren@xn--4cab6c.se> SMTPUTF8\r
RCPT TO:<recipient@example.com>\r
DATA\r
body\r
</stdin>
<command>
-smtp://%HOSTIP:%SMTPPORT/966 --mail-rcpt Stödmottagaren@åäö.se --mail-from sender@example.com -T -
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Stödmottagaren@åäö.se --mail-from sender@example.com -T -
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 966\r
+EHLO %TESTNUMBER\r
MAIL FROM:<sender@example.com> SMTPUTF8\r
RCPT TO:<Stödmottagaren@xn--4cab6c.se>\r
DATA\r
SMTP external VRFY with SMTPUTF8 support
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/967 --mail-rcpt Användaren@åäö.se
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Användaren@åäö.se
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 967\r
+EHLO %TESTNUMBER\r
VRFY Användaren@xn--4cab6c.se SMTPUTF8\r
QUIT\r
</protocol>
SMTP VRFY with SMTPUTF8 support
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/968 --mail-rcpt Användaren
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Användaren
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 968\r
+EHLO %TESTNUMBER\r
VRFY Användaren SMTPUTF8\r
QUIT\r
</protocol>
SMTP mailing list EXPN (CUSTOMREQUEST) with SMTPUTF8 support
</name>
<command>
-smtp://%HOSTIP:%SMTPPORT/969 --mail-rcpt Friends -X EXPN
+smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt Friends -X EXPN
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO 969\r
+EHLO %TESTNUMBER\r
EXPN Friends SMTPUTF8\r
QUIT\r
</protocol>
HTTP POST with custom content-type
</name>
<command>
- -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HTTPPORT/97
+ -d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /97 HTTP/1.1\r
+POST /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with JSON output
</name>
<command option="no-include">
-http://%HOSTIP:%HTTPPORT/970 --write-out '%{json}' -o log/out970
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{json}' -o log/out%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-GET /970 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
\r
</protocol>
<stdout nonewline="yes">
-{"content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"log/out970","ftp_entry_path":null,"http_code":200,"http_connect":000,"http_version":"1.1","local_ip":"127.0.0.1","local_port":13,"method":"GET","num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/970","url_effective":"http://%HOSTIP:%HTTPPORT/970","urlnum":0,"curl_version":"curl-unit-test-fake-version"}
+{"content_type":"text/html","errormsg":null,"exitcode":0,"filename_effective":"log/out%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":000,"http_version":"1.1","local_ip":"127.0.0.1","local_port":13,"method":"GET","num_connects":1,"num_headers":9,"num_redirects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"response_code":200,"scheme":"HTTP","size_download":445,"size_header":4019,"size_request":4019,"size_upload":0,"speed_download":13,"speed_upload":13,"ssl_verify_result":0,"time_appconnect":0.000013,"time_connect":0.000013,"time_namelookup":0.000013,"time_pretransfer":0.000013,"time_redirect":0.000013,"time_starttransfer":0.000013,"time_total":0.000013,"url":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","url_effective":"http://%HOSTIP:%HTTPPORT/%TESTNUMBER","urlnum":0,"curl_version":"curl-unit-test-fake-version"}
</stdout>
</verify>
</testcase>
HTTP PUT from stdin with set size, disabling chunked transfer-encoding
</name>
<command>
- -T - -H "Transfer-Encoding:" -H "Content-Length: 14" http://%HOSTIP:%HTTPPORT/98
+ -T - -H "Transfer-Encoding:" -H "Content-Length: 14" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
<stdin>
data on stdin
# Verify data after the test has been "shot"
<verify>
<protocol>
-PUT /98 HTTP/1.1\r
+PUT /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
User-Agent: curl/%VERSION\r
Accept: */*\r
HTTP GET with large-file resume point and failed resume
</name>
<command>
-http://%HOSTIP:%HTTPPORT/99 -C 9999999999
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 9999999999
</command>
</client>
33
</errorcode>
<protocol>
-GET /99 HTTP/1.1\r
+GET /%TESTNUMBER HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Range: bytes=9999999999-\r
User-Agent: curl/%VERSION\r