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 POST 6*6236dae4SAndroid Build Coastguard Worker</keywords> 7*6236dae4SAndroid Build Coastguard Worker</info> 8*6236dae4SAndroid Build Coastguard Worker 9*6236dae4SAndroid Build Coastguard Worker# 10*6236dae4SAndroid Build Coastguard Worker# Server-side 11*6236dae4SAndroid Build Coastguard Worker<reply> 12*6236dae4SAndroid Build Coastguard Worker</reply> 13*6236dae4SAndroid Build Coastguard Worker 14*6236dae4SAndroid Build Coastguard Worker# Client-side 15*6236dae4SAndroid Build Coastguard Worker<client> 16*6236dae4SAndroid Build Coastguard Worker<server> 17*6236dae4SAndroid Build Coastguard Workerhttp 18*6236dae4SAndroid Build Coastguard Worker</server> 19*6236dae4SAndroid Build Coastguard Worker# tool is what to use instead of 'curl' 20*6236dae4SAndroid Build Coastguard Worker<tool> 21*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER 22*6236dae4SAndroid Build Coastguard Worker</tool> 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard Worker<name> 25*6236dae4SAndroid Build Coastguard Workersend HTTP POST using read callback that returns CURL_READFUNC_ABORT 26*6236dae4SAndroid Build Coastguard Worker</name> 27*6236dae4SAndroid Build Coastguard Worker# the 1s post-command delay helps to prevent a spurious failure on s390 28*6236dae4SAndroid Build Coastguard Worker <command delay="1"> 29*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER 30*6236dae4SAndroid Build Coastguard Worker</command> 31*6236dae4SAndroid Build Coastguard Worker</client> 32*6236dae4SAndroid Build Coastguard Worker 33*6236dae4SAndroid Build Coastguard Worker# 34*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 35*6236dae4SAndroid Build Coastguard Worker<verify> 36*6236dae4SAndroid Build Coastguard Worker<protocol> 37*6236dae4SAndroid Build Coastguard Worker</protocol> 38*6236dae4SAndroid Build Coastguard Worker# 42 - aborted by callback 39*6236dae4SAndroid Build Coastguard Worker<errorcode> 40*6236dae4SAndroid Build Coastguard Worker42 41*6236dae4SAndroid Build Coastguard Worker</errorcode> 42*6236dae4SAndroid Build Coastguard Worker</verify> 43*6236dae4SAndroid Build Coastguard Worker</testcase> 44