51Testing软件测试论坛

标题: 用LR9.0测试webservice 报错,请教高手,谢谢 [打印本页]

作者: timesheet    时间: 2009-7-16 10:03
标题: 用LR9.0测试webservice 报错,请教高手,谢谢
测试脚本:       

web_service_call( "StepName=Query_101",
                "SOAPMethod=HTSC_spcEAI_spcWeb_spcModifyAccnt.Query.Query",
                "ResponseParam=response",
                "Service=HTSC_spcEAI_spcWeb_spcModifyAccnt",
                "Snapshot=t1247707444.inf",
                BEGIN_ARGUMENTS,
                "Query_spcXML_spcStr={NewParam_1}",
                END_ARGUMENTS,
                BEGIN_RESULT,
                "Error_spcCode=Param_Error_spcCode",
                "Error_spcMessage=Param_Error_spcMessage",
                "Return_spcXML=Param_Return_spcXML",
                END_RESULT,
                LAST);


报错信息:

Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(11): Web service call "Query_101" started
Action.c(11): Using working copy of the WSDL file "C:/50www.htsc.com.cn_webservice_AccntInfoModification_HTSC_EAI_Web_ModifyAccnt.WSDL"
Action.c(11): Using client emulation MSSOAP
Action.c(11): Removed Web headers not matching the emulated client
Action.c(11): Error: The reason for the SOAP fault is:        "(SBL-UNU-00137)"
Action.c(11): Error: Web service call "Query_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
作者: bondsha    时间: 2009-7-19 23:15
encounter the same problem.................
need help................
作者: zibeike    时间: 2009-7-20 09:48
似乎是SOAP header的问题, http://www.51testing.com/?uid-18 ... space-itemid-133514 参考下,是否有帮助解决.
作者: timesheet    时间: 2009-8-4 10:43
标题: 回复 3# 的帖子
谢谢两位指教,问题解决!
方法是重装操作系统!
作者: wangyanlin    时间: 2009-8-7 17:18
楼主说说解决方法吧,大家学习一下。
作者: shanxi    时间: 2009-8-7 17:19
SOAP UI




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