Absent Member.
Absent Member.
400 views

correlation session id principle question

usually, what need to be correlated is session id from server

for example:

---------------             -------------
client browser               web server
---------------             --------------
          1. --------------------> web request1
	  2. <-------------------- session_id1 assigned from server
	  3. --------------------> web request2(with session_id1)

 how did web server recognize the session_id1 in web request2? did it remember the last time's session id in server side?

 

 

0 Likes
1 Reply
Absent Member.. Absent Member..
Absent Member..

Your question is not clear. You seem to have an issue with correlating a dynamic session ID which is returned by the web server but then you proceed to ask about what the web server does.

I cannot tell you how the web server behaves but you already stated in your example that the sessionId is returned from either a HTTP GET or POST (request1). You just need to use a web_reg_save_param function before request1 to capture the sessionId. When captured, this results in a parameter (ie. param1 or whatever you named it). Then in your Vugen script for request2, you substituted the static sessionId value with {param1}.
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.