test556 554 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 swsclose
  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. lib%TESTNUMBER
  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. <protocol>
  38. GET /%TESTNUMBER HTTP/1.1
  39. Host: ninja
  40. </protocol>
  41. </verify>
  42. </testcase>