Originally Posted by sysmicuser
If you want to help, you can instead of judging me ! It appears to me that it won't be possible with bash !!!!
Yes we need to enter data that is our credentials and then getting authenticated and then coming back to main application. The flow is as follows:
mail application webpage (redirects you to ) authentication page which after authentication gives access to main application page.
I am guessing that this may not be possible.
No one is here to judge, but to help... and for that you have to help yourself. Asking for all cooked stuff will make you dependent for ever while trying on own right or wrong is always a better option.
Well... so you just want to check if the authentication is successful or not .. is that correct ?
I can see your application is built on java.
A way to achieve what you want is through "telnet" (i have tried it on some tomcat applications but as i don't know much on your requirement ..i can only provide you steps to try this.. )
send a "get HTTP1.1 " string
Authenticate the operation by using expect and send
and check for the return code.
it can be done in some other ways too but for that we should know what you are actually looking for.