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

Plugin not keeping ALM connection active

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: