So you want to retrieve your test results?

When you create a test project in Visual Studio, you can load test your application, but you won’t be able to save/view results without a storage type set to database.  You can check your storage type by checking the properties on the Run Settings. (if you set it to none, you will be able run the test)

image

By default you do not have a database to store the results of you load test.  (Why your not asked during installation to create one is beyond me).

You need to run the SQLscript to create the LoadTest database.

Here is the path to the script C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\loadtestresultsrepository.sql

You will also need to set your connection string.  You need to go to Test –>Administer Test Controllers.  The click the ellipse (…) to set your connection string.

image

Now that you have a database and your connection string set,you can use the database storage type.

image

Advertisements

Got something to add?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s