test1328 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. globbing
  7. --fail
  8. </keywords>
  9. </info>
  10. <reply>
  11. <data>
  12. HTTP/1.1 404 NOT OK
  13. Date: Tue, 09 Nov 2010 14:49:00 GMT
  14. Content-Length: 6
  15. Funny-head: yesyes
  16. -noo-
  17. </data>
  18. <data1>
  19. HTTP/1.1 200 OK
  20. Date: Tue, 09 Nov 2010 14:49:00 GMT
  21. Content-Length: 6
  22. Connection: close
  23. Funny-head: yesyes
  24. -yes-
  25. </data1>
  26. <datacheck>
  27. HTTP/1.1 200 OK
  28. Date: Tue, 09 Nov 2010 14:49:00 GMT
  29. Content-Length: 6
  30. Connection: close
  31. Funny-head: yesyes
  32. -yes-
  33. </datacheck>
  34. </reply>
  35. #
  36. # Client-side
  37. <client>
  38. <server>
  39. http
  40. </server>
  41. <name>
  42. HTTP GET a globbed range with -f
  43. </name>
  44. <command>
  45. -f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o %LOGDIR/#1
  46. </command>
  47. </client>
  48. #
  49. # Verify data after the test has been "shot"
  50. <verify>
  51. <protocol>
  52. GET /%TESTNUMBER0000 HTTP/1.1
  53. Host: %HOSTIP:%HTTPPORT
  54. User-Agent: curl/%VERSION
  55. Accept: */*
  56. GET /%TESTNUMBER0001 HTTP/1.1
  57. Host: %HOSTIP:%HTTPPORT
  58. User-Agent: curl/%VERSION
  59. Accept: */*
  60. </protocol>
  61. </verify>
  62. </testcase>