诸暨麻将添加redis
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
1007 B

  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. <reply>
  10. <data nocheck="yes">
  11. HTTP/1.1 200 OK
  12. Date: Thu, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. Content-Length: 6
  15. Connection: close
  16. Content-Type: text/html
  17. 12345
  18. </data>
  19. </reply>
  20. #
  21. # Client-side
  22. <client>
  23. <server>
  24. http
  25. </server>
  26. <name>
  27. HTTP GET -o fname -i without Content-Disposition, without -D
  28. </name>
  29. <command option="no-output,no-include">
  30. http://%HOSTIP:%HTTPPORT/1376 -i -o log/outfile1376
  31. </command>
  32. <postcheck>
  33. perl %SRCDIR/libtest/notexists.pl log/1376
  34. </postcheck>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <strip>
  40. ^User-Agent:.*
  41. </strip>
  42. <protocol>
  43. GET /1376 HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. Accept: */*
  46. </protocol>
  47. <file1 name="log/outfile1376" mode="text">
  48. HTTP/1.1 200 OK
  49. Date: Thu, 09 Nov 2010 14:49:00 GMT
  50. Server: test-server/fake
  51. Content-Length: 6
  52. Connection: close
  53. Content-Type: text/html
  54. 12345
  55. </file1>
  56. <file2 name="log/stdout1376" mode="text">
  57. </file2>
  58. </verify>
  59. </testcase>