2
0

test578 811 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply name="1">
  11. <data mode="text">
  12. HTTP/1.1 200 OK
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  16. ETag: "21025-dc7-39462498"
  17. Accept-Ranges: bytes
  18. Content-Length: 6
  19. Connection: close
  20. Content-Type: text/html
  21. Funny-head: yesyes
  22. -foo-
  23. </data>
  24. </reply>
  25. # Client-side
  26. <client>
  27. <server>
  28. http
  29. </server>
  30. # tool is what to use instead of 'curl'
  31. <tool>
  32. lib578
  33. </tool>
  34. <name>
  35. HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback
  36. </name>
  37. <command>
  38. http://%HOSTIP:%HTTPPORT/500 log/ip578
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <file name="log/ip578" mode="text">
  45. PASSED, UL data matched data size
  46. </file>
  47. </verify>
  48. </testcase>