Rational中DataPool的介绍与实际应用-续(3)
来源:互联网 发布:郭安迪解压密码淘宝 编辑:程序博客网 时间:2024/06/09 14:07
二.性能测试脚本自动建立测试datapool
在robot中tools->session record options, 设置Generator页面general的use 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)起作用。
- Rational中DataPool的介绍与实际应用-续(3)
- Rational中DataPool的介绍与实际应用-续(1)
- Rational中DataPool的介绍与实际应用-续(4)
- Rational中DataPool的介绍与实际应用
- Rational中DataPool的介绍与实际应用
- Rational中DataPool的介绍与实际应用-续(2)
- MySQL 备份的实际应用与功能介绍
- 用Excel做Datapool实现Rational Robot 功能测试的一个实例
- Rational中相关组件的简单介绍
- DataPool的相关文章
- 抽象类与借口的实际应用
- 脚本中对层的实际应用
- 实际应用中installshield的事件处理
- PHP中关于队列的实际应用
- [easyui]实际应用中遇到的问题
- xpath中normalize-space的实际应用
- JAVA中设计模式的实际应用
- js中cookie的实际应用
- Web测试工具对比--自动化功能测试(4)
- robot对DELPHI中GRID控件的识别问题
- Rational中DataPool的介绍与实际应用
- Rational中DataPool的介绍与实际应用-续(1)
- Rational中DataPool的介绍与实际应用-续(2)
- Rational中DataPool的介绍与实际应用-续(3)
- Rational中DataPool的介绍与实际应用-续(4)
- 自动化测试框架RRAFS-------Saftware Automation Framework Support - 1
- 自动化测试框架RRAFS-----Saftware Automation Framework Support - 2
- 自动化测试框架RRAFS-Saftware Automation Framework Support - 3
- 自动化测试框架RRAFS--------Saftware Automation Framework Support--4
- 自动化测试框架RRAFS---Saftware Automation Framework Support - 5
- 自动化测试框架RRAFS---Saftware Automation Framework Support -- 6
- 自动化测试框架RRAFS---Saftware Automation Framework Support - 7