test307 691 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Tue, 16 Jan 2007 18:00:14 GMT
  14. Server: test-server/fake
  15. Content-Length: 7
  16. MooMoo
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <features>
  23. OpenSSL
  24. </features>
  25. <server>
  26. https
  27. </server>
  28. <precheck>
  29. perl %SRCDIR/libtest/test307.pl %CURL
  30. </precheck>
  31. <name>
  32. simple HTTPS GET with openssl engine
  33. </name>
  34. <command>
  35. --engine openssl -k https://%HOSTIP:%HTTPSPORT/307
  36. </command>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <strip>
  42. ^User-Agent:.*
  43. </strip>
  44. <protocol>
  45. GET /307 HTTP/1.1
  46. Host: %HOSTIP:%HTTPSPORT
  47. Accept: */*
  48. </protocol>
  49. </verify>
  50. </testcase>