所有文章均来自网络(除测试总结部分),如果涉及到版权问题请与我联系,我会及时删除~~~~

详解loadrunner的think time(转贴)

上一篇 / 下一篇  2007-01-18 08:48:05 / 个人分类:性能测试

 

 51Testing软件测试网YL ld.r"b~eO

lr_start_sub_transaction51Testing软件测试网C6E2Px4S|

标记子事务的开始51Testing软件测试网:t&G2Qo,UIj

lr_start_transaction

8I3bKT%S0

记事务的开始51Testing软件测试网qKTQ;O%~#W

lr_end_sub_transaction

*Ct$gU X!RZb0

标记子事务的结束以便进行性能分析

_#g8Qk:hb8r$R0

lr_end_transaction

b:`:| P]o`0

标记LoadRunner事务的结束

%SL0Z'R Y*nA0

思考时间大于阈值时生成:使用思考时间的阈值。如果录制思考时间小于该阈值,VuGen 将不会生成思考时间语句。您也可以指定阈值。默认值为 3 - 如果思考时间少于 3 秒,VuGen 将不会生成思考时间语句。如果禁用此选项,VuGen 将不会生成任何思考时间。(默认情况下启用)51Testing软件测试网/|$] s7|\vo

脚本

F2_dUjz{x0

    lr_start_sub_transaction("think time1","t1");51Testing软件测试网 FVu0hl&t])`"bzX

    lr_think_time(10);

[#N#~0P+B)P.Z c"S&@0

    lr_end_sub_transaction("think time1",LR_PASS);

3]'c7Dnc9T8~"]0

    lr_start_sub_transaction("think time2","t1");51Testing软件测试网/x6?)dg2d0|1gj

    lr_think_time(10);

9f P.^*Uo6^Vt;v3B0

    lr_end_sub_transaction("think time2",LR_PASS);

Nu;Nm w0

       lr_end_transaction("t1", LR_AUTO);

$FDEdZzoJ0

 51Testing软件测试网,j(g&ga6}Y*O

输出:

3n4G8A+g+]&Cj}*r0

 

i q2Aj,B0

Action.c(8): Notify: Transaction "t1" started.

%y4n[ f B2C/i0

Action.c(9): Notify: Transaction "think time1" started.

x-R7h m}7a0

Action.c(10): lr_think_time: 10.00 seconds.51Testing软件测试网&Uf7K%z|"@

Action.c(11): Notify: Transaction "think time1" ended with "Pass" status (Duration: 9.9939 Think Time: 9.9892).

G)pAIE+EHw0

Action.c(12): Notify: Transaction "think time2" started.

^-Y)Q"pL2t0

Action.c(13): lr_think_time: 10.00 seconds.51Testing软件测试网q:D6v;|\5Y0[&?;?

Action.c(14): Notify: Transaction "think time2" ended with "Pass" status (Duration: 9.9954 Think Time: 9.9906).51Testing软件测试网OSW;s Qb{

Action.c(15): Notify: Transaction "t1" ended with "Pass" status (Duration: 19.9994 Think Time: 19.9798).

H"lVrZ)V~0

 51Testing软件测试网(I$b#YX2q4XV(Jh

源文档 <http://cache.baidu.com/c?word=loadrunner&url=http%3A//tester2test%2Ecnblogs%2Ecom/archive/2006/07/04/442814%2Ehtml&b=0&a=2&user=baidu>

k&o;gd5g!zqJ,k(z0

 

A @#Ss1Ci6u0

TAG: 性能测试

 

评分:0

我来说两句

日历

« 2024-04-12  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 43587
  • 日志数: 61
  • 建立时间: 2007-01-15
  • 更新时间: 2007-07-23

RSS订阅

Open Toolbar