我正在尝试使用VS 2013云负载测试来测试WCF端点压力测试。我创建了运行良好的单元睾丸。为了使我的单元测试工作,我必须将一些随机值传递给端点。所以我创建了一个有效值的数据库haavinf
,并随机选择它们作为我的WCF端点的输入。单元测试负载测试Visual Studio Cloud无法初始化SQL Server连接
我想使用VS 2013云负载测试和我的测试在单元测试初始化测试失败。
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).
我需要在云上做一些设置吗?或者是什么?
非常感谢,