title: Having trouble updating to use if Locust v1.5.3
body: <p>I was using an older version of Locust (V1.4.3) and I want to move to the latest V1.5.3.</p>
  <p>My testing environment is a little wonky so I have to directly indicate success or failure.  Here is the code I was using with the older version</p>
  <pre><code>  def RunTask(self, kind, name, task):
      # Run indicated smoke test container command
      start = time()
      code, logs = RunTestTask(self.environment, kind, name, task)
      total = time() - start
      # Tell locust the resuslts
      test = &quot;{0}-{1}:{2}&quot;.format(kind, splitext(name)[0], task)
      if code:
        self.client.request_failure.fire(request_type    = &quot;runtask&quot;,
                                         name            = test,
                                         response_time   = total,
                                         response_length = 0,
                                         exception       = None)
      else:
        self.client.request_success.fire(request_type    = &quot;runtask&quot;,
                                         name            = test,
                                         response_time   = total,
                                         response_length = 0)
  </code></pre>
  <p>The latest version has deprecated the request_failure and request_success have been deprecated.  The new version has a unified request method for both but I have not been able to figure out how to properly indicate success or failure.</p>
  <p>Any help would be appreciated.</p>