test512 623 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. Date: Tue, 09 Nov 2010 14:49:00 GMT
  14. Server: yes
  15. Connection: close
  16. hello
  17. </data>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. # tool is what to use instead of 'curl'
  25. <tool>
  26. lib%TESTNUMBER
  27. </tool>
  28. <name>
  29. simple curl_easy_duplicate() test
  30. </name>
  31. <command>
  32. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <protocol>
  39. GET /%TESTNUMBER HTTP/1.1
  40. Host: %HOSTIP:%HTTPPORT
  41. Accept: */*
  42. </protocol>
  43. </verify>
  44. </testcase>