test47 584 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP/1.0
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply name="47">
  12. <data>
  13. HTTP/1.0 200 OK swsclose
  14. Date: Thu, 09 Nov 2010 14:49:00 GMT
  15. Server: test-server/fake
  16. -foo- within foo -!foo-
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. </server>
  25. <name>
  26. simple HTTP 1.0 GET
  27. </name>
  28. <command>
  29. http://%HOSTIP:%HTTPPORT/47 -0
  30. </command>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <strip>
  36. ^User-Agent:.*
  37. </strip>
  38. <protocol>
  39. GET /47 HTTP/1.0
  40. Host: %HOSTIP:%HTTPPORT
  41. Accept: */*
  42. </protocol>
  43. </verify>
  44. </testcase>