Load test - authorization
load test for web portal, and I have big problem because I must login
there
to one page
,and go to next like this
(…NextPagePortal/Default.aspx)
GET
/TEST_WEB/Slowniki/Slowniki.asmx/js
HTTP/1.1
Host: serwer.testowy.pl:80
User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.2; pl; rv:1.9.2.8) Gecko/20100722
Firefox/3.6.8 (.NET CLR 3.5.30729)
Accept:
*/*
Accept-Language:
pl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset:
ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive:
115
Connection:
keep-alive
Referer:
http://serwer.testowy.pl/TEST_WEB/NextPagePortal/Default.aspx
Cookie:
ASP.NET_SessionId=oj0glx3huss3ym35ice11x55;
.
ASPXAUTH=70AC8FA2A9B186B0CBB949BABA186FE256D....
POTENCJALAUTH=802CEFA0DBFCA50DA1ADCA3885B8....
When I record
test all it’s ok,but when I play this for 30,40min next to record I have error
(HTTP/1.1 401 Unauthorized) because I think the session(cookies) are extinct.
(i have session
state setings set to 20min on IIS 7 server)
I whan’t
neutralize this problem choise’s “ Use real-time cookies” on test properties, but
when I use this I don’t can logon any time when played recorder test, it's not
work :/
i clear web cache all
time on start record.
What I must do to correct record my test, to neutralize extinct cookies or
session and logon correct any time I played recorder test,
on serwer page where i have that cookies authorization?
Tks for any help ;)