不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           it is no use doing what you like, you have got to like what you do.

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

上一篇 / 下一篇  2006-12-06 20:44:15 / 个人分类:软件测试技术

性能测试脚本自动建立测试datapool51Testing软件测试网%qj,N/@oyO+I

'rt?J*T2tzPiYV0
二.性能测试脚本自动建立测试datapool

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

S_:U&Y7t.W!?8t0

一般录制性能测试脚本,遵循如下步骤:51Testing软件测试网xV-V)Uk.Ci

第一.        设置录制Session选项51Testing软件测试网!H'p*Um~4`5k5m \

第二.        启动录制对话

I&Xk'D1~8kG6R0

第三.        启动客户端程序51Testing软件测试网%?-G;?S/ZN Yd

第四.        产生脚本

@,@/a a1`B0

第五.        关闭客户端程序51Testing软件测试网8H a0d ]@%^.n4t

第六.        停止录制

-cc'~d0_:Zu-V0

 51Testing软件测试网1qc"rh p5g C"q F

设置选项:

kL5LN|!o/Q#QY0

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

LBV+iz9g0

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

7S G)^[Q(_ z0

 

8x9Z&q?v1f0

 51Testing软件测试网)sNFlO'IN8d

Situation

3D&@fq.U i0

Api51Testing软件测试网r&G!R*^+lW O

NetWork

.~M2S,e6R[;}.N0

Proxy

%K3cA7k4H q0

The client application access secure data from a Web server51Testing软件测试网0}7P9p K|!`M%_o

Required51Testing软件测试网(j![T#D8~F"C

 51Testing软件测试网3p!Zc5Z'qn9S ^ O

 

-G4Z"eW[/_vK0

The Client Application access data from a web server51Testing软件测试网L#?p$G"b~/r-E%q'f

Recommended51Testing软件测试网.Lep"J+v ON

Fist Alternate

"xEg~iK1S X#]K0

Second alternate

:c5}%~ V ^zM$I0

The client application accesses objects on a DCOM Server

.[z-X1M2W0

Required

vZ u7B]&J s&\Vk0

 

h#rY2P6r,x0

 51Testing软件测试网t2Ww8ix`

The client application access an oracle8 database or oracle arrays.

Q ut6\!\5n&{nu3x0

Required

;M-a[0k D$X0

 51Testing软件测试网(C)b ~w:B&ko

 51Testing软件测试网'}$X4r8o jXP

The client application access an Oracle database.(For network and proxy recording, supply the name of the oracle database,)51Testing软件测试网;b e1i6k$p9u*]

Recommended51Testing软件测试网*J&Fo(J}MB

First alternate

n![.l [L ]0

Second alternate

g7U[o"Q7S B QT0

The client application is not installed on the local computer51Testing软件测试网e(N0sHD kF

 

2R,Y'w^)Mc0

Recommended51Testing软件测试网9LEEC,u4x

Alternate

bjl+@ [0

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

T[ r2MCA/|0

 

9qM!Mm2\.ZmK0

Recommended51Testing软件测试网 g9Jz`k

Alternate51Testing软件测试网yN1bsXKru'P/t

You want to record traffic from multiple client applications that reside on different commputers51Testing软件测试网&v?6cys xO

 

w;fl%ar9Qb0

Recommended51Testing软件测试网6K&i|o/E j[4^

Alternate

4~h^wE0

You want to record traffic between multiple,specific clent and server computers.51Testing软件测试网E2S,Q)^FN7bm*t)s+T

 51Testing软件测试网5LY-\4ze+ZZi

 

!J!hG)a7J/ao_0

Recommended51Testing软件测试网m/W6zZ?7f)q

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

4JV?O7zd]0

 51Testing软件测试网C|J&eHhn

 51Testing软件测试网2z @{ E h?'g

Required

f i s+Kj_0

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

2NhER+BR7A3~0

 

m5v T6r)iaNepa0

 51Testing软件测试网5ax:@ u G

