最大用户数和没有测试执行Visual Studio负载测试。 [英] Maximum User Count and no of Test execution Visual Studio Load Test.
问题描述
HI朋友,
我正面临视觉工作室负载测试中的一个问题进行以下设置。
初始用户数 - 0
最大用户数 - 3000
步骤持续时间(秒) - 1
步骤斜坡时间(秒) - 0
步骤用户数 - 6
但是当我运行负载测试时,它正在执行超过3000的Web测试。
重要的是假设我执行的测试总数为4500,因此只有3000测试通过休息失败(1500失败)
我想将网络测试执行限制为3000 ....我不知道是否有任何与之相关的设置。
另一个问题是,当我们在一段时间后开始添加用户时,4个Web服务器中1个Web服务器的请求/秒从100-200增加到Lacks。
HI Friends,
I 'm facing one of the issue in visual studio load testing in that i have put the following settings.
Initial User Count - 0
Maximum User Count - 3000
Step duration (Second) - 1
Step Ramp Time(Second) - 0
Step User Count - 6
But when i run the load test, it is executing the Web Tests which is more then 3000.
Important thing is suppose my total no of tests which are executing is 4500 so in that only 3000 are getting pass rest are failing(1500 are failing)
I want to Limit the web test execution to to 3000....I don't know if there is any setting associate with this.
Another issue is when we start adding the User after some time, out of 4 web servers 1 web server's request/sec is increased from 100-200 to Lacks.
使用的组件
1)Visual Studio 2012 Ultimate
2) SQL Server 2008
如果有任何解决方案,请告诉我们。
问候,>
Deepak
这与我的大学生活有关
Component Used
1) Visual Studio 2012 Ultimate
2) SQL Server 2008
Please let us know if any solution on this.
Regards,
Deepak
this is related to my college life
推荐答案
"最大值用户数量"设置将执行测试的最大虚拟用户数。如果您希望执行的最大测试次数为3000然后设置,请在"运行设置","使用测试迭代"和"使用测试迭代"中进行设置。为true并设置
"测试迭代"到3000.
The "Maximum user count" sets the maximum number of virtual users that will execute your tests. If you want the maximum number of tests executed to be 3000 then set, in the "Run settings", "Use test iterations" to true and set "Test iterations" to 3000.
检查方案中踩踏值的其他部分是否符合要求。使用您引用的值,在测试执行一秒后,将有6个虚拟用户,每个用户运行一个测试用例。两秒后将有12秒.3秒后
18. 10秒后60.请查看该网站要处理的并发用户数以及此测试中您想要的并发用户数。然后相应地调整步进值。
Check that the other parts of the stepping values in the scenario do what you want. With the value you quote, after one second of test execution there will be 6 virtual users each running a test cases. After two seconds there will be 12. After 3 seconds 18. After 10 seconds 60. Please find out how many simultaneous users the site is intended to handle and how many simultaneous users you want in this test. Then adjust the stepping values accordingly.
问候
Adrian
这篇关于最大用户数和没有测试执行Visual Studio负载测试。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!