test47 549 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # Server-side
  3. <reply name="47">
  4. <data>
  5. HTTP/1.0 200 OK swsclose
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: test-server/fake
  8. <foo> within foo </foo>
  9. </data>
  10. </reply>
  11. #
  12. # Client-side
  13. <client>
  14. <server>
  15. http
  16. </server>
  17. <name>
  18. simple HTTP 1.0 GET
  19. </name>
  20. <command>
  21. http://%HOSTIP:%HOSTPORT/47 -0
  22. </command>
  23. </test>
  24. #
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <strip>
  28. ^User-Agent:.*
  29. </strip>
  30. <protocol>
  31. GET /47 HTTP/1.0
  32. Host: 127.0.0.1:8999
  33. Pragma: no-cache
  34. Accept: */*
  35. </protocol>
  36. </verify>