test1 691 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Server-side
  3. <reply name="1">
  4. <data>
  5. HTTP/1.1 200 OK
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: test-server/fake
  8. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  9. ETag: "21025-dc7-39462498"
  10. Accept-Ranges: bytes
  11. Content-Length: 6
  12. Connection: close
  13. Content-Type: text/html
  14. Funny-head: yesyes
  15. <foo>
  16. </data>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <name>
  25. simple HTTP GET
  26. </name>
  27. <command>
  28. http://%HOSTIP:%HOSTPORT/1
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <strip>
  35. ^User-Agent:.*
  36. </strip>
  37. <protocol>
  38. GET /1 HTTP/1.1
  39. Host: 127.0.0.1:8999
  40. Pragma: no-cache
  41. Accept: */*
  42. </protocol>
  43. </verify>