51Testing软件测试论坛

标题: 自动关联 MsgId: MERR-35049 [打印本页]

作者: lidiyana    时间: 2016-4-11 17:40
标题: 自动关联 MsgId: MERR-35049
Loadrunner 12 自动关联 报错:

Action()
{


/*Correlation comment - Do not change!  Original value='A33DBEB72933D88C26B68B75405142B5' Name ='JSESSIONID' Type ='ResponseBased'*/
    web_reg_save_param_regexp(
        "ParamName=JSESSIONID",
        "RegExp=jsessionid=(.*?)\",hrefTarget:",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        "RequestUrl=*/welcome.do*",
        LAST);

/*Correlation comment - Do not change!  Original value='VDJ_CPXX' Name ='Table' Type ='ResponseBased'*/
    web_reg_save_param_regexp(
        "ParamName=Table",
        "RegExp=Table=(.*?)\",hrefTarget:",
        "Ordinal=2",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        "RequestUrl=*/welcome.do*",
        LAST);

    web_submit_form("login.do;jsessionid=A33DBEB72933D88C26B68B75405142B5",
        "Snapshot=t44.inf",
        ITEMDATA,
        "Name=userId", "Value=JMJlr", ENDITEM,
        "Name=pass", "Value=c4dc917246d03a33e80de6c71d08d6b8", ENDITEM,
        "Name=image.x", "Value=21", ENDITEM,
        "Name=image.y", "Value=13", ENDITEM,
        




Output file:


Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/title/ico_color.png" (specified by argument number 50)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchtype-left-search.png" (specified by argument number 53)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/title/ico_process_ico.png" (specified by argument number 56)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchfield_bg.png" (specified by argument number 59)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchtype-right.png" (specified by argument number 62)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/qtip/tip-sprite.gif" (specified by argument number 65)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/qtip/tip-anchor-sprite.gif" (specified by argument number 68)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/xtheme/button/btn.gif" (specified by argument number 71)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/button/arrow.gif" (specified by argument number 74)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/title/tab.gif" (specified by argument number 77)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/xtheme/menu/menu.gif" (specified by argument number 80)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow.png" (specified by argument number 83)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow-lr.png" (specified by argument number 86)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow-c.png" (specified by argument number 89)   [MsgId: MMSG-26577]
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/xtheme/menu/item-over.gif" (specified by argument number 92)   [MsgId: MMSG-26577]
Action.c(42): Error -35049: No match found for the requested parameter "JSESSIONID". Check whether the requested regular expression exists in the response data   [MsgId: MERR-35049]
Action.c(42): Error -35049: No match found for the requested parameter "Table". Check whether the requested regular expression exists in the response data   [MsgId: MERR-35049]

Action.c(42): web_submit_form("login.do;jsessionid=A33DBEB72933D88C26B68B75405142B5") highest severity level was "ERROR", 58423 body bytes, 6138 header bytes   [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


作者: fhhh_eyou    时间: 2016-4-11 18:10
报错:没有取到JSESSIONID。
作者: lidiyana    时间: 2016-4-12 08:26
fhhh_eyou 发表于 2016-4-11 18:10
报错:没有取到JSESSIONID。

大侠,怎么破呢?问dev?
作者: lidiyana    时间: 2016-4-12 08:28
MD5的密码怎么搞?
  "Name=pass", "Value=c4dc917246d03a33e80de6c71d08d6b8", ENDITEM 密码:000000被加密成这样




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