|
虚拟用户脚本已启动
正在开始操作 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" |
|