Login to .NET Application


#1

Hey guys,

I’m trying to setup an automated login to a .net application. Currently I am capturing cookies and setting them on the environment and using them in the next request however I am unsure how to capture the variables that come from clicking the login button such as __viewstate, __csrftoken, etc.

Any help is appreciated; thank you.


#2

You might have to search the response for those certain tags/ids and then use a regex to extract that information. You can then put the resulting information into a variable or you choosing.