cocodeng 发表于 2008-7-9 12:46:50

负载下的事务响应时间

绿色部分就是Vuser集合后的事务,为什么Vuser越多,事务响应时间越来越小的?麻烦大家帮帮忙,小女子感激不尽。

cocodeng 发表于 2008-7-9 12:50:02

麻烦帮帮忙

[ 本帖最后由 cocodeng 于 2008-7-9 12:52 编辑 ]

iori 发表于 2008-7-9 13:12:29

录制的什么操作?场景是如何设置的?

cocodeng 发表于 2008-7-10 12:41:07

脚本是这样的:
int b;
        lr_rendezvous("downl");
    lr_start_transaction("kaishi");

        web_url("gz",
                "URL=http://192.168.2.30:3006/gz",
                "TargetFrame=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/images/MTHLogo.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/Pages/MIP/Images/tabss_menu_itemA_bg.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/images/MIPForumRed.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/images/MIPForumBlueLine.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/Pages/MIP/Images/tabss_menu_item_bg.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/images/MIPForumRedLine.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/images/MIPForumYellow.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                "Url=/images/MIPForumGreen.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
                LAST);

        b=web_find("ÑéÖ¤ÊÇ·ñÕÒµ½½Å±¾","what=»¶Ó­");
        if(b==0){lr_message("ÕÒµ½ÑéÖ¤Îı¾£º»¶Ó­");
        }

        web_url("NewAchievement.aspx",
                "URL=http://192.168.2.30:3006/Pages/MIP/Achievement/NewAchievement.aspx?REGION=&TYPE=",
                "TargetFrame=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx",
                "Snapshot=t2.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/gz/images/swflash.cab", "Referer=", ENDITEM,
                LAST);
web_url("tabss_titleBar_bg.gif",
                "URL=http://192.168.2.30:3006/Pages/MIP/Images/tabss_titleBar_bg.gif",
                "TargetFrame=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx",
                "Snapshot=t3.inf",
                "Mode=HTML",
                LAST);
   web_url("MIP",
                "URL=http://192.168.2.30:3006/Pages/MIP/",
                "TargetFrame=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.30:3006/Pages/MIP/BBSShowNewsImg.aspx",
                "Snapshot=t4.inf",
                "Mode=HTML",
                LAST);

        lr_end_transaction("kaishi", LR_AUTO);
        return 0;
}

场景是每两秒增加20个Vuser。
页: [1]
查看完整版本: 负载下的事务响应时间