Highlighted
Absent Member.
Absent Member.
12145 views

LoadRunner 11.52 - VuGen - C interpreter run time error

Hi,

 

VuGen is throwing the following error. This error is because of the one particular value in the parameter file.

I have tried using the Item Name instead of the parameter - p_ItemName, the VuGen fails only for item Oven, for the rest of the values in the parameter file the script passes.

 

The script is able to fetch the value for Oven, and after that it throws the below error and it terminates.

web_set_max_html_param_len is at 9999999. Kindly help me resolve this issue. 

 

Action.c (1051): Error: C interpreter run time error: Action.c (1051):  Error -- memory violation : Exception ACCESS_VIOLATION received.

Notify: Transaction "Transaction_05" ended with "Stop" status (Duration: 81.6498 Wasted Time: 0.3366).

Action was aborted.

Ending Vuser...

Starting action vuser_end.

Action.c(1051): Error: An exception was raised while calling invocation function in interpreter extension cciext.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.

Ending action vuser_end.

Vuser Terminated.

 

Correlation Function –

 

web_reg_save_param(“c_cboItem”,

                               "LB=<option value=\””,

                               "RB=\”>{p_ItemName}<”,

                               "Ord=1",

                               Last);

 

web_submit_data("OnlineShopping.aspx_2",

                                "Action=…………………. ",

                                "Method=POST",

                                "TargetFrame=",

                                "RecContentType=text/html",

                                "Referer=…………………..",

                                "Snapshot=………………..",

                                "Mode=HTML",

                                ITEMDATA,

                                "Name=__EVENTTARGET", "Value=", ENDITEM,

                                "Name=__EVENTARGUMENT", "Value=", ENDITEM,

                                "Name=__LASTFOCUS", "Value=", ENDITEM,

                                "Name=__VIEWSTATE", "Value= {ViewState_OS2}", ENDITEM,

                                "Name=__EVENTVALIDATION", "Value= {EventValidation_OS2}", ENDITEM,

                                "Name=__VIEWSTATEENCRYPTED", "Value=", ENDITEM,

                                "Name=ctl00$hidScrollX", "Value=0", ENDITEM,

                                "Name=ctl00$currentMenuMode", "Value=ExpandMenu", ENDITEM,

                                "Name= ContentPlaceHolder2$cboCountry", "Value={c_cboCountry}", ENDITEM,

                                "Name= ContentPlaceHolder2$cboCategory", "Value={c_cboCategory}", ENDITEM,

                               LAST);

0 Likes
6 Replies
Highlighted
Valued Contributor.. Valued Contributor..
Valued Contributor..

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

"web_set_max_html_param_len is at 9999999"

 

This value seems extremely high. You intend to capture a 9.9 million character response? That could be why you are accessing memory you shouldnt. Make this value more realistic and try again.

 

 

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

Hello

Having the function web_set_max_html_param_len at 9999999 is a extremely bad practice, this will cause memory issue while running your load test, as general rule any value bigger than 3000 should be reviewed carefully since you are reserving too much memory for a variable that doesn't require this.

For your specific problem it is caused by the RB, you are not supposed to use a parameter as boundary, depending on the version of vugen the use of { } is not even supported, leaving your RB as "RB=\” should be enough to resolve the crash and to capture the required value.

 

regards

0 Likes
Highlighted
New Member.

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

I am getting the "Error: C interpreter run time error: memory violation : Exception ACCESS_VIOLATION received. " in VU Gen 12.55.

The error started coming when did a correlation for session: which code generated is below:

    web_reg_save_param_attrib(
        "ParamName=userSession",
        "TagName=input",
        "Extract=value",
        "Name=userSession",
        "Type=hidden",
        SEARCH_FILTERS,
        "IgnoreRedirections=No",
        "RequestUrl=*/nav.pl*",
        LAST);

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

hi,

 

this looks unrelated to the original topic.

 

please open a new topic for this issue.

Micro Focus Performance Core.
Functional Architect
your performance, our passion!
0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

Editus wrote:
"For your specific problem it is caused by the RB, you are not supposed to use a parameter as boundary ..."

Could you please provide a link to corresponding documentation?
I am having a challenge finding such statement in "VuGen Function reference 12.55".

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: LoadRunner 11.52 - VuGen - C interpreter run time error

in 12.55 there is no such limitation

Micro Focus Performance Core.
Functional Architect
your performance, our passion!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.