test589 664 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. HTTP MIME
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. HTTP/1.1 200 OK swsclose
  14. Date: Tue, 09 Nov 2010 14:49:00 GMT
  15. Server: test-server/fake
  16. Content-Length: 3
  17. OK
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. </server>
  25. # tool is what to use instead of 'curl'
  26. <tool>
  27. lib%TESTNUMBER
  28. </tool>
  29. <name>
  30. make a HTTP MIME POST set to NULL
  31. </name>
  32. <command>
  33. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  34. </command>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. POST /%TESTNUMBER HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. Content-Length: 0
  44. </protocol>
  45. </verify>
  46. </testcase>