51Testing软件测试论坛

标题: 分析结果中事务与action的时间 [打印本页]

作者: hbxtly    时间: 2011-5-27 15:56
标题: 分析结果中事务与action的时间
Action()
{

     int i=0;

    lr_rendezvous("首页");

    web_reg_find("Text=鐑棬缃戞父",
                 "SaveCount=count",
        LAST);

    lr_start_transaction("网游首页");

    web_url("djnetgame",
        "URL=http://192.168.0.154:7011/djnetgame/wml/ngcs.jw?",
        "TargetFrame=",
        "Resource=0",
        "RecContentType=text/html",
        "Referer=",
        "Snapshot=t1.inf",
        LAST);

    lr_end_transaction("网游首页",LR_AUTO);

    i=atoi(lr_eval_string("{count}"));

    if(i==0)
    {
        lr_error_message("Failed");
    }
    else
        lr_output_message("Pass");

   
    return 0;
}
以上为我的脚本

请教下为什么分析结果里90%的响应时间会有这么大的差别
[attach]73247[/attach]
作者: hbxtly    时间: 2011-5-27 15:57
action的时间过长是和检查点的查询结果有关系?




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