51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1983|回复: 2
打印 上一主题 下一主题

[原创] 回放webserver 协议脚本

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-5-31 09:42:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用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.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2007-6-20 11:16:17 | 只看该作者
根据其他论坛的的建议,升级到loadrunner 8.1版本,结果问题依旧存在,现在把自动加载的报头去掉,只保留SOAP命令报头,依然可以回放脚本,并发少量用户也没有问题,但是进行大量用户并发时候就出现问题,提示会话关闭,执行失败错误,查找不到原因,
请问有人遇到这样的问题吗??

请帮助!!
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2007-6-20 13:30:00 | 只看该作者
有可能是大用户量的时候,你的系统承受不了那么大的压力。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-8 06:05 , Processed in 0.067778 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表