lidiyana 发表于 2016-4-11 17:40:02

自动关联 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)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchtype-left-search.png" (specified by argument number 53)   
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)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchfield_bg.png" (specified by argument number 59)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/images/icon/form/searchtype-right.png" (specified by argument number 62)   
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)   
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)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/xtheme/button/btn.gif" (specified by argument number 71)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/button/arrow.gif" (specified by argument number 74)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/title/tab.gif" (specified by argument number 77)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/yellow/images/xtheme/menu/menu.gif" (specified by argument number 80)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow.png" (specified by argument number 83)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow-lr.png" (specified by argument number 86)   
Action.c(42): Downloading resource "http://172.16.10.50:8080/css/themes/default/images/xtheme/shadow-c.png" (specified by argument number 89)   
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)   
Action.c(42): Error -35049: No match found for the requested parameter "JSESSIONID". Check whether the requested regular expression exists in the response data   
Action.c(42): Error -35049: No match found for the requested parameter "Table". Check whether the requested regular expression exists in the response data   
Action.c(42): web_submit_form("login.do;jsessionid=A33DBEB72933D88C26B68B75405142B5") highest severity level was "ERROR", 58423 body bytes, 6138 header bytes   
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:44

报错:没有取到JSESSIONID。

lidiyana 发表于 2016-4-12 08:26:33

fhhh_eyou 发表于 2016-4-11 18:10
报错:没有取到JSESSIONID。

大侠,怎么破呢?问dev?

lidiyana 发表于 2016-4-12 08:28:08

MD5的密码怎么搞?
"Name=pass", "Value=c4dc917246d03a33e80de6c71d08d6b8", ENDITEM 密码:000000被加密成这样
页: [1]
查看完整版本: 自动关联 MsgId: MERR-35049