51Testing软件测试论坛

标题: 对流媒体服务器的几点不解? [打印本页]

作者: dragon-pk    时间: 2008-8-5 10:21
标题: 对流媒体服务器的几点不解?
我现在测试一个vod视频点播系统,用的是lr8.1,现在通过修改脚本文件,基本上可以测试,但是还是有几个问题:
1.对于data.ws中的内容: buf10   buf33是对应的吗?rev buf10是对应的哪一个send?
另外如何把乱码转换成能看到的内容?因为我参考了http://bbs.51testing.com/viewthr ... &authorid=14711对流媒体服务器达尔文进行性能测试的总结 他做的循环测试中不断发送play,这里按照那位仁兄的我buf10的内容应该是send play....,但是确实一对乱码,所以请大侠们指教!
rtsp2 data.ws内容:
;WSRData 2 1
send buf0 128
"OPTIONS rtsp://192.168.0.58:554/sh.mpg RTSP/1.0\r\n"
"CSeq: 1\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf1 115
"RTSP/1.0 200 Ok\r\n"
"Cseq: 1\r\n"
"Server: VLC Server\r\n"
"Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE\r\n"
"Content-Length: 0\r\n"
"\r\n"
send buf2 154
"DESCRIBE rtsp://192.168.0.58:554/sh.mpg RTSP/1.0\r\n"
"CSeq: 2\r\n"
"Accept: application/sdp\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf3 339
"RTSP/1.0 200 OK\r\n"
"Content-type: application/sdp\r\n"
"Server: VLC Server\r\n"
"Content-Length: 214\r\n"
"Cseq: 2\r\n"
"Cache-Control: no-cache\r\n"
"\r\n"
"v=0\r\n"
"o=- 1217380334398509 2 IN IP4 192.168.0.58\r\n"
"c=IN IP4 0.0.0.0\r\n"
"t=0 0\r\n"
"a=tool:vlc 0.8.6c\r\n"
"a=range:npt=0-206.889\r\n"
"m=video 0 RTP/AVP 33\r\n"
"a=rtpmap:33 MP2T/90000\r\n"
"a=control:rtsp://192.168.0.58:554/sh.mpg/trackID=0\r\n"
send buf4 11
"hostIdTest"
"\x00"
recv buf5 11
"hostIdTest"
"\x00"
send buf6 188
"SETUP rtsp://192.168.0.58:554/sh.mpg/trackID=0 RTSP/1.0\r\n"
"CSeq: 3\r\n"
"Transport: RTP/AVP;unicast;client_port=24008-24009\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf7 160
"RTSP/1.0 200 OK\r\n"
"Transport: RTP/AVP/UDP;client_port=24008-24009\r\n"
"Server: VLC Server\r\n"
"Content-Length: 0\r\n"
"Cseq: 3\r\n"
"Cache-Control: no-cache\r\n"
"Session: 945394267\r\n"
"\r\n"
send buf8 167
"PLAY rtsp://192.168.0.58:554/sh.mpg RTSP/1.0\r\n"
"CSeq: 4\r\n"
"Session: <newsession>\r\n"
"Range: npt=0.000-\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf9 122
"RTSP/1.0 200 OK\r\n"
"Server: VLC Server\r\n"
"Content-Length: 0\r\n"
"Cseq: 4\r\n"
"Cache-Control: no-cache\r\n"
"Session: 945394267;timeout=5\r\n"
"\r\n"
recv buf10 82336
..................乱码
send buf11 48
..................乱码
recv buf12 1059744
..................乱码
send buf13 48
..................乱码
recv buf14 962800
..................乱码
send buf15 48
..................乱码
recv buf16 992016
..................乱码
send buf17 48
..................乱码
recv buf18 660016
..................乱码
send buf19 48
..................乱码
recv buf20 1136768
..................乱码
send buf21 48
..................乱码
recv buf22 1146064
..................乱码
send buf23 48
..................乱码
recv buf24 806096
..................乱码
send buf25 48
..................乱码
recv buf26 1027872
..................乱码
send buf27 48
..................乱码
recv buf28 938896

..................乱码

send buf29 48
..................乱码
recv buf30 524560
..................乱码
send buf31 152
"TEARDOWN rtsp://192.168.0.58:554/sh.mpg RTSP/1.0\r\n"
"CSeq: 5\r\n"
"Session: <newsession>\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf32 122
"RTSP/1.0 200 OK\r\n"
"Server: VLC Server\r\n"
"Content-Length: 0\r\n"
"Cseq: 5\r\n"
"Cache-Control: no-cache\r\n"
"Session: 945394267;timeout=5\r\n"
"\r\n"
send buf33 40
"伾"
"\x00\x07\x1a"
"U擾"
"\xfb"
"\bTA"
"\x00\x00\x00\x00\x00\x00"
"尦"
"\x00\x00\x00"
"["
"\x00\x00\x00\x00\x00\x00\x00\x00"
"佀"
"\x00\x01\x1a"
"U擾"

-1
作者: dragon-pk    时间: 2008-8-5 16:53
高手呢都去哪里了  急急急呀




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2