C#: Simple multithread website stress tool

You have probably searched online for a simple tool that could try and time your server response, handy for benchmarking especially when you are about to move to a new server.
You probably found that there are not much, but some cloud-based online services that actually can’t help much! Why? Cause simply you might end up stress testing a VM from another VM on the same set.

Solution was to write a custom simple multithread tool that you could:
1. Enter a url to be hit
2. Enter number of simultaneous threads
3. Enter number of concurrent hits per thread.
4. Start DoS attack 🙂

The complete working app can be found in my GitHub account: https://github.com/georgekosmidis/WebStressTool

In order to write the tool, i would need three basic things: create and start the threads, get a timed HttpWebResponse from within each thread, and finally update the UI not only from within each thread, but also at the end after everything has finished
These are the technics I used:

Continue reading