|
我在vugen中已经设置了非资源超时报警(run-time settings->internet protocol->preferences->advanced->non-critical resources as warnings):
可是为什么在并发测试时,controller还是会报错如下:
======================================
Action.c(24): Continuing after Error -27728: Step download timeout (120 seconds) has
expired when downloading non-resource(s)
======================================
在这之后又报了一个错误:
-------------------------------------------------------------
Action.c(21): Continuing after Error -27190: No match found for the requested parameter "JSESSIONID3". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size
-------------------------------------------------------------
脚本如下:
************************************************************
#include "as_web.h"
Action()
{
lr_rendezvous("login");
lr_start_transaction("login");
web_set_max_html_param_len("8192");
/* Registering parameter(s) from source task id 2
// {JSESSIONID3} = "abclp4wXNp7mEgnrYUhwr"
// */
web_reg_save_param("JSESSIONID3",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"RelFrameId=1",
"Search=body",
LAST);
web_url("index.do",
"URL=http://10.10.2.63:8080/netshop/front/index.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/bg2.gif", ENDITEM,
"URL=http://www.cnknow.com/images/media/pixviewer.swf", ENDITEM,
"URL=http://blog.cnknow.com/attachments/month_0603/3.jpg", ENDITEM,
"URL=http://blog.cnknow.com/attachments/month_0603/1.jpg", ENDITEM,
"URL=../images/dh-01.gif", ENDITEM,
"URL=../images/index-line-01.gif", ENDITEM,
"URL=http://blog.cnknow.com/attachments/month_0603/2.jpg", ENDITEM,
"URL=../images/login03.gif", ENDITEM,
"URL=../images/footerbg.gif", ENDITEM,
"URL=../images/ph03.gif", "Referer=http://10.10.2.63:8080/netshop/front/topSales.do?location=index&jsessionid={JSESSIONID3}", ENDITEM,
"URL=../images/rx-03.gif", "Referer=http://10.10.2.63:8080/netshop/front/promotionList.do", ENDITEM,
"URL=../images/cx04.gif", "Referer=http://10.10.2.63:8080/netshop/front/goodsList.do?jsessionid={JSESSIONID3}", ENDITEM,
"URL=../images/cx03.gif", "Referer=http://10.10.2.63:8080/netshop/front/goodsList.do?jsessionid={JSESSIONID3}", ENDITEM,
LAST);
lr_end_transaction("login", LR_AUTO);
return 0;
}
************************************************************ |
|