test307 (716B)
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, 16 Jan 2007 18:00:14 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 OpenSSL 27 </features> 28 <server> 29 https 30 </server> 31 <precheck> 32 %PERL %SRCDIR/libtest/test%TESTNUMBER.pl %CURL 33 </precheck> 34 35 <name> 36 simple HTTPS GET with openssl engine 37 </name> 38 <command> 39 --engine openssl --insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER 40 </command> 41 </client> 42 43 # 44 # Verify data after the test has been "shot" 45 <verify> 46 <protocol> 47 GET /%TESTNUMBER HTTP/1.1 48 Host: %HOSTIP:%HTTPSPORT 49 User-Agent: curl/%VERSION 50 Accept: */* 51 52 </protocol> 53 </verify> 54 </testcase>