1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6{} list
7</keywords>
8</info>
9# Server-side
10<reply>
11<data1>
12HTTP/1.1 200 OK
13Funny-head: yesyes
14Content-Length: 15
15
16the number one
17</data1>
18<data2>
19HTTP/1.1 200 OK
20Funny-head: yesyes
21Content-Length: 16
22
23two is nice too
24</data2>
25</reply>
26
27# Client-side
28<client>
29<server>
30http
31</server>
32 <name>
33multiple requests using {}{} in the URL
34 </name>
35 <command>
36"%HOSTIP:%HTTPPORT/{1235,1235}{0001,0002}"
37</command>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<strip>
43^User-Agent:.*
44</strip>
45<protocol>
46GET /12350001 HTTP/1.1
47User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
48Host: %HOSTIP:%HTTPPORT
49Accept: */*
50
51GET /12350002 HTTP/1.1
52User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
53Host: %HOSTIP:%HTTPPORT
54Accept: */*
55
56GET /12350001 HTTP/1.1
57User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
58Host: %HOSTIP:%HTTPPORT
59Accept: */*
60
61GET /12350002 HTTP/1.1
62User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
63Host: %HOSTIP:%HTTPPORT
64Accept: */*
65
66</protocol>
67<stdout>
68--_curl_--%HOSTIP:%HTTPPORT/12350001
69HTTP/1.1 200 OK
70Funny-head: yesyes
71Content-Length: 15
72
73the number one
74--_curl_--%HOSTIP:%HTTPPORT/12350002
75HTTP/1.1 200 OK
76Funny-head: yesyes
77Content-Length: 16
78
79two is nice too
80--_curl_--%HOSTIP:%HTTPPORT/12350001
81HTTP/1.1 200 OK
82Funny-head: yesyes
83Content-Length: 15
84
85the number one
86--_curl_--%HOSTIP:%HTTPPORT/12350002
87HTTP/1.1 200 OK
88Funny-head: yesyes
89Content-Length: 16
90
91two is nice too
92</stdout>
93</verify>
94</testcase>
95