test303 662 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. timeout
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Connection: close
  15. _data_result_data_
  16. </data>
  17. <postcmd>
  18. wait 20
  19. </postcmd>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <features>
  24. SSL
  25. </features>
  26. <server>
  27. https
  28. </server>
  29. <name>
  30. HTTPS with 8 secs timeout
  31. </name>
  32. <command>
  33. -k https://%HOSTIP:%HTTPSPORT/want/303 -m 8
  34. </command>
  35. </client>
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <strip>
  39. ^User-Agent:.*
  40. </strip>
  41. <protocol>
  42. GET /want/303 HTTP/1.1
  43. Host: %HOSTIP:%HTTPSPORT
  44. Accept: */*
  45. </protocol>
  46. <errorcode>
  47. 28
  48. </errorcode>
  49. </verify>
  50. </testcase>