ww-nlc 发表于 2010-7-1 15:24:18

LoadRunner 9.1 测试MMS流媒体遇到的问题

我用 LoadRunner9.1 测试MMS流媒体时,脚本是在网上找的,如下:
        mms_play( "test1.wmv",
                "URL=mms://xxx.xxx.xxx.xxx/2010-LE-00003/test1.wmv",
                "duration=-1",
                "starttime=0",
                LAST );

        mms_close();
        return 0;

wmload.asf文件也已经拷到了服务器发布点的根目录,回放时不再报 wmload.asf 找不到的错误。
现在的问题是脚本回放时,流媒体服务器那边的“已连接的客户端数”不发生变化,一直是零,应该是没连上,可是日志中看不出什么异常,日志如下:
Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(3): MMS Replay : Play "mms://xxx.xxx.xxx.xxx/2010-LE-00003/test1.wmv"
Action.c(3): Notify: Transaction "test1.wmv" started.
Action.c(3): Notify: Transaction "test1.wmv_conn" started.
Action.c(3): Notify: Transaction "test1.wmv_conn" ended with "Pass" status (Duration: 0.0046).
Action.c(3): Debug message:List of Media attributes...
    Attribute         Duration :8095090000
    Attribute            Bitrate :238900
    Attribute         Seekable :true
    Attribute          Stridable :true
    Attribute          Broadcast :false
    Attribute       Is_Protected :false
    Attribute         Is_Trusted :false
    Attribute   Signature_Name :
    Attribute         HasAudio :true
    Attribute         HasImage :false
    Attribute          HasScript :false
    Attribute         HasVideo :true
    Attribute   CurrentBitrate :225000
    Attribute   OptimalBitrate :225000
    AttributeHasAttachedImages :false
    AttributeCan_Skip_Backward :false
    Attribute   Can_Skip_Forward :false
    Attribute         FileSize :23540570
    Attribute HasArbitraryDataStream :false
    Attribute HasFileTransferStream :false
    Attribute WM/ContainerFormat :1
    Attribute      WMFSDKVersion :9.00.00.3250
    Attribute       WMFSDKNeeded :0.0.0.0000
    Attribute            IsVBR :false
    Attribute WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_URL :test1.wmv
    Attribute WMS_CONTENT_DESCRIPTION_COPIED_METADATA_FROM_PLAYLIST_FILE :1
    Attribute WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_DURATION :809509
    Attribute WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_START_OFFSET :5000
    Attribute WMS_CONTENT_DESCRIPTION_SERVER_BRANDING_INFO :WMServer/9.5
Action.c(3): Debug message:List of Stream attributes...
Stream #1 Information:
    Major Type   : Audio
    Sub Type       : PCM
    Fixed Sampling : true
    Compression    : false
Stream #2 Information:
    Major Type   : Video
    Fixed Sampling : true
    Compression    : false
Action.c(3): Debug message:Start reading streams...
Action.c(3): Notify: Transaction "test1.wmv_read" started.
Action.c(3): Notify: Transaction "test1.wmv_first" started.
Action.c(3): Notify: Transaction "test1.wmv_first" ended with "Pass" status (Duration: 0.4866).
Action.c(3): Debug message:Start reading streams...
Action.c(3): Notify: Transaction "test1.wmv_read" ended with "Pass" status (Duration: 809.4328).
Action.c(3): Notify: Transaction "test1.wmv" ended with "Pass" status (Duration: 809.5246).
请高手帮忙看看是什么原因,到底连上了没有?
页: [1]
查看完整版本: LoadRunner 9.1 测试MMS流媒体遇到的问题