test1419 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/%TESTNUMBER --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0003
  42. </command>
  43. </client>
  44. # Verify data after the test has been "shot"
  45. <verify>
  46. <protocol>
  47. GET /%TESTNUMBER HTTP/1.1
  48. Host: %HOSTIP:%HTTPPORT
  49. User-Agent: curl/%VERSION
  50. Accept: */*
  51. GET /%TESTNUMBER0003 HTTP/1.1
  52. Host: %HOSTIP:%HTTPPORT
  53. User-Agent: curl/%VERSION
  54. Accept: */*
  55. [DISCONNECT]
  56. </protocol>
  57. </verify>
  58. </testcase>