test1328 919 B

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