xiaoxia318205 发表于 2011-5-10 10:10:38

loadrunner测试webservice服务

Action()
{

        web_service_call( "StepName=userLogin_101",
                "SOAPMethod=UserOperateSV|WSHttpBinding_IUserOperate|userLogin",
                "ResponseParam=response",
                "Service=UserOperateSV",
                "ExpectedResponse=SoapResult",
                "Snapshot=t1304992820.inf",
                BEGIN_ARGUMENTS,
                "userName=3333",
                "password=111111",
                "type=1",
                "typeSpecified=",
                END_ARGUMENTS,
                BEGIN_RESULT,
                "userLoginResult=Param_userLoginResult",
                END_RESULT,
                LAST);


        return 0;
}

运行日志:
Virtual User Script started at : 2011-05-10 10:00:29
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Web service call "userLogin_101" started
Action.c(4): Error: InvokeMethod failure: 外部组件发生异常。.

请问各位这个是什么问题?希望各位大侠们指教~~

fanghust 发表于 2013-7-3 12:07:42

你这个问题有没有解决啊,怎么解决的啊
页: [1]
查看完整版本: loadrunner测试webservice服务