xref: /curl/tests/data/test572 (revision 1fe081ab)
1<testcase>
2
3#Informational
4<info>
5<keywords>
6RTSP
7GET_PARAMETER
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data1>
14RTSP/1.0 200 OK
15Server: RTSPD/libcurl-test
16Session: getparams-test
17CSeq: 1
18
19</data1>
20
21<data2>
22RTSP/1.0 200 OK
23Server: RTSPD/libcurl-test
24Session: getparams-test
25Content-Type: text/parameters
26Content-Length: 32
27Cseq: 2
28
29scale=enormous
30speed=ludicrous
31
32</data2>
33
34<data3>
35RTSP/1.0 204 OK
36Server: RTSPD/libcurl-test
37Session: getparams-test
38Cseq: 3
39
40</data3>
41
42<data4>
43RTSP/1.0 200 Okie Dokie
44Server: RTSPD/libcurl-test
45Session: getparams-test
46Cseq: 4
47Content-Length: 37
48
49packets_received: 1000
50jitter: 0.314
51</data4>
52<data5>
53RTSP/1.0 200 OK
54Server: RTSPD/libcurl-test
55Session: getparams-test
56CSeq: 5
57Curl-private: swsclose
58Informational: Empty Options Response
59
60</data5>
61</reply>
62
63# Client-Side
64<client>
65<server>
66rtsp
67</server>
68<tool>
69lib%TESTNUMBER
70</tool>
71
72<name>
73RTSP GET_PARAMETER (Put/Heartbeat/Post)
74</name>
75<command>
76rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER %LOGDIR/file%TESTNUMBER.txt
77</command>
78# file written before test command runs
79<file name="%LOGDIR/file%TESTNUMBER.txt">
80scale
81speed
82</file>
83</client>
84
85<verify>
86<strip>
87^If-Modified-Since:.*
88</strip>
89<protocol>
90SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0
91CSeq: 1
92Transport: Planes/Trains/Automobiles
93
94GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0
95CSeq: 2
96Session: getparams-test
97Content-Length: 12
98Content-Type: text/parameters
99
100scale
101speed
102GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0
103CSeq: 3
104Session: getparams-test
105
106GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0004 RTSP/1.0
107CSeq: 4
108Session: getparams-test
109Content-Length: 24
110Content-Type: text/parameters
111
112packets_received
113jitter
114OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0005 RTSP/1.0
115CSeq: 5
116Session: getparams-test
117
118</protocol>
119</verify>
120
121</testcase>
122