qileilove

          blog已經(jīng)轉(zhuǎn)移至github,大家請訪問 http://qaseven.github.io/

          LoadRunner中90%響應(yīng)時間的理解

          最近有幾個學員問道關(guān)于90%的響應(yīng)時間不太理解,顧摘錄如下內(nèi)容供大家參考:
            官方解釋:
            Solution: The 90th percentile is the value for which 90% of the data points are smaller
            The 90th percentile is a measure of stastical distribution, not unlike the median. The median is the middle value. The median is the value for which 50% of the values were bigger, and 50% smaller. The 90th percentile tells you the value for which 90% of the data points are smaller and 10% are bigger.
            Statistically, to calculate the 90th percentile value:
            1. Sort the transaction instances by their value.
            2. Remove the top 10% instances.
            3. The highest value left is the 90th percentile.
            由此可見,僅僅有平均事務(wù)響應(yīng)時間是不夠的。因為平均事務(wù)響應(yīng)時間滿足了性能需求,未必就表示系統(tǒng)的性能已經(jīng)滿足了絕大多數(shù)用戶的要求。
            假如有兩組測試結(jié)果,響應(yīng)時間分別是 {1,3,5,10,16} 和 {5,6,7,8,9},它們的平均值都是7,你認為哪次測試的結(jié)果更理想?
            所以
            1)90%響應(yīng)時間它是統(tǒng)計響應(yīng)時間的參數(shù),帶有統(tǒng)計學意義,是科學性的;
            2)可以這樣理解,這個事務(wù)所有的運行次數(shù)中,90%的次數(shù)落在這個響應(yīng)時間里;(90%的響應(yīng)時間不超過XX秒)
            3)90%響應(yīng)時間可以在LoadRunner中根據(jù)需要進行自由設(shè)置的,例如70%,95%;
            4)為了真實的評估軟件性能,建議讓測試場景執(zhí)行較長的時間,讓工具采集更多數(shù)據(jù),數(shù)據(jù)越多,在概率論中的數(shù)據(jù)分布中看,最具有真實性;
            5)該參數(shù)是性能測試結(jié)果的一個算法,與測試工具無關(guān),無論你是使用LoadRunner、JMeter或其它性能測試工具,該理論同樣適用。

          posted on 2014-09-01 10:38 順其自然EVO 閱讀(834) 評論(0)  編輯  收藏 所屬分類: loadrunner

          <2014年9月>
          31123456
          78910111213
          14151617181920
          21222324252627
          2829301234
          567891011

          導航

          統(tǒng)計

          常用鏈接

          留言簿(55)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 邯郸县| 汨罗市| 铁岭市| 云龙县| 高州市| 车险| 余干县| 桓台县| 南涧| 灌云县| 安福县| 邯郸市| 黄骅市| 绍兴县| 新郑市| 郑州市| 万盛区| 盐边县| 略阳县| 秦安县| 卓尼县| 柳林县| 山丹县| 北流市| 于都县| 桐乡市| 墨江| 英德市| 肇州县| 正镶白旗| 温宿县| 鄂州市| 长阳| 武夷山市| 卢湾区| 盐亭县| 刚察县| 综艺| 咸宁市| 盐源县| 普洱|