reportbrazil
Technical User
Hi folks,
I'm looking for a simple way of issuing several page requests to a web server. (I don't have to read the reply from the server, but that could be interesting too, humm...?)
I already have a tool that measures the average response time of the web server, however, this tool is set-up to run at a limited minimum interval of time (within minutes), measuring the average response time, but it doesn't create a huge load on the server (only hits the server at a minimum of 5min interval), so I can't use it for stress testing unless I have a way to run another program to simulate several users connecting to the web server at the same time.
This could be as simple as hardcoding the server name and URL (or URLs) into a configurable cout-down loop to issue an HTTP GET command, or, even better, read some config file so I can change the URL list (perhaps comma or semi-comma separated) and the frequency and quantity of web page hits.
I was thinking of using a multi-threading NT/2K service (so I could use only one "client" machine), but it seemed too complicated, but I'm making my way into it.
Would somebody have some sample code to do that? Or something similar?
Any help, hint or code would be very appreciated.
Thanks,
Marcelo.
I'm looking for a simple way of issuing several page requests to a web server. (I don't have to read the reply from the server, but that could be interesting too, humm...?)
I already have a tool that measures the average response time of the web server, however, this tool is set-up to run at a limited minimum interval of time (within minutes), measuring the average response time, but it doesn't create a huge load on the server (only hits the server at a minimum of 5min interval), so I can't use it for stress testing unless I have a way to run another program to simulate several users connecting to the web server at the same time.
This could be as simple as hardcoding the server name and URL (or URLs) into a configurable cout-down loop to issue an HTTP GET command, or, even better, read some config file so I can change the URL list (perhaps comma or semi-comma separated) and the frequency and quantity of web page hits.
I was thinking of using a multi-threading NT/2K service (so I could use only one "client" machine), but it seemed too complicated, but I'm making my way into it.
Would somebody have some sample code to do that? Or something similar?
Any help, hint or code would be very appreciated.
Thanks,
Marcelo.