2
0

test33 790 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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="%LOGDIR/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 -T%LOGDIR/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. 012345678
  50. 012345678
  51. 012345678
  52. 012345678
  53. 012345678
  54. </protocol>
  55. </verify>
  56. </testcase>