test300 (655B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTPS 5 HTTP GET 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <data> 13 HTTP/1.1 200 OK 14 Date: Tue, 09 Nov 2010 14:49:00 GMT 15 Server: test-server/fake 16 Content-Length: 7 17 18 MooMoo 19 </data> 20 </reply> 21 22 # 23 # Client-side 24 <client> 25 <features> 26 SSL 27 </features> 28 <server> 29 https 30 </server> 31 <name> 32 simple HTTPS GET 33 </name> 34 # Using '-k' over '--insecure' to also test the short form 35 <command> 36 -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER 37 </command> 38 </client> 39 40 # 41 # Verify data after the test has been "shot" 42 <verify> 43 <protocol> 44 GET /%TESTNUMBER HTTP/1.1 45 Host: %HOSTIP:%HTTPSPORT 46 User-Agent: curl/%VERSION 47 Accept: */* 48 49 </protocol> 50 </verify> 51 </testcase>