test282 512 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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/%TESTNUMBER
  26. </command>
  27. </client>
  28. #
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. GET /%TESTNUMBER HTTP/1.1
  33. Host: %HOSTIP:%HTTPPORT
  34. User-Agent: curl/%VERSION
  35. Accept: */*
  36. </protocol>
  37. </verify>
  38. </testcase>