test1536 656 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 nocheck="yes">
  12. HTTP/1.0 200 OK swsclose
  13. Last-Modified: Thu, 01 Jan 1970 00:00:30 GMT
  14. Content-Length: 0
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. # tool is what to use instead of 'curl'
  23. <tool>
  24. lib%TESTNUMBER
  25. </tool>
  26. <name>
  27. Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME
  28. </name>
  29. <command>
  30. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  31. </command>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. GET /%TESTNUMBER HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. Accept: */*
  40. </protocol>
  41. <errorcode>
  42. 0
  43. </errorcode>
  44. </verify>
  45. </testcase>