Highlighted
Absent Member.. Absent Member..
Absent Member..
1039 views

Handling Script session Id

Hi,

 

I have a web custom request in which there is script session id.This id is not in the response so I am unable to correlate it. What is the other way to handle it

 

web_custom_request("showMeControllerProxy.signAPIUrl.dwr",
        "URL=https://abc.com/xi/ajax/remoting/call/plaincall/showMeControllerProxy.signAPIUrl.dwr",
        "Method=POST",
        "Resource=0",
        "RecContentType=text/javascript",
        "Referer=https://abc.com/sf/start?_s.crb={_s.crb_1}",
        "Snapshot=t3.inf",
        "Mode=HTML",
        "EncType=text/plain",
        "Body=callCount=1\n"
        "page=/sf/start?_s.crb={_s.crb_1}\n"
        "httpSessionId=\n"
        "scriptSessionId=80A8BD291A8E635A37D57F13E5D1F42322\n"
        "c0-scriptName=showMeControllerProxy\n"
        "c0-methodName=signAPIUrl\n"
        "c0-id=0\n"
        "c0-param0=string:%2Fmedia%2Fshowme_ecdc80fd_8c85_4158_b247_8420e7288f7c%2FHOME_TAB%2Fstatus\n"
        "c0-param1=string:HOME_TAB\n"
        "c0-param2=string:{CorrelationParameter}\n"
        "batchId=2\n",
         LAST);

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Handling Script session Id

Hi Yogesh2602, 

 

If this a dynamic value generated on the client side i.e in the browser you cannot correlate it. 

These values are usually generated using JavaScript. If this is the case you can try to record the application with TruClient protocol as this protocol uses the browser.

 

In Web(http/html) protocol you should :

  1. Check with the developers of the application the algorithm which is used to generate this value and
  2.  Write your own custom code in the Vugen script to generate the dynamic value using either C or JavaScript (with  web_js_runfunction).

 

Kind regards 

Vesela

 

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
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.