LoadRunner加载监听服务器_Windows

上一篇 / 下一篇  2010-04-26 19:26:34 / 个人分类:LoadRunner相关

LoadRunner 加载监听服务器的步骤如下:

1、在 LoadRunner Controller 下,将工作面板切换到 Run状态,Available Graphs 栏 ,System Resources Graphs目录下选择 Windows Resources,双击,在右侧4个监视栏中,选择 Windows Resources-Last 60 sec双击,放大模块,右键--> Add Measurements ,在新弹出的窗口中,添加 Monitored Server Machines 。(Add Machine 时,Name  一般填机器ip),然后 ok

2、添加完毕后,会看到监视栏中出现10个性能服务器的数据条。这时需要观察Scenario Status 的状态,如果没有 Errors 出现,那么过一会后,会看到 Windows Resources 栏出现走动的数据,表示监听成功;否则,出现了 Errors ,则说明监听不成功。点击 红色的 Errors ,查看失败的原因。

下面是我遇到的两种错误情况:

情况1:

Monitor name :Windows Resources. Cannot connect to machine 192.168.134.103.
Reason: 拒绝访问。

Hints:
Check that your login user name appears as administrator on this machine.
Check that you have entered the correct machine name.
Check that the machine exists and that it is online (use the ping utility for this operation).
Delete the machine and add it again (entry point: CFactory::Initialize). [MsgId: MMSG-47299]

情况2:

Monitor name :Windows Resources. Cannot connect to machine 192.168.1.34.8.
Reason: 找不到网络路径。

解决方法:

   情况1的解决方法,是在网上找的一些方法,尝试了较多,不知是哪一个或哪几个生效起作用了。(后面,会总结一个统一的解决方法)

    情况2的解决方法:启动目标服务器的 Remote Procedure Call (RPC) Locator 服务,连接成功

 

小结

      LoadRunner 添加 Windows监听器需要进行的相关设置(下面都是对被监视服务器的操作):

      1、共享C盘;(一般情况下,C 盘是共享状态,无需处理)

      2、保证如下服务开启:
         a、Remote Procedure Call (RPC)
         b、Remote Procedure Call (RPC) Locator
         c、Remote Registry
         d、Workstation

      3、本地安全设置-->安装设置-->本地策略-->安全选项,“网络访问:本地账户的共享和安全模式”项选择“经典 - 本地用户以自己的身份验证”


TAG:

 

评分:0

我来说两句

Open Toolbar