Uploaded image for project: 'Folio Automation Testing'
  1. Folio Automation Testing
  2. FAT-1668

Test failures due to unprocessable token

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • Kitfox
    • Morning Glory (R2 2022)
    • Missing module permission

    Description

      A Karate API test failure was reported (from this build) to the Prokopovych team.

      I investigated the reported failure and wanted to share my investigation because I think it is a common issue that affects tests from multiple teams.

      The reported error is:
      io.vertx.core.json.DecodeException: Failed to decode:Unrecognized token 'Access': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
      at [Source: (String)"Access for user 'test-user' (00000000-1111-5555-9999-999999999992) requires permission: inventory-storage.related-instances.collection.get"; line: 1, column: 7]

      This error is produced by mod-auth-token.

      This suggests there is an issue with either the token being used to make requests during some of the tests or with how mod-authtoken is interpreting them. However, that area of mod-authtoken has not changed for over a month.

      I checked a few of the other failures and at least some of the errors are very similar:

      This leads me to think this is not an issue with the individual modules and rather with the token being used for some of the tests.

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              marcjohnson Marc Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases