Writing test program

So here is what I'm working on. I have a website that I'm programming that will be members only and verifies members by a eight digit code they must enter. This code is their Membership ID card. If the code is correct it will say thank you and welcome with members name. If the code is incorrect it says I'm sorry no such member exists. I'm debugging the website and I want to write a program that will automatically debug the site since I don't want to enter 9,999,999 number combinations. I want the program to start at 00000000 and end at 99999999 and keep a log of all the answers. One log of all the failed attempts and one log of all successful attempts. I am still a beginner at C++ I'm mostly a website programmer and only know basic C++ and could really use help with this debugging program.

First question is:
is it easier to write the program to access the server directly bypassing the website (or is that even possible?) or is it easier to have the webpage up and write the program to enter the code into the box and have it click submit? Then have it log the result then have it back up one page and do this again advancing one number continuing until it's reaches 99999999?

Second question is:
Before I write this by hand does anyone know a program that can do this debugging task for me or am I forced to write the wheel?

Topic archived. No new replies allowed.