test1115 719 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP 1xx response code
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 104 Experiment
  12. Server: Microsoft-IIS/5.0
  13. Date: Sun, 03 Apr 2005 14:57:45 GMT
  14. X-Powered-By: ASP.NET
  15. HTTP/1.1 200 OK swsbounce
  16. Server: Microsoft-IIS/6.0
  17. Content-Type: text/html; charset=iso-8859-1
  18. Content-Length: 0
  19. </data>
  20. </reply>
  21. # Client-side
  22. <client>
  23. #
  24. <server>
  25. http
  26. </server>
  27. <name>
  28. HTTP GET with unexpected 1xx response
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/1115
  32. </command>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <strip>
  37. ^User-Agent:.*
  38. </strip>
  39. <protocol>
  40. GET /1115 HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. </protocol>
  44. </verify>
  45. </testcase>