test1235 (1294B)
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 <data1> 13 HTTP/1.1 200 OK 14 Funny-head: yesyes 15 Content-Length: 15 16 17 the number one 18 </data1> 19 <data2> 20 HTTP/1.1 200 OK 21 Funny-head: yesyes 22 Content-Length: 16 23 24 two is nice too 25 </data2> 26 </reply> 27 28 # Client-side 29 <client> 30 <server> 31 http 32 </server> 33 <name> 34 multiple requests using {}{} in the URL 35 </name> 36 <command> 37 "%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}{0001,0002}" 38 </command> 39 </client> 40 41 # Verify data after the test has been "shot" 42 <verify> 43 <protocol> 44 GET /%TESTNUMBER0001 HTTP/1.1 45 Host: %HOSTIP:%HTTPPORT 46 User-Agent: curl/%VERSION 47 Accept: */* 48 49 GET /%TESTNUMBER0002 HTTP/1.1 50 Host: %HOSTIP:%HTTPPORT 51 User-Agent: curl/%VERSION 52 Accept: */* 53 54 GET /%TESTNUMBER0001 HTTP/1.1 55 Host: %HOSTIP:%HTTPPORT 56 User-Agent: curl/%VERSION 57 Accept: */* 58 59 GET /%TESTNUMBER0002 HTTP/1.1 60 Host: %HOSTIP:%HTTPPORT 61 User-Agent: curl/%VERSION 62 Accept: */* 63 64 </protocol> 65 <stdout> 66 HTTP/1.1 200 OK 67 Funny-head: yesyes 68 Content-Length: 15 69 70 the number one 71 HTTP/1.1 200 OK 72 Funny-head: yesyes 73 Content-Length: 16 74 75 two is nice too 76 HTTP/1.1 200 OK 77 Funny-head: yesyes 78 Content-Length: 15 79 80 the number one 81 HTTP/1.1 200 OK 82 Funny-head: yesyes 83 Content-Length: 16 84 85 two is nice too 86 </stdout> 87 </verify> 88 </testcase>