timesheet 发表于 2009-7-16 10:03:40

用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:26

encounter the same problem.................
need help................

zibeike 发表于 2009-7-20 09:48:25

似乎是SOAP header的问题, http://www.51testing.com/?uid-183306-action-viewspace-itemid-133514 参考下,是否有帮助解决.

timesheet 发表于 2009-8-4 10:43:44

回复 3# 的帖子

谢谢两位指教,问题解决!
方法是重装操作系统!

wangyanlin 发表于 2009-8-7 17:18:08

楼主说说解决方法吧,大家学习一下。

shanxi 发表于 2009-8-7 17:19:49

SOAP UI
页: [1]
查看完整版本: 用LR9.0测试webservice 报错,请教高手,谢谢