test364 773 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTPS PUT
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.0 200 OK swsclose
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. blablabla
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <features>
  20. SSL
  21. </features>
  22. <server>
  23. https
  24. </server>
  25. <name>
  26. HTTPS PUT of small file
  27. </name>
  28. <command>
  29. -k https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -T log/test%TESTNUMBER.txt
  30. </command>
  31. <file name="log/test%TESTNUMBER.txt">
  32. %repeat[200 x banana]%
  33. </file>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. PUT /we/want/%TESTNUMBER HTTP/1.1
  39. Host: %HOSTIP:%HTTPSPORT
  40. User-Agent: curl/%VERSION
  41. Accept: */*
  42. Content-Length: 1201
  43. Expect: 100-continue
  44. %repeat[200 x banana]%
  45. </protocol>
  46. </verify>
  47. </testcase>