ASP.NET Session gets lost on subsequent request + Visual Studio Web Performance Test -
i have application hosted on local iis. when runing application browser, works fine (actually it's been in production while , haven't received single complain session expiry/loss till date).
coming questions. recorded test in vs web performance test , when executing, session on subsequent request not available.
while inspecting , matching fiddler traces in both scenario, have same traces still web version works fine. web performance test fails!!!
i'm adding screenshots reference...
in image above, endpoint - 'upload/saveuploadingmetadata' adds session key 'guid'. next request 'upload/uploadblock?chunk=xxxx' checks if session exists, if processes request else throws exception.
when executing behavior browser, succeeds , web performance test, throws error.
in image above (for url-'upload/saveuploadingmetadata') can match raw request browser , wpt. in screenshot, won't see asp.net_sessionid
cookie believe me it's there @ end.
in image above (for url- 'upload/uploadblock?chunk=xxxx'), can see again identical.
while debugging application when requests generated web performance test, , inspecting session.sessionid
on both page, have same value , still application not able find session!
the application developed in asp.net mvc-5 owin pipeline. let me know if more information needed me solving tricky problem!
and btw, session not expiring @ all.
Comments
Post a Comment