• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<protocol>
55GET /1419 HTTP/1.1
56Host: %HOSTIP:%HTTPPORT
57User-Agent: curl/%VERSION
58Accept: */*
59
60GET /14190003 HTTP/1.1
61Host: %HOSTIP:%HTTPPORT
62User-Agent: curl/%VERSION
63Accept: */*
64
65[DISCONNECT]
66</protocol>
67</verify>
68</testcase>
69