| View previous topic :: View next topic |
| Author |
Message |
sgauthier41
Joined: 23 Feb 2010 Posts: 24
|
Posted: Thu May 17, 2012 12:42 pm Post subject: Is it possible to test web page with User and Password |
|
|
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 ! |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Thu May 17, 2012 12:58 pm Post subject: |
|
|
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:
| Quote: | <form action="http://test.com/login.php" method="POST">
<input type="text" name="login">
<input type="password" name="psw">
<input type="submit">
</form> |
"HTTP POST request" parameter of URL request test should look like:
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/mframe.htm#tests.htm#url
HTTP test: http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#http |
|
| Back to top |
|
 |
sgauthier41
Joined: 23 Feb 2010 Posts: 24
|
Posted: Thu May 17, 2012 1:09 pm Post subject: |
|
|
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. Should I forget creating this kind of authentication test ?
Thanks ![/url] |
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2252
|
Posted: Thu May 17, 2012 1:16 pm Post subject: |
|
|
If web page uses https protocol, you cannot use HTTP test,
however it's not problem for URL request test.
| Quote: | | 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 |
Why not ? In any case all traffic will be encrypted between client(HostMonitor) and webserver. |
|
| Back to top |
|
 |
|