test5 626 B

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