51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2205|回复: 3
打印 上一主题 下一主题

[原创] lr8.1+fp4测试webservice遇到的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-8-14 13:42:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位大侠请帮忙解决一下:我在录制webservice时遇到这样的问题:
录制的脚本:
Action()
{

        web_service_call( "StepName=fun_GetBrand_109",
                "SOAPMethod=Witps3WSReportOnline.Witps3WSReportOnlineSoap.fun_GetBrand",
                "ResponseParam=response",
                "Service=Witps3WSReportOnline",
                "Snapshot=t1250226381.inf",
                BEGIN_ARGUMENTS,
                END_ARGUMENTS,
                BEGIN_RESULT,
                END_RESULT,
                LAST);


        lr_think_time(3);

        return 0;
}

脚本回放时出现的错误:

Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Web service call "fun_GetBrand_109" started
Action.c(4): Error: C interpreter run time error: Action.c (4):  Error -- memory violation : Exception ACCESS_VIOLATION received.
Action.c(4): Notify: CCI trace: Action.c(4): web_service_call(0x010f0217 "StepName=fun_GetBrand_109", 0x010f01d1 "SOAPMethod=Witps3WSReportOnline.Witps3WS...", 0x010f01ba "ResponseParam=response", 0x010f019d "Service=Witps3WSReportOnline", 0x010f0184 "Snapshot=t1250226381.inf", 0x010f0174.
Action.c(4): Notify: CCI trace:  "BEGIN_ARGUMENTS", 0x010f0166 "END_ARGUMENTS", 0x010f0159 "BEGIN_RESULT", 0x010f014e "END_RESULT", 0x010f0149 "LAST")
.
Action.c(4): Notify: CCI trace: Compiled_code(0): Action()
.
Error: Exception was raised when calling event-notify Vuser function in extension trans.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Ending Vuser...
Starting action vuser_end.
Error: Exception was raised when calling event-notify Vuser function in extension trans.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Error: Failed to end Transaction "vuser_end_Transaction" (by name). Please check that you made a call to start transaction operation.
Ending action vuser_end.
Vuser Terminated.


我是一个新手,请大家帮忙解决一下。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2009-8-14 13:43:46 | 只看该作者
俺也是新手,看都看不懂,爱莫能助
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2009-8-17 19:34:59 | 只看该作者
你是录制, 还是直接插入web service call.  为什么input argument没有值.
另外提供下脚本创建环境和执行环境
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2009-8-19 13:42:02 | 只看该作者
设置“ run-time-setting-->webserivce-->Client Emulation-->.Net”试试
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-5-3 17:29 , Processed in 0.115512 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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