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