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