2
0

test1534 667 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. CURLINFO_FILETIME
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. HTTP/1.0 200 OK swsclose
  14. Last-Modified: Thu, 01 Jan 1970 00:00:30 GMT
  15. Content-Length: 0
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. # tool is what to use instead of 'curl'
  24. <tool>
  25. lib%TESTNUMBER
  26. </tool>
  27. <name>
  28. CURLINFO_FILETIME init and reset
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. GET /%TESTNUMBER HTTP/1.1
  39. Host: %HOSTIP:%HTTPPORT
  40. Accept: */*
  41. </protocol>
  42. <errorcode>
  43. 0
  44. </errorcode>
  45. </verify>
  46. </testcase>