vendredi 10 juillet 2015

Unit Test Load Testing Visual studio Cloud not able to initialize sql server connection

I am trying to test WCF end point stress testing using VS 2013 Cloud Load testing. I have created unit testes which are running fine. to make my unit test work I had to pass some random set of values to the Endpoint. So I created a database haavinf valid values and randomly selecting them as a input for my WCF endpoint.

I am trying to use VS 2013 Cloud load testing and my tests are failing at Unit test Initialization test.

Initialization method WCFLoadTests.Tests.Init threw exception. System.Data.Entity.Core.EntityException: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified).

Do I need to do some setting on cloud? or what? Many thanks,

Aucun commentaire:

Enregistrer un commentaire