51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[求助] C interpreter run time error: Action.c (4):

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-6-8 13:57:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
虚拟用户脚本已启动
正在开始操作 vuser_init。
正在结束操作 vuser_init。
正在运行 Vuser...
正在开始迭代 1。
正在开始操作 Action。
Action.c(4): Web service call "example_101" started
Action.c(4): Using working copy of the WSDL file "D:/LoadRunnerTest.xml"
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(0x0156022c "StepName=example_101", 0x015601f3 "SOAPMethod=LoadRunnerTest.LoadRunnerTest...", 0x015601dc "ResponseParam=response", 0x015601c1 "WSDL=D:/LoadRunnerTest.xml", 0x015601b3 "UseWSDLCopy=1", 0x0156019a "Snapshot=t133913.
Action.c(4): 通知: CCI 跟踪: 3399.inf", 0x0156018a "BEGIN_ARGUMENTS", 0x01560184 "in0=A", 0x01560176 "END_ARGUMENTS", 0x01560169 "BEGIN_RESULT", 0x0156015e "END_RESULT", 0x01560159 "LAST")
.
Action.c(4): 通知: CCI 跟踪: Compiled_code(0): Action()
.
正在结束 Vuser...
正在开始操作 vuser_end。
正在结束操作 vuser_end。
Vuser 已终止。



我把代码贴出来麻烦给指导下:


vuser_init()
{
        return 0;
}



Action()
{

        web_service_call( "StepName=example_101",
                "SOAPMethod=LoadRunnerTest.LoadRunnerTestPortType.example",
                "ResponseParam=response",
                "WSDL=D:/LoadRunnerTest.xml",
                "UseWSDLCopy=1",
                "Snapshot=t1339133399.inf",
                BEGIN_ARGUMENTS,
                "in0=A",
                END_ARGUMENTS,
                BEGIN_RESULT,
                END_RESULT,
                LAST);

        lr_think_time(3);



        return 0;
}




vuser_end()
{
        return 0;
}






#include "lrun.h"
#include "as_web.h"
#include "lrw_custom_body.h"

#define BEGIN_ARGUMENTS                        "BEGIN_ARGUMENTS"
#define END_ARGUMENTS                        "END_ARGUMENTS"
#define BEGIN_RESULT                        "BEGIN_RESULT"
#define END_RESULT                                "END_RESULT"
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2012-6-8 15:34:28 | 只看该作者
求解答
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-9-21 14:36 , Processed in 0.084112 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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