test1515 897 B

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