fbpx

Is it possible to send Zatest results to XRay ?

Is it possible to send Zatest results to XRay ?

Home Forums Ask Expert Is it possible to send Zatest results to XRay ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32745
    Michel Belanger
    Participant

      XRay is a test manager plugin for Jira
      https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST
      XRay api supported formats :

      Xray JSON format
      /rest/raven/1.0/import/execution

      Xray JSON format multipart /rest/raven/1.0/import/execution/multipart
      Cucumber JSON output format
      /rest/raven/1.0/import/execution/cucumber

      Cucumber JSON output format multipart
      /rest/raven/1.0/import/execution/cucumber/multipart

      Behave JSON output format
      /rest/raven/1.0/import/execution/behave

      Behave JSON output format multipart
      /rest/raven/1.0/import/execution/behave/multipart

      JUnit XML output format /rest/raven/1.0/import/execution/junit
      JUnit XML output format multipart /rest/raven/1.0/import/execution/junit/multipart
      TestNG XML output format /rest/raven/1.0/import/execution/testng
      TestNG XML output format multipart /rest/raven/1.0/import/execution/testng/multipart
      NUnit XML output format /rest/raven/1.0/import/execution/nunit
      NUnit XML output format multipart /rest/raven/1.0/import/execution/nunit/multipart
      xUnit XML output format /rest/raven/1.0/import/execution/xunit
      xUnit XML output format multipart /rest/raven/1.0/import/execution/xunit/multipart
      Robot Framework XML output format /rest/raven/1.0/import/execution/robot
      Robot Framework XML output format multipart /rest/raven/1.0/import/execution/robot/multipart
      Compressed .zip file (e.g., Calabash execution results)
      /rest/raven/1.0/import/execution/bundle

      #32747
      Valentin ZAP
      Keymaster

        Hello Michel!

        The current version of ZAPTEST doesn’t support the direct call of XRay REST API. I’ll provide this information to our RnD team.

        But as for XRay Manager, you could write an executable script (which is general for all basic integrations ), which:

        1. Execute ZAPTEST with parameters (start actual execution)
        2. ZAPTEST provides results information and result path in STDOUT after execution is completed
        3. The “script” could use this data to create API request to XRay manager

        Please, let me know if you have any questions.

        Thank you,
        ZAPTEST Team

        #32748
        Michel Belanger
        Participant

          not sure to understand …
          Do you mean that it is possible to have the result of Zaptest in junit.xml for example?

          #32749
          Valentin ZAP
          Keymaster

            Hello Michel!

            Not exactly in “junit.xml”. ZAPTEST will provide “output data” and you should provide a wrapper for this data (script) which wrap ZAPTEST’s result in a “junit.xml” file format.

            ZAPTEST generates a report in the own format (XML + attached images).

            Please check out this video to get more information about command line execution: https://www.zaptest.com/user-zone/product-training/zaptest/getting-started/zaptest-command-line-execution

            Alternatively, ZAPTEST supports direct JIRA integration, which reports issues directly to JIRA. But it’s a little bit different from what you are asking.

            Hope it helps. Feel free to ask any questions.

            Thank you,
            ZAPTEST

            #32750
            Michel Belanger
            Participant

              cmdZaptestJson.png
              With your help I think I found a solution, I will try to pass the json results of Zaptest in Xray (API) to see what it gives
              Crossed Fingers 🙂

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.

            Virtual Expert

            ZAPTEST

            ZAPTEST Logo