MADHUSUDHAN1 Absent Member.
Absent Member.

Manual Correlation in silk performer

We are trying to do manual correlation for Orange HRM application.
In the generated script we are getting only one CSRF token ,but while we replay it, we are getting 4 csrf's in pages like login,add employee etc,.. in True log explorer differences tab

We need to know how that script is handing the CSRF that is not even shown on the script level


Explain us to do manual correlation using silk performer

1 Reply
Micro Focus Contributor
Micro Focus Contributor

RE: Manual Correlation in silk performer

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.
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.