test282 501 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK swsclose
  13. </data>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. http
  20. </server>
  21. <name>
  22. HTTP GET with no response body or headers
  23. </name>
  24. <command>
  25. http://%HOSTIP:%HTTPPORT/282
  26. </command>
  27. </client>
  28. #
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <strip>
  32. ^User-Agent:.*
  33. </strip>
  34. <protocol>
  35. GET /282 HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. Accept: */*
  38. </protocol>
  39. </verify>
  40. </testcase>