test16 1.1 KB

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