Tuesday, October 05, 2010

TinyGet – load testing on your development environment

Load testing and performance testing, are usually done on a dedicated environment that was configured for this specific purpose. using TinyGet you could do some load testing right in your development environment.
TinyGet is a small (but very useful) command line based utility,  that is part of the IIS 6 Resource kit that get be downloaded for free from here.
you can use it the following way:
tinyget -srv:localhost -uri:/<YourVirtualDirectory>/<YourPage>.aspx -threads:30 -loop:50
srv -  your server DNS / IP (you can use the “r” parameter is port is needed)
uri – the uri for the page to be tested
threads  - the number of threads that will run your page
loops – the number of loops for each thread.
there are a lot of parameters that can be used in order to add authentication,
add secure settings or even control the HTTP request if needed.
Read more: Gadi Berqowitz's Blog