test536 1011 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. pipelining
  7. multi
  8. </keywords>
  9. </info>
  10. <reply>
  11. <data>
  12. HTTP/1.1 404 Badness
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. ETag: "21025-dc7-39462498"
  15. Content-Length: 6
  16. Content-Type: text/html
  17. Funny-head: yesyes
  18. hejsan
  19. </data>
  20. <data1>
  21. HTTP/1.1 200 Fine
  22. Date: Thu, 09 Nov 2010 14:49:00 GMT
  23. Content-Length: 13
  24. Connection: close
  25. Content-Type: text/html
  26. fine content
  27. </data1>
  28. <datacheck>
  29. fine content
  30. Finished!
  31. </datacheck>
  32. <servercmd>
  33. pipe: 1
  34. </servercmd>
  35. </reply>
  36. # Client-side
  37. <client>
  38. <server>
  39. http
  40. </server>
  41. # tool is what to use instead of 'curl'
  42. <tool>
  43. lib536
  44. </tool>
  45. <name>
  46. HTTP GET multi two files with FAILONERROR and pipelining
  47. </name>
  48. <command>
  49. http://%HOSTIP:%HTTPPORT/536 http://%HOSTIP:%HTTPPORT/5360001
  50. </command>
  51. </client>
  52. #
  53. # Verify data after the test has been "shot"
  54. <verify>
  55. <protocol>
  56. GET /536 HTTP/1.1
  57. Host: %HOSTIP:%HTTPPORT
  58. Accept: */*
  59. GET /5360001 HTTP/1.1
  60. Host: %HOSTIP:%HTTPPORT
  61. Accept: */*
  62. </protocol>
  63. </verify>
  64. </testcase>