test27 783 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 Mooo swsclose
  5. Connection: close
  6. Set-Cookie: path=/; thewinneris=nowayyouwin;
  7. *flopp*
  8. </data>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. http
  14. </server>
  15. <name>
  16. Get same cookie page several times
  17. </name>
  18. <command>
  19. 'http://%HOSTIP:%HOSTPORT/want/{27,27,27}' -b none
  20. </command>
  21. </test>
  22. # Verify data after the test has been "shot"
  23. <verify>
  24. <strip>
  25. ^User-Agent: curl.*
  26. </strip>
  27. <protocol>
  28. GET /want/27 HTTP/1.1
  29. Host: 127.0.0.1:8999
  30. Pragma: no-cache
  31. Accept: */*
  32. GET /want/27 HTTP/1.1
  33. Host: 127.0.0.1:8999
  34. Pragma: no-cache
  35. Accept: */*
  36. Cookie: thewinneris=nowayyouwin
  37. GET /want/27 HTTP/1.1
  38. Host: 127.0.0.1:8999
  39. Pragma: no-cache
  40. Accept: */*
  41. Cookie: thewinneris=nowayyouwin
  42. </protocol>
  43. </verify>