DCSIMG

 Subscribe in a reader

Pain Killer For Viewing Load Test Results - Guy kolbis
Thursday, November 20, 2008 4:28 AM kolbis

Pain Killer For Viewing Load Test Results

At the end of a big web application project I needed to run a load test that will enable me to understand the limitations and drawbacks. So I had everything set up, the lab at IBM, the software and etc.

I executed the test several times in different configurations, and at the end of a very long day I took the test results which includes the:

  • MSSQL 2005 database backup that stores the test results.
  • The *trx files within the TestResults folder.

At the next day, I got back to the office for the analyzing phase of the load tests. So basically all I wanted to do is view the load test results from a lab session I did on a new machine back in the office.

Simple, right? wrong!!!

Here is how you will save time and pain killers when you will need to view load test results.

The Mistakes

Here is how not to do it:

I opened Visual Studio (2008 Team Suite).

In the Test menu I have selected Windows and Test Runs:

image

On the Test Runs window I have opened the TestResults folder:

image

Then I have tried to open one of the tests in the list:

image

I double clicked it and got:

image

Basically, what it say is that it cannot read the results from the database. Why, ohoo why?

How did I try to solve it?

  • I have checked the database and verified that it is configured for remote access.
  • Tried to connect to the database with the SQL Management.
  • I opened the Administrate Test Controller:

image

and verified the connection string:

image

Everything was pitchy!

Apparently Microsoft had something else in mind...

How Should You Do It?

Open a test project.

Open a load test.

On the load test toolbar, click Open and Manage Results

image 

The Open and Manage Load Test Results dialog box is displayed.

Enter a controller name to find load test results. Select <local> to access results stored locally.

In Show results for the following load test, select the load test whose results you want to view.

In the Load test results list, click a result.

image

Click Open.

The load test analyzer opens and the results appear.

image

That's it. I hope this will save you some time!

Quick Note

I personally think that this is a bad design of a user interface.

What do you think?

kick it on DotNetKicks.com תגים:, , ,

תוכן התגובה

# Pain Killer For Viewing Load Test Results

DotNetKicks.com כתב/ה

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Thursday, November 20, 2008 5:09 AM

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: