Hi all
It is possible to do a form based login with HM? We would like to check our Webservers with this.
Regards
tashi
web form based login
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
In general case, that is possible.
You should setup "URL" test ( http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm# ), with URL like this: http://www.somesite.com/check_credentials_srv.asp,
mark "HTTP POST request" and specify necessary data, like: "username=john&password=test " into inputbox.
In this example, check_credentials_srv.asp is a page, that is specified as "action" attribute of <FORM> tag and username and password are names of appropriate fields in a form. Also you should enable "Follow redirect" option, that allows to be redirected on some page after login. You may use "Check content" option to verify content. "HTTP" test method also can be used.
Please, read following articles regarding similar issue:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=2874
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=2870
To this test you may assign action profile with "HTTP request" action with logoff URL.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#actHTTP
Regards,
Max
You should setup "URL" test ( http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm# ), with URL like this: http://www.somesite.com/check_credentials_srv.asp,
mark "HTTP POST request" and specify necessary data, like: "username=john&password=test " into inputbox.
In this example, check_credentials_srv.asp is a page, that is specified as "action" attribute of <FORM> tag and username and password are names of appropriate fields in a form. Also you should enable "Follow redirect" option, that allows to be redirected on some page after login. You may use "Check content" option to verify content. "HTTP" test method also can be used.
Please, read following articles regarding similar issue:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=2874
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=2870
To this test you may assign action profile with "HTTP request" action with logoff URL.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#actHTTP
Regards,
Max