test303 592 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 OK
  5. Date: Thu, 09 Nov 2010 14:49:00 GMT
  6. Connection: close
  7. <html>result</html>
  8. </data>
  9. <postcmd>
  10. wait 10
  11. </postcmd>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. https
  17. </server>
  18. <name>
  19. HTTPS with 2 secs timeout
  20. </name>
  21. <command>
  22. http://%HOSTIP:%HOSTPORT/want/303 -m 2
  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 /want/303 HTTP/1.1
  32. Host: 127.0.0.1:8999
  33. Pragma: no-cache
  34. Accept: */*
  35. </protocol>
  36. <errorcode>
  37. 28
  38. </errorcode>
  39. </verify>