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

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

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

性能测试脚本自动建立测试datapool51Testing软件测试网.n:b k6PU3|.eK

4Z\U1\+S@0X0
二.性能测试脚本自动建立测试datapool

robottools->session record options,设置Generator页面generaluse datapool选项,才能在产生datapool.51Testing软件测试网y\[(k NS

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

plI/?{vD {W?0

第一.        设置录制Session选项51Testing软件测试网J!piQv`

第二.        启动录制对话

%fZ Um)sZW0

第三.        启动客户端程序

[w`-JuNfQ0

第四.        产生脚本51Testing软件测试网aCf_b#P7O

第五.        关闭客户端程序51Testing软件测试网"O6@8U+a*[h(c,NEd/pg

第六.        停止录制51Testing软件测试网P q/M Q!X

 

(F_!z!z#B0

设置选项:

B\&_B H6k0

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

$o)u/`Sj/\0

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

i3cI,]c5MT'n P"p}0

 

YTPp#U*Mx T&e^0

 51Testing软件测试网H9\ ba[$b

Situation

s~{+@b}s {e0

Api51Testing软件测试网#G o9}~j&\

NetWork

(^4L2mC6l$Cd'{0

Proxy

TJr1N&@0

The client application access secure data from a Web server51Testing软件测试网] T+`(kN7If3v

Required51Testing软件测试网:["?5t!f7D` RKM

 

b[|0[%~"r kP:m/XO"c0

 

kR9cM%jq Y8hd4A+x0

The Client Application access data from a web server51Testing软件测试网9T Tpuac

Recommended

$IiG9Eb:s0

Fist Alternate

[SB&R7La.Ts*Pz@5P0

Second alternate

(?X/x*TH0

The client application accesses objects on a DCOM Server

)k;H)E3}ZJ7M.J0m'A-KR0

Required

3T/y!CH*R Z$q [*c+B0

 51Testing软件测试网 PSI b1A:E:E9b[

 51Testing软件测试网cp]Bhe:A*f

The client application access an oracle8 database or oracle arrays.

FX@3O Ya*s?;U0

Required

$uO*~9s a |cIj0

 

9M-G3l!i.w_J4HnOQ0

 

;t3~*Xr lc5j+j.F:c$n0

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

)EJE'~-{0

Recommended51Testing软件测试网e u&m|a@^

First alternate51Testing软件测试网`jEq5S_%Q'B

Second alternate

]D6rl*q*gqr`m:p b0

The client application is not installed on the local computer51Testing软件测试网6i.Nz!s.zEBc

 51Testing软件测试网P OI`oc1f7uu,\]Q

Recommended51Testing软件测试网;l OEi#gIZ

Alternate

wq.je X$u ~'?c0

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

&a!tb#YN"Gqq0

 

n~DB?0

Recommended51Testing软件测试网3juT,xmc,Z

Alternate51Testing软件测试网1P$SJ"FP&gWl$E

You want to record traffic from multiple client applications that reside on different commputers51Testing软件测试网/dG*P%p7vI

 51Testing软件测试网$~s:Z TR

Recommended51Testing软件测试网,mg*Tj-Z"W

Alternate51Testing软件测试网VsyF4^@

You want to record traffic between multiple,specific clent and server computers.51Testing软件测试网*X6@7q*H3D4hH0z|

 51Testing软件测试网+f| i7U p&v]S

 51Testing软件测试网.S4d5@] ~ED-k

Recommended

C'q7t4A L6UN ]0

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

'|X/G0R.Nf0

 

6n Q z~0I*^0

 

;j3AH3[S9I4E ~ x0

Required51Testing软件测试网%l;yh g.]I N1Q

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

%t`O5I,dMB0

 

U%h]:|-t&i5`0

 

&GO6Eh(b{0

required

o,N _7HM,d0

The client application accesses a TUXEDO Server

A(yF d k8W8u-`0

Recommended

,ID ]2~^;dn~0

Alternate51Testing软件测试网4m6u]p.v%u Vo

 

|8@6Nvo2c&u0

On-the-wirerecording support is lacking51Testing软件测试网9NQ1D qTy Wk

Recommended

{A4r3tW9Ra[1c"F0

 

q(Je2u6Kk7j0

Alternate51Testing软件测试网jdQ nB2DU

Api recording is not functioning properly

FC,cq4Oc@0

 51Testing软件测试网9o5rJ gDvL

Recommended

Y;OHMe+@0

Alternate

b T_9w6I7w+y*~0

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

Cg\D-nV3L0

 

Kc6jVT9e0

 51Testing软件测试网fw6{7sE

Recommended51Testing软件测试网zwy8Hg J/i(eH d

备注:上图参考rational robot users guide

#C5kJZ6@ rmu0

      NetWork录制方式必须安装Rational网络驱动才能生效51Testing软件测试网 XK;h NzS+y\Yz i

     安装方法:51Testing软件测试网#J_zl!J+d;c0h

1    开始-〉设置-〉网络和拨号连接51Testing软件测试网F2S{+jNv2J:@

2    点本地连接

@P|*Yull6T0

3    点安装,选择协议,点添加51Testing软件测试网u&P yJ l0cBZ0[3W

4    点选者从磁盘安装51Testing软件测试网&pK3t5G@

5    打开安装目录C:\Program Files\Rational\Rational Test\driverw2k(安装rational的目录),选者inf文件,确定51Testing软件测试网+`8oD#j \k

6    选择ethernet或者token ring都可以

3or6vo3P2~5N#k+?0

 51Testing软件测试网'C|lOA]x

2.Generator Filtering

[FqIv8r"i0

  Filtering51Testing软件测试网$DJ+~nt~ J5P

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

Ov#IG(_VK(fk0

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

5QjrHWQ|P0

      如果后台是SQLSERVER,选择SQLSERVER,如果后台是ORACLE,选择ORACLE协议。根据软件实现方式,选择不同的协议。51Testing软件测试网p;o8e9iD)L?

           (2).设置Manual Protocol Filtering使robot生成脚本时手工选择协议51Testing软件测试网%g EpOF(u4|5GPe

3.Generator Per Protocol

6`2Y&C#M P~#z9F0  只能对在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