51Testing软件测试论坛

标题: flex_rtmp_connect与flex_rtmp_receive_stream函数连接的地址不一致? [打印本页]

作者: burnt51    时间: 2011-11-3 13:13
标题: flex_rtmp_connect与flex_rtmp_receive_stream函数连接的地址不一致?
软件版本: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"拿数据?
作者: prili    时间: 2011-11-18 11:13
高深啊,看不懂




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