| || |
I am running a script for a single user for 10 times for 1st and 6th iteration it is working properly. For 2nd,4th ,10thiteration it is showing
Action.c(53): To location "http://portal-portnalname.com/wps/portal/.scr/ErrorNotLoggedOut"
For 3rd,5th,7th.9th iteration it is showing
27791: Server "portal-qaportnalname.com" has shut down the connection prematurely
for 8th iteration
Action.c(71): Error -26628: HTTP Status-Code=403 (Forbidden) for http://portal-qa.portalname.com/wps/...qid//.pagr/127
I have done logout while recording and brought the webpage to the initial login page in my recording.
I increased the receive timeout and connect timeout to 999 from 120.
How to find out how much will be the maximum timeout time ??
I have done the correlation too, but when I scan for correlations it is showing to do correlation on web_url statement even thought I did the correlation. I recorded twice and checked that one but it is showing
web_reg_save_param ( "number2", "LB=.reqid/", "NOTFOUND=EMPTY","RB=/.pagr", "ord=1", "search=body", "RelFrameID=1" ,LAST);
"Url=/images/thd/hd_header2_03.gif", "Referer=http://portal-qa.portalname.com/wps/portal/.scr/Login", ENDITEM,
"Url=/images/thd/hd_header2_01.gif", "Referer=http://portal-qa.portalname.com/wps/portal/.scr/Login", ENDITEM,
"Url=/images/thd/hd_header2_05.gif", "Referer=http://portal-qa.portalname.com/wps/portal/.scr/Login", ENDITEM,
Any solutions are appreciated
Re: correlation problem
There is some timinng problems in your script replaying as you have done the correlation and the script has run for some of the iterations successfully.It seems that your application needs to be logged off after the first iteration and loged in again for new iteration. If this is the cae then you need to include the login and logout script statements in the action section for multiple iterations from vugen. You can also set the pacing to 10 sec or more for every new iteration in the runtime settings. You can also try using some thinktime() where you feel the next statement needs to be exectuted after some duration.