def METHOD_NAME(self):
    if self.factory.endCaseId is None:
        self.log.info("Getting case count ..")
    elif self.factory.currentCaseId <= self.factory.endCaseId:
        self.log.info("Running test case {case_id}/{last_case_id} as user agent {agent} on peer {peer}",
                      case_id=self.factory.currentCaseId,
                      last_case_id=self.factory.endCaseId,
                      agent=self.factory.agent,
                      peer=self.peer)