2012-01-03 10:12:58 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
POP3
|
|
|
|
RETR
|
2012-03-23 13:31:29 -04:00
|
|
|
HTTP
|
2012-01-03 10:12:58 -05:00
|
|
|
HTTP CONNECT
|
2012-03-23 13:31:29 -04:00
|
|
|
HTTP proxy
|
2012-01-03 10:12:58 -05:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2013-03-15 12:28:32 -04:00
|
|
|
|
|
|
|
<connect>
|
|
|
|
HTTP/1.1 200 Mighty fine indeed
|
|
|
|
pop3: sure hit me
|
|
|
|
|
|
|
|
</connect>
|
|
|
|
|
2012-01-03 10:12:58 -05:00
|
|
|
# When doing LIST, we get the default list output hard-coded in the test
|
|
|
|
# FTP server
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
2012-02-21 16:24:44 -05:00
|
|
|
yours sincerely
|
2012-01-03 10:12:58 -05:00
|
|
|
</data>
|
|
|
|
|
|
|
|
<datacheck>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
2012-02-21 16:24:44 -05:00
|
|
|
yours sincerely
|
2012-01-03 10:12:58 -05:00
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
pop3
|
|
|
|
http-proxy
|
|
|
|
</server>
|
2014-01-25 06:47:04 -05:00
|
|
|
<features>
|
|
|
|
http
|
2019-10-14 16:29:19 -04:00
|
|
|
proxy
|
2014-01-25 06:47:04 -05:00
|
|
|
</features>
|
2012-01-03 10:12:58 -05:00
|
|
|
<name>
|
|
|
|
POP3 fetch tunneled through HTTP proxy
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
pop3://pop.%TESTNUMBER:%POP3PORT/%TESTNUMBER -p -x %HOSTIP:%PROXYPORT -u user:secret
|
2012-01-03 10:12:58 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2012-06-04 16:34:06 -04:00
|
|
|
CAPA
|
2012-01-03 10:12:58 -05:00
|
|
|
USER user
|
|
|
|
PASS secret
|
2021-03-12 11:38:26 -05:00
|
|
|
RETR %TESTNUMBER
|
2012-01-03 10:12:58 -05:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<proxy>
|
2021-03-12 11:38:26 -05:00
|
|
|
CONNECT pop.%TESTNUMBER:%POP3PORT HTTP/1.1
|
|
|
|
Host: pop.%TESTNUMBER:%POP3PORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2016-08-16 02:36:04 -04:00
|
|
|
Proxy-Connection: Keep-Alive
|
2012-01-03 10:12:58 -05:00
|
|
|
|
|
|
|
</proxy>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|