Package org.apache.jmeter.report.utils
Class MetricUtils
java.lang.Object
org.apache.jmeter.report.utils.MetricUtils
- Since:
- 5.0
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanisSuccessCode(int code) static booleanisSuccessCode(String codeAsString) Determine if the HTTP status code is successful or not i.e.
- 
Field Details- 
ASSERTION_FAILED- See Also:
 
 
- 
- 
Method Details- 
isSuccessCodeDetermine if the HTTP status code is successful or not i.e. in range 200 to 399 inclusive- Parameters:
- codeAsString- status code to check
- Returns:
- whether in range 200-399 or not
 
- 
isSuccessCodepublic static boolean isSuccessCode(int code) - Parameters:
- code- Response code
- Returns:
- true if code is between 200 and 399 included
 
 
-