詳解loadrunner的think time

發表于:2007-04-29來源:作者:點擊數: 標簽:loadrunnerstartThinkTime詳解
lr_start_sub_transaction 標記子事務的開始 lr_start_transaction 標記事務的開始 lr_end_sub_transaction 標記子事務的結束以便進行 性能 分析 lr_end_transaction 標記 LoadRunner 事務的結束 思考時間大于閾值時生成: 使用思考時間的閾值。如果錄制思考

lr_start_sub_transaction

標記子事務的開始

lr_start_transaction

標記事務的開始

lr_end_sub_transaction

標記子事務的結束以便進行性能分析

lr_end_transaction

標記 LoadRunner 事務的結束

    思考時間大于閾值時生成: 使用思考時間的閾值。如果錄制思考時間小于該閾值,VuGen 將不會生成思考時間語句。您也可以指定閾值。默認值為 3 - 如果思考時間少于 3 秒,VuGen 將不會生成思考時間語句。如果禁用此選項,VuGen 將不會生成任何思考時間。(默認情況下啟用)

腳本:

    lr_start_sub_transaction("think time1","t1");

    lr_think_time(10);

    lr_end_sub_transaction("think time1",LR_PASS);

    lr_start_sub_transaction("think time2","t1");

    lr_think_time(10);

    lr_end_sub_transaction("think time2",LR_PASS);

       lr_end_transaction("t1", LR_AUTO);

 

輸出:

 

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

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

Action.c(10): lr_think_time: 10.00 seconds.

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

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

Action.c(13): lr_think_time: 10.00 seconds.

Action.c(14): Notify: Transaction "think time2" ended with "Pass" status (Duration: 9.9954 Think Time: 9.9906).

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

此文來自51testing博客,轉載請注明出處
原始鏈接:http://blog.ltesting.net/html/40/19940_itemid


原文轉自:http://www.anti-gravitydesign.com

...

熱門標簽

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97