Re: "Set Cookie:" not captured in alternate iterations (418 Views)
Reply
Occasional Advisor
ChandraMouli25
Posts: 17
Registered: ‎09-03-2013
Message 1 of 4 (432 Views)

"Set Cookie:" not captured in alternate iterations

Hi,

 

My script has Vuser_init, Action & Vuser_end.

 

This is web based application. I have corelated using automated corelation. The issue is when I replay the script (1 itreation), it is throwing error message immediately after web_reg_save_param function stating ensure boundaries exist. When I play for second time, the script runs fine.

 

I set the log mode to Advance trace and find that when the script runs successfully, the following is captured:

 

Set-Cookie: MPORTCOOKIE=SESSION_TIMEOUT%3D1800%3BCHANGE_RR_CODE_URL

 

I am not seeing this when the script is failing. As a pattern it follows:

 

Replay 1 - Failed

Replay 2 - Pass

Replay 3 - Failed

Replay 4 - Pass

.

.

.

 

 

What is that I am missing?

 

Please help.

 

Thanks.

 

Mouli.

Occasional Advisor
ChandraMouli25
Posts: 17
Registered: ‎09-03-2013
Message 2 of 4 (418 Views)

Re: "Set Cookie:" not captured in alternate iterations

At the bottom of the log, I see this message:

 

"Closed connection to [Server] after completing 7 requests "

"Closed connection to [Server] after completing 3 requests "

"Closed connection to [Server] after completing 1 requests "

 

All pointing to same URL.

 

Incase this helps?

Occasional Advisor
PS_LR
Posts: 10
Registered: ‎10-15-2013
Message 3 of 4 (412 Views)

Re: "Set Cookie:" not captured in alternate iterations

I guess you should remove "

Set-Cookie: MPORTCOOKIE=SESSION_TIMEOUT%3D1800%3BCHANGE_RR_CODE_URL" and all the cookie lines in your scripts as it changed and the original value recorded will not work for mutiple iteration.

HP Expert
Editus
Posts: 650
Registered: ‎04-06-2011
Message 4 of 4 (406 Views)

Re: "Set Cookie:" not captured in alternate iterations

Hello
In the past I´ve seen this same behavior caused by application load balancers, you may want to check on that.

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