LoadRunner Vugen 2023 R1 - Getting error related to C interpreter run time error - Error -- memory violation : Exception ACCESS_VIOLATION in socket mode

Hi All,

Good Day.

I tried to record and reply one of the SaaS (Software as a Service) application hosted in vendor cloud. 

I am able to record the required flow in Vugen, But during reply the 1st main URL (Launch page URL) is throwing "C interpreter run time error :  Error -- memory violation : Exception ACCESS_VIOLATION" in Socket mode.

Same script works fine , when enabled "winINlet Reply instead of sockets (windows only) " mode.

Issue is with only the socket reply mode. 

Detailed Error : 

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

Web request : 

    web_custom_request("login.jsp", 
        "URL=">xxxx.xxxxxx.xxxx.com/.../login.jsp", 
        "Method=GET", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t10.inf", 
        "Mode=HTTP", 
        LAST);

LoadRunner Version : Version 2023 R1 Build 251

Same issue was encountered in LoadRunner Version 2020 SP2 as well.

Any advice or solution will be of great help.

  • 0  

    , The WinINet option has it's purpose. It uses the MS socket stack, so when you record with WinINet, you should(?) replay with it. You might try to records without WinInet first and try to replay that recording.

    In recording options go to Network -> Mapping and Filtering -> Port mapping, Capture level. Here you have some options, you might select 'Socket level data' and see what happens.

    How to ask questions

    Reward contributions via likes or 'verified answers'