loadrunner Windows资源 添加度量时拒绝访问 MsgId: MMSG-47299

上一篇 / 下一篇  2017-07-07 17:26:46 / 个人分类:LR问题总结

loadrunner输入要监控windowsip地址出现
Monitor name :Windows Resources. Cannot connect to machine 192.168.3.2.
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]
的错误

 

解决方法:

在服务器上进行如下操作:
net usertesttest /add --
添加一个名为test,密码为test的账户;
net localgroup administrators test /add--
test用户添加到管理员组
net share
检查系统开了那些共享,如果c$IPC$共享没有则用命令
net share c$=c:--
建立c盘共享
net share ipc$--
建立ipc$共享
net start Remote Procedure Call--
启动服务
net start Remote Registry Service-
启动服务
在你测试机上做如下操作:
net use \\
测试服务器ip\ipc$ "test" /user:test

 net use \\测试服务器ip\c$ "test" /user:test

提示拒绝访问请设置:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Value: LocalAccountTokenFilterPolicy
Data: 1 (to disable, 0 enables filtering)
Type: REG_DWORD (32-bit)

(已经验证通过。)

小结:
  LoadRunner添加Windows监听器需要进行的相关设置(下面都是对被监视服务器的操作):
  1、共享C盘;(一般情况下,C盘是共享状态,无需处理)
  2、保证如下服务开启:
  aRemote Procedure Call (RPC)
  bRemote Procedure Call (RPC) Locator
  cRemote Registry
  dWorkstation
  3、本地安全设置-->安装设置-->本地策略-->安全选项,网络访问:本地账户的共享和安全模式项选择经典-本地用户以自己的身份验证
  4、用户需要在本地客户端访问服务器,操作方式,开始→运行→输入服务器IP地址。

TAG:

 

评分:0

我来说两句

Open Toolbar