test587 963 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. flaky
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. </data>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. http
  19. </server>
  20. # tool is what to use instead of 'curl'
  21. <tool>
  22. lib587
  23. </tool>
  24. <name>
  25. HTTP multi-part formpost with aborted read callback
  26. </name>
  27. <command>
  28. http://%HOSTIP:%HTTPPORT/587
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <strippart>
  35. s/^--------------------------[a-z0-9]*/------------------------------/
  36. s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
  37. </strippart>
  38. <protocol>
  39. POST /587 HTTP/1.1
  40. Host: %HOSTIP:%HTTPPORT
  41. Accept: */*
  42. Content-Length: 744
  43. Content-Type: multipart/form-data; boundary=----------------------------
  44. ------------------------------
  45. Content-Disposition: form-data; name="sendfile"; filename="postit2.c"
  46. </protocol>
  47. # CURLE_ABORTED_BY_CALLBACK (42)
  48. <errorcode>
  49. 42
  50. </errorcode>
  51. </verify>
  52. </testcase>