test1328 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 OK
  13. Date: Thu, 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: Thu, 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: Thu, 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/[13280000-13280001]' -o log/#1
  46. </command>
  47. </client>
  48. #
  49. # Verify data after the test has been "shot"
  50. <verify>
  51. <strip>
  52. ^User-Agent:.*
  53. </strip>
  54. <protocol>
  55. GET /13280000 HTTP/1.1
  56. Host: %HOSTIP:%HTTPPORT
  57. Accept: */*
  58. GET /13280001 HTTP/1.1
  59. Host: %HOSTIP:%HTTPPORT
  60. Accept: */*
  61. </protocol>
  62. </verify>
  63. </testcase>