如何计算总平均响应时间

时间:2015-05-06 21:21:04

标签: jmeter

以下是结果

argv[j][i]

我的问题是如何计算总平均响应时间(即6073)?

与我的结果一样,我想排除transaction1响应时间,然后想要计算总平均响应时间。

我该怎么做?

1 个答案:

答案 0 :(得分:2)

总平均响应时间= ((s1*t1) + (s2*t2)...)/s

s1 = No of times transaction 1 was executed
t1 = Avg response time for transaction 1
s2 = No of times transaction 2 was executed
t2 = Avg response time for transaction 2
s = Total no of samples (s1+s2..)

在您的情况下,除了transaction1之外,所有其他事务已执行4次。所以,简单的平均值(82,1862,1242 ......)应该得到你想要的结果。