• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2
3#Informational
4<info>
5<keywords>
6RTSP
7SESSION_ID
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data1>
14RTSP/1.0 200 OK
15Server: RTSPD/libcurl-test
16CSeq: 1
17Session: 00.+1-am-aSe55ion_id\$yes-i-am\$;timeout=60
18
19</data1>
20<data2>
21RTSP/1.0 200 OK
22Server: RTSPD/libcurl-test
23CSeq: 2
24
25</data2>
26<data3>
27RTSP/1.0 200 OK
28Session:        \$extraspaces ignore-this-part-------;foo=bar
29CSeq: 3
30Server: RTSPD/libcurl-test
31
32</data3>
33<data4>
34RTSP/1.0 200 OK
35CSeq: 4
36Server: RTSPD/libcurl-test
37
38</data4>
39<data5>
40RTSP/1.0 200 OK
41Session: A
42Server: RTSPD/libcurl-test
43CSeq: 5
44Informational: Single Character
45
46</data5>
47<data6>
48RTSP/1.0 200 OK
49Server: RTSPD/libcurl-test
50Curl-Private: swsclose
51CSeq: 6
52
53</data6>
54</reply>
55
56# Client-Side
57<client>
58<server>
59rtsp
60</server>
61<tool>
62lib569
63</tool>
64
65<name>
66RTSP Session ID parsing
67</name>
68<command>
69rtsp://%HOSTIP:%RTSPPORT/569 log/idfile569.txt
70</command>
71</client>
72
73<verify>
74<strip>
75^If-Modified-Since:.*
76</strip>
77<protocol>
78SETUP rtsp://%HOSTIP:%RTSPPORT/5690001 RTSP/1.0
79CSeq: 1
80Transport: Fake/NotReal/JustATest;foo=baz
81
82TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690002 RTSP/1.0
83CSeq: 2
84Session: 00.+1-am-aSe55ion_id\$yes-i-am\$
85
86SETUP rtsp://%HOSTIP:%RTSPPORT/5690003 RTSP/1.0
87CSeq: 3
88Transport: Fake/NotReal/JustATest;foo=baz
89
90TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690004 RTSP/1.0
91CSeq: 4
92Session: \$extraspaces
93
94SETUP rtsp://%HOSTIP:%RTSPPORT/5690005 RTSP/1.0
95CSeq: 5
96Transport: Fake/NotReal/JustATest;foo=baz
97
98TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690006 RTSP/1.0
99CSeq: 6
100Session: A
101
102</protocol>
103<file name="log/idfile569.txt">
104Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$]
105Got Session ID: [\$extraspaces]
106Got Session ID: [A]
107</file>
108</verify>
109
110</testcase>
111