|
3#
楼主 |
发表于 2012-8-29 08:56:57
|
只看该作者
回复 2# 云层
那用http协议可以录gwt框架的东西吗?我之前用web(http/html)录过,可一回放的时候就报错,这是部分录的代码
web_custom_request("apConfigureServiceController.do",
"URL=http://10.10.77.15:7001/Center/apConfigureServiceController.do",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://10.10.77.15:7001/Center/",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=text/x-gwt-rpc; charset=utf-8",
"Body=6|0|4|http://10.10.77.15:7001/Center/centerconsole/|CA572247D9B4F87464FEB057C56E1E96|net.carefx.ap.web.gwt.client.service.ApConfigureService|getApConfigure|1|2|3|4|0|",
LAST);
lr_start_transaction("login");
lr_think_time(24);
web_custom_request("loginService.do",
"URL=http://10.10.77.15:7001/Center/centerconsole/loginService.do",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://10.10.77.15:7001/Center/",
"Snapshot=t9.inf",
"Mode=HTML",
"EncType=text/x-gwt-rpc; charset=utf-8",
"Body=6|0|7|http://10.10.77.15:7001/Center/centerconsole/|5C87B5E1F034DB690DC5AB20387D7511|com.supcon.center.security.client.service.LoginService|validate|java.lang.String/2004016611|heren|1111|1|2|3|4|2|5|5|6|7|",
LAST);
web_custom_request("resourcesService.do",
"URL=http://10.10.77.15:7001/Center/centerconsole/resourcesService.do",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://10.10.77.15:7001/Center/",
"Snapshot=t10.inf",
"Mode=HTML",
"EncType=text/x-gwt-rpc; charset=utf-8",
"Body=6|0|6|http://10.10.77.15:7001/Center/centerconsole/|B6FDC5B998A1EF4590AF684611671B9A|com.supcon.center.rbac.client.service.ResourcesService|findResourceById|java.lang.String/2004016611|heren|1|2|3|4|1|5|6|",
LAST);
lr_end_transaction("login",LR_AUTO);
一直报
Action.c(49): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://10.10.77.15:7001/Center/apConfigureServiceController.do" [MsgId: MERR-26612]
Action.c(49): web_custom_request("apConfigureServiceController.do") highest severity level was "ERROR", 57 body bytes, 121 header bytes [MsgId: MMSG-26388]
然后我查看了该项目对应的weblogic的日志,日志里面记录的是
ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <5a0f9cb30a6fd9e0:6e6ebb55:1392e8a4292:-8000-00000000000052ec> <1346120818734> <BEA-000000> <Exception while dispatching incoming RPC call
javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'.
我问开发人员 开发人员说是空指针,然后就没理我了。
我也不知道该怎么办了 |
|