test556 558 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. <reply>
  9. <data>
  10. HTTP/1.1 200 OK
  11. Server: test-server/fake
  12. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  13. Content-Length: 6
  14. Connection: close
  15. -foo-
  16. </data>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <tool>
  25. lib556
  26. </tool>
  27. <name>
  28. send and recv HTTP
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <strip>
  38. ^User-Agent:.*
  39. </strip>
  40. <protocol>
  41. GET /556 HTTP/1.2
  42. Host: ninja
  43. </protocol>
  44. </verify>
  45. </testcase>