test303 673 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: Tue, 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/%TESTNUMBER -m 8
  34. </command>
  35. </client>
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. GET /want/%TESTNUMBER HTTP/1.1
  40. Host: %HOSTIP:%HTTPSPORT
  41. User-Agent: curl/%VERSION
  42. Accept: */*
  43. </protocol>
  44. <errorcode>
  45. 28
  46. </errorcode>
  47. </verify>
  48. </testcase>