test1419 919 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP NTLM auth
  7. connection re-use
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. connection-monitor
  14. </servercmd>
  15. <data>
  16. HTTP/1.1 200 fine!
  17. Content-Length: 20
  18. Feel free to get it
  19. </data>
  20. <data3>
  21. HTTP/1.1 200 OK
  22. Server: Another one/1.0
  23. Content-Length: 4
  24. boo
  25. </data3>
  26. <datacheck>
  27. HTTP/1.1 200 fine!
  28. Content-Length: 20
  29. Feel free to get it
  30. </datacheck>
  31. </reply>
  32. # Client-side
  33. <client>
  34. <server>
  35. http
  36. </server>
  37. <name>
  38. HTTP with --anyauth (but no auth!) and connection re-use
  39. </name>
  40. <command>
  41. http://%HOSTIP:%HTTPPORT/1419 --anyauth http://%HOSTIP:%HTTPPORT/14190003
  42. </command>
  43. </client>
  44. # Verify data after the test has been "shot"
  45. <verify>
  46. <strip>
  47. ^User-Agent:.*
  48. </strip>
  49. <protocol>
  50. GET /1419 HTTP/1.1
  51. Host: %HOSTIP:%HTTPPORT
  52. Accept: */*
  53. GET /14190003 HTTP/1.1
  54. Host: %HOSTIP:%HTTPPORT
  55. Accept: */*
  56. [DISCONNECT]
  57. </protocol>
  58. </verify>
  59. </testcase>