test500 738 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #
  2. # Server-side
  3. <reply name="1">
  4. <data>
  5. HTTP/1.1 200 OK
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: test-server/fake
  8. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  9. ETag: "21025-dc7-39462498"
  10. Accept-Ranges: bytes
  11. Content-Length: 6
  12. Connection: close
  13. Content-Type: text/html
  14. Funny-head: yesyes
  15. <foo>
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. # tool is what to use instead of 'curl'
  24. <tool>
  25. lib500
  26. </tool>
  27. <name>
  28. simple libcurl HTTP GET tool
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HOSTPORT/500
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. GET /500 HTTP/1.1
  39. Host: 127.0.0.1:8999
  40. Pragma: no-cache
  41. Accept: */*
  42. </protocol>
  43. </verify>