Sign in to follow this  
Followers 0
Eambo

Testing HTTP connections

3 posts in this topic

Hi Everyone!

I'm looking to make a simple tool that can test if a HTTP connection is successful or not. My reason for this is that the website is behind a firewall, so does not respond to pings. Also tracert's die when they hit the firewall.

Also I'd like this to be tested with IE/Windows settings (As opposed to FireFox's or any other browser), to see if there's any issues with IE. Essentially I'm thinking something like this:

- Test the connection

- If successful, return 1

- If fail, return 0

This will test a few different subdomains of the site, then eventually return a success or fail.

Can you guys suggest what the best way to do this with Autoit would be? Getting started on this is the hard part for me :-)

Thanks for your time!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

HTTP travels over TCP. If you only want to check the success of the connection, then just connect with TCPConnect. InetGet uses the proxy settings, so you might as well try that.

- Test the connection

- If successful, return 1

- If fail, return 0

This is brilliant btw. Don't implement it any way else.

Edited by Manadar

Share this post


Link to post
Share on other sites

Both Dutch and funny. Interesting.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0