51Testing软件测试论坛

标题: loadrunner11监控本机资源 [打印本页]

作者: 蓝莓不美_    时间: 2018-8-14 10:37
标题: loadrunner11监控本机资源
在本机上安装loadrunner11,练手自带的web tours飞机订票系统,想用Windows资源图监控本机的资源使用情况,在controller的资源图中点击了“添加度量”,输入IP:127.0.0.1,platform为Windows 2003,可是点击添加后,就一直报如下错误:Monitor name :Windows ReCheck that your login user sources. Cannot connect to machine 127.0.0.1.
Hints: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]
Reason: 找不到网络路径。看到网上有人说将IP改成localhost就可以了,可是我改了,也是报这样类似错,有没有哪位大神帮忙指点一下啊,万分感谢!!!


作者: qqq911    时间: 2018-8-15 10:36
172.0.0.1吧
作者: jingzizx    时间: 2018-8-15 11:09
查看本机host文件中是否配置了
作者: libingyu135    时间: 2018-8-15 11:13
改成127.0.0.1
作者: 蓝莓不美_    时间: 2018-8-15 14:39
jingzizx 发表于 2018-8-15 11:09
查看本机host文件中是否配置了

可以问下在哪里查看嘛,
作者: 蓝莓不美_    时间: 2018-8-15 14:40
jingzizx 发表于 2018-8-15 11:09
查看本机host文件中是否配置了

可以问下去哪里查看本机的host的文件呢?查看什么配置呢?求指点
作者: 18382225859    时间: 2018-8-15 17:12
蓝莓不美_ 发表于 2018-8-15 14:39
可以问下在哪里查看嘛,

C:\Windows\System32\drivers\etc\hosts
作者: 18382225859    时间: 2018-8-15 17:12
蓝莓不美_ 发表于 2018-8-15 14:39
可以问下在哪里查看嘛,

C:\Windows\System32\drivers\etc\hosts
作者: jingzizx    时间: 2018-8-16 10:26
查看本机host文件中是否配置了
作者: qqq911    时间: 2018-8-16 11:08
看下host的配置吧
作者: 蓝莓不美_    时间: 2018-8-16 11:16
18382225859 发表于 2018-8-15 17:12
C:\Windows\System32\drivers\etc\hosts

打开host长这样:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#        127.0.0.1       localhost
#        ::1             localhost


请问是需要添加什么配置嘛
作者: 蓝莓不美_    时间: 2018-8-16 11:16
18382225859 发表于 2018-8-15 17:12
C:\Windows\System32\drivers\etc\hosts

打开host长这样:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#        127.0.0.1       localhost
#        ::1             localhost


请问是需要添加什么配置嘛




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2