test364 (764B)
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 15 blablabla 16 </data> 17 </reply> 18 19 # Client-side 20 <client> 21 <features> 22 SSL 23 </features> 24 <server> 25 https 26 </server> 27 <name> 28 HTTPS PUT of small file 29 </name> 30 <command> 31 --insecure https://%HOSTIP:%HTTPSPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt 32 </command> 33 <file name="%LOGDIR/test%TESTNUMBER.txt"> 34 %repeat[200 x banana]% 35 </file> 36 </client> 37 38 # Verify data after the test has been "shot" 39 <verify> 40 <protocol> 41 PUT /we/want/%TESTNUMBER HTTP/1.1 42 Host: %HOSTIP:%HTTPSPORT 43 User-Agent: curl/%VERSION 44 Accept: */* 45 Content-Length: 1201 46 47 %repeat[200 x banana]% 48 </protocol> 49 </verify> 50 </testcase>