Highlighted
Absent Member.
Absent Member.
2533 views

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,
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

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,
0 Likes
Highlighted
Established Member..
Established Member..

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
0 Likes
Highlighted
Absent Member.
Absent Member.

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/
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

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

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.