软件工程

本类阅读TOP10

·PHP4 + MYSQL + APACHE 在 WIN 系统下的安装、配置
·Linux 入门常用命令(1)
·Linux 入门常用命令(2)
·使用 DCPROMO/FORCEREMOVAL 命令强制将 Active Directory 域控制器降级
·DirectShow学习(八): CBaseRender类及相应Pin类的源代码分析
·基于ICE方式SIP信令穿透Symmetric NAT技术研究
·Windows 2003网络负载均衡的实现
·一网打尽Win十四种系统故障解决方法
·数百种 Windows 软件的免费替代品列表
·收藏---行百里半九十

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
Rational中DataPool的介绍与实际应用-续(3)

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

二.性能测试脚本自动建立测试datapool

robottools->session record options, 设置Generator页面generaluse datapool选项,才能在产生datapool.

一般录制性能测试脚本,遵循如下步骤:

第一.         设置录制Session选项

第二.         启动录制对话

第三.         启动客户端程序

第四.         产生脚本

第五.         关闭客户端程序

第六.         停止录制

 

设置选项:

1.录制方法(method: api, network,proxy,custom四种选项设置

   通过分析要测试的软件架构来选择录制的方法,下边的表格提供参考:

 

 

Situation

Api

NetWork

Proxy

The client application access secure data from a Web server

Required

 

 

The Client Application access data from a web server

Recommended

Fist Alternate

Second alternate

The client application accesses objects on a DCOM Server

Required

 

 

The client application access an oracle8 database or oracle arrays.

Required

 

 

The client application access an Oracle database.(For network and proxy recording, supply the name of the oracle database,)

Recommended

First alternate

Second alternate

The client application is not installed on the local computer

 

Recommended

Alternate

The client application is not running on Windows NT4, Windows XP, or Windows 2000

 

Recommended

Alternate

You want to record traffic from multiple client applications that reside on different commputers

 

Recommended

Alternate

You want to record traffic between multiple,specific clent and server computers.

 

 

Recommended

Neither the client nor the serer computer is on same network segment  as  the  local computer

 

 

Required

An Ethernet controls network traffic, and neither the client nor the server application is installed on the computer

 

 

required

The client application accesses a TUXEDO Server

Recommended

Alternate

 

“On-the-wire” recording support is lacking

Recommended

 

Alternate

Api recording is not functioning properly

 

Recommended

Alternate

FDDI,ATM,or other hight-speed networks are used

 

 

Recommended

备注:上图参考rational robot user’s guide

      NetWork录制方式必须安装Rational网络驱动才能生效

      安装方法:

1.     开始-〉设置-〉网络和拨号连接

2.     点本地连接

3.     点安装,选择协议,点添加

4.     点选者从磁盘安装

5.     打开安装目录C:\Program Files\Rational\Rational Test\driverw2k(安装rational的目录),选者inf文件,确定

6.     选择ethernet 或者 token ring都可以

 

2.Generator Filtering

  Filtering

1.设置autoFiltering使robot生成脚本时自动选择可用协议,下边协议选者列表可用

 特别说明DCOM是一种独占的协议,不能和其他协议共存

       如果后台是SQLSERVER,选择SQLSERVER,如果后台是ORACLE,选择ORACLE协议。根据软件实现方式,选择不同的协议。

           (2). 设置Manual Protocol Filtering使robot生成脚本时手工选择协议

3.Generator Per Protocol

  只能对在generator Filtering选择的部分协议(http,iiop,Oracle,Tuxedo,dcom)起作用。




相关文章

相关软件