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