refactor(性能测试): 请求统计支持排序
This commit is contained in:
parent
ce0855bd2e
commit
1360462f61
|
@ -2,35 +2,37 @@ package io.metersphere.performance.base;
|
|||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class Statistics {
|
||||
|
||||
private String label;
|
||||
|
||||
private String samples;
|
||||
private BigDecimal samples;
|
||||
|
||||
private String fail;
|
||||
private BigDecimal fail;
|
||||
|
||||
private String error;
|
||||
private BigDecimal error;
|
||||
|
||||
private String average;
|
||||
private BigDecimal average;
|
||||
|
||||
private String min;
|
||||
private BigDecimal min;
|
||||
|
||||
private String max;
|
||||
private BigDecimal max;
|
||||
|
||||
private String median;
|
||||
private BigDecimal median;
|
||||
|
||||
private String tp90;
|
||||
private BigDecimal tp90;
|
||||
|
||||
private String tp95;
|
||||
private BigDecimal tp95;
|
||||
|
||||
private String tp99;
|
||||
private BigDecimal tp99;
|
||||
|
||||
private String transactions;
|
||||
private BigDecimal transactions;
|
||||
|
||||
private String received;
|
||||
private BigDecimal received;
|
||||
|
||||
private String sent;
|
||||
private BigDecimal sent;
|
||||
|
||||
}
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<el-table-column
|
||||
prop="fail"
|
||||
label="FAIL"
|
||||
sortable
|
||||
align="center"
|
||||
min-width="60"
|
||||
/>
|
||||
|
@ -46,6 +47,7 @@
|
|||
<el-table-column
|
||||
prop="error"
|
||||
label="Error%"
|
||||
sortable
|
||||
align="center"
|
||||
/>
|
||||
</el-table-column>
|
||||
|
@ -54,36 +56,43 @@
|
|||
<el-table-column
|
||||
prop="average"
|
||||
label="Avg"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="min"
|
||||
label="Min"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="max"
|
||||
label="Max"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="median"
|
||||
label="Med"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="tp90"
|
||||
label="90%"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="tp95"
|
||||
label="95%"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="tp99"
|
||||
label="99%"
|
||||
sortable
|
||||
min-width="60"
|
||||
/>
|
||||
</el-table-column>
|
||||
|
@ -92,6 +101,7 @@
|
|||
<el-table-column
|
||||
prop="transactions"
|
||||
label="Trans/s"
|
||||
sortable
|
||||
width="100"
|
||||
/>
|
||||
</el-table-column>
|
||||
|
@ -99,13 +109,15 @@
|
|||
<el-table-column label="NetWork(KB/sec)" align="center">
|
||||
<el-table-column
|
||||
prop="received"
|
||||
label="Received"
|
||||
label="Recd"
|
||||
sortable
|
||||
align="center"
|
||||
width="100"
|
||||
/>
|
||||
<el-table-column
|
||||
prop="sent"
|
||||
label="Sent"
|
||||
sortable
|
||||
align="center"
|
||||
width="100"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue