test300 588 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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: Thu, 09 Nov 2010 14:49:00 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. SSL
  24. </features>
  25. <server>
  26. https
  27. </server>
  28. <name>
  29. simple HTTPS GET
  30. </name>
  31. <command>
  32. -k https://%HOSTIP:%HTTPSPORT/300
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <strip>
  39. ^User-Agent:.*
  40. </strip>
  41. <protocol>
  42. GET /300 HTTP/1.1
  43. Host: %HOSTIP:%HTTPSPORT
  44. Accept: */*
  45. </protocol>
  46. </verify>
  47. </testcase>