I'd like to know if HostMonitor can check if a logon is successful. I have a web page where I need 2 fields to be filled: (User name) and (Password) with an [Enter] key pressed after the password. This is not an NT logon but a proprietary logon.
Thank you !
Is it possible to test web page with User and Password
-
- Posts: 24
- Joined: Tue Feb 23, 2010 1:18 pm
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
What do you mean "proprietary logon" ?
If it is HTML form based authentication, you may use URL request test or HTTP test.
First, you should check source of your web page, check what variables are used in login form and then use them in "Post data" option (HTTP test)
or in "HTTP POST request" option (URL request test).
E.g. If web page source code contains HTML form similar to the following:
login=YourLogin&psw=YourPassword
Please check the manual or visit our web site for more information about:
URL Request test: http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url
HTTP test: http://www.ks-soft.net/hostmon.eng/mfra ... s.htm#http
If it is HTML form based authentication, you may use URL request test or HTTP test.
First, you should check source of your web page, check what variables are used in login form and then use them in "Post data" option (HTTP test)
or in "HTTP POST request" option (URL request test).
E.g. If web page source code contains HTML form similar to the following:
"HTTP POST request" parameter of URL request test should look like:<form action="http://test.com/login.php" method="POST">
<input type="text" name="login">
<input type="password" name="psw">
<input type="submit">
</form>
login=YourLogin&psw=YourPassword
Please check the manual or visit our web site for more information about:
URL Request test: http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url
HTTP test: http://www.ks-soft.net/hostmon.eng/mfra ... s.htm#http
-
- Posts: 24
- Joined: Tue Feb 23, 2010 1:18 pm
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
If web page uses https protocol, you cannot use HTTP test,
however it's not problem for URL request test.
however it's not problem for URL request test.
Why not ? In any case all traffic will be encrypted between client(HostMonitor) and webserver.I forgot to mention that the web page is secured (https on port 8443) so I cannot create an URL test with id= and pw= infos