Log response body on statusCode assertion failure

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: L3 - Default
    • 3.3.0-alpha1, 3.3.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • Not defined

      Context:
      The OptimizeRequestExecutor.execute perform status code assertion that may lead to test failures during development. It would be useful to read and log the response body in such cases (especially 400) to make the cause of the error transparent without the need to debug.

      AT:

      • OptimizeRequestExecutor.execute implementations log the response body on failure

            Assignee:
            Unassigned
            Reporter:
            Sebastian Bathke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: