Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52659

Plugin not keeping ALM connection active

    Details

    • Similar Issues:

      Description

      We currently have an ALM session time limit of 30 minutes. When our test cases take longer than this, the plugin is disconnected. Is there a way to have the plugin refresh the connection every now and then?

      In the below scenario, the test case ran but after 30 minutes the HPToolsLauncher seems to have been logged out.

      Unhandled Exception: System.NullReferenceException: Your Quality Center session has been disconnected. Contact your system administrator for more information
      at Mercury.TD.Client.Ota.QC9.ITSTest.get_LastRun()
      at HpToolsLauncher.AlmTestSetsRunner.GetTestRunId(ITSTest currentTest)
      at HpToolsLauncher.AlmTestSetsRunner.WriteTestRunSummary(ITSTest prevTest)
      at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, Double timeout, QcRunMode runMode, String runHost)
      at HpToolsLauncher.AlmTestSetsRunner.Run()
      at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
      at HpToolsLauncher.Launcher.Run()
      at HpToolsLauncher.Program.Main(String[] args)
      An error occured while disposing runner: Your Quality Center session has been disconnected. Contact your system administrator for more information.

      The ALM timeout setting seems to be for waiting for ALM, where in our case we need the connection to stay active.

      Right now our work around is to break our tests down so they execute under our 30 minute session window.

        Attachments

          Activity

          Hide
          roy_lu Roy Lu added a comment -

          Hi Daniel Gront, another HPToolsLauncher issue. Please reassign to UFT.

          Show
          roy_lu Roy Lu added a comment - Hi Daniel Gront , another HPToolsLauncher issue. Please reassign to UFT.
          Hide
          cammurali sai cam added a comment -

          Any update on this issue. I am experiencing this same issue.

          Show
          cammurali sai cam added a comment - Any update on this issue. I am experiencing this same issue.
          Hide
          grsureka Govind Sureka added a comment -

          We are also facing same issue, please provide solution

          Show
          grsureka Govind Sureka added a comment - We are also facing same issue, please provide solution
          Hide
          gront Daniel Gront added a comment -

          Govind Sureka, I'll try to reassign it any notify people.

          Show
          gront Daniel Gront added a comment - Govind Sureka , I'll try to reassign it any notify people.

            People

            • Assignee:
              aslaakso Anda Sorina Laakso
              Reporter:
              eric_lenz Eric Lenz
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: