test29 650 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. timeout
  7. FAILURE
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK swsclose
  14. Date: Tue, 09 Nov 2010 14:49:00 GMT
  15. Connection: close
  16. _data_result_data_
  17. </data>
  18. <postcmd>
  19. wait 10
  20. </postcmd>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. http
  26. </server>
  27. <name>
  28. HTTP with 2 secs timeout
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -m 2
  32. </command>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. GET /want/%TESTNUMBER HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. User-Agent: curl/%VERSION
  40. Accept: */*
  41. </protocol>
  42. <errorcode>
  43. 28
  44. </errorcode>
  45. </verify>
  46. </testcase>