类 WebApiPerfSampleAnalysis
- java.lang.Object
-
- tech.testnx.cah.common.reports.perf.WebApiPerfSampleAnalysis
-
- 所有已实现的接口:
Comparable<WebApiPerfSampleAnalysis>
public class WebApiPerfSampleAnalysis extends Object implements Comparable<WebApiPerfSampleAnalysis>
- 作者:
- Yun
-
-
构造器概要
构造器 构造器 说明 WebApiPerfSampleAnalysis()WebApiPerfSampleAnalysis(String httpMethod, String httpPath, long count, double averageResTime, double maxResTime, double minResTime, double errRate)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intcompareTo(WebApiPerfSampleAnalysis wps)doublegetAverageResTime()doublegetAverageResTimeBySecond()longgetCount()doublegetErrRate()StringgetErrRateWithPercentage()StringgetHttpMethod()StringgetHttpPath()doublegetMaxResTime()doublegetMaxResTimeBySecond()doublegetMinResTime()doublegetMinResTimeBySecond()WebApiPerfSampleAnalysissetAverageResTime(double averageResTime)WebApiPerfSampleAnalysissetCount(long count)WebApiPerfSampleAnalysissetErrRate(double errRate)WebApiPerfSampleAnalysissetHttpMethod(String httpMethod)WebApiPerfSampleAnalysissetHttpPath(String httpPath)WebApiPerfSampleAnalysissetMaxResTime(double maxResTime)WebApiPerfSampleAnalysissetMinResTime(double minResTime)
-
-
-
方法详细资料
-
getHttpMethod
public String getHttpMethod()
-
setHttpMethod
public WebApiPerfSampleAnalysis setHttpMethod(String httpMethod)
-
getHttpPath
public String getHttpPath()
-
setHttpPath
public WebApiPerfSampleAnalysis setHttpPath(String httpPath)
-
getCount
public long getCount()
-
setCount
public WebApiPerfSampleAnalysis setCount(long count)
-
getAverageResTime
public double getAverageResTime()
- 返回:
- response time by millisecond
-
getAverageResTimeBySecond
public double getAverageResTimeBySecond()
- 返回:
- response time by second
-
setAverageResTime
public WebApiPerfSampleAnalysis setAverageResTime(double averageResTime)
-
getMaxResTime
public double getMaxResTime()
- 返回:
- response time by millisecond
-
getMaxResTimeBySecond
public double getMaxResTimeBySecond()
- 返回:
- response time by second
-
setMaxResTime
public WebApiPerfSampleAnalysis setMaxResTime(double maxResTime)
-
getMinResTime
public double getMinResTime()
- 返回:
- response time by millisecond
-
getMinResTimeBySecond
public double getMinResTimeBySecond()
- 返回:
- response time by second
-
setMinResTime
public WebApiPerfSampleAnalysis setMinResTime(double minResTime)
-
getErrRate
public double getErrRate()
-
getErrRateWithPercentage
public String getErrRateWithPercentage()
-
setErrRate
public WebApiPerfSampleAnalysis setErrRate(double errRate)
-
compareTo
public int compareTo(WebApiPerfSampleAnalysis wps)
- 指定者:
compareTo在接口中Comparable<WebApiPerfSampleAnalysis>
-
-