Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any way to write code to test logins to web site?

Status
Not open for further replies.

smedvid

MIS
May 28, 1999
1,228
0
0
US
I had an idea to write a little VB/C/Java program that could "somehow" call a web site with a login page. Then auto-enter a test user/password. If the test login works the main menu page is displayed. If the test login fails, a error page is displayed. I would to then from my program send out and e-mail that defines when the error login occurs. Sort-of a mini-application monitor to verify the system is running. Any ideas are appreciated. Thanks. Steve Medvid
Atlas Commerce ("ebusiness evolved")
 
Look into Window Sockets Programming or Winsock, specifically the http 1.1 stuff, should allow you to do this.... As far as seeing if the server is still up you can use ping and it will accomplish the same thing. Go start->command->ping -t this will ping the server in a continous loop. If the server is shutdown or there are errors, this program will show. This program would be possible in Java/VB/C or c++ Java would probably be the easiest but it matters on your preferance...

good luck


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top