wang_nning 发表于 2008-6-4 09:42:00

Transaction Response Time问题

弱弱的问大家一下,Transaction Response Time中vuser_end_transaction和vuser_init_Transaction指的是什么?如果两个都为零又是什么意思呢?

Zee 发表于 2008-6-4 09:47:14

里面没脚本吧。
默认情况下,LR把每个action当做一个事务。

wang_nning 发表于 2008-6-4 09:55:10

回复 2# 的帖子

脚本如下:

#include "web_api.h"


Action()
{
        web_url("tais_web",
                "URL=http://192.168.2.55:3001/tais_web",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);

        web_add_cookie("user=3701000071; DOMAIN=192.168.2.55");

        web_add_cookie("password=MTIz; DOMAIN=192.168.2.55");

        web_add_cookie("savePassword=true; DOMAIN=192.168.2.55");

        web_add_cookie("lastuser=3701000071; DOMAIN=192.168.2.55");

        web_url("login3.do",
                "URL=http://192.168.2.55:3001/tais_web/rbac/login3.do",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t2.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/DL_07.gif", ENDITEM,
                "Url=../images/DL_08.gif", ENDITEM,
                LAST);

        lr_think_time( 2 );

        lr_start_transaction("logon");

        lr_think_time( 4 );

        web_submit_data("loginAction3.do",
                "Action=http://192.168.2.55:3001/tais_web/rbac/loginAction3.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/rbac/login3.do",
                "Snapshot=t3.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=password", "Value=D9840773233FA6B19FDE8CAF765402F5", ENDITEM,
                "Name=loginName", "Value=3701000071", ENDITEM,
                "Name=passwordA", "Value=123", ENDITEM,
                "Name=com.cvicse.rbac.attachCode", "Value=", ENDITEM,
                "Name=remember", "Value=true", ENDITEM,
                "Name=imageField.x", "Value=47", ENDITEM,
                "Name=imageField.y", "Value=13", ENDITEM,
                EXTRARES,
                "Url=../images/bar_left_bg.gif", ENDITEM,
                "Url=desktoplr/images/top_02.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/top3.jsp", ENDITEM,
                "Url=../img/splitpanel/vertical_left.gif", ENDITEM,
                "Url=../img/splitpanel/vertical_right.gif", ENDITEM,
                "Url=../img/BSTreeView/Pplus.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/close.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/I.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/L.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/Tplus.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/T.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/Lplus.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/BSTreeView/empty.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=desktoplr/images/bot_02.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/bottom.htm", ENDITEM,
                "Url=desktoplr/images/bot_bg.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/bottom.htm", ENDITEM,
                "Url=../img/BSTreeView/jsdoc.gif", "Referer=http://192.168.2.55:3001/tais_web/rbac/desktoplr/menuTree.jsp", ENDITEM,
                "Url=../img/tabpane/close.gif", ENDITEM,
                LAST);

        web_url("gztListQueryAction.do",
                "URL=http://192.168.2.55:3001/tais_web/tais/gztListQueryAction.do?operFlag=query",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/rbac/loginAction3.do",
                "Snapshot=t4.inf",
                "Mode=HTML",
                LAST);

        lr_think_time( 2 );

        lr_end_transaction("logon", LR_AUTO);

        lr_think_time( 7 );

        web_url("sjfqListQueryAction.do",
                "URL=http://192.168.2.55:3001/tais_web/tais/sjfqListQueryAction.do?operFlag=allQuery&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/rbac/loginAction3.do",
                "Snapshot=t5.inf",
                "Mode=HTML",
                LAST);

        web_url("sjfqListQueryAction.do_2",
                "URL=http://192.168.2.55:3001/tais_web//tais/sjfqListQueryAction.do?operFlag=query&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/tais/sjfqListQueryAction.do?operFlag=allQuery&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX",
                "Snapshot=t6.inf",
                "Mode=HTML",
                LAST);

        web_url("sjfqPersistentAction.do",
                "URL=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do?operFlag=addin&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t7.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/CX_bg94.gif", "Referer=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do?operFlag=addin&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=", ENDITEM,
                LAST);

        lr_think_time( 7 );

        lr_start_transaction("query");

        lr_think_time( 8 );

        web_submit_data("sjfqPersistentAction.do_2",
                "Action=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do?operFlag=addin&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=",
                "Snapshot=t8.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=operFlag", "Value=query", ENDITEM,
                "Name=procDefId", "Value=nspg:nspgflow", ENDITEM,
                "Name=actDefId", "Value=sjpggcl", ENDITEM,
                "Name=pgdxLx", "Value=ZX", ENDITEM,
                "Name=id", "Value=", ENDITEM,
                "Name=userId", "Value=13701000000", ENDITEM,
                "Name=targetBranchId", "Value=", ENDITEM,
                "Name=qyjbxxQO.nsrsbh", "Value=", ENDITEM,
                "Name=qyjbxxQO.nsrmc", "Value=", ENDITEM,
                "Name=qyjbxxQO.qyzclx", "Value=", ENDITEM,
                "Name=qyjbxxQO.hy", "Value=", ENDITEM,
                "Name=czry", "Value=", ENDITEM,
                "Name=qyjbxxQO.swjg", "Value=", ENDITEM,
                "Name=swjgdm", "Value=", ENDITEM,
                "Name=qyjbxxQO.zczjStr", "Value=", ENDITEM,
                "Name=qyjbxxQO.maxZczjStr", "Value=", ENDITEM,
                "Name=qyjbxxQO.sz", "Value=ZZS", ENDITEM,
                "Name=qyjbxxQO.nsrxz", "Value=ZZS1", ENDITEM,
                "Name=qyjbxxQO.pgssqj1", "Value=", ENDITEM,
                "Name=qyjbxxQO.pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyjbxxQO.pgssqj2", "Value=", ENDITEM,
                "Name=checkbox1", "Value=checkbox", ENDITEM,
                "Name=yj", "Value=", ENDITEM,
                "Name=pagesize", "Value=10", ENDITEM,
                "Name=page.index", "Value=1", ENDITEM,
                "Name=page.rows", "Value=10", ENDITEM,
                EXTRARES,
                "Url=../images/CX_bg94.gif", ENDITEM,
                LAST);

        lr_think_time( 1 );

        lr_end_transaction("query", LR_AUTO);

        lr_think_time( 7 );

wang_nning 发表于 2008-6-4 09:58:22

回复 2# 的帖子

web_url("wtElementListQueryAction.do",
                "URL=http://192.168.2.55:3001/tais_web/tais/wtElementListQueryAction.do?operFlag=about&szzbwtVOId=ZZS1&pgssq=2008.02",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t9.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/line_bg1.gif", "Referer=http://192.168.2.55:3001/tais_web/tais/wtElementListQueryAction.do?operFlag=about&szzbwtVOId=ZZS1&pgssq=2008.02", ENDITEM,
                LAST);

        lr_think_time( 4 );

        lr_start_transaction("BC");

        lr_think_time( 4 );

        web_submit_data("sjfqPersistentAction.do_3",
                "Action=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do",
                "Snapshot=t10.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=operFlag", "Value=add", ENDITEM,
                "Name=procDefId", "Value=nspg:nspgflow", ENDITEM,
                "Name=actDefId", "Value=sjpggcl", ENDITEM,
                "Name=pgdxLx", "Value=ZX", ENDITEM,
                "Name=id", "Value=", ENDITEM,
                "Name=userId", "Value=13701000000", ENDITEM,
                "Name=targetBranchId", "Value=ZZS1", ENDITEM,
                "Name=qyjbxxQO.nsrsbh", "Value=", ENDITEM,
                "Name=qyjbxxQO.nsrmc", "Value=", ENDITEM,
                "Name=qyjbxxQO.qyzclx", "Value=", ENDITEM,
                "Name=qyjbxxQO.hy", "Value=", ENDITEM,
                "Name=czry", "Value=", ENDITEM,
                "Name=qyjbxxQO.swjg", "Value=13701000000", ENDITEM,
                "Name=swjgdm", "Value=", ENDITEM,
                "Name=qyjbxxQO.zczjStr", "Value=", ENDITEM,
                "Name=qyjbxxQO.maxZczjStr", "Value=", ENDITEM,
                "Name=qyjbxxQO.sz", "Value=ZZS", ENDITEM,
                "Name=qyjbxxQO.nsrxz", "Value=ZZS1", ENDITEM,
                "Name=qyjbxxQO.pgssqj1", "Value=", ENDITEM,
                "Name=qyjbxxQO.pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyjbxxQO.pgssqj2", "Value=", ENDITEM,
                "Name=checkbox1", "Value=checkbox", ENDITEM,
                "Name=nsrdzdah", "Value=370100000077500-0-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000077551-1-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000103925-2-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000103943-3-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000103946-4-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000103959-5-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000104021-6-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000104027-7-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000104089-8-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=nsrdzdah", "Value=370100000104111-9-000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=sz", "Value=ZZS", ENDITEM,
                "Name=pgssqj", "Value=2008.02", ENDITEM,
                "Name=qyxxList.wt", "Value=000077,000152,000154,000155,000156,000160,000161,000167,000173,000354,000355,000356,000359,000370,000371,000372,000377,000378,000379,000380,000381,000382,000383,000388,000389,000390,000391,000415,000416,000420,000421,000422,000423,000424,000425,000426,000427,000428,", ENDITEM,
                "Name=yj", "Value=", ENDITEM,
                "Name=pagesize", "Value=10", ENDITEM,
                "Name=Pagelist", "Value=1", ENDITEM,
                "Name=page.index", "Value=1", ENDITEM,
                "Name=page.rows", "Value=10", ENDITEM,
                EXTRARES,
                "Url=../images/CX_bg94.gif", ENDITEM,
                LAST);

        web_url("error.jsp",
                "URL=http://192.168.2.55:3001/tais_web/js/error.jsp",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t11.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../skins/images/success.gif", ENDITEM,
                LAST);

        lr_think_time( 3 );

        lr_end_transaction("BC", LR_AUTO);

        lr_think_time( 10 );

wang_nning 发表于 2008-6-4 09:58:44

回复 2# 的帖子

lr_start_transaction("GB");

        lr_think_time( 2 );

        web_submit_data("sjfqListQueryAction.do_3",
                "Action=http://192.168.2.55:3001/tais_web/tais/sjfqListQueryAction.do?operFlag=query&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=ZX37013700080608",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web//tais/sjfqListQueryAction.do?operFlag=query&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=",
                "Snapshot=t12.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=operFlag", "Value=query", ENDITEM,
                "Name=procDefId", "Value=nspg:nspgflow", ENDITEM,
                "Name=actDefId", "Value=sjpggcl", ENDITEM,
                "Name=pgdxLx", "Value=ZX", ENDITEM,
                "Name=id", "Value=ZX37013700080608", ENDITEM,
                "Name=pgqxFlag", "Value=", ENDITEM,
                "Name=boxFlag", "Value=checkbox", ENDITEM,
                LAST);


        lr_end_transaction("GB", LR_AUTO);

        lr_think_time( 16 );

        lr_start_transaction("TJ");

        lr_think_time( 2 );

        web_url("error.jsp_2",
                "URL=http://192.168.2.55:3001/tais_web/js/error.jsp",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t13.inf",
                "Mode=HTML",
                LAST);

        web_submit_data("sjfqPersistentAction.do_4",
                "Action=http://192.168.2.55:3001/tais_web/tais/sjfqPersistentAction.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.2.55:3001/tais_web/tais/sjfqListQueryAction.do?operFlag=query&procDefId=nspg:nspgflow&actDefId=sjpggcl&pgdxLx=ZX&id=ZX37013700080608",
                "Snapshot=t14.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=operFlag", "Value=tijiao", ENDITEM,
                "Name=procDefId", "Value=nspg:nspgflow", ENDITEM,
                "Name=actDefId", "Value=sjpggcl", ENDITEM,
                "Name=pgdxLx", "Value=ZX", ENDITEM,
                "Name=id", "Value=ZX37013700080608", ENDITEM,
                "Name=pgqxFlag", "Value=", ENDITEM,
                "Name=boxFlag", "Value=checkbox", ENDITEM,
                "Name=flowContextId", "Value=WR:772242ZX370137000806080000101", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772242", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772257ZX370137000806080000201", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772257", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772272ZX370137000806080000301", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772272", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772287ZX370137000806080000401", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772287", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772302ZX370137000806080000501", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772302", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772317ZX370137000806080000601", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772317", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772332ZX370137000806080000701", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772332", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772347ZX370137000806080000801", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772347", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772362ZX370137000806080000901", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772362", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                "Name=flowContextId", "Value=WR:772377ZX370137000806080001001", ENDITEM,
                "Name=rwList.flowContextId", "Value=WR:772377", ENDITEM,
                "Name=rwList.pgqx", "Value=03", ENDITEM,
                "Name=rwList.pgry", "Value=13701000082", ENDITEM,
                LAST);

        web_url("error.jsp_3",
                "URL=http://192.168.2.55:3001/tais_web/js/error.jsp",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t15.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../skins/images/success.gif", ENDITEM,
                LAST);


        lr_end_transaction("TJ", LR_AUTO);

        return 0;
}

Zee 发表于 2008-6-4 10:17:35

你的脚本都在中间的action里,在init和end里并没有。

liming_oicq 发表于 2008-6-4 10:53:59

把所要关注的地方设置成事务,就能知道这一步的响应时间,也可以把整个ACTION做为一个事务(run time setting中设置)
关键看你想要知道哪部分的响应时间

如果在action中又定义了事务,那么他们的TPS应该都是一样的

wang_nning 发表于 2008-6-4 11:59:04

回复 6# 的帖子

一般放在init和end里面的都是什么事务呢?

flying-kite 发表于 2008-6-4 23:38:04

vuser_init_Transaction记录用户登录过程(但注意集合点必须放在Action里设置)
vuser_end_transaction记录用户注销过程

angelwamy 发表于 2008-6-5 12:54:43

学习一下:lol
页: [1]
查看完整版本: Transaction Response Time问题