Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-4092

Use parameterized error responses for mockserver responses

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.2.0-alpha2
    • Component/s: backend
    • Labels:
      None
    • Epic Link:
    • Effort:
      Not defined

      Description

      We typically use a standard error to simulate failures in engine/ES mockserver scenarios. However, it would make more sense to parameterize our failure scenario tests with various error types we might expected from the integrated service. An example would be how we now do for fetching engine authorizations on identity sync, as discussed in this PR: https://github.com/camunda/camunda-optimize/pull/2466#discussion_r467068579

      ATs:

      • We parameterize our failure scenarios for mockserver tests to test with various errors.

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce