2
0

test589 690 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <features>
  23. Mime
  24. </features>
  25. <server>
  26. http
  27. </server>
  28. # tool is what to use instead of 'curl'
  29. <tool>
  30. lib%TESTNUMBER
  31. </tool>
  32. <name>
  33. make an HTTP MIME POST set to NULL
  34. </name>
  35. <command>
  36. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. POST /%TESTNUMBER HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. Accept: */*
  46. Content-Length: 0
  47. </protocol>
  48. </verify>
  49. </testcase>