1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 GLOBAL DNS CACHE 6 </keywords> 7 </info> 8 9 # Server-side 10 <reply> 11 <data1> 12 HTTP/1.1 200 OK 13 Date: Thu, 09 Nov 2010 14:49:00 GMT 14 Server: test-server/fake 15 Content-Length: 47 16 17 file contents should appear once for each file 18 </data1> 19 <data2> 20 HTTP/1.1 200 OK 21 Date: Thu, 09 Nov 2010 14:49:00 GMT 22 Server: test-server/fake 23 Content-Length: 47 24 25 file contents should appear once for each file 26 </data2> 27 <data3> 28 HTTP/1.1 200 OK 29 Date: Thu, 09 Nov 2010 14:49:00 GMT 30 Server: test-server/fake 31 Content-Length: 47 32 33 file contents should appear once for each file 34 </data3> 35 <data4> 36 HTTP/1.1 200 OK 37 Date: Thu, 09 Nov 2010 14:49:00 GMT 38 Server: test-server/fake 39 Content-Length: 47 40 41 file contents should appear once for each file 42 </data4> 43 </reply> 44 45 # Client-side 46 <client> 47 <server> 48 http 49 </server> 50 <tool> 51 lib1512 52 </tool> 53 <name> 54 GLOBAL CACHE test over two easy performs 55 </name> 56 <command> 57 http://%HOSTIP:%HTTPPORT/path/1512 %HOSTIP %HTTPPORT 58 </command> 59 </client> 60 61 # Verify data after the test has been "shot" 62 <verify> 63 <protocol> 64 GET /path/15120001 HTTP/1.1 65 Host: %HOSTIP:%HTTPPORT 66 Accept: */* 67 68 GET /path/15120002 HTTP/1.1 69 Host: %HOSTIP:%HTTPPORT 70 Accept: */* 71 72 </protocol> 73 <strip> 74 ^Host:.* 75 </strip> 76 <stripfile> 77 $_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/)) 78 </stripfile> 79 </verify> 80 </testcase> 81