LoadRunner中90 響應時間的理解

2021-09-03 10:49:00 字數 1084 閱讀 4261

官方解釋:

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.

由此可見,僅僅有平均事務響應時間是不夠的。因為平均事務響應時間滿足了效能需求,未必就表示系統的效能已經滿足了絕大多數使用者的要求。

假如有兩組測試結果,響應時間分別是 和 ,它們的平均值都是7,你認為哪次測試的結果更理想?

所以1)90%響應時間它是統計響應時間的引數,帶有統計學意義,是科學性的;

2)可以這樣理解,這個事務所有的執行次數中,90%的次數落在這個響應時間裡;(90%的響應時間不超過xx秒)

3)90%響應時間可以在loadrunner中根據需要進行自由設定的,例如70%,95%;

4)為了真實的評估軟體效能,建議讓測試場景執行較長的時間,讓工具採集更多資料,資料越多,在概率論中的資料分布中看,最具有真實性;

5)該引數是效能測試結果的乙個演算法,與測試工具無關,無論你是使用loadrunner、jmeter或其它效能測試工具,該理論同樣適用。

LoadRunner中的90 響應時間

loadrunner中的90 響應時間是什麼意思?這個值在進行效能分析時有什麼作用?為什麼要有90 使用者響應時間?這個跟超女 舞林大會等比賽那樣在比賽後都要去掉乙個最高分乙個最低分在取平均值有點類似。因為在評估一次測試的結果時,僅僅有平均事務響應時間是不夠的。單單根據平均事務響應時間是無法滿足效能...

loadrunner9 0動態訪問oracl資料庫

最近在 公司搞loadrunner 指令碼,需要訪問 資料庫取乙個 動態值,在 網上看到的乙個是通過loadrunner的parameters自動生成乙個 但這個東西是靜態的,不會隨著指令碼的執行而變化,還有就是大神kernzhang流傳的getdata.dll,但是執行sql無法獲得結果,他的個人...

loadrunner中的事務

loadrunner中的事務是度量操作客戶端與伺服器之間的響應時間,度量每乙個虛擬使用者的請求所消耗的時間的乙個單位.分為以下2種 1 指令碼預設的transaction,如action,這個是在最大的transaction。如平均響應時間這些的最大的事務就是action transaction,小...