Re: Start page of application not recorded (266 Views)
Reply
Occasional Advisor
aleber
Posts: 7
Registered: ‎01-13-2012
Message 1 of 4 (298 Views)
Accepted Solution

Start page of application not recorded

Hi all,

 

I have a strange behaviour, which I can't solve:

 

- I record the login + logout to our CRM application. The URL is something like http://server.com/carambaLS1/

- Then I generate the script.

- Now, in the script, there is no call to the above URL, but something like the following:

    web_url("start.swe", 
        "URL=http://server.com/carambaLS1/start.swe?SWECmd=ToggleProtocol&SWEAC=Login&SWESecure=0&_sn=RoZ8C4liUZ5sfSL9PC44SVzEnZ-kfdmutI2sGruGuCmIBseAboYFdVBajJwzasB85UeJl3BPbiL.WiwDA9lxY9mqbYhrZ0cO41hGYK6Qi7YKIafiVXPuDLZ82cCjrtDvr0iwKhgflMXhz29CHq.ak716aqE.8auFSRktwmU83ifY2yWVcRvt1L5bAHToFrW3", 
        "TargetFrame=", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t1.inf", 
        "Mode=HTML", 
        LAST);

 

- The problem is: Before(!) that call, there is a cookie-statement like the following:

    web_add_cookie("SMSESSION=2QVeBZTUD6QNgv5wQva1mpfIRr87kLKNeJvRhIKDp6voyY6JzHGzDqiEZrtHS27liUucA6ZW/iMzzR896vItQG4TzRKX8Q9LTKe4fBqBcg9P9Lwy+F1kgEl9iljdolK9tlyc0NXKFEpEHZ7sEwgB4LbVdCt/mbdRcTSUPiU53/4xR2qGFZo09Sn0nh1NKB+T4GSBazkvqtwTK/N3NHwVGTmAxBku1omRJnDa1/cNds4vpAItKVOll/dY8S7P7ddw7drbdLM05oS0vtaYxWoZl7vqfUqIGMIdGwhh5bjLshu/cKyn8u7yED2Lf109ZboWP6bduiGPZkodBfewsYTa0aCVqzVx/ndEFFf1tXFQKHcAdrdYg+4H4Pfru2Qp6rnNZu4iBjQ9iYgXkJOrs5CPQP/p0tVCIUL001VZLa6F/"
        "8UPPGW1AxBYV9ZOKfW3DWWef36fdsAtAH5unysVxvn76fK4Ot9pg7qI7tC1mv8nG9EP5EfavdwWkN5dPpxI2+KbDwBJPjhSGTiMOfFnYiqPhX4Vtq0A0VTIf8KLfW5UI86AHm6tGa9o0lQq0z8IgQXCkv6Gok+bCcRc3iWgEgde4jFSO+86/+e/lmBinXIS77yX0HVVZISGxqgbzB+2c4n5wCamXqMp3g8q6/dKJHdhRZOoBGumwhdEnQmGxZMGLHWAqXC9BaiU2LUrDPUZm9xffF1ldAZ9eKQjkOiXlSYHMVd7rT6v2Id9sRwjatonLESEDXFk/xF32z1j9O2NT8JZ7yZb19d4DIax7WyYvR3o1IFoBrDVSsoMFS98egqOgGKtZui0mlQzJf6wAAD+H7ogx33cC79HZiQgQKjSNdQudJB6QMr5IqERWIgf997V0gHpqoOtLHX3b1qF4P+tOcDvCpjLOSrxy0zHiFHeFmsa70vh/"
        "uG269Zjd9LSpyq/yO0fwWXaE1GzQnqAPCgutt5n+siwOV8iYAooE7rg0N2ANLBIgfmNrEojxqiaasaHALN4UBIXd3CVBV/330ZlKI1aPkqXql6H7RYQ0bJ5lXWeSSfS+raWeMT5m8a9CXsDmLplLewb7oays4wiE+wy0TC2m90ub0c2gLmiFggs94gLP2RAZOJETy0dng7ghlExuCR9XmlXktcjx0KMxM+RPHwV; DOMAIN=ibkcrmd1.muc");

 

- This statement sets among other the SMSESSION.

 

Where does the SMSESSION come from? During recording, it seems to come from the simple URL I call, but during replay this URL is not called. Instead, the above first call allready uses the SMSESSION!

(Of course, I cant always use the SMSESSION from recording time; i need to create a new SMSESSION - but how, if I can't get it from a server response?)

 

I' confused... could anybody push me into the right direction, please?

Thanks a lot!

Andreas

 

HP Expert
rleitons
Posts: 146
Registered: ‎07-21-2009
Message 2 of 4 (279 Views)

Re: Start page of application not recorded

Hi Andreas

This SMSession is a session from the appliction server (I think a Siebel) and your computer to identify the user.  Normally it has a connection time so during this time you can access the appliction with the same session ID. The SMSession is created by the server when you access it and depend how was configure the security, this value has different uses.

Please comment/remove it, and check if LoadRunner will use the new one when access the server again.

 

Rodolfo Leitón

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

For LoadRunner here.
For Performance Center here.

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you found this information useful please leave a kudo.

Occasional Advisor
aleber
Posts: 7
Registered: ‎01-13-2012
Message 3 of 4 (274 Views)

Re: Start page of application not recorded

Thanks Rodolfo, for your advice!

 

Yes, the SMSESSION's function is clear to me. The point is, I would expect that it is sent from the server upon the request to the start page, http://server.com/carambaLS1/. But this request is not recorded, it is simply missing in the script. If I add it manually, it does not receive an SMSESSION when called. Instead, it gets something like 421-byte request headers for "https://server.com/s/SmMakeCookie.ccc?SMSESSION=QUERY&PERSIST=0&TARGET=... - you see, the SmMakeCookie function is called to get a SMSESSION, but in the subsequent web_url calls still only the SMSESSION=QUERY comes, no real SMSESSION.

 

I have understood that I have to comment out the cookie as it was recorded. That session is timed out in replay time.

 

Any suggestions would be appreciated...

Occasional Advisor
aleber
Posts: 7
Registered: ‎01-13-2012
Message 4 of 4 (266 Views)

Re: Start page of application not recorded

Problem solved.

 

I was not aware of the fact, that the client I got from the customer to work with was not installed with the correct Enterprise Client software. It was missing some Siebel specific installations.

 

I tried it now with a proper client PC, and it worked.

 

Thanks a lot to Rodolfo again!

 

Cheers,

Andreas

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.