- 浏览: 427076 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
iwwenbo:
别逗好不好
Popup.js 弹出窗口 -
bugnuke:
尼玛 跑不了。。。
Popup.js 弹出窗口 -
tangzhifei:
创建Subversion授权文件放哪目录下?前面我的都对了,到 ...
Trac系列(8):windows下Apache+SVN+Trac安装及配置(一) -
zoutuo1986:
正在安装,确实很慢,一定要选择网速快的时候安装,
eclipse 插件springide安装 -
johnsonyang:
this.jmsTemplate.send(
...
spring,weblogic配置jms
Installation Overview
LoadRunner provides two different ways to monitor a WebLogic server depending upon the WebLogic version, i.e. SNMP-based monitor, or JMX monitor.
WebLogic Monitor (SNMP-based monitor)
WebLogic monitor (SNMP- based) gathers measurement based on information returned by the WebLogic SNMP agent.
· Availability: LoadRunner 6.0
· Supported Server Version: WebLogic 5.x
· Supported Server Platform: Windows NT, Windows 2000
WebLogic Monitor (JMX monitor)
WebLogic monitor (JMX) gathers measurement based on Java API. It uses the JMX interface, (which is a Sun extension to Java.
· Availability: LoadRunner7.02 or above
· Supported Server Version: WebLogic 6.x –7.x. For WebLogic8.x, please refer to the additional setup information below .
· Supported Server Platform: Windows NT, Windows 2000, Solaris 2.6, AIX 5.1, HP-UX 11
WebLogic Monitor (SNMP-based monitor)
Installation guide
The WebLogic (SNMP) monitor uses SNMP to retrieve server statistics. To use this monitor, you must make sure that a version prior to WebLogic 6.0 is installed on your server, and that the SNMP agent is installed and activated on the server.
How to start the Bea Web Server
1. Go to the WebLogic directory.
2. Save the startWebLogic.cmd file as startWebLogic.bat.
3. Open startWebLogic.bat and set the JDK_HOME parameter to <JDK installation>.
How to start the SNMP agent on the server
1. Make sure that the standard SNMP agent is not running – to verify this, go to Control Panel ® Services and check the status of SNMP and SNMP Trap or consult the UNIX admin for the SNMP daemon on the Unix machine.
For the UNIX platform, the batch file is startSnmpAgent.sh.
3. In the same file (startSnmpAgent.bat or startSnmpAgent.sh), search for the following line (usually the last line in file):
“%JDK_HOME%\bin\java -classpath %JAVACLASSPATH% weblogic.SNMPAgent -password ServerSystemPassword -serverURLs t3://localhost:7001 -trapDestinations localhost:162”
· This is the command use to startup the WebLogic SNMP agent.
· It requires a Java Virtual Machine for execution.
· The classpath must contain weblogicaaux.jar and \weblogic\classes. For Weblogic 5.1 with SP, you would need to add the sp jar file (usually named weblogic510spxxx.jar)to the CLASSPATH of the agent startup scrīpt.
4. Replace ServerSystemPassword with the password defined during server installation.
5. If you do not know your password, it is in the “weblogic.properties” file under the property “weblogic.password.system=???.”
6. You will probably need to change “localhost” to the name of your machine.
7. Run startSnmpAgent.bat from the Command Prompt. If it starts OK, you will receive a “Agent Initialization Complete” message.
NOTE:
1. For detailed instructions on installing the WebLogic SNMP agent and the utilities to test the agent, see http://www.weblogic.com/docs51/admindocs/snmpagent.html.
2. If you intend to run the WebLogic Server SNMP agent as the only agent on the system, you may not be able to start it if any other agent is already running and is bound to the SNMP port (161).
How to configure the SNMP-based monitor in LoadRunner
1. Click the WebLogic (SNMP) graph in the graph tree, and drag it into the right pane of the Run view.
2. Right-click the graph and choose Add Measurement(s), or choose Monitors à Add Online Measurement.
3. In the Monitored Server Machines section of the WebLogic (SNMP) ( or WebLogic) dialog box, click Add to enter the server name or IP address of the machine you want to monitor. Select the platform on which the machine runs, and click OK.
4. In the Resource Measurements section of the WebLogic (SNMP) dialog box, click Add to select the measurements that you want to monitor. The WebLogic SNMP Resources dialog box displays the available measurements.
5. Browse the WebLogic SNMP Objects tree.
6. To measure an object, select it, and click Add. The following tables describe the measurements and server properties that can be monitored
Known Issues and limitations
1. The SNMP-based monitor can only monitor up to 25 measurements.
2. Some network devices between the LoadRunner Controller machine and the SNMP agent machine might be configured to block or reroute the SNMP traffic.
Tips and Tricks
Q. LoadRunner 6.51 Controller crashes if the SNMP agent is unavailable
R. This is a known issue in LoadRunner 65 SP1. To resolve the issue, please download and apply Patch LR651P34 from Support’s Download à Patches à LoadRunner à 6.5 SP1 à LR651P34 - LoadRunner 6.51 Fixed Controller crashes caused by unavailability of the SNMP or WebLogic server
Q. How to monitor a non- Community String
R. To do so, please modify the snmp.cfg located in <LoadRunnner >\dat\monitors:
1. Look for the appropriate monitor.
2. Uncomment the "SNMP_community_name=" line by removing the semi-colon (";").
3. Add the community string setup by the SNMP agent, to the end of “SNMP_community_name=;”. Please note that this is case-sensitive.
4. Save the snmp.cfg file and restart the LoadRunner Controller.
Q. How to change the port number
R. To do so, you need to modify the snmp.cfg file in <LoadRunner>\dat\monitors.
1. Look for the appropriate monitor.
2. Uncomment the "port=" line by removing the semi-colon (";").
3. Add the port number to the end of “port=”. For example, port=1234
Q. What to do if there is a firewall between Controller and Host
For monitoring over firewall, please refer to Knowledge Base Article 3678
Q. Error: “Not a scalar MIB object”
R. You receive this error because you are trying to access a private/ proprietary MIB file. LoadRunner does not recognize this file, as it is not in LoadRunner’s MIB definition file.
WebLogic Monitor (JMX monitor)
Installation Requirement
1. WebLogic 6.0 or above on the server
2. JDK 1.3.x or above installed on the Controller machine. For WebLogic8.x, you need JDK1.4.
3. Copy WebLogic.jar from <server installation>\lib folder to <LoadRunner>\classes
4. LoadRunner 7.02 or above:
a. No patches is required for LoadRunner 7.5 or above
b. For LoadRunner 7.02:
· Contact Mercury Customer Support for patch LR702P34 - LoadRunner 7.02 WebLogic JMX monitor for versions 6.0 & 6.1
· To install:
i. Exit LoadRunner Controller.
ii. Unzip weblogic60_702.zip in the LoadRunner installation directory.
iii. Terminate the Java Web server by entering the URL
http://localhost:1112/?id=exit&type=0 in a browser.
iv. Run patch_monitors_v702.bat in <LoadRunner>\bin
v. Install Java Runtime by executing j2re-1_3_1-win.exe.
How to configure the WebLogic (JMX) Monitor in LoadRunner
1. Click the WebLogic (JMX) graph in the graph tree, and drag it into the right pane of the Run view.
2. Right-click the graph and choose Add Measurement(s), or choose Monitors à Add Online Measurement.
3. In the Monitored Server Machines section of the WebLogic (JMX) dialog box, click Add to enter the server name or IP address of the machine you want to monitor. Enter the server name or IP address according to the following format:
<server name>:<port number>
For example: mercury:8111. Select the platform on which the machine runs, and click OK.
4. Click Add in the Resource Measurements section of the WebLogic (JMX) dialog box. In the Enter Login Information dialog box, enter the username and password of a user with administrative privileges to the WebLogic server. The BEA WebLogic Monitor Configuration dialog box opens. For details on creating user permissions, see
5. Browse the Measured Components tree.
6. Check the required performance counters in the BEA WebLogic Monitor Configuration window's right pane.
7. Click OK in the BEA WebLogic Monitor Configuration dialog box, and in the WebLogic (JMX) dialog box, to activate the WebLogic (JMX) monitor.
发表评论
-
Loadrunner关联
2008-09-28 16:40 3994Loadrunner关联(一)什么 ... -
Loadrunner 测试sql语句性能
2008-09-28 11:05 6027本次通过loadrunner录制Sql ... -
如何在 LoadRunner 脚本中做关联 (Correlation)
2008-09-28 11:04 3043当录制脚本时,VuGen会 ... -
lr监视的性能计数器
2008-09-28 10:59 1760Memory: 内存使用情况可 ... -
十步完成Web应用程序压力测试
2008-09-28 10:55 1734Web 应用程序是决定网站 ... -
分析图表-中级测试师用
2008-09-28 10:52 1428在论坛混了多日,发现越来越多的性能测试工程师基本上都能够掌握利 ... -
LR性能分析图解释
2008-09-27 11:23 2365Transactions(用户事务分析)用户事务分析是站在用户 ... -
Loadrunner关于页面检查的几个函数详解
2008-09-27 11:07 3139环境:51Testing软件测试网/VDn_([Loadrun ... -
Loadrunner 日志参数的设置与使用
2008-09-27 11:05 2535转载请注明出处:http://www.51testing.co ... -
lR知识
2008-09-23 16:25 1320问题1:LoadRunner响应时间 ... -
性能瓶颈分析方法
2008-09-23 16:19 3310同一场景1.小用户量的情况下测试2.大用户量情况下的测试分析的 ... -
LoadRunner中HTTP协议的录制及两种录制模式的比较
2008-09-23 14:36 2031一,脚本编写 1, “HTML –base scrīpt”和 ... -
LoadRunner例子:检查点为参数的一个例子
2008-09-23 14:30 2681检查点是LoadRunner的一个功能,用来验证业务功能的正确 ... -
LoadRunner中字符串的操作
2008-09-23 14:29 2365LoadRunner中常用的字符串操作函数有: ... -
LoadRunner编程之文件的操作
2008-09-23 14:28 2023这篇文章主要写下LoadRunner下如何进行文件的操作。 1 ... -
LoadRunner关联函数的脚本实例--如何操作关联参数
2008-09-23 14:24 4924这几天一直在学习LoadRunner的VuGen编程,今天想对 ... -
关于Loadrunner非常好的英文网站
2008-09-23 14:07 1883今天无意间在一个测试同行的BLOG中发现了这个网站的链接: h ... -
LoadRunner脚本编写(6)— 数据类型转换和字符串操作
2008-09-22 16:05 4695一,数据类型转换 没有使用过C编程的LoadRunner脚本编 ... -
LoadRunner脚本编写(5)-- 检查点,关联等函数
2008-09-22 16:04 4113本文接着前面脚本编写4 http://www.51testin ... -
LoadRunner学习---脚本编写(4)(比较重要)
2008-09-22 16:01 4919今天接着来翻译http://www.wilsonmar.com ...
相关推荐
- 设置LoadRunner的代理服务器监控端口与手机配置的代理端口一致。 - 完成设置后,点击**完成**按钮开始录制。 3. **执行测试动作**: - 开始录制后,在智能手机上打开需要录制的应用程序,并执行相应的业务流程...
6. **创建和运行测试场景**:在LoadRunner控制器上定义测试场景,包括虚拟用户的数量、类型、执行的脚本等,然后将场景分发到负载机上执行。 在Linux环境中,Load Generator可以实现远程监控和管理,这对于大型...
loadrunner-11-load-generator.iso
【LoadRunner学习---脚本编写系列】是一系列关于LoadRunner工具中脚本开发的文章,旨在帮助读者掌握如何高效地编写LoadRunner脚本。LoadRunner是一款功能强大的性能测试工具,通过模拟多个用户并发执行脚本,以检测...
本篇将聚焦于“loadrunner-11-load-generator”,即LoadRunner 11版本的负载生成器在Linux环境下的运用,探讨其核心功能、安装步骤以及如何进行性能测试。 一、LoadRunner 11负载生成器概述 LoadRunner 11负载生成...
LoadRunner是性能测试中最常见的性能测试工具,也是软件测试实验室申请相关资质一定需要采购的一款工具。今年它更新了新版本2023,其中有几个功能与之前的版本相比有了很大的突破,本文我们就为大家分析一下...
在IT行业中,LoadRunner是一款广泛使用的性能测试工具,由HP(现被Micro Focus收购)开发。它能够模拟大量用户并发执行任务,以检测系统在高负载下的性能和稳定性。本笔记将聚焦于“使用程序批量动态生成脚本”,这...
LoadRunner 11 Patch 3 - part1
LoadRunner 11 Patch 1 - part1
LoadRunner 11 Patch 4 - part2
安装.NET ADD-IN for VS 2005 ,可以直接VS 2005写lr 代码,然后在lr8.0 ,lr9.0直接可以做并发测试。
LoadRunner 11 Patch 4 - part1
《LoadRunner 监控器参考》使用指南 描述如何设置服务器监控器环境和配置 LoadRunner 监控器以监控场景或优化会话运行期间生成的数据。
LoadRunner是一款专业级别的应用负载测试工具,它可以模拟上千万用户对企业应用进行真实的负载测试,通过大量实时监测器和精确的分析来得到最真实的数据。
LoadRunner作为一款强大的性能测试工具,支持多种类型的监控方式,其中通过Java Management Extensions (JMX)来监控WebLogic服务器是一种非常实用的方法。本文将详细介绍如何配置LoadRunner以便于监视WebLogic服务器...
【LoadRunner11 汉化包-绝对有用】 LoadRunner是HP公司开发的一款功能强大的负载测试工具,常用于企业级应用性能测试。LoadRunner11作为其一个重要版本,提供了全面的功能,允许测试人员模拟大量用户同时访问系统,...
LoadRunner 11 Patch 2 - part2
LoadRunner 11 Patch 1 - part2