Is there a way to get a HTTP end user monitor to log into a website to make sure the java web app behind login is working?
Anyone done this?
Hi,
Have you tried the HTTP Form Login component?
It is supposed to do what you described.
HTH,
Yann
I have tried that one I think it is for an HTML form only.
Mine I believe is a java page as the file extension ends in JSP.
Another solution could be to write your own script which authenticates and check that the page after the login step is returned.
Windows Script Monitor in APM allows you to execute such scripts on regular basis.
The JSP extension doesn't mean the page is using Java. It means the page is generated using Java on the server. You should still have HTML in the browser (as opposed to a Java Applet).
See en.wikipedia.org/.../JavaServer_Pages for more information on JSP.
I do but if I view the source code on the page it is blank.
You don't mean completely blank, do you? If so, that's not possible. Scroll down further (maybe a lot further) in the page because there should be at least some lines of source code there.
Ah ha, you are right. It was several pages down. Let me work with that. Thanks for that tid bit.
This is as far as I can get on it.
I am not a programmer so I am not sure what this means exactly. I would think I am on the right track but I am not sure what the errors means.
Testing on node expense.gers.ihost.com: failed with 'NotAvailable' status
Testing on node expense.gers.ihost.com: failed with 'NotAvailable' status Response page still contains login formPage contains 2 form(s). Form 'Loginform' inputs: ('UserID' 'Password' 'LOGIN' 'UPDATE' ); Form '' inputs: ('UserID' 'Password' 'LOGIN' 'UPDATE' 'hidden' 'companyKey' 'ibm-register' ); Assumed form with name = Loginform as login formAssumed login input: name = UserID, password input: name = Password
To decode this some...
We found two forms on the page. One named "Loginform". The other has no name ("").
The input fields for the form Loginform are 'UserID', 'Password', 'LOGIN', and 'UPDATE'. the input fields for the unnamed form are 'UserID', 'Password', 'LOGIN', 'UPDATE', 'hidden', 'companyKey', and 'ibm-register'.
Based on your settings, we picked the form "Loginform" as the form we will work with. We picked the inout field "UserID" for the field to insert the user name and the field "Password" to insert the password.
I have no idea what you page looks like, but based on those names, it seems like we might have guessed correctly.
Based on this error message, it seems like we tried to login the server gave an error code or something. If you try assigning this to a node (as opposed to just clicking the test button) do you get any more information in the orange error info box (on the Application Details page)?
Josh thanks for looking into that for me.
This is the only other info I see from the app page.
Access denied, authorization failed. Response page still contains login form
Well my first question is, are we sure the credentials you are using are correct?
Assuming they are correct, I have seen some websites that will fail to login if javascript is disabled. They usually give some kind of error on the page that is returned. This monitor does not support executing javascript.
You could try to simulate this by turning off javascript in your browser and then logging in manually. See if it gives an error from that.
If your page requires javascript to login, then you could try the HttpLogin.vbs sample script. It is one of the sample scripts shipped with APM. Look for the Sample Scripts menu item on the Start Menu (under SolarWinds Orion | Application Performance Monitor). This script just automates IE, so it can execute the javascript code just like when you log in.
No the authentication is fine I triple checked it just to be sure.
I tried the java disabled thing and I can still log onto the page just fine, just the java app never launches.