51Testing软件测试论坛

标题: 回放webserver 协议脚本 [打印本页]

作者: evergreenwang    时间: 2007-5-31 09:42
标题: 回放webserver 协议脚本
使用loadrunner 8.0 录制应用服务器为websphere 结构的应用 使用协议为webserver 回放如下结果!出现很多 MMSG-26392和Warning -26594,如何解决!!


Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(7): web_add_auto_header("SOAPAction") was successful          [MsgId: MMSG-26392]
Action.c(10): web_add_auto_header("User-Agent") was successful          [MsgId: MMSG-26392]
Action.c(13): Warning -26594: The header being added may cause unpredictable results if applied to ALL the URLs generated on behalf of the next script function. It will apply to the primary URL only.          [MsgId: MWAR-26594]
Action.c(13): web_add_header("Content-Type") highest severity level was "warning"          [MsgId: MMSG-26391]
Action.c(15): soap_request "login" started.
Action.c(15): soap_request "login" was successful
Action.c(34): Warning -26594: The header being added may cause unpredictable results if applied to ALL the URLs generated on behalf of the next script function. It will apply to the primary URL only.          [MsgId: MWAR-26594]
Action.c(34): web_add_header("Content-Type") highest severity level was "warning"          [MsgId: MMSG-26391]
Action.c(36): soap_request "login_2" started.
Action.c(36): soap_request "login_2" was successful
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
vuser_end.c(4): web_add_header("SOAPAction") was successful          [MsgId: MMSG-26392]
vuser_end.c(7): web_add_header("User-Agent") was successful          [MsgId: MMSG-26392]
vuser_end.c(12): Warning -26594: The header being added may cause unpredictable results if applied to ALL the URLs generated on behalf of the next script function. It will apply to the primary URL only.          [MsgId: MWAR-26594]
vuser_end.c(12): web_add_header("Content-Type") highest severity level was "warning"          [MsgId: MMSG-26391]
vuser_end.c(14): soap_request "login_3" started.
vuser_end.c(14): soap_request "login_3" was successful
Ending action vuser_end.
Vuser Terminated.
作者: evergreenwang    时间: 2007-6-20 11:16
根据其他论坛的的建议,升级到loadrunner 8.1版本,结果问题依旧存在,现在把自动加载的报头去掉,只保留SOAP命令报头,依然可以回放脚本,并发少量用户也没有问题,但是进行大量用户并发时候就出现问题,提示会话关闭,执行失败错误,查找不到原因,
请问有人遇到这样的问题吗??

请帮助!!
作者: rickyzhu    时间: 2007-6-20 13:30
有可能是大用户量的时候,你的系统承受不了那么大的压力。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2