51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1646|回复: 0
打印 上一主题 下一主题

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

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-3-11 14:40:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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");   但是还是报错。
望各位大侠指点一下,在线等
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-6 02:45 , Processed in 0.076279 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表