test33 807 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP PUT
  6. Resume
  7. Content-Range
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK swsclose
  14. </data>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. http
  20. </server>
  21. <name>
  22. HTTP PUT with resume
  23. </name>
  24. <file name="log/test%TESTNUMBER.txt">
  25. 012345678
  26. 012345678
  27. 012345678
  28. 012345678
  29. 012345678
  30. 012345678
  31. 012345678
  32. 012345678
  33. 012345678
  34. 012345678
  35. </file>
  36. <command>
  37. http://%HOSTIP:%HTTPPORT/%TESTNUMBER -Tlog/test%TESTNUMBER.txt -C 50
  38. </command>
  39. </client>
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. PUT /%TESTNUMBER HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. Content-Range: bytes 50-99/100
  46. User-Agent: curl/%VERSION
  47. Accept: */*
  48. Content-Length: 50
  49. Expect: 100-continue
  50. 012345678
  51. 012345678
  52. 012345678
  53. 012345678
  54. 012345678
  55. </protocol>
  56. </verify>
  57. </testcase>