Hi All, We have PA Server Monitor in use right now, and we are loving it. However, I am facing one big problem that doesn't seem to be covered by the standard monitors. I need to login to a website (post username/pwd to login page), verify that the login is successful (200 reponse code or success text), and then logout (get logout page). The logout is needed to prevent sessions from building up on the site. My current thoughts are to script the transaction with XHR object in vbscript. That is going to be a pain. Hopefully though, someone has an alternative apporach, or a similar script to share :) asked 02 Oct '12, 20:57 wtranmer |
The Web Page monitor can watch multiple pages, and they are processed in the order entered into the monitor. So I'd recommend watching the login page first, then the logout page. I assume you'll need to check the "Enable cookies with request" so the logout works with the correct session. answered 03 Oct '12, 09:05 Doug ♦♦ Thanks for the response Doug. I don't know why I didn't think of trying that out to begin with. I've got a new problem now though. The parameter names are being changed to all uppercase when saving pages in the monitor, and that is preventing the login from succeeding. Also, when I enter the page, I set it up as a POST with Follow Redirects checkd, but when I edit the entry, the method switches back to GET and the Follow Redirects checkbox gets unchecked. Looks like I'll have to file a bug report, but I gave you the answer since that does seem the way to go once these bugs are fixed. Thanks!
(03 Oct '12, 13:07)
wtranmer
That is a bug! We've posted a fix as 5.0.1.18
(03 Oct '12, 15:12)
Doug ♦♦
|