test528 (1087B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 multi 7 </keywords> 8 </info> 9 10 # Server-side 11 <reply> 12 <data> 13 HTTP/1.1 200 OK 14 Date: Tue, 09 Nov 2010 14:49:00 GMT 15 Server: test-server/fake 16 Content-Length: 47 17 18 file contents should appear once for each file 19 </data> 20 <datacheck> 21 file contents should appear once for each file 22 file contents should appear once for each file 23 file contents should appear once for each file 24 file contents should appear once for each file 25 </datacheck> 26 </reply> 27 28 # Client-side 29 <client> 30 <server> 31 http 32 </server> 33 <tool> 34 lib526 35 </tool> 36 <name> 37 HTTP GET same file using different handles but same connection 38 </name> 39 <command> 40 http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER 41 </command> 42 </client> 43 44 # Verify data after the test has been "shot" 45 <verify> 46 <protocol> 47 GET /path/%TESTNUMBER HTTP/1.1 48 Host: %HOSTIP:%HTTPPORT 49 Accept: */* 50 51 GET /path/%TESTNUMBER HTTP/1.1 52 Host: %HOSTIP:%HTTPPORT 53 Accept: */* 54 55 GET /path/%TESTNUMBER HTTP/1.1 56 Host: %HOSTIP:%HTTPPORT 57 Accept: */* 58 59 GET /path/%TESTNUMBER HTTP/1.1 60 Host: %HOSTIP:%HTTPPORT 61 Accept: */* 62 63 </protocol> 64 </verify> 65 </testcase>