51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1608|回复: 1
打印 上一主题 下一主题

[求助] 对流媒体服务器的几点不解?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-8-5 10:21:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我现在测试一个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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2008-8-5 16:53:43 | 只看该作者
高手呢都去哪里了  急急急呀
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-22 15:06 , Processed in 0.076817 second(s), 33 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表