1:
first,需要把目录 【 WebSphere 安装目录】 /AppServer/installableApps 下的 PerfServletApp.ear 部署在 WebSphere 目录下。
根据该应用程序的部署描述符 Context-root: /wasPerfTool ,以及 Url pattern: /servlet/perfservlet ,
输入地址 http://127.0.0.1:9080/wasPerfTool/servlet/perfservlet/PerfServletApp
其中 1 127.0.0.1 为本应用所在的 IP 地址.
Another :
use http:// 127.0.0.1 :9080/wasPerfTool/servlet/perfservlet/PerfServletApp
also can monitor websphere 的瞬时资源情况 .
若要在 loadrunner 中监控 websphere 6.1 ,
需要做以下配置:
在 websphere 的 web console 上,
点菜单
应用程序服务器 > server1 > 配置 > 性能和诊断顾问程序配置
点选
启用性能和诊断顾问程序框架(运行时性能顾问程序)
点菜单
监视和调整
请求度量值
要检测的组件 点选全部
请求度量值目标
选择标准日志
重新启动 WebSphere 服务,
在 loadrunner 中选择 WebSphere 4.x or 5.x ,( WebSphere 不能用)
monitor machine 设置为 127.0.0.1:9081
platform 选择机器的操作系统即后,就可以动态监控到 websphere 的资源使用情况。