load testing - Visual Studio Web Test - Do not Repeat Login Step -


i have created simple web test in visual studio used in load test. web test logs in site using forms authentication, takes other actions after logging in.

the issue having when web test repeats, log-in step performed again. tried adding conditional log-in if .aspauth cookie not exist, seems cookies cleared/a new session started each time web test repeated.

is there way configure web test log-in step happens once, subsequent steps repeated until conclusion of load test?

this may not best way, way solved problem add loop included requests after initial log-in requests. loop condition checks existence of '.aspauth' cookie, set once user logs in. therefore user log in, hit loop, , continue repeating loop (unless request within loop causes user log-out).


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -