| || |
Session variable issue
we are using silk performer 7.2 for stress testing
and we are able to run the script for the single user
but when we tried to run for the multiple user we are getting session expired message for all the users in differernt steps of the script but all the user are able to login into the system we are getting session is not available in hr_usersession.cxx
can some body help me in this regard
Re: Session variable issue
Well, this seems lik a pretty classic example of common issues with stress testing tools in general. What is probably happening is that there is a unique session ID of some kind being generated by your application. What you will need to do is identify where this session ID is first being passed to the user, either in a cookie, a hidden form field, or some other method. Then add code to the script to parse the value (WebParseDataBound or some other function) and then modify the areas in the script (usually in the dclform section) where this value would be passed back in a real user session. This is probably the most common task in performance testing. Identifying the unique form fields and other posted data that is unique to each user and/or session, parsing it correctly, and passing back the parsed value to the server in the correct locations. Often you can parse a value once and use it multiple time throughout the script flow. Other times you may need to parse for a particular value multiple times as the value changes throughout the script flow.