test512 590 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. #
  3. # Server-side
  4. <reply>
  5. <data mode="text">
  6. HTTP/1.1 200 OK swsclose
  7. Date: Thu, 09 Nov 2010 14:49:00 GMT
  8. Server: yes
  9. Connection: close
  10. hello
  11. </data>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. http
  17. </server>
  18. # tool is what to use instead of 'curl'
  19. <tool>
  20. lib512
  21. </tool>
  22. <name>
  23. simple curl_easy_duplicate() test
  24. </name>
  25. <command>
  26. http://%HOSTIP:%HTTPPORT/512
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <strip>
  33. ^User-Agent:.*
  34. </strip>
  35. <protocol>
  36. GET /512 HTTP/1.1
  37. Host: %HOSTIP:%HTTPPORT
  38. Accept: */*
  39. </protocol>
  40. </verify>
  41. </testcase>