1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP NTLM auth
7connection re-use
8</keywords>
9</info>
10# Server-side
11<reply>
12<servercmd>
13connection-monitor
14</servercmd>
15
16<data>
17HTTP/1.1 200 fine!
18Content-Length: 20
19
20Feel free to get it
21</data>
22
23<data3>
24HTTP/1.1 200 OK
25Server: Another one/1.0
26Content-Length: 4
27
28boo
29</data3>
30
31<datacheck>
32HTTP/1.1 200 fine!
33Content-Length: 20
34
35Feel free to get it
36</datacheck>
37</reply>
38
39# Client-side
40<client>
41<server>
42http
43</server>
44 <name>
45HTTP with --anyauth (but no auth!) and connection re-use
46 </name>
47 <command>
48http://%HOSTIP:%HTTPPORT/1419 --anyauth http://%HOSTIP:%HTTPPORT/14190003
49</command>
50</client>
51
52# Verify data after the test has been "shot"
53<verify>
54<strip>
55^User-Agent:.*
56</strip>
57<protocol>
58GET /1419 HTTP/1.1
59Host: %HOSTIP:%HTTPPORT
60Accept: */*
61
62GET /14190003 HTTP/1.1
63Host: %HOSTIP:%HTTPPORT
64Accept: */*
65
66[DISCONNECT]
67</protocol>
68</verify>
69</testcase>
70