“负载生成器当前正在运行该类型的最大数量的 Vuser”报错的解决

上一篇 / 下一篇  2011-02-24 11:11:13 / 个人分类:LR学习

本文为转载

原帖地址:http://www.51testing.com/?uid-26410-action-viewspace-itemid-83849

    在我运行并发用户2500个的时候,controller发生了一个error,即“负载生成器当前正在运行该类型的最大数量的 Vuser”。当时很是摸不着头脑。
    由于我的客户端是xp+sp2,采取的协议的winsocket.思路很简单,就是模拟一个客户端给一个server定时发一个格式已经定义好的报文,编辑脚本时候的测试都是通过的。结果在运行大并发的时候出了此错。
    开始的时候担心是不是xp系统对与建立socket连接是否有限制。后来实在找不着相关的依据。就又回头来看错误信息。
    结果发现了刚刚忽视的Message Code 84401;查找帮助文件得到以下故障点描述以及修复操作步骤。
英文原文如下:
Check that the number of Vusers that you have assigned to run in the scenario does not exceed the number of Vusers that you are licensed to run. If it does, reduce the number of Vusers assigned in the scenario.
Check the number of Vusers defined for the load generator: In the Controller, open the Load Generators dialog box (Scenario > Load Generators), and click Details. Click the Vuser Limits tab to view the maximum number of Vusers set for each Vuser type. Increase this number if necessary (provided you have additional licensed Vusers), or reduce the number of Vusers defined in the scenario goal.
翻译如下:
检查你计划在场景中运行的VU的数量是否超过你的license允许运行的VU的数量。
如果超过了,则需要减少在场景中分配的VU个数。
如果未超过,则检查负载生产前定义的VU数量:
   在controller中,打开负载生成器会话窗体(场景——>负载生成器),然后点击详细信息。继而点击Vuser Limits标签来查看为各种类型VU设置的最大数目。必要的话增大这个数目(前提是你有得到许可license的VU),或者在场景目标中减少VU运行的数量。

    并且奉上具体设置界面截图,希望对大家有些帮助。

    



TAG:

引用 删除 c421890076   /   2018-05-24 16:49:08
 

评分:0

我来说两句

Open Toolbar