jonish 发表于 2013-9-6 17:02:48

[求助]loadrunner 脚本执行慢的问题

本帖最后由 jonish 于 2013-9-6 17:24 编辑

web_custom_request("LightWorkflowStat.getWorkStat.dwr",
                "URL=http://192.168.218.32/hollycrm/dwr/exec/LightWorkflowStat.getWorkStat.dwr",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/plain",
                "Referer=http://192.168.218.32/hollycrm/service/lightworkflow/ticket_common/work_activity.jsp",
                "Snapshot=t318.inf",
                "Mode=HTTP",
                "EncType=text/plain",
                "Body=callCount=1\nc0-scriptName=LightWorkflowStat\nc0-methodName=getWorkStat\nc0-id=8468_1378456187468\nc0-param0=null:null\nc0-param1=string:000262\nxml=true\n",
                LAST);

        web_custom_request("UserSettingTransfer.getCascadeMenuByTable.dwr_2",
                "URL=http://192.168.218.32/hollycrm/dwr/exec/UserSettingTransfer.getCascadeMenuByTable.dwr",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/plain",
                "Referer=http://192.168.218.32/hollycrm/login_msg.jsp",
                "Snapshot=t319.inf",
                "Mode=HTTP",
                "EncType=text/plain",
                "Body=callCount=1\nc0-scriptName=UserSettingTransfer\nc0-methodName=getCascadeMenuByTable\nc0-id=6810_1378456189718\nc0-param0=string:desktopmenu\nxml=true\n",
                LAST);


签到脚本,页面直接点击的时候很快,但是录制成脚本后,执行却很慢,大概13s左右,请问各位大神这是个什么原因呢?是没有关联的原因么?我比对了2个脚本,发现美什么需要关联的啊,我看了下主要是dwr请求耗时比较多.这是什么原因呢?


        web_custom_request("UserSettingTransfer.getNavMenu.dwr",
                "URL=http://192.168.218.32/hollycrm/dwr/exec/UserSettingTransfer.getNavMenu.dwr",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/plain",
                "Referer=http://192.168.218.32/hollycrm/portal.jsp",
                "Snapshot=t44.inf",
                "Mode=HTTP",
                "EncType=text/plain",
                "Body=callCount=1\n"
                "c0-scriptName=UserSettingTransfer\n"
                "c0-methodName=getNavMenu\n"
                "c0-id=6996_1378456060515\n"
                "c0-param0=string:business\n"
                "xml=true\n",
                LAST);

jonish 发表于 2013-9-7 08:28:18

:'(什么原因呢?求大神指点
页: [1]
查看完整版本: [求助]loadrunner 脚本执行慢的问题