<ruby id="h6500"><table id="h6500"></table></ruby>
    1. <ruby id="h6500"><video id="h6500"></video></ruby>
          1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>
            • 軟件測試技術(shù)
            • 軟件測試博客
            • 軟件測試視頻
            • 開(kāi)源軟件測試技術(shù)
            • 軟件測試論壇
            • 軟件測試沙龍
            • 軟件測試資料下載
            • 軟件測試雜志
            • 軟件測試人才招聘
              暫時(shí)沒(méi)有公告

            字號: | 推薦給好友 上一篇 | 下一篇

            LoadRunner中參數化中參數迭代規則詳解

            發(fā)布: 2010-12-12 15:57 | 作者: 陳紹英 | 來(lái)源: 領(lǐng)測軟件測試網(wǎng)采編 | 查看: 286次 | 進(jìn)入軟件測試論壇討論

            領(lǐng)測軟件測試網(wǎng)

              Each Occurrence

              每次遇到參數就進(jìn)行更新。

              多次使用同一參數,而且沒(méi)有什么關(guān)聯(lián),例如隨機數。

              Each Iteration

              每次迭代時(shí)發(fā)生更新。 如果參數出現幾次,虛擬用戶(hù)用同一個(gè)數值。

              適用同一個(gè)關(guān)聯(lián)的參數。

              Once

              所有的地方都用同一個(gè)數值,包括所以的迭代。

              文件類(lèi)型參數分派方法

              Sequential

              按照順序訪(fǎng)問(wèn)。

            MILY: StoneSerif; FONT-SIZE: 12pt" lang=EN-US> 

            更新方式

            Sequential

            例子

            1.  

            Each Iteration

            所有用戶(hù)每次迭代同時(shí)取下一個(gè)數值。

            All the Vusers use Kim in the first iteration, David in the second iteration, Michael inthe third iteration, etc.

            2.  

            Each Occurrence

            所有用戶(hù)每次遇到同時(shí)取下一個(gè)數值,即使在同一個(gè)迭代。

            All the Vusers use Kim in the first occurrence, David in the second occurrence,Michael in the third occurrence, etc.

            3.  

            Once

            所有用戶(hù)第一次迭代時(shí)同時(shí)取第一個(gè)值,該用戶(hù)所有的子迭代值不變。

            If you specified Once, all Vusers take Kim for all iterations.

             

              例子:

            First Name

            Kim

            David

            Michael

            Jane

            Ron

            Alice

            Ken

            Julie

              沒(méi)有足夠的值,從第一行開(kāi)始重新取值。

              Random:每個(gè)虛擬用戶(hù)開(kāi)始運行時(shí)安排隨機的數值。

             

            更新方式

            Random

            1.   

            Each Iteration

            每次迭代時(shí),隨機從數據表中取數。

            2.   

            Each Occurrence

            每次遇到隨機取一個(gè)數值,即使在同一個(gè)迭代。

            3.   

            Once

            第一次迭代時(shí)隨機取值,改用戶(hù)所有的子迭代值不變。

              Unique

              The Unique method assigns a unique sequential value to the parameter for

              each Vuser.

             

            更新方式

            Unique

            例子

            1.         

            Each Iteration

            每個(gè)用戶(hù)每次迭代時(shí),虛擬用戶(hù)取下一個(gè)不同的數值。

            If you specified Each Iteration, for a test run of 3 iterations, the first Vuser takes Kim in the first iteration,David in the second, and Michael in the third. The second Vuser takes Jane, Ron, and Alice. The third Vuser,Ken, Julie, and Fred.

             

            2.         

            Each Occurrence

            每個(gè)虛擬用戶(hù)每次遇到取一個(gè)新的不同的數值,即使在同一個(gè)迭代。

            lr自己決定。

            3.         

            Once

            每個(gè)第一次迭代時(shí)取不同值,該用戶(hù)所有的子迭代值不變。

            If you specified Once, the first Vuser takes Kim for all iterations

            the second Vuser takes David for all iterations, etc.

              數據必須足夠,例如20個(gè)虛擬用戶(hù),5次迭代,至少要有100個(gè)數據。

            延伸閱讀

            文章來(lái)源于領(lǐng)測軟件測試網(wǎng) http://kjueaiud.com/

            TAG: loadrunner LoadRunner Loadrunner loadRunner 參數 規則 詳解


            關(guān)于領(lǐng)測軟件測試網(wǎng) | 領(lǐng)測軟件測試網(wǎng)合作伙伴 | 廣告服務(wù) | 投稿指南 | 聯(lián)系我們 | 網(wǎng)站地圖 | 友情鏈接
            版權所有(C) 2003-2010 TestAge(領(lǐng)測軟件測試網(wǎng))|領(lǐng)測國際科技(北京)有限公司|軟件測試工程師培訓網(wǎng) All Rights Reserved
            北京市海淀區中關(guān)村南大街9號北京理工科技大廈1402室 京ICP備10010545號-5
            技術(shù)支持和業(yè)務(wù)聯(lián)系:info@testage.com.cn 電話(huà):010-51297073

            軟件測試 | 領(lǐng)測國際ISTQBISTQB官網(wǎng)TMMiTMMi認證國際軟件測試工程師認證領(lǐng)測軟件測試網(wǎng)

            老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月
              <ruby id="h6500"><table id="h6500"></table></ruby>
              1. <ruby id="h6500"><video id="h6500"></video></ruby>
                    1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>