loadrunner脚本回放Error -26612: HTTP Status-Code=500问题
有人在没?想请教个问题
我录制的脚本回放时总是报错:Action.c(538): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://10.1.251.71:9088/console/uploads/upload_pics.do"
Action.c(538): web_submit_data("upload_pics.do") highest severity level was "ERROR", 5439 body bytes, 304 header bytes
看日志有错误:****** Start Log Message ******
Web Recorder version : 9.50.0.3031
Recording Mode: URL-Based script
Using concurrent groups
Correlation is enabled system wide
Not recording headers
Not excluding content types
Do not record this content types as a resource:
text/html
text/xml
Reset context between actions
Protocol Type: Multi-QTWeb
$$$$$$ End Log Message $$$$$$
Code generation version: 9.50.0.3010
****** Request Header For Transaction With Id 3 ******
GET http://10.1.251.71:9088/console/login.jsp HTTP/1.0
Accept: */*
Accept-Language: zh-cn
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET4.0C; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Host: 10.1.251.71:9088
Proxy-Connection: Keep-Alive
$$$$$$ Request Header For Transaction With Id 3 Ended $$$$$$
****** Response Header For Transaction With Id 3 ******
HTTP/1.0 407 Proxy Authentication Required
Server: squid/3.0.STABLE25
Mime-Version: 1.0
Date: Thu, 23 Feb 2012 02:03:20 GMT
Content-Type: text/html
Content-Length: 1970
X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
X-Cache: MISS from Squid_VM2.asiainfo-linkage.com
Via: 1.0 Squid_VM2.asiainfo-linkage.com (squid/3.0.STABLE25)
Proxy-Connection: close
$$$$$$ Response Header For Transaction With Id 3 Ended $$$$$$
****** Response Body For Transaction With Id 3 ******
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ERROR: Cache Access Denied</title>
<style type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>
</head>
<body>
<h1>ERROR</h1>
<h2>Cache Access Denied.</h2>
<hr>
<p>The following error was encountered while trying to retrieve the URL: <a href="http://10.1.251.71:9088/console/login.jsp">http://10.1.251.71:9088/console/login.jsp</a></p>
<blockquote>
<p><b>Cache Access Denied.</b></p>
</blockquote>
<p>Sorry, you are not currently allowed to request http://10.1.251.71:9088/console/login.jsp from this cache until you have authenticated yourself.</p>
<p>Please contact the <a href="mailto:yuguo@asiainfo.com?subject=CacheErrorInfo%20-%20ERR_CACHE_ACCESS_DENIED&body=CacheHost%3A%20Squid_VM2.asiainfo-linkage.com%0D%0AErrPage%3A%20ERR_CACHE_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Thu,%2023%20Feb%202012%2002%3A03%3A20%20GMT%0D%0A%0D%0AClientIP%3A%2010.1.1.25%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Fconsole%2Flogin.jsp%20HTTP%2F1.0%0AAccept%3A%20*%2F*%0D%0AAccept-Language%3A%20zh-cn%0D%0AUser-Agent%3A%20Mozilla%2F4.0%20(compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%3B%20SV1%3B%20.NET4.0C%3B%20.NET%20CLR%202.0.50727%3B%20.NET%20CLR%203.0.04506.30%3B%20.NET%20CLR%203.0.4506.2152%3B%20.NET%20CLR%203.5.30729%3B%20InfoPath.2)%0D%0AHost%3A%2010.1.251.71%3A9088%0D%0AProxy-Connection%3A%20Keep-Alive%0D%0AX-Forwarded-For%3A%2010.1.32.151%0D%0A%0D%0A%0D%0A">cache administrator</a> if you have difficulties authenticating yourself or <a href="http://Squid_VM2.asiainfo-linkage.com/cgi-bin/chpasswd.cgi">change</a> your default password.</p>
<br>
<hr>
<div id="footer">Generated Thu, 23 Feb 2012 02:03:20 GMT by Squid_VM2.asiainfo-linkage.com (squid/3.0.STABLE25)</div>
</body></html>
使用树结构,单步执行,查看快照,也是到那一步,页面出错,信息是:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
谁能帮我看看啊? 空指针报错,程序有问题,请开发方面修改程序。
页:
[1]