test6 667 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. swsclose: booo
  10. </data>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. http
  16. </server>
  17. <name>
  18. HTTP with simple cookie send
  19. </name>
  20. <command>
  21. http://%HOSTIP:%HOSTPORT/we/want/that/page/6 -b "name=contents;name2=content2"
  22. </command>
  23. </test>
  24. # Verify data after the test has been "shot"
  25. <verify>
  26. <strip>
  27. ^User-Agent:.*
  28. </strip>
  29. <protocol>
  30. GET /we/want/that/page/6 HTTP/1.1
  31. Cookie: name=contents;name2=content2
  32. Host: 127.0.0.1:8999
  33. Pragma: no-cache
  34. Accept: */*
  35. </protocol>
  36. </verify>