aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test570
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-28 04:58:03 +0000
committerYang Tse <yangsita@gmail.com>2010-01-28 04:58:03 +0000
commit6259bcd51f057a7389bf41a1c653c1e5387c6999 (patch)
tree5b5c30012337589e5f99478c642ba58a12671418 /tests/data/test570
parenta4031dbd850c6447526c49c939274d85023d9640 (diff)
Chris Conroy provided first RTSP tests
Diffstat (limited to 'tests/data/test570')
-rw-r--r--tests/data/test57077
1 files changed, 77 insertions, 0 deletions
diff --git a/tests/data/test570 b/tests/data/test570
new file mode 100644
index 000000000..9bc9e0c8e
--- /dev/null
+++ b/tests/data/test570
@@ -0,0 +1,77 @@
+<testcase>
+
+#Informational
+<info>
+<keywords>
+RTSP
+Mismatch checking
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data1>
+RTSP/1.0 200 OK
+Server: SWS/libcurl-test
+CSeq: 2
+Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
+Informational: CSeq Mismatch
+
+</data1>
+<data2>
+RTSP/1.0 200 OK
+Server: SWS/libcurl-test
+Session: asdf
+CSeq: 999
+
+</data2>
+<data3>
+RTSP/1.0 200 OK
+Server: SWS/libcurl-test
+Session: asdfWRONG
+Informational: Session ID mismatch
+Curl-Private: swsclose
+CSeq: 1000
+
+</data3>
+
+</reply>
+
+# Client-Side
+<client>
+<server>
+rtsp
+</server>
+<tool>
+lib570
+</tool>
+
+<name>
+RTSP CSeq and Session Mismatch checks
+</name>
+<command>
+rtsp://%HOSTIP:%RTSPPORT/570
+</command>
+</client>
+
+<verify>
+<strip>
+^If-Modified-Since:.*
+</strip>
+<protocol>
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/5700001 RTSP/1.0
+CSeq: 1
+
+SETUP rtsp://%HOSTIP:%RTSPPORT/5700002 RTSP/1.0
+CSeq: 999
+Transport: RAW/RAW/UDP;unicast;client_port=3056-3057
+
+PLAY rtsp://%HOSTIP:%RTSPPORT/5700003 RTSP/1.0
+CSeq: 1000
+Session: asdf
+
+</protocol>
+</verify>
+
+</testcase>
+