|
用LoadRunner录制WebServices脚本如下:
vuser_init()
{
web_service_call( "StepName=getName_101",
"SOAPMethod=HelloClientService.HelloClient.getName",
"ResponseParam=response",
"WSDL=F:/HelloClient.wsdl",
"URL=ttp://192.168.18.16:8080/axis/HelloClient.jws?wsdl",
"UseWSDLCopy=1",
"Snapshot=t1200624384.inf",
BEGIN_ARGUMENTS,
"name=asdfasdf",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_think_time(3);
return 0;
}
运行的时候报错:
user_init.c(4): Web service call "getName_101" started
vuser_init.c(4): Using working copy of the WSDL file "F:/HelloClient.wsdl"
vuser_init.c(4): Using client emulation General
vuser_init.c(4): Removed Web headers not matching the emulated client
vuser_init.c(4): 错误: C interpreter run time error: vuser_init.c (4): Error -- memory violation : Exception ACCESS_VIOLATION received.
vuser_init.c(4): 通知: CCI 跟踪: vuser_init.c(4): web_service_call(0x010e026a "StepName=getName_101", 0x010e0238 "SOAPMethod=HelloClientService.HelloClien...", 0x010e0221 "ResponseParam=response", 0x010e0208 "WSDL=F:/HelloClient.wsdl", 0x010e01d1 "URL=ttp://192.168.18.16:8080/axis/HelloC...".
vuser_init.c(4): 通知: CCI 跟踪: , 0x010e01c3 "UseWSDLCopy=1", 0x010e01aa "Snapshot=t1200624384.inf", 0x010e019a "BEGIN_ARGUMENTS", 0x010e018c "name=asdfasdf", 0x010e017e "END_ARGUMENTS", 0x010e0171 "BEGIN_RESULT", 0x010e0166 "END_RESULT", 0x010e0161 "LAST")
.
vuser_init.c(4): 通知: CCI 跟踪: Compiled_code(0): vuser_init()
.
注:我用的LoadRunner是8.1版本。
用的license是:golba-100: AEAMAUIK-YAFEKEKJJKEEA-BCJGI
急切求助中,qq:94394468,非常感谢!
[ 本帖最后由 ljfhust 于 2008-1-18 12:12 编辑 ] |
|