how to correlate SAPEVENTQUEUE for multiple users

I have a problem in correlating SAPEVENTQUEUE value ( We are scripting SAP Portal with webdynpros ) the value for SAPEVENTQUEUE is dynamically built , the value cannot be capture into a variable. did anyone face this problem before ? how did you solve it ?

How to correlate the value part in the code snippet below ( generated by Loadrunner )Any help ?

ITEMDATA,
"Name=SAPEVENTQUEUE", "Value=SapTable_HorizontalScroll~E002Id~E004WD6C~E005FirstVisibleItemIndex~E0044~E005Action~E004DIRECT~E005AccessType~E004SCROLLBAR~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003", ENDITEM,
"Name=sap-charset", "Value=utf-8", ENDITEM,
"Name=_client_url_", "Value=", ENDITEM,
  • VUGEN Scripting problem
    how to correlate SAPEVENTQUEUE for multiple users
    Question I have a problem in correlating SAPEVENTQUEUE value ( We are scripting SAP Portal with webdynpros ) the value for SAPEVENTQUEUE is dynamically built , the value cannot be capture into a variable. did anyone face this problem before ? how did you solve it ?
    VUGEN
    How to correlate the value part in the code snippet below ( generated by Loadrunner )Any help ?

    ITEMDATA,
    "Name=SAPEVENTQUEUE", "Value=SapTable_HorizontalScroll~E002Id~E004WD6C~E005FirstVisibleItemIndex~E0044~E005Action~E004DIRECT~E005AccessType~E004SCROLLBAR~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003", ENDITEM,
    "Name=sap-charset", "Value=utf-8", ENDITEM,
    "Name=_client_url_", "Value=", ENDITEM,
  • Hi Jawy,

    If you know the exact request where this values gets generated first time then its good to correlate.

    Try putting up below code just before the request where sapeventaeue get generated.

    //@@@@ Correlation Code @@@@
    web_reg_save_param("SAPEVENTQUEUE",
    "LB=/"Value=",
    "RB=/"",
    "Ord=1",
    "Search=Body",
    "IgnoreRedirections=Yes",
    LAST);


    If you doesn't know what is the ord for the value. then just put Ord=all, check extended parameter substitution in runtime setting logs.

    It will show all the values between mentioned boundaries. After that you can place the ord accordingly on what number the desired values gets captured.

    There is another way you can correlate. Check in all server body response in tree view if you find this whole value just select in recorded section window and right click and select create parameter it will correlate automatically the value.


    Thanks,
    Champ
  • OR

    you can check this website out and learn how to do the correlation by using the code in your script.




    http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/
  • We also come across this problem and correlated SAP Event Queue values. and  we also got one challenge that SID which goes with in the SAP Event queve is also having special symbols like *. Here is the work around, visit this loadrunner blog for more info.

    http://www.iloveloadrunner.com/2012/08/correlating-sap-event-queue.html