51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1775|回复: 1
打印 上一主题 下一主题

[原创] web service测试中碰到的warning and error

[复制链接]
  • TA的每日心情
    开心
    2017-2-21 16:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2008-2-26 15:55:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    脚步是通过scan an existing WSDL file创建的。如下:
    web_service_call( "StepName=getUser_104",
                    "SOAPMethod=GetUserServiceService.GetUserService.getUser",
                    "SOAPHeader=<soap:Header><CredentialSoapHeader xmlns=\"http://schemas.xmlsoap.org/wsdl/\""
                                    "><UserName>username</UserName><PassWord>p"
                                    "assword</PassWord></CredentialSoapHeader></soap:Header>",
                    "ResponseParam=response",
                    "WSDL=D:/train/loadrunner/GetUserService.wsdl",
                    "UseWSDLCopy=1",
                    "Snapshot=t1204008423.inf",
                    BEGIN_ARGUMENTS,
                    "LoginUserId=userid",
                    END_ARGUMENTS,
                    BEGIN_RESULT,
                    END_RESULT,
                    LAST);
    运行后报错:
    Starting action vuser_init.
    vuser_init.c(4): web_service_call "getUser_104" started.
    vuser_init.c(4): Using working copy of the WSDL file "D:/train/loadrunner/GetUserService.wsdl"
    vuser_init.c(4): Using client emulation General
    vuser_init.c(4): Web headers not matching emulated client removed.
    vuser_init.c(4): Warning: HTTP status code 500 returned by server
    vuser_init.c(4): Error: The reason of SOAP fault is :   ""  
    vuser_init.c(4): Error: web_service_call "getUser_104" execution failed

    Abort was called from an action.
    请高手指点一下这些错误的原因。谢谢!
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2017-2-21 16:15
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
     楼主| 发表于 2008-2-26 18:03:14 | 只看该作者
    怎么没人回复呀,自己顶
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-4-28 02:47 , Processed in 0.082303 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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