test87 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. globbing
  7. [] range
  8. FAILURE
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data1>
  15. HTTP/1.1 200 OK
  16. Funny-head: yesyes
  17. Content-Length: 15
  18. the number one
  19. </data1>
  20. <data2>
  21. HTTP/1.1 200 OK
  22. Funny-head: yesyes
  23. Content-Length: 16
  24. two is nice too
  25. </data2>
  26. </reply>
  27. #
  28. # Client-side
  29. <client>
  30. <server>
  31. http
  32. </server>
  33. <features>
  34. http
  35. </features>
  36. <name>
  37. urlglob with out of range -o #[num] usage
  38. </name>
  39. <command option="no-output">
  40. "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "%LOGDIR/dumpit%TESTNUMBER-#2.dump"
  41. </command>
  42. </client>
  43. #
  44. # Verify data after the test has been "shot". Note that the command line
  45. # will write both responses into the same file name so only the second
  46. # survives
  47. #
  48. <verify>
  49. <file name="%LOGDIR/dumpit%TESTNUMBER-#2.dump">
  50. HTTP/1.1 200 OK
  51. Funny-head: yesyes
  52. Content-Length: 16
  53. two is nice too
  54. </file>
  55. </verify>
  56. </testcase>