test655 607 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake swsclose
  14. Connection: close
  15. Content-Type: text/html
  16. hello
  17. </data>
  18. <datacheck>
  19. hello
  20. </datacheck>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. http
  26. </server>
  27. # tool is what to use instead of 'curl'
  28. <tool>
  29. lib%TESTNUMBER
  30. </tool>
  31. <name>
  32. resolver start callback
  33. </name>
  34. <command>
  35. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  36. </command>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <errorcode>
  42. 0
  43. </errorcode>
  44. </verify>
  45. </testcase>