51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[原创] flex_rtmp_connect与flex_rtmp_receive_stream函数连接的地址不一致?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-11-3 13:13:31 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
软件版本:Loadrunner11 path3

脚本代码:
Action()
{
    flex_rtmp_connect(
        "connect_step0",
        "Host=192.168.2.103:1935",
        "ConnectionID=6",
        MESSAGE,
        "ChunkStreamID=3",
        "DataType=Command Message AMF0",
        "MessageStreamID=0",
        "Argument=<arguments><string>connect</string><number>1</number><object>"
        "<string name=\"app\"/><string name=\"flashVer\">WIN 10,3,183,10</string"
        "><string name=\"swfUrl\">http://myServer.devlab.ad/weborb30/"
        "examples/flex/messaging/flex2msmq/Flex2MSMQ.swf"
        "</string><string name="
        "\"tcUrl\">rtmp://192.168.2.103:1935</string><boolean name=\""
        "fpad\">false</boolean><number name=\"capabilities\">15</number><number"
        " name=\"audioCodecs\">3191</number><number name=\"videoCodecs\">252</"
        "number><number name=\"videoFunction\">1</number><string name=\""
        "pageUrl\">http://myServer.devlab.ad/weborb30/examples/flex/"
        "messaging/flex2msmq/index.htm"
        "</string><number name=\"objectEncoding\""
        ">3</number></object></arguments>",
        LAST);

    flex_rtmp_receive_stream(
        "recv_stream_step0",
        "ConnectionID=6",
        "ContinueToNextStepAfter=5000",
        LAST);

    flex_rtmp_disconnect(
        "disconnect_step0",
        "ConnectionID=6",
        LAST);
}

部分回放日志:
Connection with 192.168.2.103:1935 has been established
Action.c(3): flex_rtmp_connect("connect_step0") was successful
Action.c(24): flex_rtmp_receive_stream("recv_stream_step0") started
Action.c(24): Starting to receive bytes from 192.168.2.101:1057
Action.c(24): Received a total of 0 bytes from 192.168.2.101:1057
Action.c(24): The following RTMP messages have been received:
Action.c(24): Last received media timestamp: 0 millisec

问题:
为什么我在flex_rtmp_connect函数里填的地址是"192.168.2.103:1935",可是回放日志里看到的却是从"192.168.2.101:1057"拿数据?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2011-11-18 11:13:25 | 只看该作者
高深啊,看不懂
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-28 06:45 , Processed in 0.065159 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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