assertTrue( "ResetAt metadata attribute is not set", numSuccessfulRequestsMetric.isSetResetAt() );
assertFalse( "Duration metadata attribute is set", numSuccessfulRequestsMetric.isSetDuration() );
assertTrue( numRequests >= numFailedRequests + numSuccessfulRequests );
XmlObject serviceTimePropElem = getSingleProperty( m_resource, MetricsCapability.PROP_NAME_SERVICE_TIME );
assertTrue( serviceTimePropElem instanceof DurationMetric );
DurationMetric serviceTimeMetric = ((DurationMetric)serviceTimePropElem);
assertTrue( "Duration metadata attribute is not set", serviceTimeMetric.isSetDuration() );
XmlObject maxResponseTimePropElem = getSingleProperty( m_resource, MetricsCapability.PROP_NAME_MAX_RESPONSE_TIME );
assertTrue( maxResponseTimePropElem instanceof DurationMetric );
DurationMetric maxResponseTimeMetric = ((DurationMetric)maxResponseTimePropElem);
assertTrue( "Duration metadata attribute is not set", maxResponseTimeMetric.isSetDuration() );
XmlObject lastResponseTimePropElem = getSingleProperty( m_resource, MetricsCapability.PROP_NAME_LAST_RESPONSE_TIME );
assertTrue( lastResponseTimePropElem instanceof DurationMetric );
}