Quality Testing

Quality is delighting customers

I have record a script from a pop up window and redirect to parent page but in that case I am getting invalid view state eoor.

Views: 125

Reply to This

Replies to This Discussion

ASP.NET Viewstate is a client-level state management implementation which tracks user state, it results in a dynamic parameter which travels back and forth from server to the client and vice versa. 

If it prevents you from recording a JMeter test - you can use an alternative solution like JMeter Chrome Extension

But be aware that even after successful recording you won't be able to successfully replay your script as you will still need to handle this VIEWSTATE value so you will need to amend your Test Plan like:

  • 1st request - Get Login Page
  • 2nd request - perform login, you will need to pass not only credentials, but also VIEWSTATE from the previous request

See ASP.NET Login Testing with JMeter article for more information. 

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2018   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service