51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[原创] Webservices 测试错误

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

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2007-8-21 15:17:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    附件是webservices的wsdl文件,改成后缀为.wsdl即可用我取其中一个方法测试,脚本如下:
    Action()

    {
            web_service_call( "StepName=AddUser_101",
                    "SOAPMethod=SystemManager.SystemManagerSoap.AddUser",
                    "ResponseParam=response",
                    "WSDL=E:/SystemManager.wsdl",
                    "UseWSDLCopy=1",
                    "Snapshot=t1187679159.inf",
                    BEGIN_ARGUMENTS,
                    "userAccount=auto string",
                    "userName=auto string",
                    "userPassWord=auto string",
                    "companyId=123456789",
                    "roleId=123456789",
                    "creator=auto string",
                    "memo=auto string",
                    "userStatus=true",
                    "errMsg=auto string",
                    END_ARGUMENTS,
                    BEGIN_RESULT,
            END_RESULT,
                    LAST);

            lr_think_time(3);
            return 0;
    }

    回放时报以下错误:
    虚拟用户脚本已启动
    正在开始操作 vuser_init。
    正在结束操作 vuser_init。
    正在运行 Vuser...
    正在开始迭代 1。
    正在开始操作 Action。
    Action.c(4): Web service call "AddUser_101" started
    Action.c(4): Using working copy of the WSDL file "E:/SystemManager.wsdl"
    Action.c(4): Using client emulation General
    Action.c(4): Removed Web headers not matching the emulated client
    Action.c(4): 错误: C interpreter run time error: Action.c (4):  Error -- memory violation : Exception ACCESS_VIOLATION received.
    Action.c(4): 通知: CCI 跟踪: Action.c(4): web_service_call(0x01980303 "StepName=AddUser_101", 0x019802d0 "SOAPMethod=SystemManager.SystemManagerSo...", 0x019802b9 "ResponseParam=response", 0x0198029e "WSDL=E:/SystemManager.wsdl", 0x01980290 "UseWSDLCopy=1", 0x01980277 "Snapshot=t118767.
    Action.c(4): 通知: CCI 跟踪: 9159.inf", 0x01980267 "BEGIN_ARGUMENTS", 0x0198024f "userAccount=auto string", 0x0198023a "userName=auto string", 0x01980221 "userPassWord=auto string", 0x0198020d "companyId=123456789", 0x019801fc "roleId=123456789", 0x019801e8 "creator=auto string", 0x019801d7.
    Action.c(4): 通知: CCI 跟踪:  "memo=auto string", 0x019801c7 "userStatus=true", 0x019801b4 "errMsg=auto string", 26739110, 26739097, 26739086, 26739081)
    .
    Action.c(4): 通知: CCI 跟踪: Compiled_code(0): Action()
    .
    正在结束 Vuser...
    正在开始操作 vuser_end。
    正在结束操作 vuser_end。
    Vuser 已终止。

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2007-8-27 17:47:16 | 只看该作者
    我遇到过很多内存冲突的情况,都没有解决

    一般来说,内存冲突大多是因为程序之间有冲突引起的,解决的方法就是找出那段冲突的内存,看被什么程序占用,停掉。
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-9-21 20:41 , Processed in 0.071683 second(s), 25 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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