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 Workerfollowlocation 8*6236dae4SAndroid Build Coastguard Worker</keywords> 9*6236dae4SAndroid Build Coastguard Worker</info> 10*6236dae4SAndroid Build Coastguard Worker 11*6236dae4SAndroid Build Coastguard Worker# Server-side 12*6236dae4SAndroid Build Coastguard Worker<reply> 13*6236dae4SAndroid Build Coastguard Worker<data> 14*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 301 This is a weirdo text message swsbounce 15*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 16*6236dae4SAndroid Build Coastguard WorkerLocation: //somewhere.example.com/reply/%TESTNUMBER 17*6236dae4SAndroid Build Coastguard WorkerContent-Length: 32 18*6236dae4SAndroid Build Coastguard WorkerConnection: close 19*6236dae4SAndroid Build Coastguard Worker 20*6236dae4SAndroid Build Coastguard WorkerRedirect to the same URL again! 21*6236dae4SAndroid Build Coastguard Worker</data> 22*6236dae4SAndroid Build Coastguard Worker 23*6236dae4SAndroid Build Coastguard Worker<data1> 24*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 okidoki 25*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 26*6236dae4SAndroid Build Coastguard WorkerContent-Length: 4 27*6236dae4SAndroid Build Coastguard WorkerConnection: close 28*6236dae4SAndroid Build Coastguard Worker 29*6236dae4SAndroid Build Coastguard Workermoo 30*6236dae4SAndroid Build Coastguard Worker</data1> 31*6236dae4SAndroid Build Coastguard Worker 32*6236dae4SAndroid Build Coastguard Worker<datacheck> 33*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 301 This is a weirdo text message swsbounce 34*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 35*6236dae4SAndroid Build Coastguard WorkerLocation: //somewhere.example.com/reply/%TESTNUMBER 36*6236dae4SAndroid Build Coastguard WorkerContent-Length: 32 37*6236dae4SAndroid Build Coastguard WorkerConnection: close 38*6236dae4SAndroid Build Coastguard Worker 39*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 okidoki 40*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake 41*6236dae4SAndroid Build Coastguard WorkerContent-Length: 4 42*6236dae4SAndroid Build Coastguard WorkerConnection: close 43*6236dae4SAndroid Build Coastguard Worker 44*6236dae4SAndroid Build Coastguard Workermoo 45*6236dae4SAndroid Build Coastguard Worker</datacheck> 46*6236dae4SAndroid Build Coastguard Worker</reply> 47*6236dae4SAndroid Build Coastguard Worker 48*6236dae4SAndroid Build Coastguard Worker# Client-side 49*6236dae4SAndroid Build Coastguard Worker<client> 50*6236dae4SAndroid Build Coastguard Worker<server> 51*6236dae4SAndroid Build Coastguard Workerhttp 52*6236dae4SAndroid Build Coastguard Worker</server> 53*6236dae4SAndroid Build Coastguard Worker<name> 54*6236dae4SAndroid Build Coastguard WorkerHTTP Location: following a // prefixed url 55*6236dae4SAndroid Build Coastguard Worker</name> 56*6236dae4SAndroid Build Coastguard Worker<command> 57*6236dae4SAndroid Build Coastguard Workerhttp://firstplace.example.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT 58*6236dae4SAndroid Build Coastguard Worker</command> 59*6236dae4SAndroid Build Coastguard Worker<features> 60*6236dae4SAndroid Build Coastguard Workerproxy 61*6236dae4SAndroid Build Coastguard Worker</features> 62*6236dae4SAndroid Build Coastguard Worker</client> 63*6236dae4SAndroid Build Coastguard Worker 64*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 65*6236dae4SAndroid Build Coastguard Worker<verify> 66*6236dae4SAndroid Build Coastguard Worker<protocol> 67*6236dae4SAndroid Build Coastguard WorkerGET http://firstplace.example.com/want/%TESTNUMBER HTTP/1.1 68*6236dae4SAndroid Build Coastguard WorkerHost: firstplace.example.com 69*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 70*6236dae4SAndroid Build Coastguard WorkerAccept: */* 71*6236dae4SAndroid Build Coastguard WorkerProxy-Connection: Keep-Alive 72*6236dae4SAndroid Build Coastguard Worker 73*6236dae4SAndroid Build Coastguard WorkerGET http://somewhere.example.com/reply/%TESTNUMBER HTTP/1.1 74*6236dae4SAndroid Build Coastguard WorkerHost: somewhere.example.com 75*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 76*6236dae4SAndroid Build Coastguard WorkerAccept: */* 77*6236dae4SAndroid Build Coastguard WorkerProxy-Connection: Keep-Alive 78*6236dae4SAndroid Build Coastguard Worker 79*6236dae4SAndroid Build Coastguard Worker</protocol> 80*6236dae4SAndroid Build Coastguard Worker</verify> 81*6236dae4SAndroid Build Coastguard Worker</testcase> 82