~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/data/test530

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070516151654-x9nkigtr2j0i8d0v
Tags: upstream-7.16.2
ImportĀ upstreamĀ versionĀ 7.16.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
Pipelining
 
6
</keywords>
 
7
</info>
 
8
# Server-side
 
9
<reply>
 
10
<servercmd>
 
11
pipe: 4
 
12
</servercmd>
 
13
<data>
 
14
HTTP/1.1 200 OK
 
15
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
16
Server: test-server/fake
 
17
Content-Length: 47
 
18
 
 
19
file contents should appear once for each file
 
20
HTTP/1.1 200 OK
 
21
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
22
Server: test-server/fake
 
23
Content-Length: 47
 
24
 
 
25
file contents should appear once for each file
 
26
HTTP/1.1 200 OK
 
27
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
28
Server: test-server/fake
 
29
Content-Length: 47
 
30
 
 
31
file contents should appear once for each file
 
32
HTTP/1.1 200 OK
 
33
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
34
Server: test-server/fake
 
35
Content-Length: 47
 
36
 
 
37
file contents should appear once for each file
 
38
</data>
 
39
</reply>
 
40
 
 
41
# Client-side
 
42
<client>
 
43
<server>
 
44
http
 
45
</server>
 
46
<tool>
 
47
lib530
 
48
</tool>
 
49
 <name>
 
50
HTTP GET using pipelining
 
51
 </name>
 
52
 <command>
 
53
http://%HOSTIP:%HTTPPORT/path/530
 
54
</command>
 
55
</client>
 
56
 
 
57
# Verify data after the test has been "shot"
 
58
<verify>
 
59
<strip>
 
60
</strip>
 
61
<protocol>
 
62
GET /path/530 HTTP/1.1
 
63
Host: %HOSTIP:%HTTPPORT
 
64
Accept: */*
 
65
 
 
66
GET /path/530 HTTP/1.1
 
67
Host: %HOSTIP:%HTTPPORT
 
68
Accept: */*
 
69
 
 
70
GET /path/530 HTTP/1.1
 
71
Host: %HOSTIP:%HTTPPORT
 
72
Accept: */*
 
73
 
 
74
GET /path/530 HTTP/1.1
 
75
Host: %HOSTIP:%HTTPPORT
 
76
Accept: */*
 
77
 
 
78
</protocol>
 
79
</verify>
 
80
</testcase>