Is it possible to test web page with User and Password

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
sgauthier41
Posts: 24
Joined: Tue Feb 23, 2010 1:18 pm

Is it possible to test web page with User and Password

Post by sgauthier41 »

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 !
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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:
<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/mfra ... ts.htm#url
HTTP test: http://www.ks-soft.net/hostmon.eng/mfra ... s.htm#http
sgauthier41
Posts: 24
Joined: Tue Feb 23, 2010 1:18 pm

Post by sgauthier41 »

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]
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

If web page uses https protocol, you cannot use HTTP test,
however it's not problem for URL request test.
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.
Post Reply