public class NeoLoadReportDoc extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AVG
String for the average type.
|
static Date |
DATE_1970
A default return value when a valid date can't be found (January 1, 1970, 00:00:00 GMT).
|
static String |
ERROR_RATE
String for the error% type.
|
static String |
PERCENTILE2
String for the percentile3 type.
|
static String |
PERCENTILE3
String for the percentile3 type.
|
static String |
STANDARD_TIME_FORMAT
A time format that is used for all languages in the context of this plugin.
|
static String |
VAL
String for the value type.
|
| Constructor and Description |
|---|
NeoLoadReportDoc(Document doc) |
NeoLoadReportDoc(String xmlFilePath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getAverageResponseTime() |
Float |
getCustom(String path) |
Document |
getDoc() |
Float |
getErrorRatePercentage() |
static String |
getXPathForCustomGraph(String litePath,
String type) |
static String |
getXPathForCustomMonitorOrLGGraph(String litePath,
String type) |
boolean |
hasCorrespondingDate(hudson.model.AbstractBuild build) |
boolean |
isValidReportDoc() |
public static final Date DATE_1970
public static final String AVG
public static final String VAL
public static final String ERROR_RATE
public static final String PERCENTILE2
public static final String PERCENTILE3
public static final String STANDARD_TIME_FORMAT
public NeoLoadReportDoc(String xmlFilePath)
xmlFilePath - ParserConfigurationExceptionSAXExceptionIOExceptionpublic NeoLoadReportDoc(Document doc)
public boolean isValidReportDoc()
throws XPathExpressionException
XPathExpressionExceptionpublic Float getAverageResponseTime() throws XPathExpressionException
XPathExpressionExceptionpublic Float getErrorRatePercentage() throws XPathExpressionException
XPathExpressionExceptionpublic Float getCustom(String path) throws XPathExpressionException
path - the path of the request to get the information.XPathExpressionExceptionpublic static String getXPathForCustomGraph(String litePath, String type)
litePath - the path of the request to get the information.type - the type of value search.public static String getXPathForCustomMonitorOrLGGraph(String litePath, String type)
litePath - the path of the request to get the information.type - the type of value search.public Document getDoc()
public boolean hasCorrespondingDate(hudson.model.AbstractBuild build)
throws XPathExpressionException
cal - XPathExpressionExceptionCopyright © 2004-2017. All Rights Reserved.