test1283 840 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. globbing
  7. [] range
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data nocheck="yes">
  14. HTTP/1.1 200 OK
  15. Date: Tue, 09 Nov 2010 14:49:00 GMT
  16. Content-Length: 6
  17. Connection: close
  18. bytes
  19. </data>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <server>
  24. http
  25. </server>
  26. <name>
  27. globbing range with same start and stop
  28. </name>
  29. <command option="no-output">
  30. http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "log/outfile%TESTNUMBER_#1#2#3#4.dump"
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. GET /a1b2/%TESTNUMBER HTTP/1.1
  37. Host: %HOSTIP:%HTTPPORT
  38. User-Agent: curl/%VERSION
  39. Accept: */*
  40. </protocol>
  41. <file name="log/outfile%TESTNUMBER_a1b2.dump">
  42. HTTP/1.1 200 OK
  43. Date: Tue, 09 Nov 2010 14:49:00 GMT
  44. Content-Length: 6
  45. Connection: close
  46. bytes
  47. </file>
  48. </verify>
  49. </testcase>