This is one of the most exciting blog posts that I am gonna make. The events which lead to this post started like so:
Our company was required to show the load testing results of a vanilla ASP application that was running with one of our clients for quite some time now. Why the need for sudden load testing result? The application failed during a peak season and there was a big hoo-ha among the top mgmt, so they asked us to produce load test results with high urgency.
Load Testing - is one word that no one is my company has explored; they never needed it!
So now the task comes to me from the big boss. The first suggestion I provided was let’s go and download VSTS from MSDN and I will get you the results ASAP. But the boss didn’t want me to download the whopping ~4GB VSTS and asked me to go with mercury.
Ok, so I downloaded Mercury Load Runner and start testing, but due to the trial version it only allowed me 10 Virtual Users. Also, i found it kinda troublesome to configure. Yeah, I know its one of the best - so what? I had a tough time gettin it up and had to read the manuals slowly... Nah... Not for me.
So due to limitation of only 10 Virtual Users, the boss asked me to go with OpenSTA! My first reaction? Open Source? Oh No.... But still I ventured onto load testing with OpenSTA, believe it or not, I just could get it to work!!!
Till now - 3 days gone and no results yet!
One think I did was to start the VSTS download when the boss said no to it. So by now VSTS was fully downloaded and installed on my machine. So at this time, I told the boss regarding the fully downloaded VSTS and told him that I am gonna go with it.
VSTS also had a problem and the problem was this:
When I start a WebTest and the VSTS launches an IE to run the Web Test, the WebTest recording seems to be disabled...I get a message on the WebTest toolbar saying "The Web Test Recorder must be launched from within Visual Studio" and the web test recording tool bar becomes disabled. Contrary to the error message I did launch the Web Test Recorder from the VSTS!!! And worse, I watched a VSTS demo video which doesn’t seem to have this problem.
In anyone has a solution to this, please let me know....
In the meanwhile to get over this, I just right clicked on the WebTest and added a request of the page that I wanna load test. After this all I had to do was to run the test. And VSTS gracefully saving the day - producing excellent graphs, tons of variables and as many virtual users that I required!
The job was done in 1 hour - it should be a 5 min job though, but I got stuck with the problem mentioned above...
Thanks to VSTS - Another excellent product from Microsoft...