LoadRunner - Siebel - Session warning message while replaying the script
<p>I am playing around with LoadRunner to performance test a Sielbel CRM application. The protocol ( Siebel web) is selected before the run and also the .cor file is associated using the recording options dialog.</p>

<p>I have also copied the DLL ssdtcorr.dll to the bin folder. All is good and I am able to record the scripts.
While replaying the script, I am getting the below screen</p>

<p><a href="https://i.stack.imgur.com/KY9aV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KY9aV.png" alt="enter image description here"></a></p>

<p>Not sure what is the issue here...</p>

<p>I have gone through the script and observed that timestamp ,Siebel_SWECount , SiebelTimeStamp ,Siebel_SWEACn and Siebel_SWEVLC are  correlated automatically. </p>

<p>Is there any other params which needs to be correlated. </p>

<p>Please let me know.</p>

<p>Thanks in advance for your help</p>

<p>PS: My application is a single session setup. It means, I cannot login simultaneously with the same credentials more than once in a given time. The later login will give a session warning message. </p>

<p>But while replaying the script, I made sure that there is no active session with the credential I am using with the script.</p>

<p><strong>UPDATE 1</strong></p>

<p>The below code is what is causing the issue</p>

<pre><code>web_submit_data("start.swe_14", 
    "Action=http://XX.YYY.ZZZ.AA/SSS/start.swe", 
    "Method=POST", 
    "TargetFrame=", 
    "RecContentType=text/html", 
    "Referer=http://XX.YYY.ZZZ.AA/SSS/start.swe?SWECmd=Login&amp;SWEPL=1&amp;SRN=&amp;SWETS={SiebelTimeStamp}", 
    "Snapshot=t17.inf", 
    "Mode=HTML", 
    "EncodeAtSign=YES", 
    ITEMDATA, 
    "Name=SWECmd", "Value=InvokeMethod", ENDITEM, 
    "Name=SWEService", "Value=Web Engine Client Preferences", ENDITEM, 
    "Name=SWEMethod", "Value=SetClientCapability", ENDITEM, 
    "Name=SWEIPS", "Value=@0`0`1`0``3``cpf`Mobile=false`", ENDITEM, 
    "Name=SWERPC", "Value=1", ENDITEM, 
    "Name=SRN", "Value=4FeDpVgxP8msdfbfdbbgdTGtzQbkLyoO0spzO8Ywb", ENDITEM, 
    "Name=SWEC", "Value={Siebel_SWECount}", ENDITEM, 
    "Name=SWETS", "Value={SiebelTimeStamp}", ENDITEM, 
    LAST);
</code></pre>

<p>The reason for the failure is that the SRN value is hardcoded and is not correlated. </p>

<pre><code>"Name=SRN", "Value=4FeDpVgxP8msdfbfdbbgdTGtzQbkLyoO0spzO8Ywb", ENDITEM, 
</code></pre>

<p>Could anyone please help me as how to fetch the SRN value automatically so that I am not using the hard coded SRN value. </p>

<p>SRN is Sesssion Random Number</p>

<p>Any pointers is very much helpful for me. Thanks in advance for your help.</p>