Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在代理TFS 2010上运行web测试_Tfs_Performance Testing - Fatal编程技术网

无法在代理TFS 2010上运行web测试

无法在代理TFS 2010上运行web测试,tfs,performance-testing,Tfs,Performance Testing,我遇到了数据绑定Web性能测试的问题。我有两个web测试,每个测试数据绑定到不同的CSV文件。最初创建的第一个运行良好。但是第二个web测试抛出了以下内容 错误: Could not run Web test 'WebTest1' on agent {{SERVER}}: Could not access table 'Data#csv' in data source '{{Datasource}}' of test '6181b289-71fa-478f-8341-eba270b46c2a':

我遇到了数据绑定Web性能测试的问题。我有两个web测试,每个测试数据绑定到不同的CSV文件。最初创建的第一个运行良好。但是第二个web测试抛出了以下内容

错误

Could not run Web test 'WebTest1' on agent {{SERVER}}: Could not access table 'Data#csv' in data source '{{Datasource}}' of test '6181b289-71fa-478f-8341-eba270b46c2a': No value given for one or more required parameters.

我在本地运行它们。没有设置控制器或代理,我正在使用
VS 2010 SP1

在visual Studio中打开在web测试中加载的CSV文件,并将分隔符更改为
,用于标题和值。例如:

之前:

username;password;shopID;periodID
user1;password11;1;10
user2;password22;2;10
之后:

username,password,shopID,periodID
user1,password11,1,10
user2,password22,2,10

在根据SQL Server查询结果创建.CVS文件后,我收到了上述错误。在用记事本检查了.CVS之后,我发现它的格式是UTF-8。从记事本只需将编码设置为ANSI而不是UTF-8或Unicode,这将解决问题

这是可行的,但情况正好相反。我必须在UTF-8中保存以使其正常工作。csv文件已经是ANSI格式,但失败。。