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.
I connected to the load controller in the load settings file. But, how would I attached to two or more load controllers?
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.
原文:https://stackoverflow.com/questions/39645976
最满意答案
你没有正确使用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 - 默认情况下它会将响应视为html。 $.post('foo.php', { request: Request }, function(data) { $.each(data.chats, function(i, chat) { ... }); }, 'json'); Tell it that you are expecting JSON -- by default it will treat the response as html. $.post('f ...
-
Json数据 - 未定义(Json data - Undefined)[2022-03-31]
我解决了 问题是控制器。 我改成了 public JsonResult RitornaRigheJson() { RigaFattura[] elenco = {new RigaFattura{nriga = 1,Descrizione="Prova Riga"}}; IEnumerabledata = elenco; return Json(data, JsonRequestBehavior.Allo ... -
尝试typeof(CIMtrek_Attachement_1) === undefined :)并且不应该是!==而不是===? try typeof(CIMtrek_Attachement_1) === undefined :) and shouldn't it be !== instead of === ?
-
$.fn.each()被设计为遍历dom元素。 例如,您需要$.each() ,它遍历任何泛型集合,例如对象数组。 将你的.each()代码改为如下所示: $.each(data, function(index, data) { $("#envivo").append("
- Titulo: " + data.titulo + " Link: " + data.link + " Fuente: " + data.fuente + "
"); }); $.fn.each() is design ... -
Google Apps脚本json数据在javascript中未定义(Google Apps Script json data becomes undefined in javascript)[2023-06-17]
您对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 ...