test303 711 B

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