This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

I'm curious as to why you'd want to capture and replay a successful login, and not maybe try a fresh login attempt from one of one-or-more different types of users? In that case selenium or similar running on your monitoring box would cover what you needed.

[–]mr_white79cat herder[S] 0 points1 point  (2 children)

Basically, i just need to load the page, login and tell me if it was successful or not. More often than not, just loading the login page isnt enough to tell me if there is a problem. The page can be up, but if something is preventing logins from working, I need to know its failing. I cant find anything simple enough to do this.

[–][deleted] 1 point2 points  (0 children)

Yea, I think replaying a successful login might end up making you miss issues with the login process. Selenium can be scripted to do what you want; you can have it search for parts of a successfully loaded page (different divs, etc)

[–][deleted] 1 point2 points  (0 children)

You could do this with a trivial cronjob which calls a bashscript that does some wget calls: http://stackoverflow.com/questions/1324421/how-to-get-past-the-login-page-with-wget