Hello, I am trying to create a program to stress test a website, I am using a counter on the page to see how many "clicks" have been made to this website.
Currently i am using HttpWebRequest to make a connection to the site and then end it. However this is not registering on the page counter. Any ideas how to make this register?
private uint HitWebsite(string website)
{
HttpWebRequest request = (HttpWebRequest)
WebRequest.Create(website);
HttpWebResponse response = (HttpWebResponse)
request.GetResponse();
response.Close();
return 1;
}
This code is being called many times. Any ideas on how to make this work and/or what i might be doing wrong are welcome : )