Performance Center Support and News Forum
Showing results for 
Search instead for 
Do you mean 

EXCEPTION_ACCESS_VIOLATION using AJAX protocol in LoadRunner

Advisor

EXCEPTION_ACCESS_VIOLATION using AJAX protocol in LoadRunner

When I run load test next errors are presented:
Action.c(156): Error: An exception was raised while calling invocation function in interpreter extension cciext.dll: System Exceptions: Uknown.

Action.c(156): Error: C interpreter run time error: Action.c (156): Error -- memory violation : Exception ACCESS_VIOLATION received.
Action.c(156): Notify: CCI trace: Action.c(156): web_element(0x00fd075a "LT1", 0x00fd0a84 "DESCRIPTION", 0x00fd073e "Text=LT1{UNIQUEID}{prmTime}", 0x00fd08b5 "Tag=DIV", 0x00fd087d "FrameName=mpfDesktop", 0x00fd0a7d "ACTION", 0x00fd0900 "UserAction=Click", 0x00fd0a69 "LAST")
.
Action.c(156): Notify: CCI trace: Compiled_code(0): Action()
.
Action was aborted.
Error: An exception was raised while calling action_logic_call_vuser_end function in extension runlogic.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.
Error: Exception was raised when calling event-notify Vuser function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION

Action.c(156): Error: An exception was raised while calling invocation function in interpreter extension cciext.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.
Action was aborted.
Ending Vuser...
Starting action vuser_end.
Error: Exception was raised when calling event-notify Vuser function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
vuser_end.c(3): Error: Exception was raised when calling event-notify Vuser function in extension run_time_context.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Ending action vuser_end.
Vuser Terminated.
Error: Exception was raised when calling event-notify Vuser function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION

Do you see the same problems anytime?
4 REPLIES
Esteemed Contributor Esteemed Contributor

Re: EXCEPTION_ACCESS_VIOLATION using AJAX protocol in LoadRunner

It would help to see your script, but my first concern is that {UNIQUEID} and {prmTime} are not being evaluated, as presented in this error stack.
Advisor

Re: EXCEPTION_ACCESS_VIOLATION using AJAX protocol in LoadRunner

{UNIQUEID} - parameter from Parameter list.

{prmTime} - time, I take it by the next way:
lr_save_datetime("%H%M%S", DATE_NOW, "prmTimeStamp");
lr_output_message(lr_eval_string("Timestamp is: {prmTimeStamp}"));
lr_save_string(lr_eval_string("{prmTimeStamp}"), "prmTime");

Step that call such error:
web_element("LT1",
"DESCRIPTION",
"Text=LT1{UNIQUEID}{prmTime}",
"Tag=DIV",
"FrameName=mpfDesktop",
"ACTION",
"UserAction=Click",
"LAST")

Similar functions aren't call errors in other scripts and other places of scripts.
Occasional Visitor

Re: EXCEPTION_ACCESS_VIOLATION using AJAX protocol in LoadRunner

I am suddenly getting a similar error. Did you get any resolution?

My error is below (Ajax click and script):

LoginIntoWebsite.c(40): Downloading script "http://LT103BAS01:18180/webconsole/app?digest=557f2081d45a7528f898e7e384717596&path=%2Forg%2Fapache%2Ftapestry%2Fform%2FForm.js&service=asset" (detected in HTML) [MsgId: MMSG-26534]
LoginIntoWebsite.c(40): Error: C interpreter run time error: LoginIntoWebsite.c (40): Error -- memory violation : Exception ACCESS_VIOLATION received. [MsgId: MERR-19890]
LoginIntoWebsite.c(40): Notify: CCI trace: LoginIntoWebsite.c(40): web_text_link(0x010ebee4 "Log in", 0x010eca3a "DESCRIPTION", 0x010ebed8 "Text=Log in", 0x010eca33 "ACTION", 0x010eca22 "UserAction=Click", 0x010eca1d "LAST")
. [MsgId: MMSG-19891]
LoginIntoWebsite.c(40): Notify: CCI trace: vuser_init.c(77): LoginIntoWebsite(0x1356e9a8 "admin18")
. [MsgId: MMSG-19891]
LoginIntoWebsite.c(40): Notify: CCI trace: Compiled_code(0): vuser_init()
. [MsgId: MMSG-19891]



The code line it fails is at
web_text_link("Log in",DESCRIPTION,"Text=Log in",ACTION,"UserAction=Click",LAST);

Also I have loadrunner simulating 20 users, so this fails sometimes and is not consistent behaviour.

Highlighted
Occasional Advisor

Exception was raised when calling event-notify Vuser function in extension lrun50.dl

Hi Everyone,

 

While executing the Loadrunner Web(Http/Html) script , I am getting below error

 

 

Exception was raised when calling event-notify Vuser function in extension lrun50.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.

 

Error: Exception was raised when calling event-notify Vuser function in extension run_time_context.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION

 

I  have used C custome code in my script.

 

Please advise how do i resolve this issue

 

Regards,

Ramkumar.M