':return: The error rate as an integer 0-100'

def get_error_rate(self):

    last_responses = list(self._last_responses)
    total_failed = 0.0
    total = len(last_responses)
    if (total == 0):
        return total
    for response_meta in last_responses:
        if (not response_meta.successful):
            total_failed += 1
    return int(((total_failed / total) * 100))
