2
0

test364 756 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 %LOGDIR/test%TESTNUMBER.txt
  30. </command>
  31. <file name="%LOGDIR/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. %repeat[200 x banana]%
  44. </protocol>
  45. </verify>
  46. </testcase>