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

Delay switching between reports and loading gadgets because of Test Environments being preloaded

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.2.8
    • 4.3.7, 5.1.1
    • Report, Test Environments
    • None
    • XRAY 2021 Sprint 15, XRAY 2021 Sprint 16, XRAY 2021 Sprint 17
    • OK

    Description

      Switching between reports is taking longer than expected when there is a large number of test environments defined. It happens for Overall Requirement Coverage, Historical Requirement Coverage, Test Execution, and Traceability reports.

      The delay is caused by the following requests in each report:

      • /rest/raven/1.0/report/requirementCoverage/overall/filters
      • /rest/raven/1.0/report/requirementCoverage/historical/filters
      • /rest/raven/1.0/report/traceability/filterValues
      • /rest/raven/1.0/report/testexecutionreport/filterValues

      It also happens in gadgets loading the Test environments:

      • "Requirement List Gadget"
      • "Test List Gadget"
      • "Test Run List Gadget"

       

      Xray calls the Jira service which makes a heavy Lucene call. Jira uses a load all issues (*optimized to get only the field labels) approach and then filters by the ones having labels (Test environments are labels) thus making the first load very slow.

       

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              sbgs Sara Santos [X] (Inactive)
              Marcelo Ferreira, Pedro Rodrigues
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 days Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 weeks, 1 day, 4 hours, 18 minutes
                  3w 1d 4h 18m