Open STA View State Dot net
I am new to Open STA..
I have recorded the script for login application.
I am unable to run script for virtual users.I am unable to work with view state.I have also created encode_viewstate.inc, but it is not working..
Can any one please help me in this.. I have atatched the script & encode_viewstate.inc script..
Re: Open STA View State Dot net
A couple of potential problems;
1) You have 4 static cookies (variables with the name s_*).. some or all of them need to be dynamic. For example, your script starts with a post statement that relies on a preexisting asp.net session (in s_cookie_3_2.) Thats going to cause problems. Perhaps you posted just a subset of your script or perhaps you failed to delete cookies prior to recording. Either way, I can't see how this script could ever work once the session ID specified by the cookie variable expires. No chance this would ever work for multiple users.
2) You are not coorelating event_validation. Not sure if you have too, but after you fix the cookie issue, this might be the next thing that fails.