crazy_ldt 发表于 2009-3-11 14:40:27

loadrunner 测试webservices时出现的问题,望大侠们指点

windows iis

脚本如下
Action()
{

        web_service_call( "StepName=Payment_101",
                "SOAPMethod=AccountService_TMIC.AccountService_TMICSoap.Payment",
                "ResponseParam=response",
                "Service=AccountService_TMIC",
                "Snapshot=t984289033.inf",
                BEGIN_ARGUMENTS,
                "MSISDN=85516560075",
                "Amount=3000",
                "ContactChannelCode=ev",
                "PartyType=",
                "PartyCode=",
                "BillNbr=",
                "AccountCode=",
                "AccountResCode=",
                "SN=",
                "IsPreChargeQuery=",
                END_ARGUMENTS,
                BEGIN_RESULT,
                END_RESULT,
                LAST);


        return 0;
}

Action.c(4): Error: HTTP status code 401 returned by the server
Action.c(4): Error: InvokeMethod failure: External component has thrown an exception..
Action.c(4): Error: Web service call "Payment_101" execution failed

不知道该怎么解决
从网上找到+web_set_user("domain\\user", "password", "host:port");   但是还是报错。
望各位大侠指点一下,在线等
页: [1]
查看完整版本: loadrunner 测试webservices时出现的问题,望大侠们指点