KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Is it possible to test web page with User and Password

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
sgauthier41



Joined: 23 Feb 2010
Posts: 24

PostPosted: Thu May 17, 2012 12:42 pm    Post subject: Is it possible to test web page with User and Password Reply with quote

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
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2252

PostPosted: Thu May 17, 2012 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
sgauthier41



Joined: 23 Feb 2010
Posts: 24

PostPosted: Thu May 17, 2012 1:09 pm    Post subject: Reply with 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. Should I forget creating this kind of authentication test ?

Thanks ![/url]
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2252

PostPosted: Thu May 17, 2012 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index