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

          eric_lenz Eric Lenz created issue -
          gront Daniel Gront made changes -
          Field Original Value New Value
          Labels ALM
          gront Daniel Gront made changes -
          Assignee Daniel Gront [ gront ] Roy Lu [ roy_lu ]
          gront Daniel Gront made changes -
          Labels ALM UFT
          gront Daniel Gront made changes -
          Assignee Roy Lu [ roy_lu ] Tamas Florin [ tamasflorin ]
          gront Daniel Gront made changes -
          Assignee Tamas Florin [ tamasflorin ] Anda Sorina Laakso [ aslaakso ]
          aslaakso Anda Sorina Laakso made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          aslaakso Anda Sorina Laakso made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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: