1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerIMAP 5*6236dae4SAndroid Build Coastguard WorkerFETCH 6*6236dae4SAndroid Build Coastguard WorkerHTTP 7*6236dae4SAndroid Build Coastguard WorkerHTTP CONNECT 8*6236dae4SAndroid Build Coastguard WorkerHTTP proxy 9*6236dae4SAndroid Build Coastguard Worker</keywords> 10*6236dae4SAndroid Build Coastguard Worker</info> 11*6236dae4SAndroid Build Coastguard Worker 12*6236dae4SAndroid Build Coastguard Worker# 13*6236dae4SAndroid Build Coastguard Worker# Server-side 14*6236dae4SAndroid Build Coastguard Worker<reply> 15*6236dae4SAndroid Build Coastguard Worker<connect> 16*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Mighty fine indeed 17*6236dae4SAndroid Build Coastguard Workerimap: sure hit me 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard Worker</connect> 20*6236dae4SAndroid Build Coastguard Worker<data> 21*6236dae4SAndroid Build Coastguard WorkerFrom: me@somewhere 22*6236dae4SAndroid Build Coastguard WorkerTo: fake@nowhere 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard Workerbody 25*6236dae4SAndroid Build Coastguard Worker 26*6236dae4SAndroid Build Coastguard Worker-- 27*6236dae4SAndroid Build Coastguard Worker yours sincerely 28*6236dae4SAndroid Build Coastguard Worker</data> 29*6236dae4SAndroid Build Coastguard Worker<datacheck> 30*6236dae4SAndroid Build Coastguard WorkerFrom: me@somewhere 31*6236dae4SAndroid Build Coastguard WorkerTo: fake@nowhere 32*6236dae4SAndroid Build Coastguard Worker 33*6236dae4SAndroid Build Coastguard Workerbody 34*6236dae4SAndroid Build Coastguard Worker 35*6236dae4SAndroid Build Coastguard Worker-- 36*6236dae4SAndroid Build Coastguard Worker yours sincerely 37*6236dae4SAndroid Build Coastguard Worker</datacheck> 38*6236dae4SAndroid Build Coastguard Worker</reply> 39*6236dae4SAndroid Build Coastguard Worker 40*6236dae4SAndroid Build Coastguard Worker# 41*6236dae4SAndroid Build Coastguard Worker# Client-side 42*6236dae4SAndroid Build Coastguard Worker<client> 43*6236dae4SAndroid Build Coastguard Worker<server> 44*6236dae4SAndroid Build Coastguard Workerimap 45*6236dae4SAndroid Build Coastguard Workerhttp-proxy 46*6236dae4SAndroid Build Coastguard Worker</server> 47*6236dae4SAndroid Build Coastguard Worker<features> 48*6236dae4SAndroid Build Coastguard Workerhttp 49*6236dae4SAndroid Build Coastguard Workerproxy 50*6236dae4SAndroid Build Coastguard Worker</features> 51*6236dae4SAndroid Build Coastguard Worker<name> 52*6236dae4SAndroid Build Coastguard WorkerIMAP FETCH tunneled through HTTP proxy 53*6236dae4SAndroid Build Coastguard Worker</name> 54*6236dae4SAndroid Build Coastguard Worker<command> 55*6236dae4SAndroid Build Coastguard Worker'imap://imap.%TESTNUMBER:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret -p -x %HOSTIP:%PROXYPORT 56*6236dae4SAndroid Build Coastguard Worker</command> 57*6236dae4SAndroid Build Coastguard Worker</client> 58*6236dae4SAndroid Build Coastguard Worker 59*6236dae4SAndroid Build Coastguard Worker# 60*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 61*6236dae4SAndroid Build Coastguard Worker<verify> 62*6236dae4SAndroid Build Coastguard Worker<protocol> 63*6236dae4SAndroid Build Coastguard WorkerA001 CAPABILITY 64*6236dae4SAndroid Build Coastguard WorkerA002 LOGIN user secret 65*6236dae4SAndroid Build Coastguard WorkerA003 SELECT %TESTNUMBER 66*6236dae4SAndroid Build Coastguard WorkerA004 FETCH 1 BODY[] 67*6236dae4SAndroid Build Coastguard WorkerA005 LOGOUT 68*6236dae4SAndroid Build Coastguard Worker</protocol> 69*6236dae4SAndroid Build Coastguard Worker<proxy> 70*6236dae4SAndroid Build Coastguard WorkerCONNECT imap.%TESTNUMBER:%IMAPPORT HTTP/1.1 71*6236dae4SAndroid Build Coastguard WorkerHost: imap.%TESTNUMBER:%IMAPPORT 72*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 73*6236dae4SAndroid Build Coastguard WorkerProxy-Connection: Keep-Alive 74*6236dae4SAndroid Build Coastguard Worker 75*6236dae4SAndroid Build Coastguard Worker</proxy> 76*6236dae4SAndroid Build Coastguard Worker</verify> 77*6236dae4SAndroid Build Coastguard Worker</testcase> 78