1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard WorkerHTTP GET 6*6236dae4SAndroid Build Coastguard WorkerHTTP proxy 7*6236dae4SAndroid Build Coastguard Workercookies 8*6236dae4SAndroid Build Coastguard Workercookiejar 9*6236dae4SAndroid Build Coastguard WorkerPSL 10*6236dae4SAndroid Build Coastguard Worker</keywords> 11*6236dae4SAndroid Build Coastguard Worker</info> 12*6236dae4SAndroid Build Coastguard Worker 13*6236dae4SAndroid Build Coastguard Worker# Server-side 14*6236dae4SAndroid Build Coastguard Worker<reply> 15*6236dae4SAndroid Build Coastguard Worker<data> 16*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK 17*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 18*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 19*6236dae4SAndroid Build Coastguard WorkerContent-Length: 4 20*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html 21*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes 22*6236dae4SAndroid Build Coastguard WorkerSet-Cookie: test1=forbidden1; domain=example.ck; path=/; 23*6236dae4SAndroid Build Coastguard WorkerSet-Cookie: test2=allowed2; domain=www.example.ck; path=/; 24*6236dae4SAndroid Build Coastguard WorkerSet-Cookie: test3=forbidden3; domain=ck; path=/; 25*6236dae4SAndroid Build Coastguard WorkerSet-Cookie: test4=allowed4; domain=www.ck; path=/; 26*6236dae4SAndroid Build Coastguard WorkerSet-Cookie: test5=forbidden5; domain=z-1.compute-1.amazonaws.com; path=/; 27*6236dae4SAndroid Build Coastguard Worker 28*6236dae4SAndroid Build Coastguard Workerboo 29*6236dae4SAndroid Build Coastguard Worker</data> 30*6236dae4SAndroid Build Coastguard Worker</reply> 31*6236dae4SAndroid Build Coastguard Worker 32*6236dae4SAndroid Build Coastguard Worker# Client-side 33*6236dae4SAndroid Build Coastguard Worker<client> 34*6236dae4SAndroid Build Coastguard Worker<features> 35*6236dae4SAndroid Build Coastguard WorkerPSL 36*6236dae4SAndroid Build Coastguard Workerproxy 37*6236dae4SAndroid Build Coastguard Workercookies 38*6236dae4SAndroid Build Coastguard Worker</features> 39*6236dae4SAndroid Build Coastguard Worker<server> 40*6236dae4SAndroid Build Coastguard Workerhttp 41*6236dae4SAndroid Build Coastguard Worker</server> 42*6236dae4SAndroid Build Coastguard Worker<name> 43*6236dae4SAndroid Build Coastguard WorkerCheck cookies against PSL 44*6236dae4SAndroid Build Coastguard Worker</name> 45*6236dae4SAndroid Build Coastguard Worker<setenv> 46*6236dae4SAndroid Build Coastguard WorkerTZ=GMT 47*6236dae4SAndroid Build Coastguard Worker</setenv> 48*6236dae4SAndroid Build Coastguard Worker<command> 49*6236dae4SAndroid Build Coastguard Workerhttp://www.example.ck/%TESTNUMBER http://www.ck/%TESTNUMBER http://z-1.compute-1.amazonaws.com/%TESTNUMBER -b none -c %LOGDIR/jar%TESTNUMBER.txt -x %HOSTIP:%HTTPPORT 50*6236dae4SAndroid Build Coastguard Worker</command> 51*6236dae4SAndroid Build Coastguard Worker 52*6236dae4SAndroid Build Coastguard Worker</client> 53*6236dae4SAndroid Build Coastguard Worker 54*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 55*6236dae4SAndroid Build Coastguard Worker<verify> 56*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/jar%TESTNUMBER.txt" mode="text"> 57*6236dae4SAndroid Build Coastguard Worker# Netscape HTTP Cookie File 58*6236dae4SAndroid Build Coastguard Worker# https://curl.se/docs/http-cookies.html 59*6236dae4SAndroid Build Coastguard Worker# This file was generated by libcurl! Edit at your own risk. 60*6236dae4SAndroid Build Coastguard Worker 61*6236dae4SAndroid Build Coastguard Worker.z-1.compute-1.amazonaws.com TRUE / FALSE 0 test5 forbidden5 62*6236dae4SAndroid Build Coastguard Worker.www.ck TRUE / FALSE 0 test4 allowed4 63*6236dae4SAndroid Build Coastguard Worker.www.example.ck TRUE / FALSE 0 test2 allowed2 64*6236dae4SAndroid Build Coastguard Worker</file> 65*6236dae4SAndroid Build Coastguard Worker</verify> 66*6236dae4SAndroid Build Coastguard Worker</testcase> 67