诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

67 lines
839 B

  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. chunked Transfer-Encoding
  7. FAILURE
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.1 200 funky chunky!
  15. Server: fakeit/0.9 fakeitbad/1.0
  16. Transfer-Encoding: chunked
  17. Connection: mooo
  18. 2
  19. a
  20. ILLEGAL
  21. bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  22. </data>
  23. <datacheck>
  24. HTTP/1.1 200 funky chunky!
  25. Server: fakeit/0.9 fakeitbad/1.0
  26. Transfer-Encoding: chunked
  27. Connection: mooo
  28. a
  29. </datacheck>
  30. </reply>
  31. #
  32. # Client-side
  33. <client>
  34. <server>
  35. http
  36. </server>
  37. <name>
  38. HTTP GET with bad chunked Transfer-Encoding
  39. </name>
  40. <command>
  41. http://%HOSTIP:%HTTPPORT/36
  42. </command>
  43. </client>
  44. #
  45. # Verify data after the test has been "shot"
  46. <verify>
  47. <errorcode>
  48. 56
  49. </errorcode>
  50. <strip>
  51. ^User-Agent:.*
  52. </strip>
  53. <protocol>
  54. GET /36 HTTP/1.1
  55. Host: %HOSTIP:%HTTPPORT
  56. Accept: */*
  57. </protocol>
  58. </verify>
  59. </testcase>