Have you seen the below error while running a load test in VS 2010
---------------------------
Microsoft Visual Studio
---------------------------
Could not read result repository: The ConnectionString property has not been initialized..
Will display the runtime result instead of the repository result.
---------------------------
OK
---------------------------
The reason is that you have selected "None" in the "Storage Type" property of the Run Settings. Instead select "Database" and you should not see this error.
---------------------------
Microsoft Visual Studio
---------------------------
Could not read result repository: The ConnectionString property has not been initialized..
Will display the runtime result instead of the repository result.
---------------------------
OK
---------------------------
The reason is that you have selected "None" in the "Storage Type" property of the Run Settings. Instead select "Database" and you should not see this error.
Hi Anuj,
ReplyDeleteHave the same problem.
I deployed sql express, configured Storage Type as "Database" and have the same result.
What else I can check to solve this issue and store test results in sql database?
Try creating a load test repository by following the steps at http://www.anujchaudhary.com/2011/04/vs-2010-create-load-test-repository.html
ReplyDeleteThen make sure that you have specified this connection string in Test->Manage Test Controller