test570 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <testcase>
  2. #Informational
  3. <info>
  4. <keywords>
  5. RTSP
  6. Mismatch checking
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data1>
  12. RTSP/1.0 200 OK
  13. Server: RTSPD/libcurl-test
  14. CSeq: 2
  15. Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
  16. Informational: CSeq Mismatch
  17. </data1>
  18. <data2>
  19. RTSP/1.0 200 OK
  20. Server: RTSPD/libcurl-test
  21. Session: asdf
  22. CSeq: 999
  23. </data2>
  24. <data3>
  25. RTSP/1.0 200 OK
  26. Server: RTSPD/libcurl-test
  27. Session: asdfWRONG
  28. Informational: Session ID mismatch
  29. Curl-Private: swsclose
  30. CSeq: 1000
  31. </data3>
  32. </reply>
  33. # Client-Side
  34. <client>
  35. <server>
  36. rtsp
  37. </server>
  38. <tool>
  39. lib%TESTNUMBER
  40. </tool>
  41. <name>
  42. RTSP CSeq and Session Mismatch checks
  43. </name>
  44. <command>
  45. rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
  46. </command>
  47. </client>
  48. <verify>
  49. <strip>
  50. ^If-Modified-Since:.*
  51. </strip>
  52. <protocol>
  53. OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0
  54. CSeq: 1
  55. SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0
  56. CSeq: 999
  57. Transport: RAW/RAW/UDP;unicast;client_port=3056-3057
  58. PLAY rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0
  59. CSeq: 1000
  60. Session: asdf
  61. </protocol>
  62. </verify>
  63. </testcase>