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

Edge patron test fails due to missing request level

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • EPAM-Veg Sprint 136
    • 2
    • Vega
    • Karate test failure

    Description

      Symptoms

      The Karate test build failed with an error relating to creating a patron request:

      status code was: 500, expected: 201, response time in milliseconds: 251, url: https://folio-snapshot-2.dev.folio.org:8000/patron/account/544877/instance/b970319f-63cd-41da-8742-5571d84bae7c/hold?apikey=eyJzIjoiNXNlNGdnbXk1TiIsInQiOiJkaWt1IiwidSI6ImRpa3UifQ%3D%3D, response: 
      {
        "code" : 500,
        "errorMessage" : "Failed to place a request for the instance. Reasons: \nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null%nvalidation failure:\nreason: \"requestLevel must be one of the following: \"Item\"\", parameters: key: requestLevel, value: null"
      }
      

      Investigation

      A recent change by OleksandrVidinieiev in the Vega team removed the passing of this parameter in mod-patron.

      It seems that this change might need coordinated changes in other modules to work as intended.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                sherzod_nurjonov Sherzod Nurjonov
                marcjohnson Marc Johnson
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases