1 <testcase> 2 3 <info> 4 <keywords> 5 HTTP 6 multi 7 FAILURE 8 resolve 9 </keywords> 10 </info> 11 12 <reply> 13 # Close the connection after the first request. Second request will happen after 14 # the DNS cache timeout elapses and must succeed exactly like the first one. 15 <data1> 16 HTTP/1.1 200 OK 17 Date: Thu, 03 Feb 2014 17:04:00 GMT 18 Server: test-server/fake swsclose 19 Connection: close 20 Content-Type: text/html 21 Content-Length: 6 22 23 hello 24 </data1> 25 <data2> 26 HTTP/1.1 200 OK 27 Date: Thu, 03 Feb 2014 17:04:02 GMT 28 Server: test-server/fake swsclose 29 Connection: close 30 Content-Type: text/html 31 Content-Length: 6 32 33 hello 34 </data2> 35 <datacheck> 36 hello 37 hello 38 </datacheck> 39 </reply> 40 41 <client> 42 <server> 43 http 44 </server> 45 <tool> 46 lib1515 47 </tool> 48 <name> 49 caching of manual libcurl DNS entries after DNS cache timeout 50 </name> 51 <command> 52 path/1515 %HOSTIP %HTTPPORT 53 </command> 54 </client> 55 56 <verify> 57 <errorcode> 58 0 59 </errorcode> 60 </verify> 61 62 </testcase> 63