test530 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. pipelining
  6. multi
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data1>
  12. HTTP/1.1 200 OK
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. Content-Length: 47
  16. file contents should appear once for each file
  17. </data1>
  18. <data2>
  19. HTTP/1.1 200 OK
  20. </data2>
  21. <data3>
  22. Date: Thu, 09 Nov 2010 14:49:00 GMT
  23. </data3>
  24. <data4>
  25. Server: test-server/fake
  26. Content-Length: 47
  27. file contents should appear once for each file
  28. HTTP/1.1 200 OK
  29. Date: Thu, 09 Nov 2010 14:49:00 GMT
  30. Server: test-server/fake
  31. Content-Length: 47
  32. file contents should appear once for each file
  33. HTTP/1.1 200 OK
  34. Date: Thu, 09 Nov 2010 14:49:00 GMT
  35. Server: test-server/fake
  36. Content-Length: 47
  37. file contents should appear once for each file
  38. </data4>
  39. </reply>
  40. # Client-side
  41. <client>
  42. <server>
  43. http
  44. </server>
  45. <tool>
  46. lib530
  47. </tool>
  48. <name>
  49. HTTP GET using pipelining
  50. </name>
  51. <command>
  52. http://%HOSTIP:%HTTPPORT/path/530
  53. </command>
  54. </client>
  55. # Verify data after the test has been "shot"
  56. <verify>
  57. <protocol>
  58. GET /path/5300001 HTTP/1.1
  59. Host: %HOSTIP:%HTTPPORT
  60. Accept: */*
  61. GET /path/5300002 HTTP/1.1
  62. Host: %HOSTIP:%HTTPPORT
  63. Accept: */*
  64. GET /path/5300003 HTTP/1.1
  65. Host: %HOSTIP:%HTTPPORT
  66. Accept: */*
  67. GET /path/5300004 HTTP/1.1
  68. Host: %HOSTIP:%HTTPPORT
  69. Accept: */*
  70. </protocol>
  71. </verify>
  72. </testcase>