JUnit Report Macro Error when Including Test Result from Network Drive

XMLWordPrintable

      Error rendering macro 'junitreport' : com.atlassian.renderer.v2.macro.MacroException: URI scheme is not "file"

      The above error is displayed when using http://host/path/ for JUnit Report's Directory (URL) of the test result file.

      Note: The example in the documentation shows that JUnit Report Macro is supposed to work with test results file located in network drive.

      Steps to replicate

      1. Download the sample attachment junitexample.zip, extract and put it in a network drive location (e.g.: 'storagekl2')
      2. Create a new Confluence page
      3. Insert JUnit Report Macro
      4. Edit the macro
      5. In 'Directory (URL) of your test result files' field, enter http://storagekl2/junitexample
      6. Refresh the preview
      7. Message shown Error rendering macro 'junitreport' : com.atlassian.renderer.v2.macro.MacroException: URI scheme is not "file"

        1. junitexample.zip
          2 kB
          Patrice Rompas

            Assignee:
            Unassigned
            Reporter:
            Patrice Rompas (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: