首页 \ 问答 \ TFS Visual Studio 2015负载测试Intranet WebSite设置(TFS Visual Studio 2015 Load Test Intranet WebSite Setup)

TFS Visual Studio 2015负载测试Intranet WebSite设置(TFS Visual Studio 2015 Load Test Intranet WebSite Setup)

我想要完成的是在网页上运行6000个vUsers。 我无法弄清楚如何调用负载控制器。 我找不到任何明确的文档,说明接下来要做什么来调用我的负载测试并将工作分配给多个负载控制器。 因为这是我公司内部的。 我不能使用VSTS负载控制器。

基于这些页面https://blogs.msdn.microsoft.com/edwinh/2016/04/21/guide-to-get-started-with-visual-studio-web-load-testing-and-automation-2/ https://msdn.microsoft.com/library/dn250793(v=vs.120).aspx#Anchor_3

您可以在其他服务器上安装负载控制器。 我做到了这一点。 在此处输入图像描述

我连接到加载设置文件中的加载控制器。 但是,我如何连接两个或多个负载控制器? 在此处输入图像描述

我还尝试使用解决方案测试设置文件进行构建测试。 我也没有看到连接到许多负载控制器的方法。 如果我运行测试构建它运行..但我没有信息,看它是否甚至运行测试。 在此处输入图像描述 在此处输入图像描述


What I am trying to accomplish is run a load of 6000 vUsers on a web page. I cannot figure out how to call the load controllers. I cannot find any clear documentation about what to do next to call my load tests and assign the work to multiple load controllers. Since this is internal to my company. I cannot use VSTS load controllers.

Based on these pages https://blogs.msdn.microsoft.com/edwinh/2016/04/21/guide-to-get-started-with-visual-studio-web-load-testing-and-automation-2/ https://msdn.microsoft.com/library/dn250793(v=vs.120).aspx#Anchor_3

You can install load controllers on other servers. I have done this. enter image description here

I connected to the load controller in the load settings file. But, how would I attached to two or more load controllers? enter image description here

I also tried a build test using the solution test settings file. I also don't see a way to attach to many load controllers. If i run the test build it runs.. but i have no info to see if it even ran the test. enter image description here enter image description here


原文:https://stackoverflow.com/questions/39645976
更新时间:2021-12-30 18:12

最满意答案

你没有正确使用Uid的数组索引。

更改:

var Ua1 = doc1.m[lp2].a["0"].p;

至:

var Ua1 = doc1.m[Uid[lp2]].a["0"].p;


You're not using the array index for Uid properly.

Change:

var Ua1 = doc1.m[lp2].a["0"].p;

To:

var Ua1 = doc1.m[Uid[lp2]].a["0"].p;

相关问答

更多
  • 您对JSON.parse()初始使用是正确的,但是您遇到了语法错误:在data = file.getAs("json").getDataAsString()之后没有分号。 这可以按照您的期望工作: function getAppMenus(appID) { var files = DriveApp.getFilesByName("Json.json"); var file = files.next(); var data = file.getAs("json").getDataAsString( ...
  • 首先。 fs.readFileSync读取任意文件。 如果您知道您的文件是JSON并且您想将其转换为js,则需要使用JSON.parse解析它。 然后001是1如果你想要它是一个字符串用引号'001'包裹它 数组索引从0开始。 var myarray = []; myarray.push(JSON.parse(fs.readFileSync("data/001"))); console.log(myarray[0].name); 要么 var myarray = {}; // use object mya ...
  • 问题是您在发出的http get请求触发了他们的响应之前检查了artists的内容。 解决这个问题的一种方法是将代码置于success回调中,如下所示: $http.get('https://api.spotify.com/v1/search/?q=genre:pop&type=artist').success(function (data) { var items = data.artists.items; items.forEach(function(item){ art ...
  • 你没有正确使用Uid的数组索引。 更改: var Ua1 = doc1.m[lp2].a["0"].p; 至: var Ua1 = doc1.m[Uid[lp2]].a["0"].p; You're not using the array index for Uid properly. Change: var Ua1 = doc1.m[lp2].a["0"].p; To: var Ua1 = doc1.m[Uid[lp2]].a["0"].p;
  • 您的问题与JSON无关。 您正在加载一个JavaScript脚本,该脚本将对象文字分配给变量champion 。 这显然已经是一个JavaScript对象,因此您不需要使用JSON.parse对其进行转换(当然也不需要使用JSON.stringify来使其成为一个字符串)。 其他一些问题: 将子元素添加到img元素时,您将获得无效的HTML。 您可以在img元素旁边添加该元素,以便它们具有共同的父元素。 不要使用getElementsByClassName("champ-div")[0]来找回刚刚创建的元素 ...
  • 你是在索引而不是j打印i for (var j = 0; j < levelData.layers[0].data.length; ++j) { console.log(levelData.layers[0].data[i]); // <= should be j } 试试这样吧 for (var j = 0; j < levelData.layers[0].data.length; ++j) { console.log(levelData.layers[0].data[j]); } y ...
  • 相关文章

    更多
  • 《用多媒体学Visual C++.NET》
  • 《新版 Visual C++全能速查宝典》扫描版[PDF]
  • 《数字图像处理与机器视觉:Visual C++与Matlab实现》扫描版[PDF]
  • 《从零开始学Visual C++》扫描版[PDF]
  • Fluid Shopping Website 开发阶段性总结——第一周
  • 微会免费电话问题收集(2015-1-4)
  • 微会免费电话问题收集(2015-1-3)
  • Hadoop 1.2.1 单节点安装(Single Node Setup)步骤
  • HDFS小文件处理解决方案总结+FaceBook(HayStack) + 淘宝(TFS)
  • Cannot expose request attribute 'website' because of an existing model object of the same name 的解决方案
  • 最新问答

    更多
  • h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
  • 创建一个功能(Create a function)
  • 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
  • PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
  • Qt冻结循环的原因?(Qt freezing cause of the loop?)
  • TableView重复youtube-api结果(TableView Repeating youtube-api result)
  • 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
  • SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
  • 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
  • 以编程方式创建UITableView(Creating a UITableView Programmatically)
  • 如何打破按钮上的生命周期循环(How to break do-while loop on button)
  • C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
  • 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
  • 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
  • Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
  • 设置kotlin扩展名(Setting a kotlin extension)
  • 如何并排放置两个元件?(How to position two elements side by side?)
  • 如何在vim中启用python3?(How to enable python3 in vim?)
  • 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
  • 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
  • Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
  • dedecms如何安装?
  • 在哪儿学计算机最好?
  • 学php哪个的书 最好,本人菜鸟
  • 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
  • 如何覆盖错误堆栈getter(How to override Error stack getter)
  • 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
  • USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
  • 电脑高中毕业学习去哪里培训
  • 正则表达式验证SMTP响应(Regex to validate SMTP Responses)