PK26 Absent Member.
Absent Member.
3382 views

Dynamic values for correlation

Jump to solution

Hi All,

What is the easy method to see/identify dynamic values for correlation in silk performer. In load runner , all dynamic values will be display once record is over but not in silk performer.

Thanks.

0 Likes
1 Solution

Accepted Solutions
Micro Focus Contributor
Micro Focus Contributor

RE: Dynamic values for correlation

Jump to solution
0 Likes
4 Replies
ckim9 Absent Member.
Absent Member.

RE: Dynamic values for correlation

Jump to solution

You can the Print statement to print it on the monitor. Or if you'd rather have it saved, use the Write or WriteLn statements to save to .WRT files.

0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: Dynamic values for correlation

Jump to solution
0 Likes
MADHUSUDHAN1 Absent Member.
Absent Member.

RE: Dynamic values for correlation

Jump to solution
Hi Jonny,
We are trying to do manual correlation for Orange HRM application.
In the generated script we are getting only one CSRF token as ,but while we replay it we are getting 4 csrf's in pages like login,add employee etc,..
We need to know how that script is handing the CSRF that is not even shown on the script level


Or
Explain us to do manual correlation using silk performer?
or
Can you pls provide us a demo for doing manual correlation?
0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: Dynamic values for correlation

Jump to solution
The process for manual correlation is simple. Open the record and replay truelogs in comparison mode as demonstrated in the above video. For the csrf value hard coded in the script, search the recorded truelog for the first occurance of that value - it must be the first and you must search the recorded truelog for this part. If the value first appears in the in header or in data then you can parse it, if it appears in out data or out header then it originates on the client side and is not suitable to be handled through parsing.

When you locate the first occurance of the value as it appears in the recorded truelog, navigate to the exact same place in the replay truelog and locate the new value. Select the new value and right click and parse selected text into a variable.

Now you will have a parsing function in your script to parse the new value on replay, so replace any hard coded instances of the csrf token with the new variable containing the parsed value.

Thats it. If you need more specific assistance then please open a support incident.
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.