test307 710 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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/test%TESTNUMBER.pl %CURL
  30. </precheck>
  31. <name>
  32. simple HTTPS GET with openssl engine
  33. </name>
  34. <command>
  35. --engine openssl -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
  36. </command>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <protocol>
  42. GET /%TESTNUMBER HTTP/1.1
  43. Host: %HOSTIP:%HTTPSPORT
  44. User-Agent: curl/%VERSION
  45. Accept: */*
  46. </protocol>
  47. </verify>
  48. </testcase>