标题: 如果Sessionid 不出现在脚本中,关联取不到值? [打印本页] 作者: fessor21 时间: 2010-1-27 18:42 标题: 如果Sessionid 不出现在脚本中,关联取不到值? Sessionid 不出现在脚本中, 可以在
Generation log 查询到!这种情况不可以做关联?
如果处理呢?谢谢!
==
//1 define "Testform" to get the value of TestForm
web_reg_save_param("TestForm",
"LB=TestFORM=",
"RB=;",
"Ord=1",
"RelFrameId=1",
"Search=Headers",
"IgnoreRedirections=Yes",
LAST);
//2. define "sessionid" to get the value of sessionid
web_reg_save_param("sessionid",
"LB=ASP.NET_SessionId=",
"RB=;",
"Ord=1",
"RelFrameId=1",
"Search=Headers",
"IgnoreRedirections=Yes",
LAST);
Action.c(33): Error -26377: No match found for the requested parameter "TestForm". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(33): Notify: Saving Parameter "TestForm = "
Action.c(33): Error -26377: No match found for the requested parameter "sessionid". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(33): Notify: Saving Parameter "sessionid = "
/// Generation log:
***** Request Header For Transaction With Id 75 ******
GET /Testtest/images/Menu/payment.gif HTTP/1.1
Accept: */*
Referer: http://192.168.0.1/Testtest/home.aspx
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; CIBA; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Host: 192.168.0.1
Connection: Keep-Alive
Cookie: TestFORM=2E14725C557DD95FE2F0C5DF99B4CB8AA9EEA6DDAF7799724A95E6761E214E5776EB28147778B1D1A59951C53E8A7F4F8AD78EF10ECC16CBBC96AB56C3FA88BD; ASP.NET_SessionId=etxx4n45b31nda45ywhinimz; Testuser=1; Testuserpwd=1
== B. Replay Log:
vuser_init.c(23): Error -26377: No match found for the requested parameter "sessionid". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
== C. generation log
****** Request Header For Transaction With Id 47 ******
GET /testtest/ValidateUser/Login.aspx HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; CIBA; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Host: 192.168.1.20
Connection: Keep-Alive
Cookie: testFORM=4E3D99BD7A83A47E4F67CBE989DEA24D533F563BFEBE70560CB7E3CD4C1A008CC827AF2EA9ABDD0F2333A6EA9EEEFCEF164C26CDC49A484A02BC0A76A04B30A5
$$$$$$ Request Header For Transaction With Id 47 Ended $$$$$$
****** Response Header For Transaction With Id 47 ******
HTTP/1.1 200 OK
Date: Thu, 28 Jan 2010 01:18:25 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=puyt0n55ahot3i55jhqpfn45; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 7107