test568 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <testcase>
  2. #Informational
  3. <info>
  4. <keywords>
  5. RTSP
  6. ANNOUNCE
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data1>
  12. RTSP/1.0 200 OK
  13. Server: RTSPD/libcurl-test
  14. Cseq: 1
  15. </data1>
  16. <data2>
  17. RTSP/1.0 200 OK
  18. Server: RTSPD/libcurl-test
  19. Cseq: 2
  20. Content-Length: 70
  21. Content-Type: application/sdp
  22. v=0
  23. s=rtspd SDP
  24. i=A fake SDP reply
  25. u=http://www.curl.example.com/fakesdp.ps
  26. </data2>
  27. <data3>
  28. RTSP/1.0 200 Okie Dokie
  29. Server: RTSPD/libcurl-test
  30. Cseq: 3
  31. </data3>
  32. <data4>
  33. RTSP/1.0 200 OK
  34. Server: RTSPD/libcurl-test
  35. CSeq: 4
  36. Curl-private: swsclose
  37. Informational: Empty Options Response
  38. </data4>
  39. </reply>
  40. # Client-Side
  41. <client>
  42. <server>
  43. rtsp
  44. </server>
  45. <tool>
  46. lib568
  47. </tool>
  48. <name>
  49. RTSP Announce (PUT and POST style) test
  50. </name>
  51. <command>
  52. rtsp://%HOSTIP:%RTSPPORT/568
  53. </command>
  54. # file written before test command runs
  55. <file name="log/file568.txt">
  56. v=0
  57. o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4
  58. s=SDP Seminar
  59. i=A Seminar on the session description protocol
  60. u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
  61. e=mjh@isi.edu (Mark Handley)
  62. c=IN IP4 224.2.17.12/127
  63. t=2873397496 2873404696
  64. a=recvonly
  65. m=audio 3456 RTP/AVP 0
  66. m=video 2232 RTP/AVP 31
  67. </file>
  68. </client>
  69. <verify>
  70. <strip>
  71. ^If-Modified-Since:.*
  72. </strip>
  73. <protocol>
  74. ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680001 RTSP/1.0
  75. CSeq: 1
  76. Content-Length: 306
  77. Content-Type: application/sdp
  78. v=0
  79. o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4
  80. s=SDP Seminar
  81. i=A Seminar on the session description protocol
  82. u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
  83. e=mjh@isi.edu (Mark Handley)
  84. c=IN IP4 224.2.17.12/127
  85. t=2873397496 2873404696
  86. a=recvonly
  87. m=audio 3456 RTP/AVP 0
  88. m=video 2232 RTP/AVP 31
  89. DESCRIBE rtsp://%HOSTIP:%RTSPPORT/5680002 RTSP/1.0
  90. CSeq: 2
  91. Accept: application/sdp
  92. ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680003 RTSP/1.0
  93. CSeq: 3
  94. Content-Type: posty goodness
  95. Content-Length: 35
  96. postyfield=postystuff&project=curl
  97. OPTIONS rtsp://%HOSTIP:%RTSPPORT/5680004 RTSP/1.0
  98. CSeq: 4
  99. </protocol>
  100. </verify>
  101. </testcase>