test410 819 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. HTTPS GET with very long request header
  30. </name>
  31. # 14 characters repeated 3500 times makes 49000 bytes
  32. <file name="log/file%TESTNUMBER">
  33. Long: %repeat[3500 x header content]%
  34. </file>
  35. <command>
  36. -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -H @log/file%TESTNUMBER
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. GET /%TESTNUMBER HTTP/1.1
  44. Host: %HOSTIP:%HTTPSPORT
  45. User-Agent: curl/%VERSION
  46. Accept: */*
  47. Long: %repeat[3500 x header content]%
  48. </protocol>
  49. </verify>
  50. </testcase>