required51Testing软件测试网ODX(TT%yIt'd

The client application accesses a TUXEDO Server

&~-kF7\$c:F&Z{0

Recommended51Testing软件测试网9@0`6n8v2W'^d

Alternate

!Ay.J4^&do7U0

 

icri @U y0n;~0

On-the-wirerecording support is lacking

@'M i`2c _2sX{0

Recommended51Testing软件测试网)OJU!\V \

 51Testing软件测试网9~ta]{4hl*u%B;b

Alternate

7x1}+vmpO!S0

Api recording is not functioning properly

r;fI:{%l5t}0

 

!f:c1GakI0

Recommended

5Cx k*y ?0` t/U0

Alternate51Testing软件测试网4?0nV |9vz!bJ%}(v

FDDI,ATM,or other hight-speed networks are used51Testing软件测试网 z @ JR8I

 

~6fF5w(Y3Z Wr:{0

 

P7c5kf%QGC2Cr0

Recommended51Testing软件测试网_-Z;h0U Zk3|x

备注:上图参考rational robot users guide51Testing软件测试网Y~[HU(v

      NetWork录制方式必须安装Rational网络驱动才能生效51Testing软件测试网'{ ? t6O S

     安装方法:51Testing软件测试网}^p}?#Xx-h

1    开始-〉设置-〉网络和拨号连接51Testing软件测试网 x(rZ!t0x nEy~

2    点本地连接

`G'g3O:x3k/h"LY0

3    点安装,选择协议,点添加51Testing软件测试网 v3uA8^4e5J*\v{

4    点选者从磁盘安装51Testing软件测试网e:yfMjS,?Z

5    打开安装目录C:\Program Files\Rational\Rational Test\driverw2k(安装rational的目录),选者inf文件,确定51Testing软件测试网qN'o-a'Q A x(`#j

6    选择ethernet或者token ring都可以

;jPu,IA-u O0

 51Testing软件测试网th9_'k7{i%f

2.Generator Filtering51Testing软件测试网[gb(`.]6^(i3AO

  Filtering

Tv2^M(Z U_0

1.设置autoFiltering使robot生成脚本时自动选择可用协议,下边协议选者列表可用51Testing软件测试网\z9Z:h ~OJ/v9D)}

 特别说明DCOM是一种独占的协议,不能和其他协议共存51Testing软件测试网I"Ri*B wp Z

      如果后台是SQLSERVER,选择SQLSERVER,如果后台是ORACLE,选择ORACLE协议。根据软件实现方式,选择不同的协议。51Testing软件测试网'a Kk y#w+M(ze

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

X \1c5g n(rs0

3.Generator Per Protocol51Testing软件测试网7e2E:v5} g-Z+eu

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

相关阅读:

TAG: Datapool TestManager 自动化测试 实际应用 性能测试

引用 删除 sophiashan07   /   2011-01-07 10:25:13
[上海] 沪上知名游戏公司急聘性能测试工程师
测试执行中级(1名)
职位描述:
1.根据需求进行性能测试的设计、执行、分析。
2.将测试工具组件集成到性能测试平台。

职位要求:
1、计算机相关专业,本科及以上学历
2、1-3年测试或开发经验
3、熟悉至少一种数据库产品(mysql优先)
4、熟练使用C++或其他高级语言。
6、精通Loadrunner等性能测试工具。
7、有较好的分析问题能力和解决问题能力
8、对未知领域有一定的学习和研究能力,并持续改进现有流程和方法
9、较强的团队沟通和协作能力

测试执行初级(2名)
职位描述:
1.根据需求进行性能测试的执行、分析。

职位要求:
1、计算机相关专业,本科及以上学历
2、1-3年测试或开发经验
3、熟悉至少一种数据库产品(mysql优先)
4、精通至少一门脚本语言(python优先)。
6、精通Loadrunner等性能测试工具。
7、有较好的分析问题能力和解决问题能力
8、对未知领域有一定的学习和研究能力,并持续改进现有流程和方法

有意向的朋友请与我联系,谢谢:

sophiashan07@hotmail.com
13774462947
 

评分:0

我来说两句

Open Toolbar