|
使用Click And Script 协议录制
在压测时第一次成功,但在第二次就出现下列错误讯息
Action.c(161): Error: C interpreter run time error: Action.c (161): Error -- memory violation : Exception ACCESS_VIOLATION received.
然後loadrunner就stop了
请问大盖是什麽原因,以及要怎麽解决?谢谢喔!
以下为部份的代码
Action()
{
web_browser("WebDriver",
DESCRIPTION,
ACTION,
"Navigate=http://192.168.1.1/EBD/ABC?ACT=DEF&EID=1",
LAST);
web_edit_field("UserName",
"Snapshot=t1.inf",
DESCRIPTION,
"Type=text",
"Name=UserName",
ACTION,
"SetValue=WWW",
LAST);
web_edit_field("Passwd",
"Snapshot=t2.inf",
DESCRIPTION,
"Type=password",
"Name=Passwd",
ACTION,
"SetEncryptedValue=495812345678904087",
LAST);
lr_start_transaction("requesterLoginIn");
web_edit_field("Passwd_2",
"Snapshot=t3.inf",
DESCRIPTION,
"Type=password",
"Name=Passwd",
ACTION,
"UserAction=Submit",
LAST);
lr_end_transaction("requesterLoginIn", LR_AUTO);
return 0;
} |
|