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