tfs - 无法在代理 TFS 2010 上运行 Web 测试

标签 tfs performance-testing

我遇到了数据绑定(bind) Web 性能测试的问题。我有两个网络测试,每个测试都将数据绑定(bind)到不同的 CSV 文件。最初创建的第一个运行完美。但第二个网络测试抛出以下内容。

错误:

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.

我在本地运行它们。未设置 Controller 或代理,我使用的是 VS 2010 SP1

最佳答案

在 Web 测试中加载的 Visual Studio 中打开 CSV 文件,并将 header 和值的分隔符从 ; 更改为 ,。例如:

之前:

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

之后:

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

关于tfs - 无法在代理 TFS 2010 上运行 Web 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13454821/

相关文章:

networking - jMeter 分布式测试 : Master won't shut down

javascript - 用法 Array.push 方法

c# - 如何共享项目的代码文档?

node.js - 找不到具有以下功能的代理 : grunt

tfs - 为什么在 TFS 中所有文件都标记为 'merge'?

TFS 2010 : Gated Check-In On Main Branch; Rolling Builds on Dev Branch?

javascript - Chrome : Why change style in batch(cssText) is slower then change in single(. style.property) 方式?

c++ - kernel.kallsyms 在 C++ 应用程序运行中的作用

ajax - 通过 JMeter 进行 AJAX 调用的性能测试

visual-studio-2010 - Team Foundation Server要求登录凭据