1<testcase>
2<info>
3<keywords>
4HTTP
5verbose logs
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data1>
12HTTP/1.1 200 OK
13Date: Thu, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fake
15Content-Length: 47
16
17file contents should appear once for each file
18</data1>
19<data2>
20HTTP/1.1 200 OK
21Date: Thu, 09 Nov 2010 14:49:00 GMT
22Server: test-server/fake
23Content-Length: 47
24
25file contents should appear once for each file
26</data2>
27<data3>
28HTTP/1.1 200 OK
29Date: Thu, 09 Nov 2010 14:49:00 GMT
30Server: test-server/fake
31Content-Length: 47
32
33file contents should appear once for each file
34</data3>
35<data4>
36HTTP/1.1 200 OK
37Date: Thu, 09 Nov 2010 14:49:00 GMT
38Server: test-server/fake
39Content-Length: 47
40
41file contents should appear once for each file
42</data4>
43</reply>
44
45# Client-side
46<client>
47<server>
48http
49</server>
50<tool>
51lib1510
52</tool>
53 <name>
54HTTP GET connection cache limit (CURLOPT_MAXCONNECTS)
55 </name>
56 <command>
57http://%HOSTIP:%HTTPPORT/path/1510 %HOSTIP %HTTPPORT
58</command>
59</client>
60
61# Verify data after the test has been "shot"
62<verify>
63<protocol>
64GET /path/15100001 HTTP/1.1
65Host: %HOSTIP:%HTTPPORT
66Accept: */*
67
68GET /path/15100002 HTTP/1.1
69Host: %HOSTIP:%HTTPPORT
70Accept: */*
71
72GET /path/15100003 HTTP/1.1
73Host: %HOSTIP:%HTTPPORT
74Accept: */*
75
76GET /path/15100004 HTTP/1.1
77Host: %HOSTIP:%HTTPPORT
78Accept: */*
79
80</protocol>
81<strip>
82^Host:.*
83</strip>
84<file name="log/stderr1510" mode="text">
85* Connection #0 to host server1.example.com left intact
86* Connection #1 to host server2.example.com left intact
87* Connection #2 to host server3.example.com left intact
88* Closing connection 0
89* Connection #3 to host server4.example.com left intact
90</file>
91<stripfile>
92$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/))
93</stripfile>
94</verify>
95</testcase>
96