51Testing软件测试论坛

标题: lr8.1+fp4测试webservice遇到的问题 [打印本页]

作者: lixiaodeng321    时间: 2009-8-14 13:42
标题: lr8.1+fp4测试webservice遇到的问题
各位大侠请帮忙解决一下:我在录制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.


我是一个新手,请大家帮忙解决一下。
作者: sy070904    时间: 2009-8-14 13:43
俺也是新手,看都看不懂,爱莫能助
作者: bluelabel    时间: 2009-8-17 19:34
你是录制, 还是直接插入web service call.  为什么input argument没有值.
另外提供下脚本创建环境和执行环境
作者: huoxingyinzi    时间: 2009-8-19 13:42
设置“ run-time-setting-->webserivce-->Client Emulation-->.Net”试试




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