Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-8007

As a system, the endpoint that returns a specific test step result is not validating the TestRun Id

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 5.0.4
    • None
    • REST API, REST_API
    • None
    • UNCOVERED

    Description

      Description
      The endpoint

      GET api/testrun/{id}/step/{stepResultId}
      

      is not validating if the Test Step result Id belongs to the Test Run Id passed as parameter. More details, here.

      How to reproduce

      1. Do a request to the Xray endpoint described, and use a random Test Run ID and the same Test Result ID

      Actual result/Attachments
      Test Run ID 5700

      Test Run ID 5200 (random)

      Expected result
      If the Test Result Id doesn't belong to the Test Run ID passed as parameter, return an error/message.

      Version

      • 5.0.4

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            maaf Miguel Fernandes
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: