113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciHTTP 513498266Sopenharmony_ciHTTP POST 613498266Sopenharmony_ciFORM 713498266Sopenharmony_ciflaky 813498266Sopenharmony_ci</keywords> 913498266Sopenharmony_ci</info> 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci# 1213498266Sopenharmony_ci# Server-side 1313498266Sopenharmony_ci<reply> 1413498266Sopenharmony_ci<data> 1513498266Sopenharmony_ci</data> 1613498266Sopenharmony_ci</reply> 1713498266Sopenharmony_ci 1813498266Sopenharmony_ci# Client-side 1913498266Sopenharmony_ci<client> 2013498266Sopenharmony_ci<features> 2113498266Sopenharmony_ciform-api 2213498266Sopenharmony_ci</features> 2313498266Sopenharmony_ci<server> 2413498266Sopenharmony_cihttp 2513498266Sopenharmony_ci</server> 2613498266Sopenharmony_ci# tool is what to use instead of 'curl' 2713498266Sopenharmony_ci<tool> 2813498266Sopenharmony_cilib%TESTNUMBER 2913498266Sopenharmony_ci</tool> 3013498266Sopenharmony_ci 3113498266Sopenharmony_ci<name> 3213498266Sopenharmony_ciHTTP multi-part formpost with aborted read callback 3313498266Sopenharmony_ci</name> 3413498266Sopenharmony_ci# Add a delay to give server time to write its output since we otherwise might 3513498266Sopenharmony_ci# not even give it enough time to write its lock file. 3613498266Sopenharmony_ci <command delay="1"> 3713498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/%TESTNUMBER 3813498266Sopenharmony_ci</command> 3913498266Sopenharmony_ci</client> 4013498266Sopenharmony_ci 4113498266Sopenharmony_ci# 4213498266Sopenharmony_ci# Verify data after the test has been "shot" 4313498266Sopenharmony_ci<verify> 4413498266Sopenharmony_ci<strippart> 4513498266Sopenharmony_cis/^--------------------------[A-Za-z0-9]*/------------------------------/ 4613498266Sopenharmony_cis/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/ 4713498266Sopenharmony_ci</strippart> 4813498266Sopenharmony_ci<protocol> 4913498266Sopenharmony_ciPOST /%TESTNUMBER HTTP/1.1 5013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 5113498266Sopenharmony_ciAccept: */* 5213498266Sopenharmony_ciContent-Length: 780 5313498266Sopenharmony_ciContent-Type: multipart/form-data; boundary=---------------------------- 5413498266Sopenharmony_ci 5513498266Sopenharmony_ci------------------------------ 5613498266Sopenharmony_ciContent-Disposition: form-data; name="sendfile"; filename="postit2.c" 5713498266Sopenharmony_ci 5813498266Sopenharmony_ci</protocol> 5913498266Sopenharmony_ci# CURLE_ABORTED_BY_CALLBACK (42) 6013498266Sopenharmony_ci<errorcode> 6113498266Sopenharmony_ci42 6213498266Sopenharmony_ci</errorcode> 6313498266Sopenharmony_ci</verify> 6413498266Sopenharmony_ci</testcase> 65