test158 1016 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 100 Continue swsclose
  12. Silly-header: yeeeees
  13. </data>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. http
  19. </server>
  20. <name>
  21. HTTP multipart formpost with only a 100 reply
  22. </name>
  23. <command>
  24. http://%HOSTIP:%HTTPPORT/158 -F name=daniel
  25. </command>
  26. </client>
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <strip>
  30. ^User-Agent:.*
  31. ^Content-Type: multipart/form-data.*
  32. ^-----------------------.*
  33. </strip>
  34. <protocol>
  35. POST /158 HTTP/1.1
  36. User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS
  37. Host: %HOSTIP:%HTTPPORT
  38. Accept: */*
  39. Content-Length: 145
  40. Expect: 100-continue
  41. Content-Type: multipart/form-data; boundary=----------------------------4f12fcdaa3bc
  42. ------------------------------4f12fcdaa3bc
  43. Content-Disposition: form-data; name="name"
  44. daniel
  45. ------------------------------4f12fcdaa3bc--
  46. </protocol>
  47. <errorcode>
  48. 52
  49. </errorcode>
  50. </verify>
  51. </testcase>