test535 942 B

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