1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTP GET
6HTTP Basic auth
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK swsclose
15Date: Thu, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17Content-Type: text/html
18Funny-head: yesyes
19
20</data>
21</reply>
22
23#
24# Client-side
25<client>
26<features>
27SSL
28</features>
29<server>
30https
31</server>
32 <name>
33HTTPS GET with user and password
34 </name>
35 <command>
36-k -u fake:user https://%HOSTIP:%HTTPSPORT/301
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<strip>
44^User-Agent:.*
45</strip>
46<protocol>
47GET /301 HTTP/1.1
48Host: %HOSTIP:%HTTPSPORT
49Authorization: Basic ZmFrZTp1c2Vy
50Accept: */*
51
52</protocol>
53<data>
54[insert full protocol verifiction dump here]
55</data>
56</verify>
57</testcase>
58