test1511 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <data>
  10. HTTP/1.1 200 OK
  11. Date: Thu, 09 Nov 2010 14:49:00 GMT
  12. Server: test-server/fakem
  13. Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
  14. Content-Type: text/html
  15. Content-Length: 12
  16. Connection: close
  17. Hello World
  18. </data>
  19. <datacheck>
  20. HTTP/1.1 200 OK
  21. Date: Thu, 09 Nov 2010 14:49:00 GMT
  22. Server: test-server/fakem
  23. Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
  24. Content-Type: text/html
  25. Content-Length: 12
  26. Connection: close
  27. HTTP/1.1 200 OK
  28. Date: Thu, 09 Nov 2010 14:49:00 GMT
  29. Server: test-server/fakem
  30. Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
  31. Content-Type: text/html
  32. Content-Length: 12
  33. Connection: close
  34. Hello World
  35. </datacheck>
  36. </reply>
  37. # Client-side
  38. <client>
  39. <server>
  40. http
  41. </server>
  42. <features>
  43. http
  44. </features>
  45. <tool>
  46. lib1511
  47. </tool>
  48. <name>
  49. HTTP GET time conditions in repeated requests
  50. </name>
  51. <command>
  52. http://%HOSTIP:%HTTPPORT/1511
  53. </command>
  54. </client>
  55. # Verify data after the test has been "shot"
  56. # TEST_ERR_SUCCESS is errorcode 120
  57. <verify>
  58. <errorcode>
  59. 120
  60. </errorcode>
  61. </verify>
  62. </testcase>