负载测试问题分析处理

为什么无法添加代理机?

一旦你搭建部署了visual studio团队测试代理,确认“visual studio team test agent”服务已经被成功启动。

 

为什么不能连接控制器?

验证你的账号在TeamTestControllerUsers组。

1.    打开 Server Manager点击 configuration

 

2.    configuration, 选择Local Users and Groups

 

3.    Local Users and Groups, 点击Groups

 

4.    找到TestTestControllerUsers , 将账号添加进去.

 

有多个测试代理机器时,如何在期望的代理上运行测试?

添加属性可以过滤代理名。

1.    在“Administrator Test Controller”窗口点击Add...” 按钮

 

2.    在代理窗口, 点击Add..” 按钮添加属性名和属性值

 

3.    双击Local.testsettings 文件,打开 Configuration Setting 窗口选择“Limit the tests to run only on agents that exhibit the following properties:”, 然后点击Add…” 添加属性名和属性值

 

选择LAN 作为 network profile, 为什么不能生成 “NetworkEmulation.xml”?

LAN 是保留字,实际意思是没有仿真。 当选择LAN, 并不会装载任何profile.

 

如何鉴别网络仿真环境?

当测试完成时,点击 "Test run completed" 你会看到:

 

点击"NetworkEmulation.xml" 链接, 你会看到如下的信息:

<NetworkEmulation><Information>Network Adapter with MAC address: 00-15-5d-0f-b5-03, will be used for emulation.</Information><Information>The profile settings that were used to simulation the network: <Emulation xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><VirtualChannel name="ThreeG-Channel1"><FilterList /><VirtualLink instances="1" name="link1"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">512</Speed><QueueManagement><NormalQueue><Size>100</Size><QueueMode>packet</QueueMode><DropType>DropTail</DropType></NormalQueue></QueueManagement></Bandwidth><Latency><Fixed><Time unit="msec">150</Time></Fixed></Latency><Loss><Random><Rate>0.0025</Rate></Random></Loss></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">64</Speed><QueueManagement><NormalQueue><Size>100</Size><QueueMode>packet</QueueMode><DropType>DropTail</DropType></NormalQueue></QueueManagement></Bandwidth><Latency><Fixed><Time unit="msec">150</Time></Fixed></Latency><Loss><Random><Rate>0.0025</Rate></Random></Loss></LinkRule></VirtualLink></VirtualChannel></Emulation></Information></NetworkEmulation>

你会在这些信息中发现在哪块网卡上作了那种类型的模拟。

 

为什么遇到 LoadTestLimitExceededException 错误?

当有许多相同类型的错误发生时,会出现这个错误。这通常表示当前运行的负载测试下的测试出现了问题。比如,假如你的网络测试要求的URLs没有发现,你应该纠正网络测试的问题以修正这个错误。

 

为什么遇到异常“Error occurred running test. Could not run load test on agent. There are no tests in this load test”?

尽管已经建立了网络测试,单元测试和负载测试,但在运行负载测试前,还需要将网络测试和单元测试添加到负载测试中,如下图。

转载于:https://www.cnblogs.com/EAST/archive/2009/07/06/1517863.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值